/* Hoofdstuk 3: Praten met Katern. Katern Live (de bol), Hey Katern, Chromes rechtsklikmenu en de adresbalk. */
.h03-fav { background: #15803d; }
.h03-fav-k { background: #ffe14a; }

/* ---- De lespagina "Lesnota" (verzonnen) ---- */
.t-page.h03-les { background: #fdfcf7; color: #292524; }
.h03-les-app { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: Georgia, "Times New Roman", serif; }
.h03-les-top { flex: none; height: 52px; display: flex; align-items: center; gap: 16px; padding: 0 28px; background: #14532d; color: #dcfce7; font-family: "Segoe UI", sans-serif; }
.h03-les-top b { font-size: 19px; color: #fff; }
.h03-les-top span { font-size: 13px; }
.h03-art { width: 700px; margin: 26px 0 0 90px; }
.h03-art h1 { margin: 4px 0 14px; font-size: 32px; line-height: 1.15; }
.h03-art p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; }
.h03-art .h03-vak { margin: 0; color: #15803d; font: 700 12px/1.4 "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.h03-sel { background: linear-gradient(#b4d7ff, #b4d7ff) no-repeat 0 0 / var(--h03-sel, 0%) 100%; }
.h03-sel.on { --h03-sel: 100%; }
.h03-sel.hint { background-color: #fef08a; cursor: context-menu; }
.h03-fig { margin: 4px 0 16px; }
.h03-fig-svg { display: block; width: 260px; height: auto; border-radius: 10px; }
.h03-fig figcaption { margin-top: 6px; color: #78716c; font: 13px "Segoe UI", sans-serif; }

/* ---- Katern Live (live.js) ---- */
.h03-live { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column; align-items: center; overflow: hidden; background: #06060a; color: #f4f2ff; font: 500 14px/1.4 "Segoe UI", system-ui, sans-serif; animation: kPop .3s ease; }
.h03-live.compact { top: 32px; }
.h03-live header { width: 100%; display: flex; align-items: center; gap: 8px; padding: 14px 14px 0; }
.h03-rec { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); color: #d9d5ee; font: 700 12px/1 "Segoe UI", sans-serif; }
.h03-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; animation: kRec 1.6s infinite; }
.h03-rec b { font-variant-numeric: tabular-nums; }
.h03-persona { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .06); color: #fff; font: 700 13px/1 "Segoe UI", sans-serif; }
.h03-persona .k-ico { width: 14px; height: 14px; opacity: .7; }
.h03-letter { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #17130b; font: 800 11.5px/1 "Segoe UI", sans-serif; font-style: normal; }
.h03-x { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #cfcbe4; }
.h03-x .k-ico { width: 16px; height: 16px; }
.h03-stage { flex: none; width: 210px; height: 210px; margin-top: 10px; }
.h03-live.compact .h03-stage { width: 160px; height: 160px; }
.h03-live.typing .h03-stage { width: 160px; height: 160px; }
.h03-orb { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; transition: transform .3s; }
.h03-blob { position: absolute; inset: 20%; border-radius: 46% 54% 52% 48% / 50% 45% 55% 50%; background: rgba(255, 225, 74, .9); animation: h03-wob 7s linear infinite; }
.h03-blob.b1 { inset: 17%; background: rgba(255, 225, 74, .35); animation-duration: 9s; animation-direction: reverse; }
.h03-blob.b2 { inset: 23%; background: rgba(255, 225, 74, .35); animation-duration: 6s; }
.h03-ring { position: absolute; inset: 9%; border-radius: 50%; border: 3px solid transparent; border-top-color: rgba(255, 255, 255, .75); display: none; animation: h03-spin 1s linear infinite; }
.h03-live[data-state="think"] .h03-ring { display: block; }
.h03-live[data-state="listen"] .h03-orb { transform: scale(1.06); }
.h03-live[data-state="speak"] .h03-orb { animation: h03-talk .45s ease-in-out infinite alternate; }
.h03-state { min-height: 20px; margin: 4px 0 0; color: #bdb7d9; font: 700 13px/1.4 "Segoe UI", sans-serif; text-align: center; }
.h03-live[data-state="listen"] .h03-state { color: #fff; }
.h03-caps { flex: 1; min-height: 0; width: 100%; overflow: hidden; padding: 10px 24px 6px; text-align: center; }
.h03-you { min-height: 18px; margin: 0 0 10px; color: #9d97bb; font-size: 13px; line-height: 1.45; }
.h03-you b { margin-right: 4px; color: #cfc9ea; font-weight: 800; }
.h03-kat { margin: 0; font: 600 19px/1.38 "Segoe UI", sans-serif; }
.h03-live.compact .h03-kat { font-size: 16px; }
.h03-kat span { opacity: .28; transition: opacity .18s; }
.h03-kat span.said { opacity: 1; }
.h03-live-form { display: flex; gap: 8px; width: calc(100% - 28px); margin: 0 14px 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.h03-live-in { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font: 500 14px/1 "Segoe UI", sans-serif; }
.h03-live-form button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #111; }
.h03-live footer { display: flex; justify-content: center; gap: 22px; padding: 6px 0 18px; }
.h03-fb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #cfcbe4; font: 700 11px/1 "Segoe UI", sans-serif; cursor: pointer; }
.h03-fb i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.h03-live.compact .h03-fb i { width: 46px; height: 46px; }
.h03-fb .k-ico { width: 22px; height: 22px; stroke: #fff; }
.h03-fb.end i { background: #ff3b4e; }
.h03-fb.end .k-ico { fill: #fff; stroke: none; }
.h03-fb.on i { background: #fff; }
.h03-fb.on .k-ico { stroke: #111; }
@keyframes h03-wob { 0% { transform: rotate(0deg); border-radius: 46% 54% 52% 48% / 50% 45% 55% 50%; } 50% { border-radius: 54% 46% 45% 55% / 45% 55% 48% 52%; } 100% { transform: rotate(360deg); border-radius: 46% 54% 52% 48% / 50% 45% 55% 50%; } }
@keyframes h03-talk { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes h03-spin { to { transform: rotate(360deg); } }

/* ---- "Leer Katern jouw stem" (hey.html) ---- */
.t-page.h03-heyp { background: #0c0c10; color: #ececf1; }
.h03-hey { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 460px; padding: 34px 30px 28px; border-radius: 20px; background: #17171d; border: 1px solid rgba(255, 255, 255, .1); text-align: center; font: 500 15px/1.5 "Segoe UI", system-ui, sans-serif; }
.h03-hey-orb { width: 110px; height: 110px; margin: 0 auto 20px; border-radius: 50%; background: #ffe14a; transition: background .3s; }
.h03-hey-orb.talk { animation: h03-talk .3s ease-in-out infinite alternate; }
.h03-hey.ok .h03-hey-orb { background: #22d36b; }
.h03-hey h1 { margin: 0 0 8px; font: 800 24px/1.2 "Segoe UI", sans-serif; }
.h03-hey-lead { margin: 0 0 18px; color: #9c9caa; }
.h03-hey-dots { display: flex; justify-content: center; gap: 10px; margin: 0 0 16px; }
.h03-hey-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background .3s, transform .3s; }
.h03-hey-dots i.on { background: #22d36b; transform: scale(1.15); }
.h03-hey-note { min-height: 22px; margin: -6px 0 16px; color: #ffd23f; font-weight: 700; }
.h03-hey-go { padding: 13px 22px; border: 0; border-radius: 999px; background: #fff; color: #16121f; font: 800 15px/1 "Segoe UI", sans-serif; cursor: pointer; }
.h03-hey-fine { margin: 18px 0 0; color: #8a8a96; font-size: 12.5px; }
.h03-greendot { position: absolute; z-index: 12; width: 12px; height: 12px; border-radius: 50%; background: #3ddc84; border: 2px solid #fff; }
.h03-win { position: absolute; right: 30px; top: 110px; z-index: 16; width: 350px; height: 540px; overflow: hidden; border-radius: 12px; background: #06060a; box-shadow: 0 16px 50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .2); animation: kPop .3s ease; }
.h03-win-bar { height: 32px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #f1f3f4; color: #202124; font: 600 13px/1 "Segoe UI", sans-serif; }
.h03-win-bar img { width: 16px; height: 16px; border-radius: 4px; }
.h03-win-x { margin-left: auto; color: #5f6368; }
.h03-win-x .k-ico { width: 14px; height: 14px; }

/* ---- Chromes rechtsklikmenu ---- */
.h03-cm { position: absolute; z-index: 24; min-width: 250px; padding: 6px 0; border-radius: 8px; background: #fff; color: #202124; box-shadow: 0 4px 16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .08); font: 13px/1.3 "Segoe UI", system-ui, sans-serif; animation: kPop .12s ease; }
.h03-cm-sub { min-width: 330px; }
.h03-cm hr { margin: 5px 0; border: 0; border-top: 1px solid #e0e0e0; }
.h03-cm-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 14px 6px 12px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; white-space: nowrap; cursor: default; }
.h03-cm-item:hover, .h03-cm-item.on { background: #e8eaed; }
.h03-cm-item > i, .h03-cm-item > img { flex: none; width: 16px; height: 16px; border-radius: 4px; }
.h03-cm-item em { margin-left: auto; padding-left: 20px; color: #5f6368; font-style: normal; font-size: 12px; }
.h03-cm-item .k-ico { margin-left: auto; width: 14px; height: 14px; }
.h03-reading { position: absolute; z-index: 20; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #16161c; color: #fff; font: 600 13px/1 "Segoe UI", sans-serif; animation: kPop .2s ease; }
.h03-reading .k-ico { width: 16px; height: 16px; color: #ffe14a; }

/* ---- De adresbalk met "k " ---- */
.h03-omni { position: absolute; z-index: 22; font-family: "Segoe UI", system-ui, sans-serif; }
.h03-omni-field { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 19px; background: #fff; border: 2px solid #1a73e8; }
.h03-omni-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 6px; background: #e8f0fe; color: #174ea6; font: 600 13px/1.2 "Segoe UI", sans-serif; }
.h03-omni-chip img, .h03-omni-row img { width: 16px; height: 16px; border-radius: 4px; }
.h03-omni-in { flex: 1; min-width: 0; height: 30px; border: 0; outline: none; background: transparent; color: #202124; font: 14px "Segoe UI", sans-serif; }
.h03-omni-drop { margin-top: 4px; padding: 6px 0; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2), 0 0 0 1px rgba(0, 0, 0, .06); }
.h03-omni-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 18px; border: 0; background: transparent; color: #202124; font: 14px "Segoe UI", sans-serif; text-align: left; cursor: pointer; }
.h03-omni-row.on { background: #f1f3f4; }
.h03-omni-in.k-focus { outline: none !important; }
