*{box-sizing:border-box}body{margin:0;background:#f7f5f0;color:#25392e;font:15px system-ui,sans-serif}header{max-width:1160px;margin:auto;padding:26px 24px;display:flex;justify-content:space-between;align-items:center}.logo{font-weight:850;font-size:23px}.logo span{color:#b37c45}header small{color:#7c857c}main{max-width:1120px;margin:auto;padding:10px 24px 60px}.hero{text-align:center}.eyebrow{text-transform:uppercase;letter-spacing:3px;color:#8c957f;font-size:11px;font-weight:800}h1{font-size:clamp(32px,5vw,52px);letter-spacing:-2px;margin:12px 0}h1 em{font-family:Georgia;font-weight:400;color:#b17b51}p{color:#7b8379;line-height:1.6}.stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:60px;margin:30px 0 40px;background:#eceee5;border:1px solid #e2e5d8;border-radius:30px;padding:30px 55px}.wheel-wrap{position:relative;width:min(100%,360px);margin:auto;aspect-ratio:1;filter:drop-shadow(0 12px 14px #344b2920)}canvas{width:100%;height:100%;border-radius:50%;border:9px solid white}.pointer{position:absolute;top:-7px;left:calc(50% - 13px);z-index:2;width:0;height:0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:30px solid #b77446}.hub{position:absolute;left:40%;top:40%;width:20%;height:20%;border:7px solid #fff;border-radius:100%;background:#294e3c;color:#fff;display:grid;place-items:center;font-size:26px}.controls h2{font:32px Georgia;margin:10px 0}.controls p{max-width:350px}.button,button{font:inherit;cursor:pointer;border:0;border-radius:12px;padding:14px 20px;background:#315940;color:white;font-weight:650}.primary{width:100%;margin:12px 0;box-shadow:0 5px 0 #244432}.primary:disabled{opacity:.6;cursor:wait}.muted{font-size:12px;color:#87907f}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 18px}h2{margin:0;font-size:23px}.outline{background:transparent;border:1px solid #cdd4c7;color:#34533d}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 25px}.chip{padding:9px 15px;background:#eaece4;color:#788170;border-radius:24px;font-size:13px}.chip.active{background:#345a43;color:white}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:white;border:1px solid #e6e7df;border-radius:18px;overflow:hidden;position:relative}.art{height:150px;display:grid;place-items:center;font-size:55px;background:var(--bg);position:relative}.art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.card-body{padding:16px}.card h3{margin:8px 0;font-size:16px}.category{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8a9584}.delete{position:absolute;right:9px;top:9px;background:#ffffffdc;color:#374a3b;border-radius:50%;padding:3px 9px;font-size:18px}.card-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#829079}.edit{padding:4px 0;background:none;color:#6c826c;font-size:12px}.empty{text-align:center;padding:35px;color:#7b8379;grid-column:1/-1}dialog{border:0;border-radius:24px;padding:30px;max-width:460px;width:calc(100% - 32px);color:#25392e;box-shadow:0 25px 100px #14231d40}dialog::backdrop{background:#16352288;backdrop-filter:blur(5px)}label{display:block;margin:17px 0 7px;font-weight:650;font-size:13px}input,select{width:100%;border:1px solid #d8decf;border-radius:10px;padding:12px;background:#fafbf7;font:inherit;color:#25392e}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.result{text-align:center}.result .emoji{font-size:65px;margin:15px}.result img{width:100%;height:200px;object-fit:cover;border-radius:15px}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#294e3c;color:white;padding:12px 22px;border-radius:12px;z-index:10;display:none}.count{color:#8a9584;font-weight:400;font-size:14px;margin-left:8px}footer{text-align:center;margin-top:45px;color:#98a08e;font-size:12px}@media(max-width:760px){.stage{grid-template-columns:1fr;gap:25px;padding:28px 22px}.wheel-wrap{max-width:300px}.controls{text-align:center}.controls p{margin:auto}.grid{grid-template-columns:repeat(2,1fr)}header small{display:none}main{padding:5px 16px 35px}.section-head{align-items:flex-start}.section-head button{font-size:12px;padding:10px}h1{letter-spacing:-1px}.art{height:125px}}
body{background:radial-gradient(ellipse at 15% 5%,#66125b66,transparent 45%),radial-gradient(ellipse at 90% 30%,#1736a755,transparent 45%),#100b23;color:#fff1fc}header small,p,.muted,footer{color:#b9a7ca}.logo span,h1 em{color:#ffcf60}.eyebrow{color:#fba8e0}.logo{text-shadow:0 0 20px #ff45c5}h1{font-weight:900;text-shadow:0 0 35px #f542a955}h1 em{font-family:inherit;font-style:normal;text-shadow:0 0 25px #ffb62d66}.stage{background:linear-gradient(125deg,#32113cdd,#161a46dd);border:1px solid #ba57cc77;box-shadow:0 0 60px #b326d51a,inset 0 0 50px #8d238c18}.wheel-wrap{width:min(100%,400px);filter:drop-shadow(0 0 22px #f54ac966)}canvas{border:10px dotted #ffe69a;background:#713d12;box-shadow:0 0 0 5px #c6923e,0 0 0 10px #512143,0 0 30px #ffcc6370}.pointer{border-top-color:#fff1a1;filter:drop-shadow(0 0 6px #ffb52a)}.hub{background:radial-gradient(circle,#88427c,#2c0c45);border-color:#ffd576;color:#ffe29a;font-size:18px;font-weight:900;box-shadow:0 0 25px #ffc04577}.controls h2{font-family:system-ui;font-weight:850}button{background:linear-gradient(120deg,#ff3eab,#a342ed);color:white;transition:filter .2s,transform .2s}button:hover:not(:disabled){filter:brightness(1.17);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:linear-gradient(110deg,#ffbc48,#ffdc83);color:#43122c;box-shadow:0 5px 0 #a56232,0 0 25px #ffb53733;padding:18px 14px}.outline{border-color:#9362a3;color:#eac7f7;background:#2c193c}.chip{background:#251a3a;color:#c3accf;border:1px solid #493156}.chip.active{background:linear-gradient(120deg,#a434c8,#e53998);border-color:#fd8ddd}.count{color:#c5a8ce}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-height:600px;overflow:auto;padding:4px 8px 10px 2px;scrollbar-color:#ac449c #20132e}.card{display:flex;align-items:center;min-height:91px;background:linear-gradient(110deg,#281735,#1c1734);border:1px solid #69416c66;border-radius:14px;padding:10px;gap:12px}.art{height:65px;width:65px;min-width:65px;border-radius:10px;overflow:hidden;font-size:32px}.card-body{padding:0 25px 0 0;flex:1;min-width:0}.card h3{font-size:14px;margin:5px 0}.category{color:#efb6e7;font-size:9px}.card-footer{color:#927caa;font-size:10px}.edit{color:#f8c974;background:none;font-size:11px}.delete{background:#4e2a54;color:#dbb4dc;right:6px;top:6px;font-size:16px;padding:0 6px}.section-head{flex-wrap:wrap}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.empty{color:#c6a5d0}dialog{background:#251334;color:#fff0fa;border:1px solid #b762b9}dialog::backdrop{background:#09051cba}input,select{background:#160e25;border-color:#684376;color:#fff}.notice{background:#7f278e}.result .eyebrow{color:#ffce77}.list-note{font-size:12px;color:#ae96c1;margin-top:-12px}.result img{margin:20px 0}.spark{color:#ffda7c}button:focus-visible{outline:3px solid #ffe796;outline-offset:4px}@media(max-width:760px){.grid{grid-template-columns:1fr;max-height:540px}.stage{padding:30px 20px}.wheel-wrap{max-width:300px}.section-head h2{font-size:20px}.toolbar{width:100%}.toolbar button{flex:1}.card .art{height:58px;width:58px;min-width:58px}}

body,input,select,button,.controls h2,h1 em{font-family:Inter,"SF Pro Display","Segoe UI",Arial,sans-serif;font-style:normal}h1,h2,.logo{letter-spacing:-.045em}.reel-shell{position:relative;margin:22px 0 12px;padding:6px;border-radius:20px;background:linear-gradient(130deg,#ffe095,#a46531 45%,#ffe4a5);box-shadow:0 0 30px #ffb83d22}.reel-window{height:210px;overflow:hidden;position:relative;border-radius:15px;background:#150c25}.reel-window:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(#120b25ee,transparent 34%,transparent 66%,#120b25ee)}.reel-line{position:absolute;left:0;right:0;top:62px;height:86px;border-top:1px solid #ffd573aa;border-bottom:1px solid #ffd573aa;background:#ffc1510b;pointer-events:none;z-index:1}.reel-row{height:86px;display:flex;align-items:center;gap:12px;padding:10px 18px;color:#fff1da;font-weight:700;font-size:14px}.reel-row img{width:52px;height:52px;object-fit:cover;border-radius:10px;flex-shrink:0}.reel-row span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.reel-shell:before,.reel-shell:after{position:absolute;top:calc(50% - 12px);color:#ffe49b;z-index:2;font-size:20px}.reel-shell:before{content:'▶';left:-13px}.reel-shell:after{content:'◀';right:-13px}.history-empty{grid-column:1/-1;text-align:center;border:1px dashed #75447e;border-radius:20px;padding:35px;color:#c0a6d2}.history-empty b{display:block;color:#ffda85;font-size:32px;margin-bottom:10px}.card.new-win{animation:arrive .6s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important}}

body{overflow-x:hidden}.stage{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;padding:42px 38px 42px 0;min-height:650px;overflow:visible}.wheel-wrap{width:620px;max-width:none;margin-left:calc(-1 * max(70px, (100vw - 1120px)/2 + 15px));aspect-ratio:1;filter:drop-shadow(0 0 45px #ce49ff55)}canvas{border:0;background:transparent;box-shadow:none}.hub{left:41%;top:41%;width:18%;height:18%;border:2px solid #ffecb2;background:radial-gradient(circle at 35% 25%,#7051a5,#160c30 75%);box-shadow:0 0 0 7px #1a0d31,0 0 0 9px #e3bc6c,0 0 35px #ffca7355;font-size:21px;letter-spacing:2px;text-align:center}.pointer{top:7px;border-top:38px solid #fff1b3;border-left-width:16px;border-right-width:16px;left:calc(50% - 16px);filter:drop-shadow(0 3px 8px #000) drop-shadow(0 0 7px #ffd86b)}.controls{position:relative;z-index:2;min-width:0}.danger{color:#ffb9ce;border-color:#a3466c;background:#35182f}.history-actions{display:flex;justify-content:flex-end;margin-top:18px}.history-actions button:disabled{opacity:.35}@media(min-width:1500px){.wheel-wrap{margin-left:-170px}}@media(min-width:761px) and (max-width:1050px){.wheel-wrap{width:530px;margin-left:-100px}.stage{min-height:570px;padding-right:24px;grid-template-columns:1fr 1fr}}@media(max-width:760px){.stage{grid-template-columns:1fr;padding:28px 20px;gap:30px;min-height:0}.wheel-wrap{width:100%;max-width:420px;margin:auto}.hub{font-size:14px}.pointer{top:0;border-top-width:25px}.toolbar button{flex:auto}.history-actions button{width:100%}}

.wheel-wrap{width:560px;margin-left:calc(-1 * max(45px, (100vw - 1120px)/2 - 10px))}.stage{min-height:600px}.pointer{top:calc(50% - 16px);left:auto;right:-5px;border:0;border-top:16px solid transparent;border-bottom:16px solid transparent;border-right:36px solid #fff0a6;filter:drop-shadow(-3px 0 5px #0008) drop-shadow(0 0 10px #ffd260)}.primary{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:14px;background:linear-gradient(110deg,#ffdc6d 0%,#ff9b46 45%,#ff50b7 100%);border:1px solid #ffe99e;box-shadow:0 5px 0 #9d345b,0 0 32px #ff5bac66,inset 0 1px 0 #fff9;font-weight:850;font-size:16px;overflow:hidden}.primary:before{content:'';position:absolute;z-index:-1;inset:-100% -40%;background:linear-gradient(100deg,transparent 40%,#fff7 50%,transparent 60%);animation:buttonShine 3s ease-in-out infinite}.spin-arrow{font-size:27px;color:#441141;text-shadow:0 0 12px #fff9;animation:arrowGo 1s ease-in-out infinite}.primary:disabled .spin-arrow{animation:none}.primary:disabled:before{animation:none}.callout{margin:14px 0 0;padding:16px 18px;border:1px solid #ffd37c77;border-radius:14px;background:linear-gradient(120deg,#69345466,#33275088);color:#ffe9a6;font-size:14px;font-weight:750;line-height:1.5}.callout[hidden]{display:none}.result-detail{padding:12px;background:#ffffff08;border-radius:12px;color:#d7c3e4;font-size:14px;line-height:1.6}.card-detail{font-size:12px;color:#c1a9d0;line-height:1.5;margin:6px 0 10px}.card{align-items:flex-start}.card-body{overflow-wrap:anywhere}@keyframes arrowGo{0%,100%{opacity:1;transform:translateX(-3px)}50%{opacity:.35;transform:translateX(5px)}}@keyframes buttonShine{0%,30%{transform:translateX(-70%)}85%,100%{transform:translateX(70%)}}@media(min-width:1500px){.wheel-wrap{margin-left:-130px}}@media(min-width:761px) and (max-width:1050px){.wheel-wrap{width:490px;margin-left:-85px}.stage{min-height:540px}}@media(max-width:760px){.wheel-wrap{width:100%;max-width:380px;margin:auto}.stage{min-height:0}.pointer{top:calc(50% - 12px);right:-8px;border-top-width:12px;border-bottom-width:12px;border-right-width:26px}.primary{font-size:14px}}@media(prefers-reduced-motion:reduce){.spin-arrow,.primary:before{animation:none}}

.wheel-wrap{width:520px}.stage{min-height:560px}@keyframes arrowGo{0%,100%{opacity:1;transform:translateX(3px)}50%{opacity:.35;transform:translateX(-5px)}}@media(min-width:761px) and (max-width:1050px){.wheel-wrap{width:455px}.stage{min-height:510px}}@media(max-width:760px){.wheel-wrap{width:100%;max-width:350px}.stage{min-height:0}}

/* Keep the wheel centred on the event reel, not on changing text blocks. */
@media(min-width:761px){.stage{position:relative}.stage>.controls{grid-column:2}.stage>.wheel-wrap{position:absolute;left:0;top:var(--reel-center,280px);transform:translateY(-50%)}.controls>#wheelCallout[hidden]{display:block;visibility:hidden}.controls>#wheelCallout{min-height:100px}}

/* Touch-first refinements; desktop layout remains unchanged. */
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}button,input,select{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}canvas{display:block}dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.result h2{overflow-wrap:anywhere}.notice{max-width:calc(100vw - 28px);width:max-content;text-align:center;bottom:calc(20px + env(safe-area-inset-bottom,0px))}#photo{max-width:100%;font-size:14px}#photo::file-selector-button{border:0;border-radius:8px;background:#624078;color:#fff;padding:10px;margin-right:8px;cursor:pointer}
@media(max-width:760px){
body{background:radial-gradient(ellipse at 0% 0%,#571c5e66,transparent 55%),#100b23;overflow-x:clip}header{padding:20px max(16px,env(safe-area-inset-right)) 16px max(16px,env(safe-area-inset-left))}.logo{font-size:22px}main{width:100%;padding:0 max(14px,env(safe-area-inset-right)) calc(30px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.hero .eyebrow{font-size:9px;letter-spacing:1.6px;line-height:1.7}.hero h1{font-size:clamp(30px,8.6vw,44px);line-height:1.12;margin:12px 0;letter-spacing:-1.5px}.hero p{font-size:13px;line-height:1.6;margin:12px auto 0;max-width:360px}.stage{display:flex;flex-direction:column;gap:25px;padding:24px 16px 22px;margin:24px 0 28px;border-radius:24px;min-height:0;box-shadow:inset 0 0 35px #8d238c18}.stage>.wheel-wrap{position:relative;inset:auto;transform:none;width:calc(100% - 16px);max-width:340px;margin:0 auto;flex:none;filter:drop-shadow(0 0 15px #ce49ff44)}.stage>.controls{width:100%;min-width:0;text-align:center}.hub{font-size:clamp(11px,3.8vw,16px);letter-spacing:1px;border-width:1px;box-shadow:0 0 0 4px #1a0d31,0 0 0 6px #e3bc6c,0 0 16px #ffca7355}.pointer{top:calc(50% - 11px);left:auto;right:-10px;border:0;border-top:11px solid transparent;border-bottom:11px solid transparent;border-right:25px solid #fff0a6}.controls .eyebrow{font-size:10px;letter-spacing:2px}.controls h2{font-size:26px;line-height:1.2;margin:8px 0 10px}.controls>p{font-size:13px;line-height:1.6;max-width:360px;margin:0 auto}.reel-shell{margin:18px 0 14px;border-radius:17px;padding:4px;box-shadow:0 0 20px #ffb83d22}.reel-window{border-radius:13px}.reel-row{padding:10px 14px;gap:10px;font-size:13px;text-align:left}.reel-row img{height:48px;width:48px}.reel-shell:before{left:-10px}.reel-shell:after{right:-10px}.reel-shell:before,.reel-shell:after{font-size:16px}.primary{min-height:60px;padding:14px 12px;gap:10px;border-radius:14px;margin:10px 0 14px;font-size:13px;line-height:1.4;letter-spacing:.4px}.primary>span:first-child{max-width:245px}.spin-arrow{font-size:26px;flex-shrink:0}.muted{font-size:11px;line-height:1.6}.callout{font-size:13px;text-align:left;padding:12px 14px;line-height:1.6}.controls>#wheelCallout[hidden]{display:none}.section-head{gap:16px;margin:0 0 12px}.section-head h2{font-size:23px;line-height:1.3}.count{font-size:12px;white-space:nowrap}.toolbar{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%}.toolbar button{font-size:12px;min-height:48px;padding:11px 10px;line-height:1.45;border-radius:12px}.toolbar #deleteBase{grid-column:1/-1;min-height:44px}.filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;gap:8px;padding:4px 1px 10px;margin:6px 0 16px;scrollbar-width:none}.filters::-webkit-scrollbar{display:none}.chip{flex:none;min-height:44px;padding:10px 15px;font-size:12px}.list-note{font-size:11px;line-height:1.6;margin:0 0 14px}.grid{grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible;padding:0;gap:12px}.card{padding:12px;gap:11px;border-radius:16px;min-width:0}.card .art{width:56px;height:56px;min-width:56px}.card-body{padding-right:14px;min-width:0}.card h3{font-size:14px;line-height:1.45;margin:5px 0}.card-detail{font-size:12px;line-height:1.6}.category{font-size:9px;line-height:1.5;letter-spacing:.8px}.delete{top:0;right:0;min-height:44px;min-width:40px;background:transparent;font-size:23px;padding:0;border-radius:0 15px 0 10px}.history-empty{padding:25px 16px;font-size:13px;line-height:1.6}.history-actions{margin-top:16px}.history-actions button{min-height:48px;font-size:14px}footer{font-size:11px;line-height:1.6;padding:0 8px;margin-top:30px}
dialog{width:calc(100% - 20px);max-width:470px;max-height:calc(100dvh - 24px - env(safe-area-inset-top));padding:24px 20px calc(20px + env(safe-area-inset-bottom));border-radius:22px;scroll-padding:20px;box-shadow:0 12px 60px #0008}dialog::backdrop{backdrop-filter:blur(3px)}dialog h2{font-size:24px;line-height:1.3}input,select{font-size:16px;min-height:48px;padding:12px;max-width:100%;border-radius:11px}label{font-size:13px;line-height:1.5}dialog button{min-height:48px;padding:13px 16px;font-size:14px}.actions{gap:9px}.actions button{flex:1}.result>.eyebrow{font-size:9px;line-height:1.7;letter-spacing:1.4px}.result img{height:clamp(130px,25dvh,210px);margin:16px 0;object-fit:contain;background:#160c25}.result h2{font-size:23px}.result #resultCategory{font-size:12px;margin:10px 0}.result-detail{font-size:13px;padding:12px;line-height:1.6}.result #resultCallout{font-size:13px}.result>div:last-child{display:grid!important;grid-template-columns:1fr;gap:10px!important;margin-top:18px!important}.result #closeResult{background:linear-gradient(110deg,#ffcd63,#ff9864);color:#40132e;font-weight:800}.result #spinAgain{min-height:50px}.notice{font-size:13px;padding:12px 16px;border:1px solid #df8ae3;line-height:1.5}
}
@media(max-width:360px){.stage{padding:20px 12px;gap:22px}.toolbar{grid-template-columns:1fr}.toolbar #deleteBase{grid-column:auto}.primary{font-size:12px;gap:7px}.hero h1{font-size:29px}.card{gap:9px;padding:10px}.card .art{width:46px;height:46px;min-width:46px}.result h2{font-size:21px}}
@media(max-width:760px) and (max-height:600px) and (orientation:landscape){dialog{max-width:580px;padding:18px}.result img{height:100px}.result>div:last-child{grid-template-columns:1fr 1fr}.stage>.wheel-wrap{max-width:250px}}
@media(hover:none){button:hover:not(:disabled){transform:none;filter:none}button:active:not(:disabled){filter:brightness(1.12);transform:scale(.98)}}
.support-author{margin:48px 0 0;display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:36px;align-items:center;padding:30px;border:1px solid #a658a966;border-radius:26px;background:radial-gradient(ellipse at 100% 0%,#8b357c44,transparent 70%),linear-gradient(135deg,#251536,#18152e);position:relative;overflow:hidden}.author-portrait{display:block;width:100%;height:auto;aspect-ratio:515/680;border-radius:18px;object-fit:contain;box-shadow:0 10px 30px #0004;border:1px solid #f4c98155}.support-copy{min-width:0}.support-copy h2{font-size:clamp(23px,3vw,34px);line-height:1.25;margin:12px 0 16px;color:#fff1dc}.support-copy .author-message{font-size:17px;line-height:1.8;color:#e8cfea;max-width:620px}.support-copy .author-ask{font-size:14px;line-height:1.8;color:#bda8cd;max-width:560px}.donate-button{margin:10px 0;display:inline-flex;align-items:center;gap:12px;min-height:52px;padding:14px 20px;border:1px solid #e0af6e;background:linear-gradient(110deg,#ffcf78,#fa9eb8);color:#431c39;font-weight:800}.donate-button:disabled{opacity:.8;cursor:not-allowed}.soon-badge{font-size:10px;letter-spacing:1px;text-transform:uppercase;border:1px solid #58334c55;padding:4px 7px;border-radius:6px}.support-copy .support-note{font-size:11px;color:#aa94ba;line-height:1.6;margin:3px 0 0}@media(max-width:760px){.support-author{grid-template-columns:1fr;gap:22px;padding:24px 18px;margin-top:32px;border-radius:22px;text-align:center}.author-portrait{max-width:240px;justify-self:center;border-radius:16px}.support-copy .eyebrow{font-size:10px;letter-spacing:2px}.support-copy h2{font-size:25px;margin:10px 0 14px}.support-copy .author-message{font-size:15px;line-height:1.8}.support-copy .author-ask{font-size:13px;line-height:1.8}.donate-button{width:100%;justify-content:center;min-height:54px;font-size:14px;padding:14px 10px}.support-copy .support-note{font-size:11px}}
.hub{font-size:16px;letter-spacing:1px;line-height:1.15}@media(max-width:760px){.hub{font-size:clamp(9px,2.8vw,12px);letter-spacing:.5px}}

.history-actions{gap:12px;flex-wrap:wrap;align-items:center}.download-events{background:linear-gradient(110deg,#5f3298,#a43b98);border-color:#d58cde;color:#fff1ff}.history-actions button{min-height:48px}@media(max-width:760px){.history-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.history-actions button{font-size:12px;padding:12px 9px;line-height:1.5;width:100%}}@media(max-width:360px){.history-actions{grid-template-columns:1fr}}

@media(max-width:760px){.stage>.wheel-wrap{contain:layout style} .grid .card{content-visibility:auto;contain-intrinsic-size:auto 180px} .history-actions button{min-height:48px}}
@media(prefers-reduced-motion:reduce){.primary:before,.spin-arrow{animation:none!important}}

@font-face{font-family:AppArabic;src:url('fonts/arabic.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:AppHindi;src:url('fonts/hindi.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:AppChinese;src:url('fonts/chinese.woff2?v=full-ui') format('woff2');font-display:swap;font-weight:100 900}
header{gap:16px}.header-right{display:flex;gap:20px;align-items:center;min-width:0}.language-control{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 12px;border:1px solid #9c579b88;border-radius:12px;background:#251336;flex-shrink:0;direction:ltr}.language-control>span{color:#ffdc86;font-size:20px}.language-control select{width:auto;min-height:34px;max-width:155px;background:#251336;border:0;padding:6px;font-size:13px;cursor:pointer;color:#ffedf8}.language-control select:focus-visible{outline:2px solid #ffdc86}.language-control option{background:#251336;color:#fff}.reel-window,.wheel-wrap{direction:ltr}.card-body{min-width:0}.category,.eyebrow,.card h3,.callout,.controls h2{overflow-wrap:anywhere}.primary{overflow-wrap:anywhere}.toolbar button{overflow-wrap:anywhere}.logo{white-space:nowrap}
html[lang="ar"] body,html[lang="ar"] button,html[lang="ar"] input,html[lang="ar"] select,html[lang="ar"] h1,html[lang="ar"] h2,html[lang="ar"] h1 em{font-family:AppArabic,Arial,sans-serif}html[lang="hi"] body,html[lang="hi"] button,html[lang="hi"] input,html[lang="hi"] select,html[lang="hi"] h1,html[lang="hi"] h2,html[lang="hi"] h1 em{font-family:AppHindi,Arial,sans-serif}html[lang="zh-CN"] body,html[lang="zh-CN"] button,html[lang="zh-CN"] input,html[lang="zh-CN"] select,html[lang="zh-CN"] h1,html[lang="zh-CN"] h2,html[lang="zh-CN"] h1 em{font-family:AppChinese,Arial,sans-serif}
html[dir="rtl"] .stage{direction:ltr}html[dir="rtl"] .controls,html[dir="rtl"] .reel-row{direction:rtl}html[dir="rtl"] .controls>p,html[dir="rtl"] .card-body,html[dir="rtl"] .callout,html[dir="rtl"] .support-copy{text-align:right}html[dir="rtl"] .hub{direction:rtl}html[dir="rtl"] .card-body{padding-right:0;padding-left:25px}html[dir="rtl"] .delete{right:auto;left:0}html[dir="rtl"] .eyebrow{letter-spacing:0}html[dir="rtl"] .count{margin-left:0;margin-right:8px}html[dir="rtl"] h1,html[dir="rtl"] h2,html[lang="hi"] h1,html[lang="hi"] h2{letter-spacing:0;line-height:1.5}html[lang="ar"] .primary,html[lang="hi"] .primary{line-height:1.8}html[dir="rtl"] .primary{direction:rtl}
@media(max-width:1000px){header .header-right>small{display:none}}
@media(max-width:760px){header{padding-top:16px;padding-bottom:16px;gap:8px;align-items:center}.logo{font-size:19px}.header-right{gap:0}.language-control{padding:4px 5px 4px 8px;gap:3px;border-radius:10px}.language-control select{font-size:12px;max-width:125px;min-height:36px;padding:5px}.language-control>span{font-size:17px}.toolbar button{min-height:50px}.section-head h2{overflow-wrap:anywhere}.primary>span:first-child{max-width:calc(100% - 38px)}html[dir="rtl"] .card-body{padding-left:14px;padding-right:0}.result #closeResult,.result #spinAgain{height:auto;min-height:52px}html[lang="hi"] .hub{font-size:10px;line-height:1.7}.support-copy h2{overflow-wrap:anywhere}.card-footer{flex-wrap:wrap}}
@media(max-width:360px){.logo{font-size:17px}.language-control select{max-width:103px}.language-control>span{display:none}header{gap:5px}}

.donate-button:focus-visible{outline:3px solid #ffe69c;outline-offset:4px}.donate-button:hover{filter:brightness(1.08)}

.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap!important;border:0!important}.file-picker{display:flex;align-items:center;gap:12px;min-height:48px}.file-picker button{flex-shrink:0;min-height:46px}.file-picker>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#baa3cb;font-size:12px}.field-error{color:#ffadbf;font-size:13px;margin:7px 0;line-height:1.6}#confirmDialog{max-width:480px}#confirmMessage{color:#d9c3e7;line-height:1.8;overflow-wrap:anywhere}#confirmAccept{background:linear-gradient(110deg,#da477f,#b3379b)}@media(max-width:760px){.file-picker{gap:10px;flex-wrap:wrap}.file-picker button{min-height:48px}.file-picker>span{max-width:100%}#confirmDialog{width:calc(100% - 24px)}}
