.gd,.gd-collection{--soft:var(--tg-secondary-bg-color);--accent:var(--tg-link-color);--tint:color-mix(in srgb, var(--accent) 11%, var(--tg-bg-color));padding-bottom:10px}.gd{padding-bottom:60px}.gd [hidden]{display:none!important}.gd h1{letter-spacing:-.04em;margin:18px 0 10px;font-size:29px}.gd button,.gd-collection button{color:var(--tg-hint-color);background:0 0}.gd-header,.gd-header button,.gd-tabs,.gd-segment,.gd-hero,.gd-total,.gd-pills,.gd-track,.gd-filters,.gd-list li{align-items:center;gap:10px;display:flex}.gd-header{border-bottom:1px solid var(--card-border);padding-bottom:14px}.gd-header strong,.gd-header button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.gd-header button{max-width:48%;margin-left:auto;padding:4px}.gd-header img,.gd-header .initial{object-fit:cover;border-radius:50%;flex:none;width:34px;height:34px}.gd-header .initial{color:#fff;background:#7651ae;place-items:center;display:grid}.gd-tabs{border-bottom:1px solid var(--card-border);margin:12px 0}.gd-tabs button[aria-pressed=true]{color:var(--accent);border-bottom:3px solid;border-radius:0}.gd-segment{background:var(--soft);border-radius:12px;padding:4px}.gd-segment button{flex:1}.gd-segment button[aria-pressed=true]{background:var(--tg-bg-color);color:var(--tg-text-color);box-shadow:0 1px 5px #14253a22}.gd-hero{background:var(--tint);border-radius:16px;margin:13px 0;padding:14px 18px}.gd-hero strong{letter-spacing:-.04em;font-size:30px;display:block}.gd-hero img{object-fit:contain;width:90px;height:90px;margin-left:auto}.gd small,.gd-collection small,.gd-award p{color:var(--tg-hint-color)}.gd-filters,.gd-total{justify-content:space-between;margin:15px 0 8px}.gd-filters select{border:1px solid var(--card-border);background:var(--soft);color:var(--tg-text-color);border-radius:12px;padding:10px;font-family:inherit;font-size:14px;font-weight:600}.gd-list{list-style:none}.gd-list li{border-top:1px solid var(--card-border);min-height:46px;padding:8px 4px}.gd-list li>b{overflow-wrap:anywhere}.gd-list li>strong{margin-left:auto}.gd-mine{background:var(--tint);color:var(--accent);border-radius:9px}.gd-place{text-align:center;font-variant-numeric:tabular-nums;flex:none;width:29px}.gd-place:is(.p1,.p2,.p3){clip-path:polygon(0 0,100% 0,100% 74%,50% 100%,0 74%);color:#423020;background:linear-gradient(120deg,#ffeb9d,#e7a633);padding-bottom:5px;font-weight:800}.gd-place.p2{background:linear-gradient(120deg,#edf5ff,#a6bacd)}.gd-place.p3{background:linear-gradient(120deg,#ffddc7,#d18a69)}.gd .gd-return{bottom:calc(18px + env(safe-area-inset-bottom));background:var(--tg-text-color);color:var(--tg-bg-color);border-radius:25px;position:fixed;right:max(16px,50vw - 224px);box-shadow:0 3px 14px #101f3838}.gd-collection h2{margin:18px 0 6px;font-size:19px}.gd-total h2{margin:0}.gd-collection progress{width:100%;height:8px;accent-color:var(--tg-button-color)}.gd-pills{gap:4px;margin:12px 0}.gd-pills button{border-radius:18px;padding:8px 12px;font-size:13px}.gd-pills button[aria-pressed=true]{background:var(--tint);color:var(--accent)}.gd-collection h3{color:var(--tg-hint-color);margin:18px 0 6px;font-size:14px}.gd-award{border-top:1px solid var(--card-border);grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:10px;min-height:88px;padding:12px 2px;display:grid}.gd-award img{object-fit:contain;width:48px;height:48px}.gd-award p{margin:3px 0;font-size:13px}.gd-track progress{flex:1;min-width:0}.gd-track small{white-space:nowrap}.gd-done{color:#fff;text-align:center;background:#16734b;border-radius:50%;width:22px;height:22px;font-weight:700}:root{--tg-bg-color:#fff;--tg-text-color:#0f172a;--tg-hint-color:#64748b;--tg-button-color:#2563eb;--tg-button-text-color:#fff;--tg-secondary-bg-color:#f1f5f9;--tg-link-color:#2563eb;--card-border:#0f172a1f}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--tg-bg-color);color:var(--tg-text-color);-webkit-font-smoothing:antialiased;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.5}.app-shell{flex-direction:column;gap:16px;max-width:480px;min-height:100vh;margin:0 auto;padding:16px;display:flex}.app-header{border-bottom:1px solid var(--card-border);flex-direction:column;gap:4px;padding-bottom:12px;display:flex}.app-header h1{letter-spacing:-.02em;font-size:20px;font-weight:700}.app-header p{color:var(--tg-hint-color);font-size:13px}.state-message{text-align:center;color:var(--tg-hint-color);padding:48px 16px;font-size:14px}.loading-state{flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:70vh;display:flex}.spinner{border:3px solid var(--card-border);border-top-color:var(--tg-button-color);border-radius:50%;width:30px;height:30px;animation:.8s linear infinite tma-spin}@keyframes tma-spin{to{transform:rotate(360deg)}}.error-card{background:var(--tg-secondary-bg-color);border:1px solid #dc262673;border-radius:12px;flex-direction:column;align-items:flex-start;gap:12px;margin-top:24px;padding:16px;display:flex}.error-card-message{color:#dc2626;font-size:14px;line-height:1.5}.card{background:var(--tg-secondary-bg-color);border:1px solid var(--card-border);border-radius:12px;padding:14px}.grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.product-image{aspect-ratio:1;object-fit:cover;background:var(--tg-bg-color);border-radius:8px;width:100%}.product-card{cursor:pointer;transition:transform .12s,border-color .12s}.product-card:active{transform:scale(.98)}.product-detail{flex-direction:column;gap:12px;display:flex}.cart-items{flex-direction:column;gap:8px;display:flex}.cart-item{background:var(--tg-secondary-bg-color);border:1px solid var(--card-border);border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.qty-controls{align-items:center;gap:8px;font-weight:600;display:flex}.qty-controls button{border-radius:6px;width:28px;height:28px;padding:0;font-size:16px;line-height:1}.field{flex-direction:column;gap:6px;display:flex}.field label{font-size:13px;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--card-border);background:var(--tg-bg-color);color:var(--tg-text-color);border-radius:8px;padding:10px 12px;font-family:inherit;font-size:14px}button{cursor:pointer;border:none;border-radius:8px;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:600;transition:opacity .15s}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--tg-button-color);color:var(--tg-button-text-color);width:100%}button.secondary{border:1px solid var(--card-border);color:var(--tg-text-color);background:0 0}.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.muted{color:var(--tg-hint-color);font-size:13px}.badge{background:var(--tg-button-color);color:var(--tg-button-text-color);border-radius:999px;align-items:center;padding:2px 8px;font-size:12px;font-weight:600;display:inline-flex}.cart-bar{background:var(--tg-bg-color);border-top:1px solid var(--card-border);align-items:center;gap:10px;padding:10px 0;display:flex;position:sticky;bottom:0}.cart-bar button{flex:1}.wheel-stage{flex-direction:column;align-items:center;gap:20px;padding:16px 0;display:flex}.wheel{border:4px solid var(--tg-button-color);border-radius:50%;width:220px;height:220px;transition:transform 4s cubic-bezier(.2,.8,.2,1);position:relative}.wheel-pointer{border-left:10px solid #0000;border-right:10px solid #0000;border-top:16px solid var(--tg-text-color);z-index:1;width:0;height:0;margin-bottom:-8px}.prize-list{flex-direction:column;gap:6px;width:100%;display:flex}.prize-list .row{background:var(--tg-secondary-bg-color);border-radius:8px;padding:8px 12px}.iframe-frame{border:1px solid var(--card-border);border-radius:12px;flex:1;min-height:70vh;overflow:hidden}.iframe-frame iframe{background:#fff;border:0;width:100%;height:100%;display:block}.tiers{flex-direction:column;gap:6px;display:flex}.tier{background:var(--tg-secondary-bg-color);border-radius:8px;justify-content:space-between;padding:8px 12px;font-size:13px;display:flex}.tier.active{border:1px solid var(--tg-button-color)}.error-text{color:#dc2626;font-size:13px}.success-text{color:#16a34a;font-size:13px}.app-logo{object-fit:contain;border-radius:12px;max-width:120px;max-height:120px;margin:0 auto 8px;display:block}
