/* Entre Dos 2.0 — coherent playful interface, iOS-inspired clarity */
:root {
 --bg:#f6f7fb;--panel:#ffffff;--panel2:#f1f3f9;--text:#202338;--muted:#71788e;
 --line:rgba(28,38,70,.085);--accent:#3668e8;--accent2:#38b9aa;
 --good:#139a74;--bad:#cf5264;--radius:21px;
 --game-indigo:#4935ae;--game-purple:#7555eb;--game-violet:#8269e4;
 --game-teal:#0e9988;--game-orange:#d57b48;--game-gold:#bb851f;
 color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif
}
:root[data-theme=dark] {
 --bg:#0e111c;--panel:#1a1f2c;--panel2:#252b3a;--text:#f3f6ff;--muted:#a2aec6;
 --line:rgba(207,218,255,.09);--accent:#83a6ff;--accent2:#66dccc;
 --good:#68dfb0;--bad:#ff8596;--game-indigo:#9981fb;--game-purple:#b5a1ff;
 --game-violet:#c1aaff;--game-teal:#70dec5;--game-orange:#ffb283;--game-gold:#efc678;color-scheme:dark
}
html,body{background:var(--bg);color:var(--text)}
body{font-size:14px;letter-spacing:-.012em;line-height:1.5}
h1{font-size:27px;line-height:1.2;letter-spacing:-.85px;font-weight:780}
h2{font-size:18px;letter-spacing:-.36px;font-weight:760}
h3{font-size:15px;letter-spacing:-.24px}
#app{max-width:680px}
.topbar{
 padding:calc(11px + env(safe-area-inset-top,0px)) 20px 11px;
 border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 90%,transparent);
 box-shadow:0 1px 0 var(--line);backdrop-filter:blur(22px) saturate(125%);-webkit-backdrop-filter:blur(22px) saturate(125%)
}
.brand-icon{width:41px;height:41px;border-radius:13px;background:#e7e9ff;color:#6750d1}
.brand-icon .hi-icon{width:22px;height:22px}
.brand-name{font-size:17px;letter-spacing:-.52px;font-weight:770}
.brand-sub{font-size:11px}
.top-icon{width:37px;height:37px;border-radius:12px;color:var(--accent);background:var(--panel)}
.top-icon .hi-icon{width:19px;height:19px}
.content{padding:22px 19px 27px}
.card{box-shadow:none}
.button{font-size:13px;border-radius:13px;min-height:43px;font-weight:740}
.button:active,[data-action]:active{opacity:.92}
.button-glyph{width:18px;height:18px}
.hi-icon{flex-shrink:0}
.eyebrow{font-size:10px;letter-spacing:.95px;color:var(--muted)}
.subtitle,.sub{color:var(--muted)}
.game-intro{
 position:relative;overflow:hidden;border-radius:25px;min-height:202px;padding:21px 22px 19px;
 color:#fff;background:linear-gradient(128deg,#33286f 0%,#4c3bb4 54%,#6654d0 100%);
 border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 27px rgba(40,31,104,.14)
}
.game-intro:before{
 content:"";position:absolute;right:-55px;top:-80px;width:226px;height:225px;border-radius:50%;
 background:radial-gradient(circle,rgba(138,197,255,.31),rgba(114,170,243,.1) 52%,transparent 72%);pointer-events:none
}
.game-intro:after{
 content:"";position:absolute;left:-63px;bottom:-101px;width:215px;height:180px;border-radius:50%;
 background:radial-gradient(circle,rgba(115,221,226,.22),transparent 70%);pointer-events:none
}
.game-intro>*{position:relative;z-index:1}
.game-intro-kicker{
 display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:800;
 letter-spacing:.9px;color:#d6d2ff
}
.live-dot{width:6px;height:6px;background:#a5f6d8;border-radius:50%;box-shadow:0 0 0 3px #a5f6d825}
.intro-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:16px}
.intro-heading h1{font-size:30px;font-weight:790;color:#fff;letter-spacing:-1px}
.intro-heading p{font-size:13px;color:#dcdafa;margin-top:4px}
.intro-globe{width:57px;height:57px;display:grid;place-items:center;border-radius:19px;
 background:#ffffff20;border:1px solid #ffffff30;transform:rotate(9deg)}
.intro-globe svg{width:29px;height:29px}
.xp-line{display:flex;justify-content:space-between;align-items:center;margin-top:20px;gap:8px}
.xp-rank{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:720;color:#f0efff}
.xp-rank svg{width:19px;height:19px;color:#ffd58c}
.xp-points{display:flex;gap:5px;align-items:center;font-size:12px}
.xp-points svg{width:17px;height:17px;color:#ffd17f}
.xp-points b{font-size:18px;font-weight:820;line-height:1}
.xp-points small{font-size:10px;color:#d9d3ff}
.xp-track .progress{margin:11px 0 6px;height:7px;background:#ffffff36;border-radius:40px}
.xp-track .progress-fill{background:linear-gradient(90deg,#c7f2ea,#b4e4ff);box-shadow:0 0 15px #96fff866}
.xp-footer{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#d3d1fc}
.quick-actions{display:grid;grid-template-columns:1fr 52px;gap:10px;margin:14px 0 24px}
.quick-actions button{border-radius:16px;min-height:49px;font-weight:750;font-size:14px}
.quick-actions svg{width:20px;height:20px}
.quick-add{border:1px solid transparent;display:flex;align-items:center;gap:10px;padding:12px 17px;background:var(--accent);color:#fff}
.quick-add small{font-size:11px;opacity:.83;margin-left:auto}
.quick-search{border:1px solid var(--line);display:grid;place-items:center;background:var(--panel);color:var(--accent)}
.game-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:23px 1px 12px}
.game-section-title>div{display:flex;gap:9px;align-items:center;min-width:0}
.game-section-title h2{font-size:18px;line-height:1.3}
.section-number{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;
 font-size:10px;font-weight:770;color:var(--game-purple);background:color-mix(in srgb,var(--game-purple) 11%,var(--panel))}
.section-meta{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);white-space:nowrap}
.section-meta svg{width:15px;height:15px}
.subtle-link{background:transparent;border:none;color:var(--accent);font-size:12px;font-weight:720;
 display:flex;align-items:center;gap:3px;white-space:nowrap}
.subtle-link svg{width:15px;height:15px}
.quest-card{overflow:hidden;border:1px solid #d1eee4;border-radius:22px;background:var(--panel);box-shadow:0 3px 14px rgba(22,63,83,.035)}
.quest-head{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:14px 17px 12px;
 background:linear-gradient(90deg,#e4f9f1,#effbf9)}
.quest-status{display:inline-flex;align-items:center;gap:6px;color:#147a69;font-size:11px;font-weight:800;letter-spacing:.38px}
.quest-status svg{width:18px;height:18px}
.quest-points{font-size:12px;font-weight:800;color:#0a9878;display:flex;align-items:center;gap:4px}
.quest-points svg{width:16px;height:16px}
.quest-content{padding:17px 19px}
.quest-country{color:var(--muted);font-size:11px}
.quest-content h3{font-size:22px;line-height:1.25;margin:6px 0;font-weight:780;letter-spacing:-.7px}
.quest-content p{color:var(--muted);line-height:1.53;font-size:13px;overflow-wrap:anywhere}
.quest-sensitive{display:inline-flex;gap:5px;align-items:center;margin-top:10px!important;color:#ac772d!important}
.quest-sensitive svg{width:16px;height:16px}
.quest-actions{display:flex;gap:9px;align-items:center;border-top:1px solid var(--line);padding:13px 17px}
.quest-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;
 border-radius:11px;padding:10px 12px;font-weight:730;font-size:12px;min-height:39px}
.quest-actions svg{width:17px;height:17px}
.quest-open{background:var(--panel2);color:var(--text);border:0;flex:1}
.quest-claim{background:#0d9d7c;color:#fff;border:0;flex:1.2}
.quest-claimed{display:inline-flex;align-items:center;gap:5px;color:var(--good);font-weight:740;font-size:12px}
.quest-pending-content{display:flex;align-items:center;gap:14px;padding:21px 17px 23px}
.quest-pending-content h3{font-size:15px;font-weight:750;margin-bottom:5px}
.quest-pending-content p{font-size:12px;color:var(--muted);line-height:1.48}
.quest-symbol{display:grid;place-items:center;flex:0 0 53px;height:53px;border-radius:16px;background:#e4f7f0;color:#1a9c82}
.quest-symbol svg{width:28px;height:28px}
.action-tiles{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.action-tile{position:relative;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;
 border-radius:21px;min-height:176px;padding:17px 16px;border:1px solid var(--line);
 background:var(--panel);transition:transform .14s ease}
.action-tile:active{transform:scale(.98)}
.action-purple{background:#f0ebff;border-color:#e5dcff;color:#6046ab}
.action-peach{background:#fff0e6;border-color:#ffe4d2;color:#ab663d}
.action-tile-icon{display:grid;place-items:center;width:42px;height:42px;background:#ffffffb8;border-radius:14px}
.action-tile-icon svg{width:23px;height:23px}
.action-tile-heading{margin-top:13px;font-weight:800;font-size:15px;line-height:1.18;letter-spacing:-.2px}
.action-tile-desc{font-size:12px;line-height:1.43;opacity:.8;margin-top:6px}
.action-tile-bottom{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:710;
 margin-top:auto;padding-top:13px;color:inherit}
.action-tile-bottom svg{width:14px;height:14px}
.mini-scoreboard{background:var(--panel);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.mini-versus{display:grid;grid-template-columns:1fr 40px 1fr;gap:4px;padding:14px 18px;align-items:center;text-align:center}
.mini-versus>div{display:flex;align-items:center;gap:6px;flex-direction:column}
.mini-versus>div>span{font-size:25px}
.mini-versus>div>b{font-size:23px;line-height:1.1;font-weight:820;letter-spacing:-.6px}
.mini-versus small{font-size:11px;color:var(--muted)}
.versus-symbol{background:var(--panel2);padding:10px 5px;border-radius:11px;color:var(--muted);font-weight:800;font-size:11px}
.scoreboard-footer{text-align:center;padding:9px 10px;background:var(--panel2);display:flex;
 justify-content:center;gap:7px;align-items:center;font-size:11px;color:var(--muted);font-weight:690}
.scoreboard-footer svg{width:15px;height:15px;color:var(--game-gold)}
.country-strip{display:flex;justify-content:space-around;align-items:center;gap:9px;color:var(--muted);font-size:11px;margin:13px 0}
.surprise-pill{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:43px;
 color:var(--accent);background:transparent;border:1px solid var(--line);border-radius:13px;font-weight:720;font-size:12px;margin-bottom:12px}
.surprise-pill svg{width:18px;height:18px}
.surprise-pill svg:last-child{width:15px;height:15px}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:11px}
.page-heading h1{margin:4px 0 6px}
.page-heading p{color:var(--muted);font-size:12px;line-height:1.5}
.page-heading .new-entry-btn{padding:9px 13px;font-size:12px;min-width:95px;white-space:nowrap;display:flex;align-items:center;gap:5px}
.page-heading .new-entry-btn svg{width:16px;height:16px}
.dictionary-search{display:flex;gap:10px;align-items:center;margin:20px 0 13px;background:var(--panel);
 border-radius:15px;padding:0 15px;border:1px solid var(--line)}
.dictionary-search:focus-within{border-color:var(--accent)}
.dictionary-search svg{width:20px;height:20px;color:var(--muted)}
.dictionary-search input{border:none;outline:none;color:var(--text);background:transparent;
 width:100%;font-size:14px;padding:14px 0;min-width:0}
.country-filters{gap:7px;margin:0 0 21px}
.country-filters .chip{border-radius:11px;font-size:12px;padding:8px 13px;font-weight:650}
.country-filters .chip.active{background:var(--game-indigo);border-color:var(--game-indigo);color:#fff}
.dictionary-list-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}
.dictionary-list-heading h2{font-size:16px}
.dictionary-list-heading small{font-size:11px;color:var(--muted)}
.entry{padding:12px;border:1px solid var(--line);border-radius:17px;margin:9px 0;box-shadow:none}
.entry-title{font-weight:760;font-size:15px}
.entry-description{font-size:12px;color:var(--muted)}
.entry .pills{gap:5px;margin-top:7px}
.entry .pill{font-size:10px;border-radius:8px}
.entry-cover.icon-cover{color:var(--game-purple);background:#f1eafa;border-radius:13px;display:grid;place-items:center}
.more-container{text-align:center;margin:15px 0}
.game-page-title,.profile-page{min-width:0}
.play-main{margin:20px 0 0;overflow:hidden;border-radius:25px;background:linear-gradient(130deg,#4b2d9c 0%,#6542cc 59%,#795ee4);color:#fff;
 padding:22px;border:1px solid #ffffff25;box-shadow:0 12px 28px rgba(67,39,135,.12)}
.play-main-upper{display:flex;gap:9px;justify-content:space-between;align-items:center}
.play-main-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:#ffffff22;border:1px solid #ffffff30}
.play-main-icon svg{width:30px;height:30px}
.play-day{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:760;color:#eeebff;white-space:nowrap}
.play-day svg{width:15px;height:15px}
.play-main-body{padding:25px 0 15px}
.play-tag{display:inline-flex;border-radius:8px;padding:5px 8px;background:#ffffff26;font-size:9px;font-weight:830;letter-spacing:.65px}
.play-main h2{font-size:25px;line-height:1.18;color:#fff;letter-spacing:-.6px;margin:12px 0 9px}
.play-main p{color:#e4dbff;font-size:13px;line-height:1.6}
.play-rewards{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:12px;font-weight:740;margin:9px 0 18px}
.play-rewards span{display:inline-flex;align-items:center;gap:5px}
.play-rewards svg{height:17px;width:17px}
.play-reward-positive{color:#9df8d1}
.play-reward-negative{color:#ffbacd}
.play-main-cta{width:100%;background:#fff;color:#5331a4;border:none;border-radius:14px;
 min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;font-weight:790;font-size:13px}
.play-main-cta svg{width:18px;height:18px}
.missions-stack{display:grid;gap:10px}
.mission-row{display:flex;align-items:flex-start;gap:14px;background:var(--panel);
 border:1px solid var(--line);border-radius:18px;padding:16px 15px}
.mission-row-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:15px}
.mission-row-icon svg{width:23px;height:23px}
.mission-icon-orange{background:#fff0da;color:#b47827}
.mission-icon-mint{background:#dff7ef;color:#07876b}
.mission-row-body{min-width:0;flex:1}
.mission-row-top{display:flex;justify-content:space-between;gap:7px;align-items:flex-start}
.mission-row-top h3{font-size:14px;line-height:1.28;margin-bottom:3px}
.mission-row-top b{color:var(--game-teal);font-size:12px;white-space:nowrap}
.mission-row-body p{font-size:12px;color:var(--muted)}
.mission-row .progress{height:7px;background:var(--panel2);margin:12px 0 5px}
.mission-row .progress-fill{background:linear-gradient(90deg,#654ee2,#38c4ac)}
.mission-row-body small{font-size:11px;color:var(--muted)}
.culture-button{display:flex;align-items:center;gap:12px;background:var(--panel);border:1px solid var(--line);
 border-radius:15px;padding:14px;width:100%;color:var(--text);text-align:left;margin-bottom:9px}
.culture-button>svg:first-child{width:24px;height:24px;color:var(--game-purple)}
.culture-button>svg:last-child{width:18px;height:18px;color:var(--muted)}
.culture-button>span{flex:1;display:grid;gap:2px}
.culture-button strong{font-size:13px;font-weight:750}
.culture-button small{font-size:11px;color:var(--muted)}
.profile-main{border:1px solid var(--line);background:var(--panel);border-radius:24px;padding:23px 20px}
.profile-top-label{font-size:10px;font-weight:790;letter-spacing:1px;color:var(--game-purple)}
.profile-ident{display:flex;align-items:center;gap:13px;margin:17px 0}
.profile-country{display:grid;place-items:center;width:61px;height:61px;border-radius:19px;background:var(--panel2);font-size:30px}
.profile-ident>div{flex:1}
.profile-ident h1{font-size:26px;margin-bottom:4px}
.profile-ident>div>span{font-size:12px;color:var(--game-purple);font-weight:720}
.profile-crown{height:40px;width:40px;display:grid;place-items:center;background:#f5e9cd;color:#b48729;border-radius:13px}
.profile-crown svg{width:24px;height:24px}
.profile-points{display:flex;align-items:center;gap:7px;margin-top:19px}
.profile-points svg{width:22px;height:22px;color:var(--game-purple)}
.profile-points b{font-size:32px;line-height:1.1;font-weight:840;letter-spacing:-1px}
.profile-points span{font-size:12px;color:var(--muted)}
.profile-level{display:flex;justify-content:space-between;gap:8px;margin-top:18px;font-size:11px;color:var(--muted)}
.profile-main .progress{height:9px;margin:8px 0 7px;background:var(--panel2)}
.profile-main .progress-fill{background:linear-gradient(90deg,#6149dc,#a77cf1)}
.profile-main p{font-size:11px;color:var(--muted)}
.profile-achievements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 8px}
.profile-achievements>div{background:var(--panel);border:1px solid var(--line);border-radius:17px;padding:13px 8px;
 display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.achievement-icon{height:37px;width:37px;display:grid;place-items:center;border-radius:12px;margin-bottom:5px}
.achievement-icon svg{width:20px;height:20px}
.a-blue{background:#e5edff;color:#527add}
.a-green{background:#dcf8ef;color:#139b78}
.a-purple{background:#eee5ff;color:#7a59cd}
.profile-achievements strong{font-size:22px;font-weight:820;line-height:1.2}
.profile-achievements small{font-size:10px;color:var(--muted)}
.leaderboard-v2{overflow:hidden;background:var(--panel);border:1px solid var(--line);border-radius:18px}
.leaderboard-row{display:flex;align-items:center;gap:11px;padding:14px}
.leaderboard-row+.leaderboard-row{border-top:1px solid var(--line)}
.leaderboard-rank{display:grid;place-items:center;width:29px;height:29px;color:var(--muted);font-weight:800;font-size:13px}
.leaderboard-rank svg{width:20px;height:20px;color:#c49b40}
.leaderboard-avatar{width:42px;height:42px;border-radius:13px;background:var(--panel2);display:grid;place-items:center;font-size:23px}
.leaderboard-name{flex:1;display:flex;flex-direction:column;gap:2px}
.leaderboard-name strong{font-size:14px}
.leaderboard-name small{font-size:11px;color:var(--muted)}
.leaderboard-score{font-size:16px;white-space:nowrap;font-weight:800}
.leaderboard-score small{font-size:10px;color:var(--game-purple)}
.leaderboard-row.current{background:color-mix(in srgb,var(--game-purple) 5%,var(--panel))}
.settings-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:17px;margin-bottom:10px}
.settings-panel>h3{display:flex;align-items:center;gap:8px;font-size:14px}
.settings-panel>h3 svg{height:18px;width:18px;color:var(--game-purple)}
.settings-panel .theme-options{margin-top:15px}
.settings-panel .toggles{font-size:13px}
.settings-panel .toggles small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.profile-bot-link{border:0;background:var(--panel2);width:100%;display:flex;gap:8px;align-items:center;border-radius:12px;
 padding:12px;margin-top:13px;color:var(--accent);font-weight:740;text-align:left;font-size:12px}
.profile-bot-link svg{height:18px;width:18px}
.profile-bot-link svg:last-child{margin-left:auto}
.add-quest-note{display:flex;align-items:center;gap:8px;background:#eee8ff;color:#6242b1;padding:12px 13px;border-radius:13px;
 font-size:12px;font-weight:710;margin-bottom:13px}
.add-quest-note svg{height:19px;width:19px}
.entry-detail-header{display:flex;gap:8px;flex-wrap:wrap}
.entry-detail-header span{font-size:11px;padding:5px 9px;background:var(--panel2);border-radius:9px;color:var(--muted)}
.entry-detail-word{font-size:23px;margin:17px 0 8px;overflow-wrap:anywhere}
.entry-detail-definition{line-height:1.65;font-size:14px;overflow-wrap:anywhere}
.entry-synonyms{font-size:12px;color:var(--muted);margin:13px 0;display:flex;gap:5px;align-items:center}
.entry-synonyms svg{height:16px;width:16px}
.entry-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:19px}
.entry-actions button{display:inline-flex;gap:6px;align-items:center;justify-content:center;font-size:12px;min-width:0;padding:9px;white-space:normal}
.entry-actions svg{height:17px;width:17px}
.entry-actions .flag-action{background:#fff2d8;color:#875e1b;grid-column:1/-1}
.entry-actions .dangerous{color:var(--bad)}
.cultural-warning{display:flex;align-items:flex-start;gap:11px;background:#fff5df;border:1px solid #f4dca9;
 color:#865d1e;border-radius:16px;padding:14px;margin:19px 0}
.cultural-warning>svg{width:23px;height:23px;flex:0 0 23px}
.cultural-warning strong{font-size:13px;font-weight:790}
.cultural-warning p{font-size:13px;color:#865d1e;margin-top:6px;line-height:1.5;overflow-wrap:anywhere}
.cultural-warning small{display:block;margin-top:7px;color:#a17d3f;font-size:11px}
.sensitive-pill{display:inline-flex;gap:4px;align-items:center;background:#fff0d3;color:#8d6323;font-size:10px}
.sensitive-pill svg{width:12px;height:12px}
.sensitive-explain{display:flex;gap:11px;align-items:flex-start;padding:13px;border:1px solid #eed39e;
 border-radius:15px;background:#fff4dc;color:#845b1b}
.sensitive-explain svg{width:21px;height:21px;flex-shrink:0}
.sensitive-explain strong{font-size:13px}
.sensitive-explain p{font-size:12px;line-height:1.5;margin-top:4px;color:#8a681e}
.publish-button{margin-top:14px;display:flex;align-items:center;justify-content:center;gap:8px}
.publish-button svg{width:18px;height:18px}
.empty{padding:36px 18px}
.empty-visual{height:56px;width:56px;border-radius:16px;background:#eee8ff;color:#7959d2;display:grid;place-items:center}
.empty-visual svg{width:28px;height:28px}
.bottom-nav{max-width:650px;left:12px;right:12px;bottom:calc(9px + env(safe-area-inset-bottom));
 background:color-mix(in srgb,var(--panel) 93%,transparent);box-shadow:0 5px 26px rgba(20,27,66,.13);
 border-radius:19px;padding:7px;border:1px solid var(--line)}
.bottom-nav button{border-radius:13px;gap:4px}
.bottom-nav button span{font-size:0;height:24px}
.bottom-nav button span .hi-icon{height:22px;width:22px}
.bottom-nav button.selected{color:var(--game-purple);background:color-mix(in srgb,var(--game-purple) 9%,var(--panel))}
.bottom-nav button small{font-size:10px}
.modal-sheet{background:var(--bg);border-radius:23px 23px 0 0}
.theme-option.selected{border-color:var(--game-purple);color:var(--game-purple)}
@media(min-width:650px){.modal-sheet{border-radius:23px}}
@media(max-width:365px){
 .action-tiles{gap:8px}
 .action-tile{padding:13px;min-height:186px}
 .page-heading{flex-wrap:wrap}
 .page-heading .new-entry-btn{margin-left:auto}
 .game-section-title h2{font-size:16px}
 .section-meta{font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
:root[data-theme=dark] .game-intro{background:linear-gradient(128deg,#30245e,#463381 62%,#51419c);box-shadow:0 12px 28px #0005}
:root[data-theme=dark] .quest-card{border-color:#245549;background:var(--panel)}
:root[data-theme=dark] .quest-head{background:linear-gradient(90deg,#1d423d,#203e41)}
:root[data-theme=dark] .quest-status,:root[data-theme=dark] .quest-points{color:#75dec0}
:root[data-theme=dark] .quest-symbol{background:#203c37;color:#6bdac3}
:root[data-theme=dark] .action-purple{background:#312947;border-color:#44355c;color:#d0bbff}
:root[data-theme=dark] .action-peach{background:#402e2c;border-color:#58403b;color:#ffc1a0}
:root[data-theme=dark] .action-tile-icon{background:#ffffff13}
:root[data-theme=dark] .entry-cover.icon-cover{background:#332c4f;color:#baabff}
:root[data-theme=dark] .play-main{background:linear-gradient(125deg,#3f2a76,#563b98);box-shadow:0 13px 29px #0005}
:root[data-theme=dark] .play-main-cta{background:#f8f5ff;color:#402481}
:root[data-theme=dark] .mission-icon-orange{background:#4a3625;color:#f0b277}
:root[data-theme=dark] .mission-icon-mint{background:#1a453b;color:#72daba}
:root[data-theme=dark] .a-blue{background:#263f6b;color:#a6c0ff}
:root[data-theme=dark] .a-green{background:#1c4237;color:#7bdbb7}
:root[data-theme=dark] .a-purple{background:#352e54;color:#c4b4ff}
:root[data-theme=dark] .profile-crown{background:#4a3b26;color:#edd08f}
:root[data-theme=dark] .add-quest-note{background:#332b50;color:#cdbeff}
:root[data-theme=dark] .entry-actions .flag-action{background:#4b3924;color:#ffcf85}
:root[data-theme=dark] .cultural-warning{background:#3d321f;border-color:#604e2d;color:#f7d08b}
:root[data-theme=dark] .cultural-warning p{color:#f3d69d}
:root[data-theme=dark] .cultural-warning small{color:#dfb76e}
:root[data-theme=dark] .sensitive-pill{background:#46371f;color:#f3c784}
:root[data-theme=dark] .sensitive-explain{background:#45341c;color:#f3c784;border-color:#68512b}
:root[data-theme=dark] .sensitive-explain p{color:#e0bf89}

.compare-note{display:flex;gap:7px;align-items:flex-start;padding:9px;margin-top:12px;background:#fff1d8;
 border:1px solid #f1daad;border-radius:11px;color:#8c6328}
.compare-note>svg{width:17px;height:17px;flex-shrink:0}
.compare-note strong{display:block;font-size:11px}
.compare-note small{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
:root[data-theme=dark] .compare-note{background:#413422;border-color:#655036;color:#f0cd92}
