/* WORDTECA: live type over reusable, text-free adventure artwork. */
.npc-tutorial {position:fixed;inset:0;z-index:300;padding:16px;}
.npc-tutorial__panel {width:min(460px,100%);max-height:calc(100dvh - 32px);overflow:auto;border:12px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;border-radius:0;background:none;box-shadow:0 15px 50px #0008;gap:12px;padding:12px;color:#39240e;}
.npc-tutorial__title,.npc-tutorial__body,.npc-tutorial .npc-card__meta strong,.npc-tutorial .npc-card__meta span,.npc-tutorial__page {color:#39240e;}
.npc-tutorial__body {font-size:16px;line-height:1.5;}
.npc-tutorial .npc-card__avatar {width:80px;height:90px;background:none;box-shadow:none;flex-shrink:0;}
.npc-tutorial .npc-card__avatar img {position:static;display:block;width:80px;height:90px;max-width:100%;object-fit:contain;transform:none;}
.npc-tutorial__actions button {min-height:44px;padding:10px 16px;border:2px solid #bc9344;border-radius:12px;background:linear-gradient(#35ad49,#07622a);color:#fff6d4;font-weight:800;}
.npc-tutorial__actions .secondary-btn {background:#6b5031;}
:root { --frame-w:min(100vw, 500px); --adventure-gold:#e5bd5b; --adventure-ink:#37200c; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { font-family:'Bahnschrift','Arial Narrow',Arial,sans-serif; }
button,select,input { font:inherit; }
button { -webkit-tap-highlight-color:transparent; }
button:focus-visible,select:focus-visible { outline:3px solid #6aff96;outline-offset:3px; }
.app-shell { position:relative;isolation:isolate;padding:env(safe-area-inset-top,0px) 12px env(safe-area-inset-bottom,0px);gap:10px;box-shadow:0 0 70px #0009;border-inline:2px solid #786c41; }
.scene-bg { position:absolute;inset:0;width:100%;height:100%; }
.scene-bg__shade { background:linear-gradient(#00241922,#00211708 40%,#001b12bb); }
.workspace { padding-bottom:12px;gap:9px;grid-template-rows:auto auto minmax(0,1fr) auto; }
.topbar { margin-top:8px;min-height:48px;padding:3px 2px;border-width:7px 9px;gap:4px; }
.hud-wallet { gap:4px;flex:1; }
.hud-chip { background:linear-gradient(#112d24,#041c15);border:1px solid #b99544;box-shadow:inset 0 1px 2px #ffffff66,0 2px 3px #0009;border-radius:30px;padding:2px 6px 2px 2px;gap:3px;font-size:13px;min-width:0; }
.hud-chip .wt-icon { width:27px;height:27px; }
.hud-chip--stars,#livesTopTimer { display:none; }
.hud-actions { gap:4px; }
.hud-btn,.round-icon { display:inline-grid;place-items:center;width:38px;height:38px;min-width:38px;padding:4px;border:2px solid #e6bd5f;border-radius:50%;background:radial-gradient(circle at 35% 20%,#2b7355,#063d29 55%,#032c20);color:#fff5c5;box-shadow:inset 0 0 0 2px #715129,0 3px 5px #0008;font-size:25px;font-weight:900;cursor:pointer; }
.hud-btn img,.round-icon img { width:100%;height:100%;object-fit:contain; }
.level-bar { border-width:9px 12px;min-height:54px;gap:8px; }
.level-name { font-size:clamp(14px,3.6cqw,19px); }
.level-number { font-size:20px; }
.level-bar .control-label { font-size:10px;color:#e9cc7c; }
.limit-box { min-width:35px; }
.limit-box strong { font-size:20px; }
.limit-box span { display:block !important;font-size:9px; }
.objective-panel { position:relative;max-height:none;border-width:10px 13px;padding:4px 9px 5px;grid-template-rows:auto auto auto auto;overflow:visible; }
.objective-panel::before,.parchment::before { content:'';position:absolute;left:-12px;top:-17px;width:66px;height:52px;background:url('../assets/decor/leaf.png') left top/44px no-repeat,url('../assets/decor/flower_white.png') 24px 15px/28px no-repeat;pointer-events:none;z-index:2; }
.objective-panel::after,.parchment::after { content:'';position:absolute;right:-15px;bottom:-15px;width:62px;height:55px;background:url('../assets/decor/hibiscus.png') right bottom/35px no-repeat,url('../assets/decor/leaf.png') left top/42px no-repeat;pointer-events:none;z-index:2; }
.objective-title { color:#39220d;font-size:16px;text-align:center; }
.objective-panel__head { justify-content:center; }
#objectiveKicker { display:none; }
.objective-panel .target-words { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:4px 9px;margin-top:5px; }
.objective-panel .target-word { font-size:clamp(12px,3.15cqw,15px);font-weight:800;min-height:24px;padding:2px 3px;border:0;background:transparent;gap:5px; }
.objective-panel .target-word span { overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere; }
.objective-panel .target-word__icon { width:22px;height:22px; }
.objective-panel .target-word__status { width:16px;height:16px;min-width:16px;border-color:#83653a; }
.objective-panel .target-word.is-found { background:#5c9a1920;border-radius:8px; }
.objective-panel .objective-row span,.objective-panel .objective-row strong { font-size:10px; }
.crazy-hud { display:block;margin-top:4px; }
.crazy-track { height:7px;border:1px solid #54761d;box-shadow:inset 0 1px 3px #213b19; }
.crazy-hud__head { font-size:10px; }
.board-host { position:relative;padding:7px;min-height:0; }
.board { background:#183e23;box-shadow:0 0 0 4px #514627,0 0 0 6px #b39957,0 5px 12px #000c;border:0;border-radius:9px;overflow:visible;touch-action:none; }
.board::before { content:'';position:absolute;left:-15px;right:-15px;top:-21px;height:34px;background:url('../assets/decor/vine.png') center/contain repeat-x;pointer-events:none;z-index:5; }
.board::after { content:'';position:absolute;left:-13px;right:-13px;bottom:-19px;height:32px;background:url('../assets/decor/vine.png') center/contain repeat-x;pointer-events:none;z-index:5;transform:rotate(180deg); }
.tile { border-radius:16%;background:linear-gradient(135deg,#ffe7a1,#f9e7bd 35%,#e4c78e);box-shadow:inset 0 0 0 3px #a5793d; }
.tile__glyph { font-family:'Bahnschrift','Arial',sans-serif;font-weight:900;line-height:1.2;color:#30190e;text-shadow:0 1px #fff0cf; }
.tile.is-selected { background:#8aff09;box-shadow:inset 0 0 0 2px #efffaf,0 0 4px 2px #a4ff21,0 0 18px #70ff00; }
.tile.is-selected .tile__art { opacity:.5;filter:sepia(1) saturate(2) hue-rotate(35deg) brightness(1.3);transform:none; }
.tile.is-selected .tile__glyph { color:#244d08;text-shadow:0 1px 2px #f5ffb7; }
.board__path-glow { stroke:#9bff0a;filter:drop-shadow(0 0 4px #a4ff00) drop-shadow(0 0 8px #74ff00);opacity:1; }
.board__path-core { stroke:#faffdc;filter:drop-shadow(0 0 2px white); }
.board__path-preview,.board__pointer,.board__head-ring,.board__anchor { opacity:0 !important; }
.is-crazy .tile.is-selected { background:#ffcb00;box-shadow:inset 0 0 0 2px #fff9d7,0 0 6px #ffde00,0 0 20px #ffb000; }
.is-crazy .board__path-glow { stroke:#ffcf00;filter:drop-shadow(0 0 7px #ffc000); }
.board__overlay[data-feedback='invalid'] .board__path-glow { stroke:#ff6048; }
.board__overlay[data-feedback='repeated'] .board__path-glow { stroke:#ffce45; }
.powerup-panel { padding:8px 2px 2px; }
.powerup-grid { gap:8px; }
.powerup-btn { border:0;background:transparent;box-shadow:none;font-size:11px;gap:4px;padding:0 2px; }
.powerup-btn__icon { width:clamp(42px,12cqw,60px);height:clamp(42px,12cqw,60px);background:radial-gradient(#236950,#003923);border:2px solid #efc86b;border-radius:50%;padding:3px;box-shadow:inset 0 0 0 2px #846028,0 3px 5px #0009; }
.powerup-btn b { top:31px;right:8px;font-size:12px;min-width:22px; }
.powerup-btn span { display:block !important;white-space:normal;font-size:10px; }
.word-preview.has-word { position:absolute;left:50%;bottom:90px;transform:translateX(-50%);z-index:9;width:max-content;max-width:90%; }
.word-feedback { z-index:120;font-size:24px;text-shadow:0 2px #173e0b,0 0 15px #8cff39;pointer-events:none; }
.parchment { position:relative;border:12px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;color:var(--adventure-ink);padding:12px;background:none; }
.adventure-home { position:absolute;inset:0;z-index:80;display:flex;flex-direction:column;align-items:stretch;padding:calc(env(safe-area-inset-top,0px) + 10px) 22px calc(env(safe-area-inset-bottom,0px) + 8px);gap:10px;overflow-y:auto;background:linear-gradient(#022c1933,#01271b00 45%,#001a13c9),url('../assets/worlds/world01_jungle_lg.webp') center/cover; }
.home-tools { display:flex;justify-content:space-between;min-height:38px; }
.adventure-brand { position:relative;width:100%;max-width:390px;margin:-12px auto -5px;flex-shrink:0; }
.adventure-brand>img { width:100%;display:block; }
.adventure-brand h1 { position:absolute;top:42%;left:0;right:0;text-align:center;margin:0;color:#ffdc65;font-weight:1000;font-size:clamp(28px,9cqw,45px);letter-spacing:-1px;text-shadow:0 2px #ffef9d,0 4px #ac6711,0 6px #4e2a03,0 7px 5px #000; }
.home-welcome { text-align:center;padding:5px 10px;margin:0 8px; }
.home-welcome h2 { margin:0;font-size:22px; }
.home-welcome p { margin:5px 0 0;font-size:14px; }
.home-menu { display:grid;gap:9px;flex:1;align-content:center;padding:4px 0; }
.adventure-action { display:flex;align-items:center;gap:10px;min-height:68px;padding:7px 12px 7px 7px;border:3px solid #eac367;border-radius:17px;background:linear-gradient(#5bc65a 0%,#13852e 15%,#006a22 65%,#00451d);box-shadow:inset 0 0 0 2px #fff29c88,inset 0 -4px 6px #003c27,0 3px 0 #634016,0 5px 6px #0008;color:#fffde4;cursor:pointer;text-align:left; }
.adventure-action--blue { background:linear-gradient(#298b88,#00666e 20%,#004451); }
.adventure-action>img { width:48px;height:48px;object-fit:contain;filter:drop-shadow(0 3px 2px #0008); }
.adventure-action>span { flex:1; }
.adventure-action strong { display:block;font-size:23px;text-transform:uppercase;text-shadow:0 2px #043e25; }
.adventure-action small { display:block;font-size:11px;margin-top:3px; }
.adventure-action>b { font-size:38px; }
.home-dock,.map-dock { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;text-align:center; }
.home-dock button,.map-dock button { display:flex;align-items:center;flex-direction:column;gap:5px;padding:0;border:0;background:none;color:#fff4ce;font-size:11px;font-weight:800;cursor:pointer; }
.home-dock img,.map-dock img { width:51px;height:51px;object-fit:contain;padding:5px;border:2px solid #d7ac51;border-radius:50%;background:radial-gradient(#317053,#052d24);box-shadow:0 3px 5px #0009; }
.home-caption { text-align:center;font-size:12px;font-weight:700;color:#fff1bf;text-shadow:0 2px #042514;margin:3px 0; }
.adventure-dialog { width:min(430px,calc(100vw - 36px));max-height:calc(100dvh - 48px);overflow-y:auto;overflow-x:hidden;color:#39220d;box-shadow:0 12px 70px #000c; }
.adventure-dialog::backdrop { background:#00140dc9;backdrop-filter:blur(3px); }
.adventure-dialog h2 { text-align:center;margin:6px 22px 20px;font-size:26px;text-transform:uppercase; }
.adventure-dialog h3 { text-align:center;font-size:19px; }
.dialog-close { position:absolute;top:0;right:0;z-index:10;border:2px solid #e7c275;background:radial-gradient(#e55a3c,#a52212);color:#fff;font-weight:900;font-size:27px;border-radius:50%;width:36px;height:36px;cursor:pointer; }
.adventure-dialog__body { display:grid;gap:12px; }
.adventure-panel { display:grid;gap:16px; }
.adventure-dialog .meta-card,.adventure-dialog .economy-shop { color:#432b12;padding:0;border:0;background:none;box-shadow:none; }
.adventure-dialog .meta-card__head { color:#452b13; }
.adventure-dialog .meta-card strong,.adventure-dialog label,.adventure-dialog small,.adventure-dialog p { color:#432b12; }
.adventure-dialog p { line-height:1.55;font-size:16px; }
.adventure-dialog select { background:#fff1c7;color:#422909;border:1px solid #91652c;padding:10px;border-radius:8px;min-height:44px; }
.settings-card label { display:grid;gap:7px; }
.settings-tools { display:flex;gap:10px;flex-wrap:wrap; }
.settings-tools #cloudOpen { display:inline-grid; }
.adventure-dialog .primary-btn,.adventure-dialog .secondary-btn,.level-end__actions button,.map-actions button { display:block;width:100%;min-height:48px;margin-top:10px;padding:10px 12px;border:2px solid #dab15a;border-radius:13px;background:linear-gradient(#36b944,#00822b 30%,#005b25);color:#fffde0;box-shadow:inset 0 0 0 2px #fff2b077,0 3px #715024;text-shadow:0 2px #034020;font-size:16px;font-weight:800;cursor:pointer; }
.adventure-dialog .secondary-btn { background:linear-gradient(#756044,#382b1a); }
.adventure-dialog button:disabled { opacity:.55;cursor:default; }
.adventure-dialog .setting-row,.adventure-dialog .setting-toggle { min-height:43px;font-size:15px; }
.adventure-dialog input[type=checkbox] { width:21px;height:21px;accent-color:#108b38; }
.adventure-dialog .shop-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.adventure-dialog .shop-item,.adventure-dialog .mode-grid button,.adventure-dialog .season-tiers button { color:#fff5d4;background:linear-gradient(#205e4a,#0c382d);border:2px solid #ac863d;border-radius:12px;min-height:85px; }
.adventure-dialog .shop-item strong,.adventure-dialog .shop-item small,.adventure-dialog .mode-grid strong,.adventure-dialog .mode-grid small { color:#fff4d0; }
.adventure-dialog .mission-item,.adventure-dialog .achievement-item { color:#422b13;background:#fff1cc77;border-color:#af814b; }
.dialog-tika { display:block;width:150px;height:160px;object-fit:contain;margin:0 auto; }
.start-words { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
.start-words span { border-bottom:1px solid #b99959;padding:8px 3px;font-size:19px;font-weight:800; }
.inventory-item { display:flex;align-items:center;gap:20px;padding:10px; }
.inventory-item img { width:65px;height:65px;object-fit:contain; }
#worldMap { padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);background:#062c1b; }
.world-map__shell { width:100%;height:100%;display:flex;flex-direction:column;gap:8px;padding:10px 15px;overflow:hidden;border:0;border-radius:0;background:linear-gradient(#032d19aa,#032d1900 45%,#021b12ee),var(--world-bg) center/cover;box-shadow:none; }
.world-map__shell>.meta-grid,.world-map__shell>.stage10-grid,.world-map__shell>.stage12-grid,.world-map__shell>.stage13-grid,.world-map__shell>.stage14-grid { display:none; }
.map-nav { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.map-nav strong { font-size:21px;color:#fff0ba; }
.world-map__header { display:block;text-align:center;padding:8px;border:10px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;color:#34210c;flex-shrink:0; }
.world-map__header h2 { color:#34210c;font-size:22px;margin:2px 0; }
.world-map__header .stage-kicker { color:#674318;font-size:11px; }
#mapSubtitle,.map-progress { display:none; }
.world-strip { display:flex;gap:7px;overflow-x:auto;flex-shrink:0;padding:3px 2px 6px;scrollbar-width:thin;scrollbar-color:#c3a561 #173728; }
.world-card { flex:0 0 63px;width:63px;min-height:62px;height:62px;padding:4px;border:2px solid #a78e52;border-radius:11px;background:linear-gradient(#061f1544,#061f15aa),var(--world-card-bg) center/cover; }
.world-card strong { display:none; }
.world-card__num { font-size:19px; }
.world-card.is-selected { border-color:#caff6d;box-shadow:0 0 10px #95ff4588; }
#worldStatus { text-align:center;font-size:12px;color:#fff2be;min-height:18px; }
.map-path { flex:1;min-height:180px;max-height:none;width:100%;border:none;border-radius:16px;background:var(--world-bg) center/cover;box-shadow:inset 0 0 24px #00190d88; }
.map-node { width:58px;height:58px;min-height:0;padding:2px;border:3px solid #eaca72;border-radius:50%;background:radial-gradient(#48bd42,#05722c 65%,#004b29);color:#fffbd6;box-shadow:0 3px 0 #705324,0 0 0 3px #50391d; }
.map-node__number { font-size:25px;line-height:1; }
.map-node strong { display:none; }
.map-node small { font-size:10px; }
.map-node:disabled { background:radial-gradient(#756a47,#34291d);opacity:1; }
.map-route__line { stroke:#fff4b7;stroke-dasharray:1 2;stroke-width:1.1;filter:drop-shadow(0 1px 1px #3e290b); }
.map-actions { display:flex;gap:8px;padding:0; }
.map-actions button { margin:0; }
.map-dock img { width:43px;height:43px; }
.level-end { position:fixed;inset:0;z-index:130;display:grid;place-items:center;background:#00170cbd;backdrop-filter:blur(3px);padding:24px; }
.level-end__panel { position:relative;width:min(420px,100%);max-height:calc(100dvh - 48px);overflow:auto;border:15px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;background:none;padding:15px;color:#39240e;box-shadow:0 20px 60px #0009; }
.level-end__panel h2 { color:#5c3709;font-size:29px;text-shadow:0 2px #fff3bf; }
.level-end__panel p,.level-end__panel .stage-kicker { color:#51351b; }
.result-tika { width:130px;height:120px;object-fit:contain;display:block;margin:-7px auto 4px; }
.level-end__stars { color:#ffc928;font-size:60px;filter:drop-shadow(0 2px 1px #8c4e0c) drop-shadow(0 0 15px #ffc62a); }
.level-end[data-status=lost] .level-end__stars { display:none; }
.level-end__actions { display:flex;flex-direction:column;gap:6px; }
.level-end__actions #nextLevel { order:-1; }
.level-end__actions #nextLevel:disabled { display:none; }
.level-reward { color:#51351b;background:#e6b64b33;border:1px solid #bf9b55; }
.privacy-modal__panel,.cloud-modal__panel { border:12px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;background:none;color:#432b13; }
.privacy-modal__panel h2,.privacy-modal__panel p,.cloud-modal__panel h2,.cloud-modal__panel p { color:#432b13; }
@media (max-height:740px) and (orientation:portrait) {
  .adventure-home { gap:7px;padding-inline:20px; }
  .adventure-brand { max-width:300px;margin-top:-27px;margin-bottom:-10px; }
  .adventure-action { min-height:57px;padding:4px 9px; }
  .adventure-action>img { width:40px;height:40px; }
  .adventure-action strong { font-size:19px; }
  .home-welcome h2 { font-size:18px; }
  .home-dock img { width:43px;height:43px; }
  .home-caption { display:none; }
  .objective-panel .target-word { min-height:20px;font-size:12px; }
  .objective-panel .target-word__icon { width:18px;height:18px; }
  .topbar { min-height:42px; }
  .level-bar { min-height:43px; }
}
@media (max-width:360px) { .app-shell{padding-inline:9px}.hud-chip{font-size:11px}.hud-chip .wt-icon{width:23px;height:23px}.hud-btn{width:33px;height:33px;min-width:33px}.powerup-btn__icon{width:40px;height:40px}.objective-title{font-size:14px} }
@media (orientation:landscape) and (max-height:600px) {
  :root { --frame-w:min(100vw,1050px); }
  .app-shell { padding-inline:20px;grid-template-rows:48px minmax(0,1fr); }
  .topbar { width:45%;margin:4px 0 0; }
  .workspace { grid-template-columns:minmax(220px,.9fr) minmax(0,1.1fr);grid-template-rows:auto minmax(0,1fr) auto;column-gap:25px; }
  .level-bar { grid-column:1;grid-row:1; }.objective-panel{grid-column:1;grid-row:2;align-self:center}.powerup-panel{grid-column:1;grid-row:3}
  .board-host { grid-column:2;grid-row:1/4; }.powerup-btn__icon{width:38px;height:38px}.powerup-btn b{top:20px}
  .adventure-home { display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr auto;padding:10px 30px;gap:10px 35px; }
  .home-tools { position:absolute;top:10px;left:15px;right:15px;pointer-events:none; }.home-tools button{pointer-events:auto}
  .adventure-brand {grid-column:1;grid-row:1;margin:5px auto -10px;max-width:280px}.home-welcome{grid-column:1;grid-row:2;align-self:center}.home-dock{grid-column:1;grid-row:3}.home-menu{grid-column:2;grid-row:1/4;padding:5px 0}.home-caption{display:none}
  .adventure-brand h1{font-size:32px}.adventure-action{min-height:56px}.adventure-action strong{font-size:20px}.adventure-action>img{width:38px;height:38px}.adventure-dialog{max-height:calc(100dvh - 24px)}
  .world-map__shell { display:grid;grid-template-columns:230px 1fr;grid-template-rows:42px auto 1fr auto;gap:8px 18px; }
  .map-nav{grid-column:1;grid-row:1}.world-map__header{grid-column:1;grid-row:2}.world-strip{grid-column:1;grid-row:3;flex-wrap:wrap;overflow:auto;align-content:start}.world-card{flex-basis:57px;height:50px;min-height:50px}.map-path{grid-column:2;grid-row:1/4;height:100%;min-height:0}.map-actions{grid-column:1;grid-row:4}.map-dock{grid-column:2;grid-row:4}#worldStatus{display:none}
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important} }
.app-shell[data-large-text=true] .target-word {font-size:16px}
.app-shell[data-high-contrast=true] .target-word {color:#160e03;background:#fff6d0}
/* Keep map centering independent of the old entrance transform animation. */
#worldMap {left:0;right:0;margin-inline:auto;transform:none;animation:none;}
.adventure-brand>img {mask-image:radial-gradient(ellipse at 50% 50%,#000 55%,transparent 76%);}
.world-map__footer {display:flex;padding:0;gap:8px;}
.world-map__footer #continueLevel {width:100%;min-height:44px;font-size:16px;border:2px solid #edc46a;background:linear-gradient(#2bb13d,#006c2c);box-shadow:inset 0 0 0 2px #fff9b966,0 3px #654221;}
.adventure-dialog .season-tiers {grid-template-columns:repeat(3,minmax(0,1fr));}
.adventure-dialog .season-tier strong,.adventure-dialog .season-tier small {color:#fff4d0;}
.adventure-dialog .season-tier:disabled {opacity:.8;}
.adventure-dialog .event-card__footer>span,.adventure-dialog .season-xp>span,.adventure-dialog .season-summary,.adventure-dialog .profile-card__main small {color:#593813;}
#privacyModal .release-modal__panel {width:min(430px,calc(100vw - 30px));border:12px solid transparent;border-image:url('../assets/frames/frame_parchment.png') 40 fill stretch;background:none;color:#432b13;}
#privacyModal .release-modal__panel :is(h2,p,strong,small,.stage-kicker) {color:#432b13;}
#privacyModal .privacy-row {background:#ffefc788;border-color:#bfa06b;}
#privacyModal .privacy-row.is-required small {display:none;}
#privacyModal .release-modal__actions {flex-wrap:wrap;}
@media(orientation:landscape) and (max-height:600px) {.world-map__footer{grid-column:1;grid-row:4;}}
.objective-panel {grid-template-rows:repeat(5,auto);row-gap:3px;}
.objective-panel__head {grid-template-rows:auto;}
.progress-orb {grid-row:1;width:auto;height:24px;min-width:36px;aspect-ratio:auto;padding:2px 6px;font-size:11px;}
.objective-panel .target-words,.objective-panel .objective-list {margin-top:0;}
.crazy-hud {padding:0;margin:0;border:0;border-radius:0;background:none;min-height:0;}
.crazy-track {margin-top:2px;}
.crazy-hud__head {min-height:12px;}
.powerup-btn {display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;}
.power-bar {padding:4px 0 0;}
@media(orientation:landscape) and (max-height:600px) {.power-bar{grid-column:1;grid-row:3}.objective-panel{align-self:center}.powerup-btn__icon{width:38px;height:38px}}
.adventure-notice {position:fixed;z-index:9999;left:50%;top:calc(env(safe-area-inset-top,0px) + 16px);transform:translateX(-50%);width:min(360px,calc(100vw - 32px));padding:14px 18px;color:#fff5cf;background:linear-gradient(#275b3e,#053523);border:2px solid #e5bf63;border-radius:15px;box-shadow:0 6px 25px #000a;text-align:center;font-size:16px;line-height:1.4;pointer-events:none;}
.adventure-dialog .adventure-notice {position:sticky;top:0;left:auto;transform:none;width:100%;margin-top:10px;}
.pref-large-text .objective-panel .target-word {font-size:16px;}
.pref-high-contrast .objective-panel .target-word {color:#160e03;background:#fff6d0;}
@media (max-height:650px) and (orientation:portrait) {
  .app-shell {padding-inline:7px;gap:5px;}
  .topbar {margin-top:3px;min-height:40px;border-width:4px 6px;}
  .hud-btn {width:30px;height:30px;min-width:30px;font-size:20px;}
  .hud-chip {font-size:11px;padding-right:4px;}
  .hud-chip .wt-icon {width:23px;height:23px;}
  .workspace {gap:5px;padding-bottom:5px;}
  .level-bar {min-height:40px;border-width:5px 8px;padding-block:0;}
  .level-name {font-size:12px;}
  .limit-box strong {font-size:17px;}
  .objective-panel {border-width:6px 9px;padding:1px 5px;row-gap:1px;}
  .objective-title {font-size:13px;}
  .objective-panel .target-words {gap:0 5px;margin-top:0;}
  .objective-panel .target-word {min-height:19px;font-size:11px;padding:0 2px;}
  .objective-panel .target-word__icon {width:17px;height:17px;}
  .objective-panel .objective-list {gap:2px;margin:0;}
  .objective-panel .objective-row {padding:1px 3px;}
  .crazy-hud__head {font-size:8px;}
  .crazy-track {height:4px;}
  .powerup-btn__icon {width:36px;height:36px;}
  .powerup-btn {font-size:9px;gap:1px;}
}
