/* Ders Sonu Testi — JSON'dan yüklenen test modülü.
   Yükleme ekranı sitenin açık temasında; sınav ve sonuç ekranları "yarışma stüdyosu" modunda. */

.sv-app { position: relative; z-index: 1; }

/* three.js sahnesi: sayfanın arkasında, tıklamaları geçirir */
#sv-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}
#sv-canvas.on { opacity: 1; }

/* ---------- stüdyo modu: sayfa kararır ---------- */
body.sv-studio { background: #05081a; }
body.sv-studio::before {
    content: "";
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(130% 85% at 50% 8%, rgba(59, 110, 245, .20), transparent 62%),
        radial-gradient(100% 70% at 50% 100%, rgba(8, 15, 48, .95), transparent 70%);
}
body.sv-studio .site-header { background: rgba(5, 8, 26, .78); border-bottom-color: #18224d; }
body.sv-studio .brand, body.sv-studio .nav-links a { color: #aab6e0; }
body.sv-studio .nav-links a.active { background: #ffc53d; color: #1b1402; }
body.sv-studio .site-footer { background: transparent; border-top-color: #18224d; color: #6d7aa8; }

/* ---------- üst başlık ---------- */
.sv-top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.sv-title { display: flex; align-items: center; gap: .85rem; }
.sv-title-icon {
    display: grid; place-items: center;
    width: 3.1rem; height: 3.1rem; border-radius: 1rem;
    background: linear-gradient(145deg, #3b6ef5, #a78bfa);
    font-size: 1.6rem; box-shadow: var(--shadow);
}
.sv-title h1 { margin: 0; font-size: 1.6rem; line-height: 1.15; }
.sv-title p { margin: .15rem 0 0; font-size: .9rem; }
.sv-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
body.sv-studio .sv-title h1 { color: #f3f6ff; }
body.sv-studio .sv-title p { color: #8b97c4; }
body.sv-studio .sv-actions .btn { background: #141c42; color: #cdd6f5; border-color: #2a3566; box-shadow: 0 2px 0 #0b1130; }

/* ---------- yükleme ekranı ---------- */
/* Ana sayfa ve /yaris ile aynı dil: adım şeridi, kesik çerçeveli bırakma alanı,
   yanında örnek kartları, altta açılır yardım bölümleri. Vurgu rengi yeşil. */
.sv-yesil { color: var(--emerald) }

.sv-adimlar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}
.sv-adimlar li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .85rem .3rem .35rem;
    border: 1px solid hsl(165 35% 80%);
    border-radius: 999px;
    background: hsl(165 50% 97%);
    font-size: .8rem;
    font-weight: 600;
    color: #255a49;
}
.sv-adimlar b {
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--emerald);
    color: #fff;
    font-size: .72rem;
}

.sv-kurulum {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.25rem;
    align-items: start;
}

.sv-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 100%;
    min-height: 20rem;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    border: 2px dashed hsl(165 30% 76%);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, hsl(165 45% 99%) 0%, hsl(165 30% 97%) 100%);
    transition: border-color .15s, background .15s, transform .15s;
}
.sv-drop:hover, .sv-drop.over { border-color: var(--emerald); background: hsl(165 55% 96%); }
.sv-drop.over { transform: scale(1.01); }
.sv-drop-emoji { font-size: 2.8rem; line-height: 1; }
.sv-drop > b { font-size: 1.15rem; letter-spacing: -.01em; }
.sv-drop-not { max-width: 22rem; font-size: .85rem; line-height: 1.6; color: var(--muted-foreground); }
.sv-drop-dugme {
    margin-top: .5rem;
    padding: .55rem 1.1rem;
    border-radius: .55rem;
    background: var(--emerald);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}
.sv-drop:hover .sv-drop-dugme { filter: brightness(1.08); }
.sv-drop-gizlilik { margin-top: .4rem; font-size: .75rem; color: var(--muted-foreground); }

.sv-sag { display: flex; flex-direction: column; gap: .5rem; }
.sv-alt-baslik {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}
.sv-alt-baslik::before {
    content: "";
    width: 1.4rem;
    height: .2rem;
    border-radius: 999px;
    background: var(--emerald);
}
.sv-alt-baslik::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.sv-alt-not { margin: 0 0 .3rem; font-size: .8rem; color: var(--muted-foreground); }

.sv-examples { display: grid; gap: .6rem; }
.sv-example {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem .9rem;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: border-color .15s, transform .15s;
}
.sv-example:hover { border-color: hsl(165 35% 65%); transform: translateY(-1px); }
.sv-example .e {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: .65rem;
    background: hsl(165 45% 94%);
    font-size: 1.1rem;
    line-height: 1;
}
.sv-example-txt { flex: 1; min-width: 0; }
.sv-example-txt b { display: block; font-size: .9rem; }
.sv-example-txt > span { font-size: .78rem; color: var(--muted-foreground); }
.sv-example-act { display: flex; gap: .35rem; flex-shrink: 0; }

.sv-help {
    margin-top: .9rem;
    border: 1px solid var(--border);
    border-radius: .9rem;
    background: var(--card);
    overflow: hidden;
}
.sv-help > summary {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.sv-help > summary::-webkit-details-marker { display: none; }
.sv-help > summary::before { content: "📐"; font-size: 1rem; }
.sv-help-ai > summary::before { content: "🪄"; }
.sv-help > summary::after { content: "+"; margin-left: auto; font-size: 1.1rem; color: var(--muted-foreground); }
.sv-help[open] > summary::after { content: "−"; }
.sv-help > :not(summary) { margin-left: 1rem; margin-right: 1rem; }
.sv-help > p { font-size: .85rem; line-height: 1.6; }
.sv-help > :last-child { margin-bottom: 1rem; }
.sv-help pre {
    background: hsl(252 35% 14%); color: #e7e9ef; border-radius: .9rem;
    padding: 1rem; overflow: auto; font: .78rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; margin: .6rem 0;
}
.sv-copy { margin-top: .4rem; }

@media (max-width: 860px) {
    .sv-kurulum { grid-template-columns: 1fr; }
    .sv-drop { min-height: 15rem; }
}

/* ---------- hazır ekranı ---------- */
.sv-ready {
    text-align: center;
    padding: clamp(2rem, 5vw, 3rem) 1.5rem;
    border: 1px solid hsl(165 30% 82%);
    border-radius: 1.25rem;
    background:
        radial-gradient(34rem 16rem at 50% -30%, hsl(165 55% 92% / .9), transparent 70%),
        var(--card);
    box-shadow: var(--shadow-sm);
}
.sv-ready h2 { margin: .4rem 0 .2rem; font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing: -.02em; }
.sv-count { font-size: 3rem; font-weight: 800; color: var(--emerald); line-height: 1; margin: .8rem 0 .2rem; font-family: var(--font-display); }
.sv-opts-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin: 1.25rem 0 1.5rem; }
.sv-switch { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; }
.sv-joker-onizleme { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.25rem 0 0; }
.sv-joker-mini { display: flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; font-weight: 700; }
.sv-joker-mini span { font-size: 1.1rem; }

/* ---------- sınav ekranı: sahne düzeni ---------- */
.sv-stage { display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 1.5rem; align-items: start; }
@media (max-width: 1080px) { .sv-stage { grid-template-columns: minmax(0, 1fr); } }

.sv-hud { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.sv-bar { flex: 1 1 200px; height: .55rem; background: #16204a; border-radius: 99px; overflow: hidden; }
.sv-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #3b6ef5, #ffc53d); transition: width .4s cubic-bezier(.4, 0, .2, 1); }
.sv-step { font-weight: 800; font-family: var(--font-display); white-space: nowrap; color: #ffc53d; }
.sv-score { display: inline-flex; gap: .6rem; align-items: center; font-size: .9rem; font-weight: 700; white-space: nowrap; color: #aab6e0; }
.sv-score .ok { color: #16d67e; }
.sv-score .no { color: #ff6b7e; }

/* ---------- jokerler ---------- */
.sv-jokers { display: flex; gap: .6rem; justify-content: center; margin: 0 0 1.1rem; flex-wrap: wrap; }
.sv-joker {
    position: relative; display: flex; align-items: center; gap: .55rem;
    padding: .55rem 1rem .55rem .6rem; border-radius: 999px; cursor: pointer; font: inherit;
    border: 2px solid var(--j, #3b6ef5);
    background: linear-gradient(180deg, #121c45, #0b1232);
    color: #dbe3ff; font-weight: 800; font-size: .85rem;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 6px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .07);
    transition: transform .15s, box-shadow .15s, filter .2s;
}
.sv-joker .j-ico {
    display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; flex-shrink: 0;
    background: var(--j, #3b6ef5); color: #04081d; font-size: 1rem; font-weight: 900;
}
.sv-joker:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .5), 0 0 22px var(--j); }
.sv-joker:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--j); }
.sv-joker:disabled { cursor: not-allowed; filter: grayscale(.85) brightness(.6); }
.sv-joker.kullanildi::after {
    content: ""; position: absolute; left: .5rem; right: .5rem; top: 50%;
    height: 3px; background: #ff6b7e; border-radius: 2px; transform: rotate(-7deg);
}
.sv-joker-yari { --j: #38bdf8; }
.sv-joker-seyirci { --j: #a78bfa; }
.sv-joker-arkadas { --j: #fb923c; }

/* ---------- soru tahtası ---------- */
.sv-board {
    position: relative; padding: 1.6rem 1.6rem 1.4rem; border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(18, 28, 69, .93), rgba(8, 13, 40, .93));
    border: 1px solid #27346b;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .03), 0 26px 70px rgba(0, 0, 0, .55);
}
.sv-q-text { font-size: 1.3rem; font-weight: 700; line-height: 1.5; margin: 0 0 1.3rem; color: #f2f5ff; font-family: var(--font-display); text-align: center; }
.sv-q-text code, .sv-fb code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .88em; background: rgba(120, 150, 255, .16); color: #cfe0ff; padding: .1em .4em; border-radius: .35rem;
}
.sv-rev code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; background: var(--muted); padding: .1em .4em; border-radius: .35rem; }

/* ---------- şıklar: altıgen "milyoner" baklavası ---------- */
.sv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.sv-list > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) { .sv-list { grid-template-columns: 1fr; } }

.sv-opt {
    --kenar: linear-gradient(180deg, #4f74d8, #26397f);
    display: block; width: 100%; padding: 2px; border: 0; background: var(--kenar);
    clip-path: polygon(17px 0, calc(100% - 17px) 0, 100% 50%, calc(100% - 17px) 100%, 17px 100%, 0 50%);
    cursor: pointer; font: inherit; transition: filter .18s, transform .18s, opacity .35s;
}
.sv-opt-in {
    display: grid; grid-template-columns: 1.6rem 1fr; gap: .7rem; align-items: center;
    padding: .8rem 1.5rem; min-height: 3.4rem;
    background: linear-gradient(180deg, #101a44, #070d2a);
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
    text-align: left; color: #e7ecff; font-size: .95rem; line-height: 1.42;
}
.sv-opt .k { color: #ffc53d; font-weight: 900; font-family: var(--font-display); font-size: 1.05rem; }
.sv-opt:hover:not(:disabled) { filter: brightness(1.35); transform: translateY(-1px); }
.sv-opt:focus-visible { outline: none; filter: brightness(1.5); }
.sv-opt:disabled { cursor: default; }

.sv-opt.secili { --kenar: linear-gradient(180deg, #ffd45e, #d99400); animation: sv-nabiz .55s ease-in-out infinite; }
.sv-opt.secili .sv-opt-in { background: linear-gradient(180deg, #4a3608, #2a1e02); }
.sv-opt.correct { --kenar: linear-gradient(180deg, #37e79b, #0a9c5c); }
.sv-opt.correct .sv-opt-in { background: linear-gradient(180deg, #0c4a32, #06301f); }
.sv-opt.correct .k { color: #6dffb8; }
.sv-opt.wrong { --kenar: linear-gradient(180deg, #ff7d8c, #b01228); }
.sv-opt.wrong .sv-opt-in { background: linear-gradient(180deg, #4d0f1b, #2c0710); }
.sv-opt.wrong .k { color: #ffa7b2; }
.sv-opt.faded { opacity: .4; }
.sv-opt.elendi { opacity: .16; pointer-events: none; }
.sv-opt.elendi .sv-opt-in > :last-child { visibility: hidden; }

@keyframes sv-nabiz { 50% { filter: brightness(1.55); } }

/* ---------- cevap açıklanmadan önceki gerilim ---------- */
.sv-gerilim { margin-top: 1.1rem; padding: .75rem .95rem; border-radius: .8rem; border: 1px solid #6b5213; background: linear-gradient(180deg, #2a2208, #15110a); }
.sv-gerilim-ust { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
.sv-gerilim-metin { font-weight: 800; color: #ffc53d; font-size: .9rem; letter-spacing: .03em; font-family: var(--font-display); }
.sv-gerilim-atla { border: 1px solid #6b5213; background: transparent; color: #d8b863; border-radius: .5rem; padding: .25rem .65rem; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.sv-gerilim-atla:hover { background: #3a2f0c; color: #ffd45e; }
.sv-gerilim-bar { height: .35rem; background: #130f06; border-radius: 99px; overflow: hidden; }
.sv-gerilim-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffa31a, #ffd45e); }

/* ---------- geri bildirim ---------- */
.sv-fb { margin-top: 1.2rem; padding: 1.05rem 1.2rem; border-radius: .9rem; border: 1px solid #27346b; background: rgba(10, 16, 46, .9); color: #d7deff; }
.sv-fb.ok { background: rgba(8, 56, 38, .85); border-color: #1d7d55; }
.sv-fb.no { background: rgba(62, 11, 24, .85); border-color: #9a2639; }
.sv-fb-head { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.05rem; margin-bottom: .35rem; font-family: var(--font-display); }
.sv-fb.ok .sv-fb-head { color: #6dffb8; }
.sv-fb.no .sv-fb-head { color: #ffa7b2; }
.sv-fb p { margin: 0; font-size: .95rem; line-height: 1.6; }
.sv-fb-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.sv-hint { font-size: .78rem; color: #8b97c4; }
body.sv-studio .sv-fb-foot .btn-primary { background: #ffc53d; color: #221902; border-color: #c99716; box-shadow: 0 2px 0 #8a6a12; }

/* ---------- puan merdiveni ---------- */
.sv-ladder {
    display: flex; flex-direction: column-reverse; gap: .22rem;
    padding: .7rem; border-radius: 1rem;
    background: rgba(10, 16, 46, .82); border: 1px solid #27346b;
}
.sv-ladder-row {
    display: grid; grid-template-columns: 1.6rem 1fr; gap: .5rem; align-items: center;
    padding: .3rem .55rem; border-radius: .5rem;
    font-size: .82rem; font-weight: 700; color: #8b97c4;
    font-variant-numeric: tabular-nums;
}
.sv-ladder-row .n { color: #5c6ba0; font-size: .75rem; }
.sv-ladder-row.baraj { color: #e3eaff; }
.sv-ladder-row.baraj .n { color: #ffc53d; }
.sv-ladder-row.gecildi { color: #16d67e; }
.sv-ladder-row.yanlis { color: #ff6b7e; }
.sv-ladder-row.simdi { background: linear-gradient(90deg, #ffc53d, #ffa31a); color: #26190a; box-shadow: 0 0 18px rgba(255, 197, 61, .45); }
.sv-ladder-row.simdi .n { color: #5c4203; }
@media (max-width: 1080px) {
    .sv-ladder { flex-direction: row; overflow-x: auto; gap: .3rem; margin-top: 1rem; scrollbar-width: none; }
    .sv-ladder::-webkit-scrollbar { display: none; }
    .sv-ladder-row { grid-template-columns: 1fr; justify-items: center; white-space: nowrap; font-size: .72rem; }
}

/* ---------- joker katmanı ---------- */
.sv-ov { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 1rem; background: rgba(3, 6, 20, .82); }
.sv-ov-card {
    width: min(560px, 100%); padding: 1.6rem; border-radius: 1.2rem; color: #e7ecff;
    background: linear-gradient(180deg, #121c45, #080e2c); border: 1px solid var(--j, #3b6ef5);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .04), 0 30px 80px rgba(0, 0, 0, .6), 0 0 40px -10px var(--j, #3b6ef5);
    animation: sv-ac .3s ease;
}
@keyframes sv-ac { from { opacity: 0; transform: scale(.94) translateY(10px); } }
.sv-ov-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.sv-ov-head .i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--j); color: #05081a; font-size: 1.3rem; flex-shrink: 0; }
.sv-ov-head b { font-size: 1.15rem; font-family: var(--font-display); }
.sv-ov-head span { display: block; font-size: .8rem; color: #8b97c4; font-weight: 600; }
.sv-ov-foot { margin-top: 1.3rem; display: flex; justify-content: flex-end; }
.sv-ov-foot .btn { background: #ffc53d; color: #221902; border-color: #c99716; box-shadow: 0 2px 0 #8a6a12; }

/* seyirci oylaması */
.sv-poll { display: grid; gap: .55rem; }
.sv-poll-row { display: grid; grid-template-columns: 1.4rem 1fr 3rem; gap: .6rem; align-items: center; font-size: .88rem; }
.sv-poll-row .k { font-weight: 900; color: #ffc53d; font-family: var(--font-display); }
.sv-poll-row .track { height: 1.5rem; background: #0a1030; border-radius: .4rem; overflow: hidden; border: 1px solid #222f63; }
.sv-poll-row .fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7c5cf0, #a78bfa); transition: width .9s cubic-bezier(.3, 1.4, .5, 1); }
.sv-poll-row .val { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; color: #cbd5ff; }
.sv-poll-not { margin: 1rem 0 0; font-size: .84rem; color: #8b97c4; }

/* arkadaş araması */
.sv-call { text-align: center; }
.sv-call-avatar { font-size: 3.4rem; line-height: 1; margin-bottom: .4rem; }
.sv-call-ad { font-weight: 800; font-size: 1.05rem; }
.sv-call-rol { font-size: .82rem; color: #8b97c4; margin-bottom: 1rem; }
.sv-call-durum { font-size: .9rem; color: #fb923c; font-weight: 700; letter-spacing: .04em; }
.sv-call-dot { display: inline-block; animation: sv-yanip 1.2s infinite; }
.sv-call-dot:nth-child(2) { animation-delay: .2s; }
.sv-call-dot:nth-child(3) { animation-delay: .4s; }
@keyframes sv-yanip { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.sv-bubble {
    position: relative; margin: .6rem auto 0; max-width: 420px; padding: .9rem 1.1rem;
    background: #1b2a5e; border-radius: 1rem; text-align: left; font-size: .96rem; line-height: 1.55;
    animation: sv-ac .3s ease;
}
.sv-bubble::before { content: ""; position: absolute; top: -8px; left: 2.2rem; border: 8px solid transparent; border-top: 0; border-bottom-color: #1b2a5e; }
.sv-bubble b { color: #ffc53d; }
.sv-guven { margin-top: .7rem; font-size: .82rem; color: #8b97c4; }

/* ---------- sonuç ekranı ---------- */
.sv-result {
    text-align: center; padding: 2rem 1.5rem 1.5rem; border-radius: 1.2rem; color: #e7ecff;
    background: linear-gradient(180deg, rgba(18, 28, 69, .93), rgba(8, 13, 40, .93)); border: 1px solid #27346b;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .55);
}
.sv-ring { position: relative; width: 190px; height: 190px; margin: 0 auto 1rem; }
.sv-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.sv-ring circle { fill: none; stroke-width: 14; stroke-linecap: round; }
.sv-ring .track { stroke: #1b2550; }
.sv-ring .fill { stroke: #16d67e; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); }
.sv-ring .mid { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; }
.sv-ring .pct { font-size: 2.6rem; font-weight: 800; line-height: 1; font-family: var(--font-display); }
.sv-ring .of { font-size: .85rem; color: #8b97c4; }
.sv-result h2 { margin: .3rem 0 .4rem; font-size: 1.7rem; }
.sv-result .muted { color: #96a2cd !important; }
.sv-odul {
    display: inline-flex; flex-direction: column; gap: .15rem; margin: 1.2rem auto 0; padding: .9rem 1.6rem;
    border-radius: 1rem; border: 1px solid #6b5213; background: linear-gradient(180deg, #2a2208, #16110a);
}
.sv-odul b { font-size: 1.9rem; color: #ffc53d; font-family: var(--font-display); line-height: 1; }
.sv-odul span { font-size: .78rem; color: #b49a52; }
.sv-result-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.4rem; }
body.sv-studio .sv-result-actions .btn { background: #182350; color: #dde4ff; border-color: #30407e; box-shadow: 0 2px 0 #0a0f2c; }
body.sv-studio .sv-result-actions .btn-primary { background: #ffc53d; color: #221902; border-color: #c99716; box-shadow: 0 2px 0 #8a6a12; }

.sv-review { margin-top: 1.5rem; text-align: left; }
.sv-review > summary { cursor: pointer; font-weight: 700; padding: .75rem 0; color: #cbd5ff; }
.sv-rev { border: 1px solid var(--border); border-left: 4px solid var(--emerald); border-radius: .8rem; padding: .9rem 1.05rem; margin: .6rem 0; background: var(--card); color: var(--foreground); }
.sv-rev.no { border-left-color: var(--destructive); }
.sv-rev-q { font-weight: 700; margin: 0 0 .45rem; }
.sv-rev-a { font-size: .9rem; margin: .15rem 0; }
.sv-rev-a .lbl { color: var(--muted-foreground); }
.sv-rev-why { font-size: .88rem; color: var(--muted-foreground); margin: .5rem 0 0; line-height: 1.55; }

@media (max-width: 640px) {
    .sv-board { padding: 1.15rem 1rem 1.1rem; }
    .sv-q-text { font-size: 1.08rem; }
    .sv-opt-in { padding: .7rem 1.2rem; font-size: .9rem; min-height: 3rem; }
    .sv-joker { font-size: .78rem; padding: .45rem .8rem .45rem .5rem; }
    .sv-joker .j-ico { width: 1.7rem; height: 1.7rem; font-size: .9rem; }
    .sv-ring { width: 160px; height: 160px; }
    .sv-fb-foot { flex-direction: column; align-items: stretch; }
}
