:root{font-family:'Trebuchet MS',Arial,sans-serif;color:#172658;background:#fff8e8;font-size:16px;--orange:#ed7114;--navy:#172658;--muted:#6b728a}*{box-sizing:border-box}body{margin:0;background:#f9ce2e url('/assets/giris_zemin.png') center/cover fixed}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #186dc2;outline-offset:3px}h1{font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.15;margin:14px 0 20px}h2{font-size:1.45rem}p{line-height:1.6}button{border:0}input,select{width:100%;padding:15px;border:2px solid #e3e5ed;border-radius:15px;background:white;color:var(--navy);margin:8px 0 18px;min-height:52px}label{display:block;font-weight:bold;font-size:.95rem}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:17px;padding:15px 22px;min-height:52px;color:white;background:var(--orange);font-weight:bold;box-shadow:0 4px 0 #c75408}.btn.secondary{background:#fff1d8;color:var(--navy);box-shadow:none}.wide{width:100%;margin:12px 0}.text-button{padding:14px 5px;background:transparent;font-weight:bold}.eyebrow{font-size:.78rem;font-weight:bold;letter-spacing:.1em;text-transform:uppercase;color:#954307}.muted,.privacy-note{color:var(--muted)}.mini-icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.app-shell{max-width:1040px;margin:auto;padding:25px 24px 125px}.app-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.app-top>img{width:150px;max-height:100px;object-fit:contain}.user-chip{display:flex;gap:9px;align-items:center;background:#fffdf4;padding:13px 18px;border-radius:25px;font-weight:bold;max-width:52%;overflow-wrap:anywhere}.bottom-bar{position:fixed;bottom:0;left:0;right:0;z-index:20;display:flex;justify-content:center;padding:11px 14px calc(10px + env(safe-area-inset-bottom));gap:8px;background:linear-gradient(110deg,#e86610,#ff9728 52%,#ed7114);border-top:2px solid #ffc76d;box-shadow:0 -5px 25px #ac4b2020;border-radius:0}.bottom-bar button{color:#542304;display:flex;flex:1;max-width:170px;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:transparent;font-size:.8rem;font-weight:bold;border-radius:13px}.bottom-bar button[aria-current]{background:#fff2db;color:#8f3909;box-shadow:0 2px 8px #af480322}.bottom-bar .mini-icon{width:23px;height:23px}.games-heading{margin:20px 0 28px}.games-heading p{margin-bottom:26px}.pace-badge{display:inline-block;background:white;border-radius:30px;padding:11px 18px;font-size:.9rem;font-weight:bold}.category-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.category-row{display:flex;align-items:center;gap:12px;width:100%;background:#fffefa;border:1px solid #eedec1;border-radius:20px;padding:20px 18px;text-align:left;box-shadow:0 4px 0 #d99d2320;min-height:86px}.category-icon{display:flex;align-items:center;justify-content:center;background:#fff0ca;border-radius:13px;width:43px;height:43px;flex:none;color:#b95913}.category-row strong{font-size:1.03rem;line-height:1.25;flex:1}.question-count{white-space:nowrap;border-radius:7px;background:#bd4e00;color:white;font-size:.63rem;font-weight:bold;padding:6px 8px;letter-spacing:.02em}.row-chevron{font-size:23px;color:#d87614}.category-title{display:flex;gap:13px;align-items:center}.category-title .mini-icon{width:34px;height:34px}.section-cards{display:grid;gap:15px}.section-card{display:flex;gap:18px;align-items:center;padding:23px;border-radius:22px;text-align:left;min-height:118px}.section-card.free{background:#fffefa;border:1px solid #e8dbc1;box-shadow:0 4px 0 #d99d2315}.section-number{width:52px;height:52px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:#fff0c5;font-weight:bold;font-size:1.2rem;flex:none}.section-card>span:nth-child(2){flex:1}.section-card small,.section-card strong,.section-card em{display:block}.section-card small{font-size:.68rem;letter-spacing:.06em;font-weight:bold;color:#397459;margin-bottom:7px}.section-card strong{font-size:1.15rem;margin-bottom:7px}.section-card em{font-size:.83rem;color:#737b90;font-style:normal}.section-card>b{font-size:.8rem}.section-card.paid{background:linear-gradient(130deg,#233775,#15224e);color:white;border:1px solid #f7c362;box-shadow:0 6px 0 #d9982630;position:relative;overflow:hidden}.paid .section-number{background:#ffb734;color:#593100}.paid small{color:#ffd48b}.paid em{color:#d7ddf1}.coming-soon{color:#ffdb99;font-size:.8rem}.purchase-notice{background:#fff3cf;border:1px solid #d59728;border-radius:16px;padding:18px;margin-bottom:25px}.login-screen{min-height:100vh;padding:35px 20px 120px;display:flex;flex-direction:column;align-items:center}.login-logo{width:190px;max-height:125px;object-fit:contain;margin-bottom:25px}.login-card{width:100%;max-width:490px;background:#fffefa;border-radius:30px;padding:30px;box-shadow:0 16px 40px #6e43051a}.login-card h1{font-size:2rem}.methods{display:grid;gap:10px;margin:22px 0 25px}.method{border:1px solid #e1e4ec;background:white;border-radius:14px;min-height:52px;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:bold;padding:12px}.method.chosen{border:2px solid #e67b16;background:#fff2d7}.google-mark{font-family:Arial,sans-serif;font-size:22px;font-weight:bold;color:#4285f4}.methods small{font-size:.75rem;color:#68738a;line-height:1.5}.setup-note{font-size:.7rem!important}.privacy-note{font-size:.75rem;line-height:1.5}.account-address{overflow-wrap:anywhere;background:#fff2d8;border-radius:12px;padding:12px;font-size:.9rem}.logout-btn,.back-games{display:block;width:100%;min-height:48px;border-radius:14px;margin-top:12px}.logout-btn{background:#ffede4;color:#af430d;font-weight:bold}.back-games{background:transparent;color:var(--navy)}.email-box{padding:18px;background:#fff2d9;border-radius:17px;margin-bottom:20px}.email-box p{font-size:.85rem}.home-welcome{background:#fffefa;border-radius:26px;padding:25px;margin-bottom:30px}.home-welcome .mini-icon{color:#e48316;width:36px;height:36px}.section-heading{display:flex;justify-content:space-between;align-items:center}.resume-card{display:flex;flex-direction:column;gap:8px;width:100%;text-align:left;background:white;border-radius:19px;padding:20px;margin:12px 0}.resume-card span{font-size:.85rem}.empty-note{background:#fff9e8;border-radius:15px;padding:20px}.quiz-screen{max-width:900px;margin:auto;padding:20px 22px 45px}.quiz-toolbar,.quiz-progress{display:flex;justify-content:space-between;align-items:center;gap:15px}.quiz-toolbar>span{font-size:.9rem;font-weight:bold}.finish-test{background:#fff8e7;border:1px solid #dcc295;padding:11px 16px;border-radius:12px;font-size:.8rem;min-height:44px}.quiz-progress{margin:20px 0 10px;font-size:.9rem;font-weight:bold}.progress-track{height:8px;background:#ffffff85;border-radius:8px;overflow:hidden;margin-bottom:18px}.progress-track i{display:block;height:100%;background:#e76d12}.question-image{background:white;border-radius:23px;border:1px solid #e7dbc5;padding:10px}.question-image img{display:block;width:100%;max-height:360px;object-fit:contain}.quiz-instruction{text-align:center;font-size:.9rem;margin:16px 0}.answer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.answer-option{background:white;border:3px solid transparent;border-radius:18px;position:relative;padding:28px 5px 6px;overflow:hidden}.answer-option b{position:absolute;left:12px;top:7px;font-size:.95rem}.answer-option img{width:100%;height:150px;object-fit:contain;display:block}.answer-option.selected{border-color:#155cbd;background:#f3f8ff}.next-question{display:flex;width:100%;max-width:420px;margin:24px auto 12px}.quiz-footnote{text-align:center;color:#675734;font-size:.75rem}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0}.result-stats>div{background:white;border-radius:20px;padding:22px 12px;text-align:center}.result-stats b{display:block;font-size:2rem;margin-bottom:8px}.result-stats span{font-size:.8rem;color:#65708b}.result-actions{display:flex;flex-wrap:wrap;gap:14px;margin:24px 0}.guest-message{background:#fff6d9;padding:20px;border-radius:18px}.history-card{display:flex;gap:16px;align-items:center;justify-content:space-between;background:white;padding:20px;border-radius:18px;margin:15px 0}.history-card p{font-size:.83rem;color:#65708b;margin:7px 0 0}.history-card>div:last-child{display:flex;flex-direction:column}.answer-review{margin:16px 0;background:white;border-radius:18px;padding:18px}.answer-review summary{cursor:pointer;line-height:1.6;font-weight:bold}.review-question{width:100%;max-height:300px;object-fit:contain;margin-top:15px}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.review-grid>div{border:2px solid #eee;border-radius:12px;padding:8px}.review-grid>div.correct{border-color:#278861;background:#e7fff1}.review-grid img{width:100%;height:110px;object-fit:contain}.ranking-table{background:white;border-radius:20px;overflow:hidden;margin:25px 0;padding:7px}.ranking-row{display:grid;grid-template-columns:35px 1fr 80px 55px;gap:10px;align-items:center;padding:18px 12px;border-bottom:1px solid #eee;font-size:.9rem}.ranking-row.my-rank{background:#dff7ec;border:2px solid #31916c;border-radius:12px}.my-rank small{background:#267455;color:white;padding:3px 6px;border-radius:5px;font-size:.65rem}.ranking-row>span:nth-child(2){overflow-wrap:anywhere}#notice{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);background:#172658;color:white;padding:15px 20px;border-radius:15px;max-width:calc(100% - 30px);width:max-content;z-index:100;display:none;font-size:.9rem;line-height:1.5}#notice.visible{display:block}.splash{text-align:center;padding:80px 20px}.splash-logo{width:190px}@media(max-width:700px){.app-shell{padding:20px 16px 120px}.app-top>img{width:115px}.category-list{grid-template-columns:1fr;gap:12px}.category-row{padding:16px;min-height:78px;gap:10px}.category-row strong{font-size:1rem}.section-card{padding:18px;gap:13px}.section-card>b{font-size:.68rem}.section-card strong{font-size:1rem}.section-number{width:44px;height:44px}.quiz-screen{padding:15px 13px 30px}.question-image img{max-height:290px}.answer-grid{gap:8px}.answer-option{padding:29px 3px 5px;border-radius:14px}.answer-option img{height:100px}.answer-option b{font-size:.85rem;left:9px}.login-card{padding:25px 22px}.login-logo{width:170px}.result-stats{gap:8px}.result-stats b{font-size:1.6rem}.ranking-row{grid-template-columns:25px 1fr 66px 42px;gap:6px;font-size:.78rem;padding:15px 8px}.bottom-bar{gap:4px}.bottom-bar button{font-size:.72rem}.review-grid img{height:80px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* V10: full viewport splash and isolated screen backgrounds. */
html,body{min-height:100%;background-color:#fff8e8}
body{min-height:100vh;min-height:100dvh;background:#fff8e8}
body[data-screen="splash"],body[data-screen="welcome"],body[data-screen="profile"]{background:#f9ce2e url('/assets/giris_zemin.png') center/cover fixed}
.splash,.welcome-screen{min-height:100vh;min-height:100dvh;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom))}
.splash-logo{width:min(65vw,290px);height:auto;object-fit:contain}
.welcome-screen .login-logo{width:min(65vw,240px);max-height:none}.welcome-screen p{font-size:1.1rem}.welcome-screen footer{margin-top:36px}.welcome-start{background:#087f83;box-shadow:0 4px 0 #056267;min-width:240px;margin-top:20px}
body[data-screen="quiz"]{background:#fff8e8}.progress-track{background:#eddfc4}.answer-option{border-color:#ecdfc9}.answer-option.selected{border-color:#155cbd}.apple-method{background:#111;color:#fff}.login-screen{min-height:100dvh}
/* V11 dashboard and compact quiz */
body:not([data-screen="quiz"]){background:#f9ce2e url('/assets/giris_zemin.png') center/cover fixed}.home-columns{display:grid;grid-template-columns:2fr 1fr;gap:18px}.hero-panel,.daily-card,.invite-card,.reward-card{background:#fffaf1;padding:24px;border-radius:24px;margin:16px 0}.hero-panel{display:flex;align-items:center;justify-content:space-between;gap:20px}.hero-panel>div:first-child{flex:1}.level-ring{width:94px;height:94px;border:7px solid #f8a82d;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}.level-ring b{font-size:2rem}.level-ring span{font-size:.65rem;font-weight:bold}.xp-bar{height:13px;border-radius:20px;background:#ecdfca;overflow:hidden}.xp-bar i{display:block;height:100%;background:#f18c16}.hero-panel p{font-size:.85rem}.hero-panel small{font-size:.75rem}.progress-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.progress-cards>div{background:#fffaf1;border-radius:18px;text-align:center;padding:18px 8px}.progress-cards b,.progress-cards span{display:block}.progress-cards b{font-size:1.8rem}.progress-cards span{font-size:.75rem;margin-top:7px}.invite-card .btn{margin:5px}.bottom-bar{gap:2px;padding-left:5px;padding-right:5px}.bottom-bar button{min-width:0;font-size:.7rem}
body[data-screen="quiz"]{background:#fff8e8}.quiz-screen{height:100vh;height:100dvh;max-width:780px;display:grid;grid-template-rows:44px 24px 5px minmax(100px,1fr) 20px minmax(150px,1fr) 56px 16px;gap:8px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));min-height:510px}.quiz-progress{margin:0;font-size:.78rem;gap:6px}.progress-track{margin:0;height:5px}.question-image{min-height:0;padding:7px}.question-image img{height:100%;max-height:100%;width:100%;object-fit:contain}.quiz-instruction{margin:0;font-size:.8rem;line-height:20px}.answer-grid{min-height:0;grid-template-rows:repeat(2,minmax(0,1fr));gap:7px}.answer-option{min-height:44px;padding:20px 4px 4px;border-radius:12px}.answer-option img{height:100%;min-height:0;object-fit:contain}.answer-option b{top:3px;font-size:.8rem}.next-question{position:sticky;bottom:calc(8px + env(safe-area-inset-bottom));z-index:10;margin:0 auto;min-height:48px;width:100%;align-self:center;box-shadow:0 4px 0 #c75408,0 0 0 5px #fff8e8}.quiz-footnote{margin:0;line-height:16px;font-size:.65rem}.quiz-toolbar{gap:8px}.quiz-toolbar>span{font-size:.8rem}
@media(max-width:700px){.home-columns{grid-template-columns:1fr;gap:0}.hero-panel,.daily-card,.invite-card,.reward-card{padding:19px;margin:10px 0}.app-top{margin-bottom:20px}.hero-panel{gap:12px}.level-ring{width:78px;height:78px}.bottom-bar button{font-size:.65rem}.quiz-screen{padding-left:10px;padding-right:10px}.quiz-progress{font-size:.7rem}.quiz-screen .answer-option img{height:100%}}
@media(max-height:600px){.quiz-screen{height:auto;min-height:510px}.next-question{position:fixed;left:50%;transform:translateX(-50%);width:calc(100% - 28px)}.quiz-footnote{visibility:hidden}}

.full-access-offer{background:#fffaf1;border:2px solid #fff;border-radius:24px;padding:24px;margin:12px 0 26px;text-align:center;box-shadow:0 4px 0 #c7540820}.full-access-offer h1{font-size:clamp(1.6rem,5vw,2.3rem)}.full-access-offer p{margin:10px 0}.offer-price{display:block;font-size:2.8rem;color:#a64108;margin:18px 0 4px}.full-access-offer small{display:block;color:#596580;line-height:1.5}.full-access-offer .btn{max-width:420px}.full-access-offer.owned{border-color:#87cfa8}.access-owned{display:block;color:#236544;font-size:1.25rem}

/* Six-level badge journey and level-up celebration. */
.level-steps{grid-template-columns:repeat(6,minmax(0,1fr))}.level-step{padding:12px 5px;justify-content:flex-start}.level-step strong{line-height:1.2;min-height:2.2em}.achievement-badge{--badge-a:#ff9e14;--badge-b:#e84d18;position:relative;display:grid;place-items:center;width:62px;height:62px;flex:none;color:#fff3a8;background:linear-gradient(145deg,var(--badge-a),var(--badge-b));clip-path:polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);filter:drop-shadow(0 4px 3px #7a330040)}.achievement-badge:before{content:"";position:absolute;inset:7px;border:3px solid #ffc849;clip-path:inherit}.achievement-badge i{position:relative;font-size:30px;font-style:normal;color:#ffd04d;text-shadow:0 2px 0 #b65d00}.achievement-badge b{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#172658;color:white;font-size:.65rem}.badge-blue{--badge-a:#21b8ef;--badge-b:#0754d9}.badge-red{--badge-a:#f24a5a;--badge-b:#9c0016;border-radius:50%;clip-path:circle(50%)}.badge-gold{--badge-a:#ffd91d;--badge-b:#ee7900}.badge-green{--badge-a:#46d43d;--badge-b:#07810c;border-radius:50%;clip-path:circle(50%)}.badge-purple{--badge-a:#a64fff;--badge-b:#5510a6}.achievement-badge.locked{filter:grayscale(1);opacity:.35}.badge-collection{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.badge-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.badge-item strong{font-size:.72rem;line-height:1.25}.badge-item small{font-size:.63rem;color:#68738a}.badge-item.locked strong{color:#8b90a1}.level-up-overlay{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:20px;background:#172658b8;backdrop-filter:blur(5px)}.level-up-card{width:min(430px,100%);padding:30px 24px;text-align:center;background:#fffaf1;border:4px solid #ffc34c;border-radius:30px;box-shadow:0 20px 60px #07102c80;animation:badge-arrive .45s ease-out}.level-up-card .achievement-badge{width:118px;height:118px;margin:0 auto 20px}.level-up-card .achievement-badge i{font-size:60px}.level-up-card .achievement-badge b{width:28px;height:28px;font-size:.85rem;right:14px;bottom:13px}.level-up-card h2{font-size:clamp(1.8rem,7vw,2.6rem);margin:8px 0;color:#172658}.level-up-card p{margin:10px 0 22px}.level-up-card .btn{min-width:180px}@keyframes badge-arrive{from{opacity:0;transform:scale(.65) translateY(30px)}to{opacity:1;transform:scale(1) translateY(0)}}
@media(max-width:700px){.level-steps,.badge-collection{grid-template-columns:repeat(3,1fr)}.level-step strong{min-height:0}.badge-item .achievement-badge{width:54px;height:54px}.achievement-badge{width:58px;height:58px}}
.achievement-badge{background:transparent;clip-path:none;filter:drop-shadow(0 4px 3px #17265830)}.achievement-badge:before,.achievement-badge>i{display:none}.achievement-badge>img{display:block;width:100%;height:100%;object-fit:contain}.achievement-badge.locked{filter:grayscale(1);opacity:.3}.level-up-card .achievement-badge>img{width:100%;height:100%;object-fit:contain}
/* Existing entrance artwork and numbered, accessible level milestones. */
.level-journey{background:#fffaf1;border-radius:24px;padding:22px;margin:10px 0 20px}.level-journey .section-heading{gap:12px;flex-wrap:wrap}.level-journey h2{font-size:1.2rem;margin:0 0 16px}.level-journey .section-heading>span{font-weight:bold;color:#155cbd}.level-steps{list-style:none;padding:0;margin:10px 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.level-step{--level-color:#24704b;--level-bg:#e2f6e9;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;border:2px solid transparent;border-radius:17px;padding:13px 4px;background:var(--level-bg);color:#172658}.level-step.tone-1{--level-color:#155cbd;--level-bg:#e5efff}.level-step.tone-2{--level-color:#7142a0;--level-bg:#f1e8ff}.level-step.tone-3{--level-color:#a63d6b;--level-bg:#ffe6f0}.level-step.tone-4{--level-color:#996008;--level-bg:#fff0c7}.level-medal{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--level-color);color:white;font-weight:bold;font-size:1.2rem}.level-step.current{border-color:var(--level-color);box-shadow:0 3px 0 var(--level-color)}.level-step.next .level-medal{background:transparent;color:var(--level-color);border:2px dashed var(--level-color)}.level-step strong{font-size:.85rem}.level-step small{font-size:.67rem;line-height:1.4}.level-journey>p{font-size:.85rem;margin:18px 0 0}.level-ring{border-color:#155cbd}.level-ring span{text-transform:none}
@media(max-width:480px){.level-journey{padding:18px 10px}.level-steps{gap:4px}.level-step{padding:10px 2px;border-radius:12px}.level-step strong{font-size:.68rem}.level-step small{font-size:.58rem}.level-medal{width:33px;height:33px;font-size:1rem}}

/* Analysis history: ranking first, compact two-line cards. */
.history-copy{min-width:0;flex:1}.history-title{display:flex;align-items:center;gap:9px;min-width:0}.history-category{display:inline-flex;background:#fff0d5;color:#853b09;border-radius:8px;padding:5px 9px;margin:0;font-size:.78rem;font-weight:bold;overflow-wrap:anywhere;flex:none}.history-title strong{overflow-wrap:anywhere;font-size:.92rem}.history-card p{margin:8px 0 0;font-size:.82rem;font-weight:bold}.history-actions{display:flex;flex-direction:column;gap:7px;flex-shrink:0}.history-action{display:inline-flex;justify-content:center;align-items:center;min-height:38px;min-width:102px;padding:8px 12px;border-radius:10px;font-weight:bold;color:white;font-size:.78rem}.analysis-action{background:#235bb5;box-shadow:0 3px 0 #184282}.ranking-action{background:#7740a0;box-shadow:0 3px 0 #542771}.history-action:hover{filter:brightness(1.08)}.history-action:active{transform:translateY(1px)}.legacy-score{max-width:110px;font-size:.7rem;line-height:1.35;color:#65708b;text-align:center}
@media(max-width:380px){.history-card{gap:9px;padding:16px 13px}.history-title{gap:6px}.history-category{padding:4px 7px;font-size:.68rem}.history-title strong{font-size:.8rem}.history-card p{font-size:.72rem}.history-action{min-width:88px;padding:7px 9px;font-size:.72rem}}

/* Compact invitation emphasis and contextual resume cards. */
.invite-card{padding:18px 20px}.invite-card h2{font-size:clamp(1.12rem,3.6vw,1.45rem);line-height:1.25;margin:0 0 7px;color:#172658}.invite-card p{margin:0 0 12px;font-size:.86rem;line-height:1.45}.invite-card .invite-button{background:#c94f06;color:#fff;box-shadow:0 4px 0 #943703;margin:0;min-height:46px;padding:11px 18px;border:1px solid #aa3e00}.invite-card .invite-button:hover{background:#b74504}.resume-card .resume-encouragement{font-size:.78rem;line-height:1.4;color:#4d5b79;font-weight:normal}.resume-card strong{overflow-wrap:anywhere}

/* Ten badges in two rows; prominent current badge beside the XP ring. */
.level-steps,.badge-collection{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.level-step .achievement-badge,.badge-item .achievement-badge{width:min(100%,100px);height:auto;aspect-ratio:1}
.level-step strong,.badge-item strong{overflow-wrap:anywhere}
.hero-panel{flex-wrap:wrap}.hero-panel>div:first-child{min-width:180px}
.hero-level-visual{display:flex;align-items:center;justify-content:center;gap:14px;flex:none}
.hero-level-visual>.achievement-badge{width:150px;height:150px;filter:drop-shadow(0 6px 10px #e8a12555)}
.hero-level-visual>.achievement-badge b{display:none}
@media(max-width:700px){.level-steps,.badge-collection{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.level-step{padding:10px 2px}.level-step strong,.badge-item strong{font-size:.64rem}.level-step small,.badge-item small{font-size:.58rem}.hero-level-visual{width:100%;gap:18px}.hero-level-visual>.achievement-badge{width:140px;height:140px}}

.hero-panel.compact-level{display:block;padding:18px 20px}
.compact-level .hero-level-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.compact-level .hero-level-heading>div:first-child{min-width:0;flex:1}
.compact-level h2{font-size:clamp(1.2rem,4.5vw,1.7rem);margin:8px 0 5px;line-height:1.15;overflow-wrap:anywhere}
.compact-level .level-caption{font-size:.8rem;font-weight:bold;color:#596580}
.compact-level .hero-level-visual{width:auto;flex:none;gap:0}
.compact-level .hero-level-visual>.achievement-badge{width:90px;height:90px}
.compact-level .xp-art{height:auto;border-radius:0;background:none;overflow:visible;margin:7px 0 0;width:100%}
.xp-art svg{display:block;width:100%;height:auto}
.compact-level .hero-xp-count{margin:3px 0 8px;line-height:1.35}
.compact-level>small{display:block;line-height:1.4}
@media(max-width:380px){.hero-panel.compact-level{padding:16px}.compact-level .hero-level-visual>.achievement-badge{width:76px;height:76px}}

/* Partial XP ring: only earned progress is colored. */
.level-ring{border:0;padding:7px;width:104px;height:104px;background:conic-gradient(from -90deg,#19a886 0deg,#26afd2 calc(var(--level-progress)*.5),#895bd7 var(--level-progress),#e7e8ef var(--level-progress),#e7e8ef 360deg)}.level-ring-core{width:100%;height:100%;border-radius:50%;background:#fffaf1;display:flex;flex-direction:column;align-items:center;justify-content:center}.level-ring-core b{font-size:1.8rem;line-height:1.1}.level-ring-core small{font-size:.68rem;color:#596580;margin-top:3px}.daily-card{text-align:center;background:linear-gradient(135deg,#dff9ed,#cceefb 55%,#e8ddff);border:2px solid #fff;box-shadow:0 4px 0 #4677a321;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.daily-card .eyebrow{color:#236b70}.daily-card h2{font-family:'Trebuchet MS',Arial,sans-serif;font-size:clamp(1.5rem,4vw,2rem);line-height:1.15;text-transform:uppercase;letter-spacing:.02em;margin:14px 0 20px;color:#283a70}.daily-card .btn{background:#147c78;box-shadow:0 4px 0 #095653}.resume-button{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;min-height:44px;padding:10px 16px;border-radius:11px;background:#235bb5;color:#fff;box-shadow:0 3px 0 #184282;font-size:.82rem;font-weight:bold;margin-top:3px}.payment-note{margin-top:22px}.section-card button.resume-button{align-self:center;flex-shrink:0}@media(max-width:700px){.level-ring{width:88px;height:88px;padding:6px}.level-ring-core b{font-size:1.5rem}}
/* September refresh: clear navigation, compact rewards and class ranking. */

/* Refreshed navigation and reward hierarchy. */
.bottom-bar{background:linear-gradient(110deg,#13224f,#253f79);border-top:1px solid #ffffff40;box-shadow:0 -5px 22px #14234b25}.bottom-bar button{color:#fff}.bottom-bar button[aria-current="page"]{background:#fff;color:#182958}
.section-heading>.text-button{background:linear-gradient(120deg,#172658,#2c4781);color:white;border-radius:11px;padding:9px 13px;font-size:.76rem;min-height:40px;flex-shrink:0;box-shadow:0 3px 0 #101d40}
.app-top .user-chip{background:linear-gradient(130deg,#b7f5ff,#93d8fa 55%,#c6b9ff);color:#172658;border:2px solid #fff;box-shadow:0 4px 0 #263d7850}
.compact-level .hero-level-visual>.achievement-badge{width:132px;height:132px}.compact-level .level-caption{font-size:.65rem}.level-step.current{background:linear-gradient(140deg,#ffe6a3,#ffc56c);border-color:#bf650c;box-shadow:0 4px 0 #bf650c}.level-step.current small{color:#703702;font-weight:bold}
.category-row.trial-category{background:linear-gradient(120deg,#e9ddff,#dce9ff);border:2px solid #9b7bd5}.trial-category .category-icon{background:#7250a6;color:white}.trial-category .question-count{background:#7250a6}
.finish-test{background:#e86c0b!important;color:#fff!important;border-color:#c65304!important;box-shadow:0 3px 0 #bb4905}.app-shell>button[data-start]+button[data-share]{display:block;margin-top:20px}.result-actions{margin-top:24px}
.daily-card{--daily-bg:#ffe1e8;--daily-ink:#992444;background:var(--daily-bg);padding:18px;gap:10px}.daily-ocean{--daily-bg:#dcefff;--daily-ink:#195883}.daily-gold{--daily-bg:#fff0c8;--daily-ink:#805005}.daily-violet{--daily-bg:#eee3ff;--daily-ink:#654193}.daily-mint{--daily-bg:#dbf4e8;--daily-ink:#196955}.daily-peach{--daily-bg:#ffe5d1;--daily-ink:#934515}.daily-sky{--daily-bg:#dff6fa;--daily-ink:#176374}.daily-illustration{width:100%;height:145px;object-fit:contain}.daily-card h2{background:#ffffffb8;color:var(--daily-ink);border-radius:13px;padding:8px 16px;margin:0;font-size:1.35rem}.daily-card .btn{background:var(--daily-ink);color:white;box-shadow:0 3px 0 #0003;padding:10px 18px;font-size:.9rem}
.class-ranking{background:#fffaf2;border-radius:22px;padding:18px;overflow-x:auto}.class-ranking table{width:100%;border-collapse:separate;border-spacing:0 6px;font-size:.88rem}.class-ranking caption{text-align:left;color:#5d6982;padding-bottom:14px;font-size:.8rem}.class-ranking td,.class-ranking th{padding:12px 9px;text-align:left}.class-ranking thead{color:#5b6680}.class-ranking tbody tr{background:#edf1f8}.class-ranking tbody tr.my-rank{background:#ffdc7b;color:#182958;font-weight:bold}.class-ranking tr>:first-child{border-radius:10px 0 0 10px}.class-ranking tr>:last-child{border-radius:0 10px 10px 0}.class-ranking p{font-size:.72rem;color:#586780;margin-bottom:0}.ranking-invite{margin:18px 0 26px;background:#1d3266;color:white}.analysis-details>summary{cursor:pointer;font-weight:bold;background:#fffaf2;padding:16px;border-radius:14px;margin-bottom:14px}
@media(max-width:480px){.compact-level .hero-level-visual>.achievement-badge{width:110px;height:110px}.compact-level .level-caption{font-size:.6rem}.section-heading{gap:10px}.section-heading>.text-button{padding:8px 10px;font-size:.7rem}.class-ranking{padding:12px}.class-ranking td,.class-ranking th{padding:10px 6px;font-size:.76rem}.daily-illustration{height:130px}}

/* Daily discovery: the supplied SVG is the card artwork and all actions sit on it. */
.daily-card{display:block;position:relative;min-height:330px;aspect-ratio:300.57/199.42;padding:0!important;border:3px solid #fff;border-radius:28px;overflow:hidden;background:#183258;isolation:isolate;box-shadow:0 7px 0 #17315a30}
.daily-card:after{content:"";position:absolute;z-index:1;inset:38% 0 0;background:linear-gradient(180deg,transparent,#07152a20 28%,#07152acc 100%);pointer-events:none}
.daily-illustration{position:absolute;z-index:0;inset:0;width:100%;height:100%!important;object-fit:cover;object-position:center;border-radius:25px}
.daily-content{position:absolute;z-index:2;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:14px;padding:22px}
.daily-card .daily-content h2{max-width:92%;margin:0;padding:8px 18px;border:1px solid #ffffff80;border-radius:14px;background:#ffffffe8;color:#17315a;box-shadow:0 4px 12px #07152a30;font-size:clamp(1.15rem,3.2vw,1.55rem);line-height:1.1}
.daily-card .daily-content .btn{min-height:45px;margin:0;padding:10px 20px;border:1px solid #ffffff99;border-radius:14px;background:linear-gradient(135deg,#172658,#2e5794);color:#fff;box-shadow:0 4px 0 #071a3c;font-size:.86rem}
.daily-card .daily-content .btn:hover{filter:brightness(1.12)}
@media(max-width:700px){.daily-card{min-height:0;aspect-ratio:300.57/199.42}.daily-content{gap:11px;padding:18px}.daily-card .daily-content h2{font-size:1.2rem;padding:7px 15px}.daily-card .daily-content .btn{min-height:42px;padding:9px 17px}}
/* Approved landscape discovery artwork with the supplied heading. */

.home-columns>.compact-level{grid-column:1/-1}
.home-columns>.daily-card{grid-column:1/-1;min-height:0;aspect-ratio:628/272;border-radius:28px;align-self:start}
.daily-card .daily-title{position:absolute;z-index:2;top:7.3%;left:50%;transform:translateX(-50%);width:34.2%;height:auto;filter:drop-shadow(0 3px 4px #07152a70);pointer-events:none}
.daily-card .daily-content{padding:0 4% 3%;gap:clamp(8px,1.4vw,16px)}
.daily-card .daily-content h2{font-size:clamp(1rem,3.5vw,2.5rem);padding:7px 22px;line-height:1.15;max-width:90%;border-radius:18px}
.daily-card .daily-content .btn{font-size:clamp(.8rem,2.5vw,1.6rem);padding:10px 22px;min-height:42px;border-radius:18px}
@media(max-width:480px){.home-columns>.daily-card{aspect-ratio:1.85;border-radius:22px}.daily-card .daily-title{width:46%;top:7%}.daily-card .daily-content{gap:9px;padding-bottom:5%}.daily-card .daily-content h2{font-size:1.1rem;padding:6px 16px;border-radius:12px}.daily-card .daily-content .btn{font-size:.86rem;padding:8px 17px;border-radius:13px}}
.trial-banner{margin:18px 0 24px;padding:20px;border-radius:24px;background:linear-gradient(135deg,#172658,#493279);box-shadow:0 5px 0 #14204430}.trial-banner img{display:block;width:min(100%,760px);height:auto;margin:0 auto}
/* Four-choice questions keep a balanced two-by-two layout at all widths. */
.answer-grid.four-options,.review-grid.four-options{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Compact category summaries, with unfinished tests below their category. */
.category-analysis-list{display:grid;gap:12px;margin-top:18px}.category-analysis-card{background:#fffefa;border-radius:18px;padding:16px;border:1px solid #e1e5ef}.category-analysis-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:10px;font-size:.82rem}.category-analysis-row strong{font-size:.95rem;overflow-wrap:anywhere}.category-rank-button,.category-review-button{border-radius:9px;padding:10px 12px;min-height:44px;font-size:.78rem;font-weight:bold;color:#fff;white-space:nowrap}.category-rank-button{background:#75439d}.category-review-button{background:#245bb5}.category-unfinished{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e1e5ef;margin-top:12px;padding-top:12px;font-size:.8rem}.category-unfinished .resume-button{margin:0;flex-shrink:0;align-self:center;font-size:.76rem;padding:9px 12px}.category-review-pages{display:flex;justify-content:space-between;gap:16px}.category-question-review{margin-top:18px}@media(max-width:480px){.category-analysis-card{padding:12px}.category-analysis-row{gap:6px;font-size:.69rem}.category-analysis-row strong{font-size:.8rem}.category-rank-button,.category-review-button{font-size:.67rem;padding:9px 7px}.category-unfinished{font-size:.74rem;gap:8px}.category-unfinished .resume-button{font-size:.7rem;padding:8px}.analysis-details{padding-left:0;padding-right:0}}

.learning-overlay{position:fixed;inset:0;z-index:1000;background:#17265888;display:grid;place-items:center;padding:18px;backdrop-filter:blur(3px)}.learning-dialog{font-family:'Arial Rounded MT Bold','Trebuchet MS',sans-serif;width:100%;max-width:370px;max-height:90dvh;overflow:auto;padding:24px 20px;background:#fffaf0;border:3px solid #fff;border-radius:27px;box-shadow:0 14px 50px #17265840;color:#172658;text-align:center}.learning-dialog h2{font-size:22px;margin:0 0 14px;font-weight:800;line-height:1.2}.learning-dialog p{font-size:15px;line-height:1.55;margin:12px 0 20px}.learning-actions{display:flex;gap:10px;justify-content:center}.learning-actions button{min-height:44px;padding:10px 15px;border-radius:15px;font-size:14px;font-weight:bold}.learning-accept{background:#ed7114;color:white;box-shadow:0 3px 0 #c75408}.learning-cancel{background:#e5edfc;color:#172658}.cipher-dialog{max-width:530px}.cipher-guide{display:block;width:100%;height:auto}.cipher-dialog .learning-accept{min-width:180px}.cipher-dialog p{font-size:14px;margin:10px 0 16px}

/* V13.13: compact classic home and category-based resume */
.header-member{display:flex;flex-direction:column;align-items:center;gap:8px}
.header-invite{font-size:.7rem;background:#172658;color:#fff;border-radius:14px;padding:8px 12px}
.hero-panel.compact-level{margin-top:0}
.compact-level .hero-level-visual>.achievement-badge{width:156px;height:156px}
.compact-xp{display:flex;align-items:center;gap:8px;width:50%;margin:6px 0 10px}
.orange-track{height:18px;flex:1;overflow:hidden;border:2px solid #f28a16;border-radius:20px;background:#fff0d7;box-shadow:inset 0 2px 2px #a9531830}
.orange-track i{display:block;height:100%;border-radius:14px;background:linear-gradient(#ffe56b,#ff9416)}
.xp-star{font-size:28px;line-height:1;color:#ffb51b;text-shadow:0 2px #e78319}
.home-daily.daily-card{width:min(100%,520px);margin:18px auto 24px;min-height:0;aspect-ratio:1.85}
.home-daily .daily-content h2{font-size:1.25rem}
.home-daily .daily-content .btn{font-size:.9rem;padding:9px 18px}
.home-categories .category-list{gap:8px}
.home-categories .category-row{padding:10px 14px;min-height:64px;gap:12px}
.home-categories .category-icon{width:42px;height:42px;padding:9px}
.home-categories .category-row strong{font-size:1rem}
.colorful-stats{margin:18px 0}
.colorful-stats>div:nth-child(1){background:#34d6c1}
.colorful-stats>div:nth-child(2){background:#ffa941}
.colorful-stats>div:nth-child(3){background:#c5a4ff}
.centered-action{text-align:center;display:flex;flex-direction:column;align-items:center;padding:24px 16px}
.centered-action h2{margin:10px 0 4px}
.centered-action p{margin:6px 0 15px}
.action-emblem{display:grid;place-items:center;width:64px;height:64px;border-radius:22px;background:#ffe09e;font-size:36px}
.action-emblem .mini-icon{width:34px;height:34px}
.resume-entry{margin:20px 0 10px;border-top:2px dashed #17265830}
.resume-entry .action-emblem{background:#e4f7f2}
.resume-categories{display:grid;gap:12px}
.resume-categories .resume-card{margin:0;display:flex;align-items:center;justify-content:space-between;gap:14px}
.resume-categories h2{font-size:1rem;margin:0}
.resume-categories p{font-size:.8rem}
body[data-screen="premium"] .section-cards{gap:8px}
body[data-screen="premium"] .section-card{padding:12px 14px;gap:12px;min-height:72px}
body[data-screen="premium"] .section-card strong{font-size:1rem}
body[data-screen="premium"] .section-number{width:42px;height:42px;min-width:42px}
.welcome-benefits{list-style:none;padding:0;margin:14px 0;width:min(100%,520px);text-align:left;display:grid;gap:12px}
.welcome-benefits li{display:flex;gap:14px;align-items:center;background:#fffaf1;border-radius:20px;padding:17px}
.welcome-benefits li>span{font-size:28px;color:#ec8510}
.welcome-benefits strong{font-size:1rem}
.welcome-screen .welcome-benefits p{font-size:.85rem;line-height:1.45;margin:5px 0 0}
.welcome-screen h1{font-size:clamp(1.7rem,5vw,2.6rem);margin:16px 0}
.welcome-screen .welcome-intro{font-size:1rem;line-height:1.5}
.welcome-screen footer{margin-top:20px}
@media(max-width:480px){
 .compact-level .hero-level-visual>.achievement-badge{width:132px;height:132px}
 .compact-level h2{font-size:1.3rem}
 .home-categories .category-row{padding:9px;gap:8px}
 .home-categories .question-count{font-size:.6rem;padding:6px}
 .colorful-stats{gap:7px}.colorful-stats span{font-size:.65rem}
 .resume-categories .resume-card{flex-wrap:wrap}
 .welcome-screen .login-logo{width:150px}
 .header-invite{font-size:.65rem}
}
.header-member .user-chip{max-width:100%}
.header-member{max-width:52%;min-width:0}
.header-invite{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.header-invite .mini-icon{width:18px;height:18px}

.new-questions-note{display:block;font-size:.78rem;line-height:1.5;color:#5a461d;margin:8px 0 0}
.games-heading p{margin-bottom:12px}
.contact-footer{text-align:center;margin:20px 0 0;padding:12px 4px}
.contact-footer a{display:inline-block;color:#172658;font-size:.72rem;line-height:1.6;text-underline-offset:3px;padding:8px 4px}
.contact-footer a:focus-visible{outline:3px solid #172658;border-radius:8px}

.tab-loading{min-height:55vh}.tab-loading p{font-size:.85rem}.tab-loading>div{height:74px;margin:12px 0;background:#fffaf1;border-radius:20px;opacity:.8}

/* V13.19: compact analysis actions and gentle wrong-answer emphasis. */
.answer-review.review-wrong{background:#fff0f0;box-shadow:inset 0 0 0 1px #efc5c5}
.answer-review.review-wrong>summary{color:#923c43}
.category-rank-button,.category-review-button,.category-unfinished .resume-button{min-height:32px;padding:6px 10px;font-size:.74rem;line-height:1.25;border-radius:8px;box-shadow:none}
.category-unfinished{margin-top:9px;padding-top:9px;gap:8px}
.category-analysis-card{padding:12px}
.contact-footer .update-date{margin:8px 0 0;font-size:.7rem;color:#59617a;line-height:1.5;text-align:center}
@media(max-width:480px){.category-rank-button,.category-review-button,.category-unfinished .resume-button{min-height:30px;font-size:.65rem;padding:5px 7px}.category-analysis-card{padding:10px}}

/* Parent information and first-visit introduction */
.family-pill{display:inline-block;padding:8px 14px;border-radius:24px;background:#fff0d4;color:#924307;font-size:13px;font-weight:800;letter-spacing:.02em}
.family-welcome{max-width:760px;margin:auto;padding-bottom:35px}.family-welcome h1{font-size:clamp(27px,5vw,40px);line-height:1.2}.family-welcome .welcome-intro{font-size:17px;line-height:1.6}.family-welcome .welcome-benefits{gap:12px}.family-welcome .welcome-benefits li{padding:16px 20px;border-radius:22px;background:#fffaf1}.family-welcome .welcome-benefits li:nth-child(2){background:#fff0dc}.family-welcome .welcome-benefits li:nth-child(3){background:#e8f5ef}.family-welcome .welcome-benefits p{font-size:15px;line-height:1.5}.family-welcome footer{font-size:13px;margin-top:20px}.parent-link{display:block;margin:14px auto;background:transparent;border:0;color:#172658;font-weight:800;padding:12px;cursor:pointer}
.parent-entry{display:block;width:100%;border:1px solid #ddd8f0;background:linear-gradient(120deg,#eee8ff,#fff5e1);color:#172658;padding:18px;border-radius:20px;font-family:inherit;font-size:19px;font-weight:800;cursor:pointer;margin:20px 0}.parent-entry span{display:block;font-size:13px;margin-top:7px}
.parent-hero{padding:24px 0}.parent-hero h1{margin:14px 0}.parent-hero p{max-width:720px;line-height:1.6}.parent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.parent-card{background:#fffdf8;border:1px solid #e9dfca;border-radius:24px;padding:24px;color:#172658;margin-bottom:18px}.parent-grid .parent-card{margin:0}.parent-grid{margin-bottom:18px}.parent-card h2{font-size:22px;margin:10px 0}.parent-card p{font-size:16px;line-height:1.65}.parent-symbol{font-size:32px}.parent-details details{padding:16px 0;border-bottom:1px solid #e9dfca}.parent-details summary{cursor:pointer;font-weight:800}.parent-feedback{background:linear-gradient(140deg,#fffdf8,#fff0dd)}.parent-feedback form{display:grid;gap:10px;max-width:720px}.parent-feedback label{font-weight:700}.parent-feedback select,.parent-feedback textarea{box-sizing:border-box;width:100%;padding:13px;border:1px solid #b8c0d3;border-radius:12px;background:white;color:#172658;font:inherit}.parent-feedback textarea{resize:vertical;min-height:130px}.parent-feedback small{font-size:13px;line-height:1.5}.parent-check{display:flex;gap:10px;align-items:center;font-size:14px;margin:10px 0}.parent-check input{width:20px;height:20px;flex-shrink:0}.parent-instagram{display:inline-block;margin-top:15px;font-size:14px;color:#172658}.parent-public{max-width:960px}.parent-card button{max-width:100%}.parent-feedback button:disabled{opacity:.55}
@media(max-width:600px){.parent-grid{grid-template-columns:1fr}.parent-card{padding:19px;border-radius:20px}.parent-card h2{font-size:20px}.parent-card p{font-size:15px}.family-welcome .welcome-benefits li{padding:13px}.parent-hero{padding:15px 0}}

/* Compact illustrated categories: two columns at every screen size. */
.category-list.category-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:760px;margin-left:auto;margin-right:auto}
.category-tiles .category-row.category-tile,.home-categories .category-tiles .category-row.category-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 12px 12px;min-height:126px;border-radius:23px;text-align:center;background:#fffefa}
.category-tiles .category-tile.trial-category,.home-categories .category-tiles .category-tile.trial-category{background:linear-gradient(125deg,#f0e7ff,#e8edff);border:2px solid #9b7bd5}
.category-art{display:block;flex:none;width:81.4px;height:81.4px;overflow:hidden;pointer-events:none}
.category-tiles .category-tile strong{display:flex;align-items:center;justify-content:center;flex:none;min-height:2.5em;width:100%;line-height:1.25;overflow-wrap:anywhere}
.category-art-fallback{background-image:none;display:flex;align-items:center;justify-content:center;background-color:#fff0ca;border-radius:20px}.category-art-fallback .mini-icon{width:42px;height:42px}
.category-tile:active{transform:translateY(1px)}.category-total{margin:0 0 18px;font-size:.9rem}
@media(max-width:700px){.category-list.category-tiles{gap:10px}.category-tiles .category-row.category-tile,.home-categories .category-tiles .category-row.category-tile{min-height:118px;padding:8px 8px 10px;border-radius:20px;gap:2px}.category-art{width:72.6px;height:72.6px}}

/* Shared small icons on category detail, paid categories and resume lists. */
.category-title .category-art{width:61.6px;height:61.6px}.category-row:not(.category-tile)>.category-art,.section-card>.category-art{width:52.8px;height:52.8px}.category-title{overflow-wrap:anywhere}.category-title .category-art-fallback .mini-icon{width:30px;height:30px}
@media(max-width:700px){.category-title .category-art{width:52.8px;height:52.8px}.category-row:not(.category-tile)>.category-art,.section-card>.category-art{width:46.2px;height:46.2px}}

/* Centered category question and section summary. */
p.category-total{display:table;width:fit-content;max-width:100%;margin:16px auto 24px;padding:12px 24px;text-align:center;font-size:clamp(1.1rem,3.5vw,1.35rem);line-height:1.4;font-weight:800;color:#fff;background:linear-gradient(120deg,#233b78,#172658);border:2px solid #ffffffb3;border-radius:18px;box-shadow:0 4px 0 #17265824;letter-spacing:.01em}
@media(max-width:480px){p.category-total{padding:10px 18px;margin:12px auto 20px}}

.attempt-review{max-width:620px;margin:24px auto;padding:18px;background:#fffdf5;border-radius:22px}.attempt-review h2{text-align:center;margin:2px 0 10px}.attempt-review>p{font-size:.9rem;text-align:center;margin:0 0 16px;color:#59647a}.attempt-question,.attempt-unanswered{border:1px solid #e1e5ef;border-radius:12px;background:white;margin:7px 0;overflow:hidden}.attempt-question>summary,.attempt-unanswered{padding:12px;display:flex;align-items:center;gap:10px;font-size:.88rem}.attempt-question>summary{cursor:pointer;list-style:none}.attempt-question>summary::-webkit-details-marker{display:none}.attempt-question>summary b,.attempt-unanswered>b{margin-right:auto}.attempt-question.right>summary{background:#e3f6ec;color:#16583b}.attempt-question.wrong>summary{background:#ffebe4;color:#9e321c}.attempt-question.pending>summary{background:#fff3cb}.attempt-open{font-size:.76rem}.attempt-unanswered{color:#697083}.attempt-detail{padding:12px}.attempt-detail p{font-size:.86rem}.attempt-selected{outline:2px solid #ed7114;outline-offset:-2px}.attempt-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:18px;max-width:680px;margin:26px auto}.attempt-actions .btn{margin:0;text-align:center}.result-note{text-align:center}.attempt-detail .review-grid{gap:8px}@media(max-width:480px){.attempt-review{padding:12px}.attempt-actions{flex-direction:column}.attempt-actions .btn{width:100%;max-width:310px}.attempt-detail .review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
