/* Hoofdstuk 8: De weg vinden. Wijs het me aan (point.js), Katern Remix (remix.js, remix-view.js), Katern Wereld
   (world.css, hier in CSS 3D) en uitleggen / vertalen / voorlezen. Vlak, geen verloop, geen gloed. */

/* De twee knoppen onder de kaarten van het beginscherm (popup-world.css .home-world) */
.h08-home-more { display: grid; gap: 8px; margin: 12px 18px 0 28px; }
.h08-home-b { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; border: 2px solid #1a140c; border-radius: 14px; background: #fff; box-shadow: 3px 3px 0 #1a140c; color: #1a140c; text-align: left; cursor: pointer; font-family: "Segoe UI", system-ui, sans-serif; }
.h08-home-b > i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #1a140c; color: #ffe14a; }
.h08-home-b > i .k-ico { width: 21px; height: 21px; stroke-width: 1.8; }
.h08-home-b > span { flex: 1; min-width: 0; }
.h08-home-b b { display: block; font: 800 13.5px/1.25 "Segoe UI", system-ui, sans-serif; }
.h08-home-b small { display: block; margin-top: 2px; color: #6f604a; font: 600 11.5px/1.3 "Segoe UI", system-ui, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h08-home-b em { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffe14a; border: 2px solid #1a140c; }
.h08-home-b em .k-ico { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---------- Wijs het me aan (point.js) ---------- */
.t-overlay > .h08-pt-ring, .t-overlay > .h08-pt-cur { pointer-events: none; }
.h08-pt-ring { position: absolute; left: 0; top: 0; z-index: 19; border: 3px solid #ffe14a; border-radius: 10px; opacity: 0; transition: opacity .2s; }
.h08-pt-ring.on { opacity: 1; }
.h08-pt-ring::after { content: ""; position: absolute; inset: -3px; border: 3px solid #ffe14a; border-radius: inherit; animation: h08Pulse 1.5s ease-out infinite; }
.h08-pt-cur { position: absolute; left: 0; top: 0; z-index: 21; transform: translate3d(-200px, -200px, 0); opacity: 0; transition: opacity .25s; }
.h08-pt-cur.on { opacity: 1; }
.h08-pt-cur svg { display: block; width: 28px; height: 32px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.h08-pt-cur.idle svg { animation: h08Bob 2.4s ease-in-out infinite; }
.h08-pt-bub { position: absolute; left: 26px; top: 34px; width: max-content; max-width: 260px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px 14px 14px 14px; background: #16161c; color: #fff; font: 600 13px/1.38 "Segoe UI", system-ui, sans-serif; }
.h08-pt-cur.flipx .h08-pt-bub { left: auto; right: 12px; border-radius: 14px 4px 14px 14px; }
.h08-pt-cur.flipy .h08-pt-bub { top: auto; bottom: 48px; }
.h08-pt-bar { position: absolute; left: 50%; bottom: 16px; z-index: 20; transform: translateX(-50%); width: 440px; padding: 12px 12px 12px 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: #16161c; color: #f2f2f6; font: 13px/1.4 "Segoe UI", system-ui, sans-serif; box-shadow: 0 8px 24px rgba(0, 0, 0, .32); }
.h08-pt-bar.up { bottom: auto; top: 98px; }
.h08-pt-head { display: flex; align-items: center; gap: 10px; }
.h08-pt-tile { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 225, 74, .14); color: #ffe14a; }
.h08-pt-tile .k-ico { width: 17px; height: 17px; stroke-width: 1.9; }
.h08-pt-name { flex: 1; min-width: 0; margin: 0; color: #fff; font: 750 13.5px/1.3 "Segoe UI", system-ui, sans-serif; }
.h08-pt-name small { display: block; margin-top: 1px; color: #9a9aa6; font: 600 11.5px/1.3 "Segoe UI", system-ui, sans-serif; }
.h08-pt-x { flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #8b8b98; cursor: pointer; }
.h08-pt-x .k-ico { width: 15px; height: 15px; }
.h08-pt-say { margin: 9px 0 0; color: #fff; font: 600 14px/1.4 "Segoe UI", system-ui, sans-serif; }
.h08-pt-say .k-dots { margin-left: 7px; }
.h08-pt-say .k-dots[hidden] { display: none; }
.h08-pt-ask { display: flex; gap: 8px; margin-top: 10px; }
.h08-pt-ask[hidden], .h08-pt-acts[hidden] { display: none; }
.h08-pt-ask input { flex: 1; min-width: 0; height: 36px; margin: 0; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .05); color: #fff; font: 14px "Segoe UI", system-ui, sans-serif; outline: none; }
.h08-pt-ask input::placeholder { color: #8b8b98; }
.h08-pt-ask button { flex: none; padding: 0 16px; border: 0; border-radius: 10px; background: #ffe14a; color: #16130a; font: 750 12.5px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.h08-pt-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.h08-pt-acts button { padding: 8px 14px; border-radius: 999px; font: 750 12.5px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.h08-pt-acts .main { border: 0; background: #ffe14a; color: #16130a; }
.h08-pt-acts .ghost { border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #e6e6ee; }
@keyframes h08Pulse { from { opacity: .75; transform: scale(1); } to { opacity: 0; transform: scale(1.16); } }
@keyframes h08Bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Katern Remix (remix.js + remix-view.js) ---------- */
.h08-read { outline: 3px solid #ffe14a !important; outline-offset: 2px; background-color: rgba(255, 225, 74, .24) !important; transition: background-color .3s, outline-color .3s; }
.t-overlay > .h08-rx { pointer-events: none; }
.h08-rx { position: absolute; left: 0; right: 0; top: 82px; bottom: 0; z-index: 14; overflow: hidden; color: #f4f1ea; font: 14px/1.4 "Segoe UI", system-ui, sans-serif; }
.h08-rx [hidden] { display: none !important; }
.h08-rx .k-ico { width: 16px; height: 16px; flex: none; }
.h08-rx-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #ffe14a; animation: h08Scan 1.7s linear infinite; }
@keyframes h08Scan { from { transform: translateY(0); } to { transform: translateY(676px); } }
.h08-rx-pill { position: absolute; left: 50%; bottom: 22px; z-index: 20; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: #16161c; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); white-space: nowrap; pointer-events: auto; }
.h08-rx-ring { width: 16px; height: 16px; border: 2.5px solid rgba(255, 255, 255, .22); border-top-color: #ffe14a; border-radius: 50%; animation: kSpin .8s linear infinite; flex: none; }
.h08-rx-pill.still .h08-rx-ring { display: none; }
.h08-rx-pill button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #f4f1ea; }
.h08-rx-stage { position: absolute; inset: 0; perspective: 2200px; pointer-events: auto; }
.h08-rx-shade { position: absolute; inset: 0; background: rgba(10, 10, 14, .55); opacity: 0; }
.h08-rx-sheet { position: absolute; inset: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; background: #fff; transform-origin: left center; transform: rotateY(-96deg); opacity: 0; }
.h08-rx-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #16161c; color: #f4f1ea; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.h08-rx-name { display: flex; flex-direction: column; min-width: 0; margin-right: 6px; }
.h08-rx-name b { font-weight: 800; white-space: nowrap; }
.h08-rx-name small { max-width: 300px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h08-rx-grow { flex: 1; }
.h08-rx-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.h08-rx-seg button { padding: 6px 13px; border: 0; border-radius: 999px; background: transparent; color: #f4f1ea; font: 700 14px/1.2 "Segoe UI", sans-serif; cursor: pointer; }
.h08-rx-seg button.on { background: #ffe14a; color: #16130a; }
.h08-rx-tb { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: transparent; color: #f4f1ea; font: 700 14px/1.2 "Segoe UI", sans-serif; cursor: pointer; }
.h08-rx-tb.icon { padding: 7px; }
.h08-rx-back { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: #ffe14a; color: #16130a; font: 800 14px/1.2 "Segoe UI", sans-serif; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); pointer-events: auto; cursor: pointer; }
.h08-rx-body { min-height: calc(100% - 52px); color: #1d1a14; font: 17px/1.6 "Segoe UI", system-ui, sans-serif; }
.h08-rx-wrap { max-width: 1040px; margin: 0 auto; padding: 32px 20px 24px; }
.h08-rx-from { max-width: 1040px; margin: 0 auto; padding: 0 20px 30px; font-size: 13px; opacity: .7; }
.h08-rx-making { min-height: 420px; display: grid; place-items: center; background: #f6f3ec; color: #1d1a14; font: 700 22px/1.3 "Segoe UI", sans-serif; text-align: center; padding: 30px; }
.h08-rx-quiz { background: #eef1f6; }
.h08-rx-card { max-width: 720px; margin: 0 auto; padding: 26px 28px; border: 2px solid #1d1a14; border-radius: 16px; background: #fff; box-shadow: 6px 6px 0 #1d1a14; }
.h08-rx-card .kick { margin: 0; font-size: 13px; font-weight: 700; opacity: .6; }
.h08-rx-card h2 { margin: 6px 0 18px; font: 800 23px/1.3 "Segoe UI", sans-serif; }
.h08-rx-card p { margin: 0; }
.h08-rx-opts { display: grid; gap: 10px; }
.h08-rx-opt { padding: 11px 14px; border: 2px solid #1d1a14; border-radius: 10px; background: #fff; color: #1d1a14; text-align: left; font: 600 16px/1.35 "Segoe UI", sans-serif; cursor: pointer; }
.h08-rx-opt:hover:not([disabled]) { background: #fff6c9; }
.h08-rx-opt[disabled] { cursor: default; }
.h08-rx-opt.good { background: #c8f2d5; border-color: #16803c; }
.h08-rx-opt.bad { background: #ffd6d0; border-color: #c2341b; }
.h08-rx-why { margin-top: 14px !important; font-size: 15.5px; }
.h08-rx-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.h08-rx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border: 2px solid #1d1a14; border-radius: 999px; background: #fff; color: #1d1a14; font: 700 14px/1.2 "Segoe UI", sans-serif; cursor: pointer; }
.h08-rx-btn.main { background: #ffe14a; }
.h08-rx-big { margin: 10px 0 !important; font: 900 54px/1 "Segoe UI", sans-serif; }
.h08-rx-strip { background: #f3efe4; }
.h08-rx-strip .h08-rx-wrap { max-width: 660px; padding: 20px 20px 14px; }
.h08-rx-strip h1 { display: inline-block; margin: 0; padding: 6px 14px; background: #ffe14a; border: 4px solid #111; box-shadow: 5px 5px 0 #111; transform: rotate(-1.2deg); font: 900 26px/1.08 "Comic Sans MS", "Segoe Print", cursive; text-transform: uppercase; }
.h08-rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.h08-rx-panel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 4px solid #111; background: #fff; }
.h08-rx-pic { position: absolute; inset: 0; background: #f1ece0; }
.h08-rx-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.h08-rx-wait { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; border: 2px dashed #b9ae95; color: #6b6150; font: 700 13px/1.3 "Segoe UI", sans-serif; text-align: center; }
.h08-rx-wait::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 22%; height: 3px; background: #1d1a14; transform-origin: left; animation: h08Draw 1.6s ease-in-out infinite; }
.h08-rx-pic.ready .h08-rx-wait { display: none; }
@keyframes h08Draw { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.h08-rx-cap { position: absolute; top: 0; left: 0; z-index: 2; max-width: 72%; padding: 4px 9px; background: #ffe14a; border-right: 3px solid #111; border-bottom: 3px solid #111; font: 700 12px/1.25 "Comic Sans MS", "Segoe Print", cursive; text-transform: uppercase; }
.h08-rx-bal { position: absolute; bottom: 10px; z-index: 2; max-width: 47%; padding: 5px 10px; background: #fff; border: 2.5px solid #111; border-radius: 16px; font: 700 12px/1.25 "Comic Sans MS", "Segoe Print", cursive; text-transform: uppercase; }
.h08-rx-bal b { display: block; font-size: 9.5px; letter-spacing: .08em; color: #8b2a0d; }
.h08-rx-bal.l { left: 10px; }
.h08-rx-bal.r { right: 10px; }
.h08-rx-bal::after { content: ""; position: absolute; top: -9px; width: 14px; height: 14px; background: #fff; border-left: 2.5px solid #111; border-top: 2.5px solid #111; transform: rotate(45deg); }
.h08-rx-bal.l::after { left: 22px; }
.h08-rx-bal.r::after { right: 22px; }
.h08-rx-picker { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(10, 10, 14, .6); }
.h08-rx-pick { width: min(880px, 100%); padding: 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: #16161c; }
.h08-rx-pick h2 { margin: 0 0 14px; font: 800 19px/1.3 "Segoe UI", sans-serif; }
.h08-rx-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.h08-rx-tile { display: flex; flex-direction: column; gap: 5px; padding: 9px 11px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .04); color: #f4f1ea; text-align: left; font: 14px/1.25 "Segoe UI", sans-serif; cursor: pointer; }
.h08-rx-tile.on { border-color: #ffe14a; background: rgba(255, 225, 74, .08); }
.h08-rx-tile i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 225, 74, .12); color: #ffe14a; }
.h08-rx-tile i .k-ico { width: 18px; height: 18px; }
.h08-rx-tile b { font-weight: 800; }
.h08-rx-tile small { opacity: .6; }
.h08-rx-wish { display: flex; gap: 8px; margin-top: 14px; }
.h08-rx-wish input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .06); color: #f4f1ea; font: 14px "Segoe UI", sans-serif; }
.h08-rx-wish button { padding: 10px 16px; border: 0; border-radius: 10px; background: #ffe14a; color: #16130a; font: 800 14px "Segoe UI", sans-serif; }
.h08-rx-row { display: flex; justify-content: flex-end; margin-top: 12px; }
.h08-rx-row .no { padding: 9px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: transparent; color: #f4f1ea; font: 700 14px "Segoe UI", sans-serif; cursor: pointer; }

/* ---------- Katern Wereld (zelf getekend in CSS 3D, kleuren van het type "kantoortoren") ---------- */
.h08-w { position: absolute; inset: 0; overflow: hidden; background: #16161c; color: #f4f1ea; font: 15px/1.45 "Segoe UI", system-ui, sans-serif; user-select: none; }
.h08-w [hidden] { display: none !important; }
.h08-w-view { position: absolute; inset: 0; overflow: hidden; perspective: 620px; perspective-origin: 50% 50%; background: #cfe3f0; cursor: grab; touch-action: none; }
.h08-w-cam { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.h08-w-f { position: absolute; left: 0; top: 0; transform-origin: 0 0; backface-visibility: hidden; overflow: hidden; }
.h08-w-ground { background: #c9c3b6; }
.h08-w-ground:first-child { background: #8a9099; }
.h08-w-walk { position: absolute; left: 0; right: 0; top: 0; height: 330px; background: #d6cfc1; }
.h08-w-line { position: absolute; left: 0; right: 0; top: 980px; border-top: 10px dashed #eef0f2; }
.h08-w-bld { background: #c9b79c; }
.h08-w-bld.b2 { background: #b7c4cf; }
.h08-w-bld.b3 { background: #d9d1c4; }
.h08-w-bld.side::after, .h08-w-facade.side::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 30, .14); }
.h08-w-wins { position: absolute; left: 50px; right: 50px; top: 60px; bottom: 120px; display: grid; gap: 40px 50px; }
.h08-w-wins i { background: #7f9fb6; border: 6px solid #f0ece4; }
.h08-w-facade { background: #e4ddcc; }
.h08-w-facade.top { border-bottom: 14px solid #2f5e96; }
.h08-w-sign { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #2f5e96; color: #fff; }
.h08-w-sign .wj-mark { width: 46px; height: 46px; border-radius: 12px; font-size: 30px; }
.h08-w-sign b { display: block; font: 800 26px/1.15 Georgia, serif; }
.h08-w-sign small { display: block; color: #c9d8ec; font-size: 16px; }
.h08-w-floor { background: #b98a5c; }
.h08-w-runner { position: absolute; left: 310px; width: 180px; top: 0; bottom: 0; background: #2f5e96; }
.h08-w-ceil { background: #f0e8dc; }
.h08-w-lamp { position: absolute; left: 340px; width: 120px; height: 60px; background: #ffeccc; border: 4px solid #e2d5bc; }
.h08-w-wall { background: #ebe9e4; border-bottom: 18px solid #5a4632; }
.h08-w-wall.end { background: #e4e1d6; }
.h08-w-wall.top { border-bottom: 0; }
.h08-w-board { position: absolute; overflow: hidden; padding: 12px 16px; border: 7px solid #2f5e96; background: #fcfcfa; color: #1d1a14; }
.h08-w-board b { display: block; margin: 2px 0 6px; font: 800 18px/1.2 Georgia, serif; }
.h08-w-board p { margin: 0; font: 15px/1.42 Georgia, serif; }
.h08-w-kind { display: block; color: #2f5e96; font: 800 10.5px/1.2 "Segoe UI", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.h08-w-board.img { padding: 10px 12px; border-color: #6b4a2b; }
.h08-w-paint svg { display: block; width: 100%; height: auto; }
.h08-w-board.img b { font-size: 13px; margin-bottom: 4px; }
.h08-w-table { width: 100%; border-collapse: collapse; font: 13px/1.3 "Segoe UI", sans-serif; }
.h08-w-table th, .h08-w-table td { padding: 4px 6px; border-bottom: 1px solid #dedbd2; text-align: left; }
.h08-w-table th { background: #e9eef5; color: #2f5e96; }
.h08-w-hang { display: grid; place-content: center; padding: 6px 16px; background: #2f5e96; color: #fff; text-align: center; }
.h08-w-hang b { font: 800 26px/1.15 Georgia, serif; }
.h08-w-hang.h1 { background: #1d2c44; }
.h08-w-hang.h1 .h08-w-kind { color: #ffe14a; font-size: 12px; }
.h08-w-hang.h1 b { font-size: 30px; }
.h08-w-door { position: absolute; bottom: 18px; width: 200px; height: 300px; }
.h08-w-door-sign { position: absolute; left: 0; right: 0; top: 0; height: 70px; padding: 6px 10px; border-left: 6px solid #5aa9ff; background: #fcfcfa; color: #1d1a14; overflow: hidden; }
.h08-w-door-sign small { display: block; color: #2c7fd8; font: 800 11px/1.2 "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.h08-w-door-sign b { display: block; font: 700 15px/1.2 Georgia, serif; }
.h08-w-door i { position: absolute; left: 14px; right: 14px; bottom: 0; height: 216px; background: #1b2836; border: 9px solid #5aa9ff; border-bottom: 0; }
.h08-w-addr { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: 430px; padding: 7px 14px 7px 8px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(22, 22, 28, .92); }
.h08-w-fav { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.h08-w-fav .wj-mark { width: 22px; height: 22px; border-radius: 6px; font-size: 14px; }
.h08-w-addr div { min-width: 0; }
.h08-w-addr b { display: block; overflow: hidden; font-size: 14px; font-weight: 750; white-space: nowrap; text-overflow: ellipsis; }
.h08-w-addr small { display: block; color: #a9a9b8; font-size: 12px; }
.h08-w-mini { position: absolute; top: 16px; right: 16px; z-index: 3; width: 130px; height: 130px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: #0f0f14; overflow: hidden; }
.h08-w-mini .bld { position: absolute; left: 37%; width: 26%; top: 24%; height: 60%; border: 2px solid #e4ddcc; border-radius: 3px; }
.h08-w-mini .dot { position: absolute; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 13px solid #ffe14a; }
.h08-w-cross, .h08-w-tip, .h08-w-hints, .h08-w-key { pointer-events: none; }
.h08-w-cross { position: absolute; left: 50%; top: 50%; z-index: 3; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: #fff; filter: drop-shadow(0 0 1px #000) drop-shadow(0 0 1px #000); }
.h08-w-cross .k-ico { width: 26px; height: 26px; stroke-width: 2.4; }
.h08-w-tip { --k: #ffe14a; position: absolute; top: calc(50% + 28px); left: 0; right: 0; z-index: 3; display: grid; gap: 2px; width: fit-content; min-width: 200px; max-width: 400px; margin: 0 auto; padding: 10px 14px 11px 12px; border: 1px solid rgba(255, 255, 255, .1); border-left: 3px solid var(--k); border-radius: 14px; background: rgba(22, 22, 28, .92); }
.h08-w-tip[data-kind="same"] { --k: #5aa9ff; }
.h08-w-tip .k { color: var(--k); font-size: 12px; font-weight: 750; }
.h08-w-tip b { font-size: 15px; font-weight: 750; }
.h08-w-tip small { color: #d6d6de; font-size: 12.5px; }
.h08-w-hints { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3; width: fit-content; max-width: 980px; margin: 0 auto; padding: 10px 16px 11px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: rgba(22, 22, 28, .92); text-align: center; }
.h08-w-hints b { color: #ffe14a; font-size: 15px; font-weight: 750; }
.h08-w-key { position: absolute; left: 50%; bottom: 90px; z-index: 3; display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px; border: 2px solid #fff; border-bottom-width: 5px; border-radius: 10px; background: #ffe14a; color: #16130a; font: 900 22px/1 "Segoe UI", sans-serif; }
.h08-w-reader { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 20px; background: rgba(10, 10, 14, .55); }
.h08-w-rd { width: min(820px, 100%); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; background: #16161c; overflow: hidden; }
.h08-w-rd-head { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 14px 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #a9a9b8; font: 800 11.5px/1.2 "Segoe UI", sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.h08-w-rd-head em { margin-left: auto; font-style: normal; letter-spacing: 0; text-transform: none; font-size: 13px; }
.h08-w-rd-body { padding: 22px 28px 24px; }
.h08-w-rd-body h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.2; }
.h08-w-rd-body p { margin: 0; color: #ece9e1; font-size: 20px; line-height: 1.6; }
.h08-w-rd-body .h08-w-table { font-size: 16px; color: #ece9e1; }
.h08-w-rd-body .h08-w-table th { background: rgba(255, 255, 255, .08); color: #fff; }
.h08-w-rd-body .h08-w-table th, .h08-w-rd-body .h08-w-table td { padding: 8px 10px; border-color: rgba(255, 255, 255, .12); }
.h08-w-rd-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.h08-w-rd-foot span { flex: 1; min-width: 120px; color: #a9a9b8; font-size: 12.5px; text-align: center; }
.h08-w-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #f4f1ea; font: 700 14px/1.2 "Segoe UI", sans-serif; cursor: pointer; }
.h08-w-btn.main { border-color: #ffe14a; background: #ffe14a; color: #16130a; }
.h08-w-btn.main.on { border-color: #fff; }
.h08-w-load { position: absolute; inset: 0; z-index: 8; display: grid; place-content: center; justify-items: center; gap: 18px; background: #16161c; text-align: center; }
.h08-w-load img { width: 56px; height: 56px; border-radius: 14px; }
.h08-w-load > b { font-size: 22px; font-weight: 700; }
.h08-w-loadbar { width: 480px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.h08-w-loadbar u { display: block; width: 0; height: 100%; background: #ffe14a; }
.h08-w-load ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 480px; margin: 0; padding: 0; list-style: none; color: #6f6f7c; font-size: 13px; font-weight: 700; }
.h08-w-load li.on { color: #ffe14a; }
.h08-w-pad { position: absolute; right: 16px; bottom: 52px; z-index: 4; display: grid; grid-template-columns: repeat(3, 52px); grid-template-rows: repeat(2, 52px); gap: 6px; }
.h08-w-pad button { border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(22, 22, 28, .82); color: #fff; font: 800 20px/1 "Segoe UI", sans-serif; cursor: pointer; touch-action: none; }
.h08-w-pad button:nth-child(1) { grid-column: 2; grid-row: 1; }
.h08-w-pad button:nth-child(2) { grid-column: 1; grid-row: 2; }
.h08-w-pad button:nth-child(3) { grid-column: 2; grid-row: 2; }
.h08-w-pad button:nth-child(4) { grid-column: 3; grid-row: 2; }
.h08-w-pad button.e { grid-column: 3; grid-row: 1; background: #ffe14a; color: #16130a; border-color: #ffe14a; }

/* ---------- Uitleggen, vertalen, voorlezen ---------- */
.h08-sel { background: #c3dafc; }
.h08-cm { position: absolute; z-index: 22; min-width: 250px; max-width: 470px; padding: 4px 0; border: 1px solid #dadce0; border-radius: 8px; background: #fff; color: #202124; box-shadow: 0 4px 16px rgba(0, 0, 0, .22); font: 13px/1.3 "Segoe UI", system-ui, sans-serif; }
.h08-cm hr { margin: 4px 0; border: 0; border-top: 1px solid #e3e3e3; }
.h08-cm-i { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h08-cm-i.on { background: #e8eaed; }
.h08-cm-i img { position: absolute; left: 11px; width: 16px; height: 16px; border-radius: 4px; }
.h08-cm-i.parent i { margin-left: auto; width: 7px; height: 7px; border-top: 1.5px solid #5f6368; border-right: 1.5px solid #5f6368; transform: rotate(45deg); }
.h08-acts { display: flex; gap: 2px; margin: -6px 0 2px; }
.h08-act { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #9a9aa6; cursor: pointer; }
.h08-act .k-ico { width: 16px; height: 16px; }
.h08-act.on { background: #ffe14a; color: #16130a; }
.k-msg.me.h08-short { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
