.gd-game{--gd-ink:#26314c;--gd-purple:#6244b6;--gd-soft:#f4f0ff;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--gd-ink);max-width:1160px;margin:0 auto;padding:clamp(14px,3vw,36px);background:linear-gradient(135deg,#fff9ec,#f2efff 65%,#e8f8f4);border-radius:30px;line-height:1.5;isolation:isolate;box-sizing:border-box}
.gd-game *,.gd-game *::before,.gd-game *::after{box-sizing:border-box}
.gd-game [hidden]{display:none!important}
.gd-game h1,.gd-game h2,.gd-game p{margin:0 0 14px;color:inherit;font-family:inherit;line-height:1.3}
.gd-game h1{font-size:clamp(27px,4vw,43px);letter-spacing:-1px}.gd-game h2{font-size:clamp(22px,3vw,29px)}
.gd-game .gd-nav{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:24px}.gd-game .gd-nav a{color:#56409a;text-decoration:none;font-weight:700;padding:8px 0}
.gd-game .gd-header{text-align:center}.gd-game .gd-eyebrow{font-size:12px;letter-spacing:2px;font-weight:800;color:#745398;display:block;margin-bottom:10px}
.gd-game .gd-button{font:700 16px/1.4 system-ui,sans-serif;min-height:48px;padding:12px 18px;border:2px solid #ddd5ee;border-radius:16px;color:#493575;background:#fff;cursor:pointer;box-shadow:0 3px 0 #e2dbea;white-space:normal;touch-action:manipulation;transition:background .15s,box-shadow .15s}
.gd-game .gd-button:hover{background:#f5efff}.gd-game .gd-button:focus-visible,.gd-game a:focus-visible{outline:3px solid #167b87;outline-offset:4px}.gd-game .gd-button:disabled{opacity:.5;cursor:default;box-shadow:none}
.gd-game .gd-primary{color:white;background:var(--gd-purple);border-color:var(--gd-purple);box-shadow:0 4px 0 #42307e}.gd-game .gd-primary:hover{background:#51349f}
.gd-game .gd-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:26px 0}.gd-game .gd-levels .gd-button{padding:18px 12px;text-align:left}.gd-game .gd-levels small{display:block;font-weight:500;margin-top:8px;color:#655e77}.gd-game [aria-pressed=true]{border-color:var(--gd-purple);background:#eee6ff}
.gd-game .gd-progress{display:flex;align-items:center;justify-content:center;gap:16px;margin:24px 0;font-size:14px;font-weight:700}.gd-game progress{width:180px;height:12px;accent-color:var(--gd-purple)}
.gd-game .gd-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:28px;align-items:center}.gd-game .gd-wheel-panel{text-align:center;min-width:0}.gd-game .gd-wheel-frame{position:relative;width:min(100%,640px);aspect-ratio:1;margin:12px auto 26px;padding:10px}
.gd-game .gd-wheel-clip{position:relative;width:100%;height:100%;border-radius:50%;overflow:hidden;box-shadow:0 12px 26px #57458822}
.gd-game .gd-disc{position:relative;width:100%;height:100%;border:8px solid white;border-radius:50%;overflow:hidden;will-change:transform}
.gd-game .gd-wheel-item{position:absolute;width:19%;transform:translate(-50%,-50%);border:3px solid white;border-radius:14px;background:white;overflow:hidden;box-shadow:0 3px 8px #30305022}
.gd-game .gd-portrait{background-repeat:no-repeat;width:100%;border-radius:12px;background-color:white}.gd-game .gd-pointer{position:absolute;left:50%;top:-15px;transform:translateX(-50%);z-index:2;color:#6244b6;font-size:42px;filter:drop-shadow(0 3px 1px #fff)}
.gd-game .gd-hub{position:absolute;inset:42%;display:grid;place-items:center;border-radius:50%;background:white;color:#e2a324;border:5px solid #fff;font-size:clamp(22px,4vw,40px);box-shadow:0 4px 12px #59457733}
.gd-game .gd-result{border:2px solid white;background:#ffffffde;padding:24px;border-radius:25px;box-shadow:0 12px 32px #71619313;text-align:center;min-width:0}
.gd-game .gd-result>.gd-portrait{width:min(145px,55%);margin:0 auto 20px;box-shadow:0 4px 18px #4f397318}.gd-game .gd-placeholder{font-size:85px;color:#a38ace;padding:24px}.gd-game .gd-question{margin-bottom:18px}.gd-game .gd-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:18px 0}
.gd-game .gd-answer{background:#edf8f1;border-radius:14px;padding:14px;margin-top:16px}.gd-game .gd-countdown{font-size:14px;color:#696078;min-height:20px}.gd-game .gd-error{padding:16px;background:#fff0df;border:1px solid #e7b676;border-radius:14px;margin:20px 0}
.gd-game .gd-collection{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:26px 0}.gd-game .gd-found{width:84px;text-align:center;font-size:12px}.gd-game .gd-found .gd-portrait{width:54px;margin:auto auto 6px}.gd-game .gd-footer{text-align:center;margin-top:24px}.gd-game .gd-celebrate{animation:gd-celebrate .8s ease-in-out 2}
@keyframes gd-celebrate{50%{transform:scale(1.15) rotate(8deg)}}
@media(max-width:700px){.gd-game .gd-layout{grid-template-columns:1fr;gap:24px}.gd-game .gd-levels{gap:10px;grid-template-columns:1fr}.gd-game .gd-levels .gd-button{text-align:center;padding:14px}.gd-game .gd-levels small{margin-top:4px}.gd-game .gd-progress{flex-wrap:wrap;gap:8px}.gd-game .gd-result{padding:20px 14px}.gd-game .gd-wheel-frame{max-width:390px}.gd-game .gd-nav{justify-content:space-between;gap:8px}.gd-game .gd-button{max-width:100%}}
@media(prefers-reduced-motion:reduce){.gd-game *{animation:none!important;transition:none!important}}
.gd-game[data-state=levels]{min-height:440px;display:flex;flex-direction:column;justify-content:center}.gd-game[data-state=levels] .gd-levels{margin:40px 0}.gd-game[data-state=levels] .gd-levels .gd-button{min-height:150px;text-align:center;font-size:22px}.gd-game[data-state=levels] .gd-levels small{color:white;font-size:15px}.gd-game .gd-level-label{font-size:15px;color:#655e77}
.gd-game[data-state=levels] .gd-levels [data-level=mica]{background:#fff0cc;border-color:#e7b754;color:#584313;box-shadow:0 4px 0 #d8aa48}
.gd-game[data-state=levels] .gd-levels [data-level=mijlocie]{background:#e0f3e8;border-color:#79bea0;color:#244e3d;box-shadow:0 4px 0 #65a88b}
.gd-game[data-state=levels] .gd-levels [data-level=mare]{background:#eee4ff;border-color:#ac8ed5;color:#513577;box-shadow:0 4px 0 #9576bd}
.gd-game[data-state=levels] .gd-levels small{color:inherit}
.gd-game[data-state=levels] .gd-levels .gd-button:hover{filter:brightness(.97)}
@media(max-width:900px){.gd-game .gd-layout{grid-template-columns:1fr}.gd-game .gd-wheel-frame{max-width:600px}}
.gd-game:not([data-state=levels]){padding:clamp(12px,2vw,24px)}
.gd-game:not([data-state=levels]) .gd-nav{margin-bottom:10px;align-items:center}
.gd-game:not([data-state=levels]) .gd-eyebrow{display:none}
.gd-game:not([data-state=levels]) .gd-header h1{font-size:clamp(24px,3vw,34px);margin-bottom:6px}
.gd-game:not([data-state=levels]) .gd-header>p:not(.gd-level-label){display:none}
.gd-game:not([data-state=levels]) .gd-level-label{margin-bottom:6px}
.gd-game:not([data-state=levels]) .gd-progress{margin:10px 0}
.gd-game:not([data-state=levels]) .gd-wheel-frame{width:100%;max-width:640px;margin:8px auto 12px}
.gd-game:not([data-state=levels]) .gd-wheel-panel{position:relative;top:auto;align-self:start;padding-bottom:8px}
.gd-game:not([data-state=levels]) .gd-layout{align-items:start}
.gd-game:not([data-state=levels]) .gd-pointer{font-size:32px;top:-9px}
@media(max-width:900px){.gd-game:not([data-state=levels]) .gd-wheel-panel{position:relative;top:auto}.gd-game:not([data-state=levels]) .gd-wheel-frame{width:100%;max-width:600px}}
.gd-game:not([data-state=levels]) .gd-result{padding:16px}
.gd-game:not([data-state=levels]) .gd-result>.gd-portrait{width:min(100%,var(--gd-result-image-width,90px));margin-bottom:10px}
.gd-game:not([data-state=levels]) .gd-result .gd-actions{margin:10px 0}
.gd-game:not([data-state=levels]) .gd-result .gd-question{font-size:23px;margin-bottom:10px}
@media(min-width:600px) and (max-width:900px){.gd-game:not([data-state=levels]) .gd-layout{grid-template-columns:minmax(0,1.3fr) minmax(220px,1fr);gap:16px}}
@media(min-width:600px) and (max-width:900px){.gd-game:not([data-state=levels]) .gd-result>.gd-portrait{width:70px}.gd-game:not([data-state=levels]) .gd-result .gd-button{font-size:14px;padding:8px 12px;min-height:44px}.gd-game:not([data-state=levels]) .gd-result .gd-question{font-size:19px}}
@media(max-width:599px){.gd-game:not([data-state=levels]) .gd-layout{gap:12px}.gd-game:not([data-state=levels]) .gd-wheel-frame{width:min(100%,max(160px,38dvh))}.gd-game:not([data-state=levels]) .gd-result{display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px;align-items:center;padding:12px}.gd-game:not([data-state=levels]) .gd-result>.gd-portrait{width:65px;grid-row:1 / span 4;margin:0}.gd-game:not([data-state=levels]) .gd-result>:not(.gd-portrait){grid-column:2;margin:0}.gd-game:not([data-state=levels]) .gd-result .gd-placeholder{display:none}.gd-game:not([data-state=levels]) .gd-result .gd-question{font-size:19px}.gd-game:not([data-state=levels]) .gd-result .gd-button{font-size:14px;padding:8px;min-height:44px}.gd-game:not([data-state=levels]) .gd-result .gd-actions{margin:0;display:block}.gd-game:not([data-state=levels]) .gd-countdown{font-size:12px}}
