:root{--navy:#142754;--ink:#263b62;--muted:#637594;--violet:#7050c9;--gold:#ffe18a;--line:#dce5f7}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:linear-gradient(180deg,#edf3ffdd,#f9fafffa),url('/galaksi-bilim-arkaplan.svg') top center/cover fixed}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin-top:0}[hidden]{display:none!important}.q-wrap{width:min(1080px,calc(100% - 32px));margin:0 auto}.skip{position:absolute;top:-90px;left:12px;z-index:100;background:white;padding:10px}.skip:focus{top:6px}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #efbb45;outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.q-header{background:#f8faffed;border-bottom:1px solid #dbe6fb;position:sticky;top:0;z-index:30}.q-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px}.q-brand{display:flex;align-items:center;gap:9px;color:#293a86;font-size:20px;font-weight:900}.q-brand span{font-size:12px;line-height:1.22;letter-spacing:.7px}.q-brand small{display:block;color:#596e93;letter-spacing:.3px}.q-header nav{display:flex;flex-wrap:wrap;gap:14px;font-weight:750;font-size:13px}.q-header nav a:hover{color:#5d44b6}
.q-hero{background:radial-gradient(circle at 78% 23%,#7952cb91,transparent 32%),linear-gradient(115deg,#091b47,#1c286f 65%,#50318e);color:#fff;overflow:hidden}.q-hero-grid{display:grid;grid-template-columns:1.6fr .8fr;align-items:center;gap:28px;min-height:320px;padding:38px 0}.q-eyebrow{font-weight:850;font-size:11px;letter-spacing:1.6px;color:#7251be;margin:0 0 8px}.q-hero .q-eyebrow{color:#ffe68b}.q-hero h1{font-size:clamp(32px,5vw,54px);line-height:1.1;letter-spacing:-1px;margin:0 0 16px}.q-hero h1 span{color:var(--gold)}.q-hero p:not(.q-eyebrow){color:#e2e8fa;max-width:560px}.q-chips{display:flex;gap:8px;flex-wrap:wrap}.q-chips span{border:1px solid #ffffff4f;background:#ffffff17;border-radius:30px;padding:8px 11px;font-size:12px;font-weight:750}.q-planet{position:relative;font-size:80px;min-height:210px;display:grid;place-items:center}.q-planet span{position:absolute}.q-planet span:nth-child(1){font-size:120px;filter:drop-shadow(0 0 22px #a3a0ff)}.q-planet span:nth-child(2){top:0;left:0;font-size:49px;transform:rotate(-15deg)}.q-planet span:nth-child(3){right:3%;bottom:0;font-size:56px}.q-planet span:nth-child(4){top:0;right:4%;font-size:64px;color:#ffe17d}
.q-body{display:grid;gap:24px;padding:28px 0 52px}.q-setup,.q-game,.q-results,.q-library,.q-history{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 15px 35px #172a6012;padding:28px}.q-heading h2,.q-results h2,.q-library h2,.q-history h2{font-size:26px;color:#182c60;margin-bottom:8px}.q-heading p:not(.q-eyebrow),.q-history p:not(.q-eyebrow){color:var(--muted)}.q-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}.q-fields label{font-weight:750;color:#2c4170;font-size:13px}.q-fields select{display:block;width:100%;min-height:46px;border:1px solid #bcc9e5;background:#f5f7ff;color:#1b315e;padding:10px;border-radius:10px;margin-top:6px}.q-setup-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.q-setup-footer p{margin:0;color:var(--muted);font-size:13px}.q-primary,.q-ghost{padding:12px 18px;min-height:46px;border-radius:12px;font-weight:850;border:1px solid transparent}.q-primary{color:#172a54;background:#ffe28b}.q-primary:hover:not(:disabled){background:#ffce57}.q-ghost{border-color:#b9c9e9;background:#f6f8ff;color:#2f4678}.q-ghost:hover{background:#e8efff}.q-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;margin-top:22px}
.q-progress-head{display:flex;justify-content:space-between;font-weight:850;color:#344b7a}.q-progress-track{height:10px;border-radius:50px;overflow:hidden;background:#e2eafd;margin:13px 0 24px}.q-progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#6a4ec5,#51b2cb);transition:width .2s}.q-kicker{font-size:12px;color:#7353bc;font-weight:800}.q-game h2{font-size:clamp(19px,3vw,26px);line-height:1.38;color:#152955;max-width:800px}.q-options{border:0;padding:0;margin:25px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.q-option{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:15px;background:#f6f8ff;color:#24375b;border:2px solid #dce5f9;border-radius:13px;min-height:62px;font-weight:700}.q-option b{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#e0e7fb;color:#3c5391}.q-option:not(:disabled):hover{border-color:#8265d1;background:#f1edff}.q-option.correct{background:#e5f9ee;border-color:#3caa73}.q-option.wrong{background:#ffeded;border-color:#e25e68}.q-option:disabled{opacity:1;cursor:default}.q-feedback{padding:16px 18px;background:#edf7ff;border-left:5px solid #6d66c9;border-radius:10px;margin-top:18px}.q-feedback.good{border-left-color:#3ba775;background:#edfbf1}.q-feedback strong{display:block;font-size:16px;margin-bottom:5px}.q-feedback p{margin:0;line-height:1.55}
.q-result-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.q-result-grid>div{background:#f2f5ff;border:1px solid #dce5fa;padding:16px;border-radius:13px;text-align:center}.q-result-grid span{display:block;font-size:12px;color:var(--muted);font-weight:750}.q-result-grid strong{font-size:33px;color:#513aaa}.q-privacy{color:#667798;font-size:12px}.q-review{margin-top:25px}.q-review h3{margin:0 0 12px}.q-review details{padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}.q-review summary{cursor:pointer;font-weight:750}.q-review p{margin:10px 0 0;color:#526481}.q-books{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.q-book{display:flex;gap:11px;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:9px;background:#f8faff;align-items:center}.q-book:hover{border-color:#7662c9}.q-book img{height:102px;width:80px;object-fit:contain;background:#e8ecf8;border-radius:7px}.q-book span{font-weight:750;font-size:13px}.q-book small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.q-history{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}.q-history>div:first-child{flex:1 1 250px}.q-history-items{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 250px}.q-history-item{padding:10px;background:#f0f4ff;border-radius:10px;font-size:12px;color:#435b83}.q-footer{background:#101f48;color:#dee7ff}.q-footer .q-wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:26px 0;font-size:12px}.q-footer a{color:#ffe286;font-weight:750}
@media(min-width:721px) and (max-width:990px){.q-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.q-header-inner{padding:12px 0;flex-wrap:wrap}.q-header nav{font-size:12px;gap:10px}.q-hero-grid{grid-template-columns:1fr;min-height:0;padding:30px 0}.q-planet{display:none}.q-fields{grid-template-columns:1fr}.q-options{grid-template-columns:1fr}.q-setup,.q-game,.q-results,.q-library,.q-history{padding:18px}.q-body{gap:16px}.q-actions{justify-content:stretch}.q-actions button{flex:1}.q-result-grid strong{font-size:27px}body{background-attachment:scroll}.q-header{position:relative}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.q-progress-track span{transition:none}}
@media print{body{background:#fff}.q-header,.q-hero,.q-setup,.q-game,.q-library,.q-history,.q-footer,.q-actions{display:none!important}.q-results{display:block!important;border:none;box-shadow:none;padding:0}.q-review details{break-inside:avoid}}


/* Quiz achievement cards: unobtrusive, readable in mobile and print. */
.q-awards{margin:24px 0 4px;border-top:1px solid var(--line);padding-top:22px}
.q-awards h3{margin:0 0 13px;color:#192d5d;font-size:21px}
.q-badge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.q-badge-card{display:flex;align-items:start;gap:12px;border:1px solid #e3ddef;border-radius:14px;padding:14px;background:#fbfaff}
.q-badge-card.earned{border-color:#d5bd71;background:#fffaf0}
.q-badge-card.locked{background:#f5f6fa;color:#5e6c84}
.q-badge-icon{font-size:27px;line-height:1.3;flex:none}
.q-badge-card strong{font-size:14px;color:#283b68;display:block}
.q-badge-card p{font-size:12px;margin:4px 0 7px;line-height:1.45}
.q-badge-card small{font-weight:800;color:#6c559c;font-size:11px}
.q-badge-card.earned small{color:#936613}
.q-award-notice{margin:10px 0 15px;padding:12px 14px;border-radius:12px;background:#fff3cc;color:#694c13;font-weight:850}
.q-badge-panel-link{display:inline-block;margin-top:15px;color:#5a45a5;text-decoration:underline;font-weight:800;font-size:13px}
@media(max-width:620px){.q-badge-grid{grid-template-columns:1fr}.q-awards h3{font-size:19px}}
