.raffle.calc{display:block}.raffle .rf-wrap{max-width:640px;margin:0 auto}.raffle .rf-wrap .result,.raffle .rf-two .result{margin-top:0}@media (width>=900px){.raffle .rf-two:not([hidden]){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}}.raffle .rf-more{color:var(--text-muted);margin:0 0 12px;font-size:.875rem}.raffle textarea,.raffle .rf-tier-name,.raffle #at{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;border-radius:10px;padding:10px 12px}.raffle textarea{resize:vertical;line-height:1.6}.raffle .rf-read-btn{width:100%;min-height:44px;margin-top:8px}.rf-steps{max-width:640px;color:var(--text-muted);gap:6px;margin:0 auto 16px;padding:0;font-size:.8125rem;list-style:none;display:flex}.rf-steps li{border-bottom:2px solid var(--border);white-space:nowrap;flex:1;align-items:center;gap:6px;min-width:0;padding:0 0 8px;display:flex}.rf-steps li span{background:var(--surface-2);border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:.75rem;font-weight:700;display:grid}.rf-steps li.on{color:var(--text);border-color:var(--accent);font-weight:700}.rf-steps li.on span{background:var(--accent);color:var(--bg)}.rf-steps li.done{color:var(--text);border-color:var(--text-muted)}.rf-drop{border:1.5px dashed var(--border);text-align:center;border-radius:12px;justify-items:center;gap:8px;margin:0 0 14px;padding:22px 14px;display:grid}.rf-drop.over{border-color:var(--accent);background:var(--accent-soft)}.rf-drop.small{padding:14px}.rf-drop .btn{width:100%;max-width:320px;min-height:48px}.rf-drop p{color:var(--text-muted);margin:0;font-size:.875rem}.rf-read{background:var(--surface-2);border-radius:10px;margin:0 0 14px;padding:10px 12px;font-size:.9rem;line-height:1.55}.rf-read:empty{display:none}.rf-link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;min-height:24px;padding:0;font-weight:600;text-decoration:underline}.rf-list{border:1px solid var(--border);border-radius:10px;margin:0 0 14px}.rf-list-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;font-size:.875rem;font-weight:600;display:flex}.rf-list ol{max-height:420px;margin:0;padding:0;list-style:none;overflow-y:auto}.rf-list li{border-bottom:1px solid var(--border);align-items:center;gap:10px;min-height:40px;padding:0 12px;display:flex}.rf-list li:last-child{border-bottom:0}.rf-list li .n{min-width:22px;color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:.8125rem}.rf-list li.more{color:var(--text-muted);font-size:.875rem}.rf-who{overflow-wrap:anywhere;align-items:baseline;gap:6px;min-width:0;display:inline-flex}.rf-who i{color:var(--text-muted);font-variant-numeric:tabular-nums;flex:none;font-size:.8125rem;font-style:normal}.raffle .rf-tier{align-items:center;gap:8px;margin:0 0 8px;display:flex}.raffle .rf-tier-name{flex:1;min-width:0;min-height:44px}.raffle .rf-fixed{min-width:0;color:var(--text-muted);flex:1;font-size:.9rem}.raffle .rf-tier .num-stepper{flex:none;width:auto;margin:0}.raffle .rf-tier .num-stepper input{width:68px}.calc.raffle .field-error #tiers input:not([aria-invalid=true]){box-shadow:none;animation:none;border-color:var(--border)!important}.raffle .rf-unit{flex:none}.raffle .rf-del{width:44px;height:44px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:grid}.raffle .rf-del[hidden]{display:none}.raffle .rf-tier:has(>.rf-del[hidden]):after{content:"";flex:none;width:44px}.raffle .rf-del-gap{flex:none;width:44px}.raffle #step-opts{container-type:inline-size}@container (width<=380px){.raffle .rf-tier{flex-wrap:wrap;margin-bottom:18px}.raffle .rf-tier-name{flex:calc(100% - 52px)}.raffle .rf-fixed{flex:100%}.raffle .rf-del-gap,.raffle .rf-tier:has(>.rf-del[hidden]):after{display:none}.raffle .rf-tier .rf-del{order:1}.raffle .rf-tier .num-stepper{order:2}.raffle .rf-tier .rf-unit{order:3}}.raffle .rf-del:hover{background:var(--surface-2);color:var(--text)}.raffle .rf-add{min-height:44px;margin:0 0 6px}.raffle .rf-when{margin-top:-4px}.raffle .rf-go{width:100%;min-height:48px;margin:6px 0 12px}.rf-drawing{text-align:center;justify-items:center;gap:8px;padding:26px 12px 30px;display:grid}.rf-drawing strong{font-size:1.15rem}.rf-drawing>span{color:var(--text-muted);font-size:.875rem}.rf-spin{gap:4px;width:min(100%,260px);height:132px;margin:0 0 8px;display:grid;overflow:hidden;-webkit-mask-image:linear-gradient(#0000,#000 35% 65%,#0000);mask-image:linear-gradient(#0000,#000 35% 65%,#0000)}.rf-spin span{background:var(--surface-2);white-space:nowrap;border-radius:8px;place-items:center;height:40px;font-size:1.05rem;font-weight:600;display:grid;overflow:hidden}.rf-spin span:nth-child(3){background:var(--accent-soft);color:var(--accent)}.rf-bar{background:var(--surface-2);border-radius:999px;width:min(100%,260px);height:6px;overflow:hidden}.rf-bar i{background:var(--accent);border-radius:999px;width:0;height:100%;transition:width .16s linear;display:block}.raffle .rf-result{margin:0 0 14px}.raffle .rf-win-head{align-items:flex-start;gap:10px;margin:0 0 10px;display:flex}.raffle .rf-win-title{flex-wrap:wrap;flex:auto;align-items:baseline;gap:4px 10px;min-width:0;padding-top:9px;display:flex}.raffle .rf-win-head strong{font-size:1.25rem}.raffle .rf-win-head .when{color:var(--text-muted);font-size:.85rem}.raffle .rf-win-head .rf-link{white-space:nowrap;flex:none;min-height:44px;margin-left:auto;font-size:.875rem}.raffle .rf-rank{border-top:1px solid var(--border);gap:10px;padding:10px 0;display:flex}.raffle .rf-rank .tag{box-sizing:border-box;background:var(--surface-2);text-align:center;overflow-wrap:anywhere;border-radius:13px;flex:none;align-self:flex-start;min-width:44px;max-width:40%;min-height:26px;padding:4px 8px;font-size:.8125rem;font-weight:700;line-height:1.4}.raffle .rf-rank.first .tag{background:var(--accent);color:var(--bg)}.raffle .rf-rank .who{flex-wrap:wrap;gap:6px 16px;min-width:0;font-size:1rem;display:flex}.raffle .rf-rank.first .who{font-size:1.2rem}.raffle .rf-rank.spare{color:var(--text-muted)}.raffle .rf-rank.spare .who{font-size:.9rem}.raffle .rf-proof{border:1px solid var(--border);background:var(--surface);border-radius:12px;margin:0 0 12px;padding:14px}.raffle .rf-proof-head{justify-content:space-between;align-items:center;gap:8px;margin:0 0 10px;display:flex}.raffle .rf-proof-head strong{font-size:1rem}.raffle .rf-proof-head .ok,.raffle .rf-proof-head .wait{white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.78rem;font-weight:700}.raffle .rf-proof-head .ok{background:color-mix(in srgb, var(--positive) 16%, transparent);color:var(--positive)}.raffle .rf-proof-head .wait{background:var(--surface-2);color:var(--text-muted)}.raffle .rf-proof dl,.raffle #verdict dl{margin:0}.raffle .rf-proof dl>div,.raffle #verdict dl>div{border-top:1px solid var(--border);grid-template-columns:96px minmax(0,1fr);gap:8px;padding:7px 0;font-size:.875rem;display:grid}.raffle .rf-proof dt,.raffle #verdict dt{color:var(--text-muted)}.raffle .rf-proof dd,.raffle #verdict dd{overflow-wrap:anywhere;min-width:0;margin:0}.raffle code{font-family:var(--font-mono);font-variant-numeric:tabular-nums;font-size:.8125rem}.raffle .rf-proof-foot{border-top:1px solid var(--border);align-items:center;gap:12px;padding:10px 0 0;display:flex}.raffle .rf-proof-foot p{color:var(--text-muted);margin:0;font-size:.8125rem;line-height:1.55}.raffle .rf-qr{width:84px;height:84px;image-rendering:pixelated;background:#fff;border-radius:6px;flex:none}.raffle .rf-big{gap:2px;padding:4px 0 12px;display:grid}.raffle .rf-big span{color:var(--text-muted);font-size:.8125rem}.raffle .rf-big b{font-size:clamp(1.4rem,6vw,2rem);line-height:1.2}.raffle .rf-big i{color:var(--accent);font-size:.875rem;font-style:normal;font-weight:600}.raffle .rf-actions{grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;display:grid}.raffle .rf-actions .btn{min-height:48px;padding:0 8px}.raffle .rf-actions .btn:first-child,.raffle .rf-actions .btn:nth-child(2):last-child{grid-column:1/-1}.raffle .rf-how{margin:0 0 12px;font-size:.875rem}.raffle .rf-how summary{box-sizing:border-box;cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}.raffle .rf-how ol{color:var(--text-muted);overflow-wrap:anywhere;margin:0;padding-left:1.4em;line-height:1.6}.raffle .rf-verdict{border-radius:12px;gap:4px;margin:0 0 12px;padding:14px;display:grid}.raffle .rf-verdict strong{font-size:1.3rem}.raffle .rf-verdict span{font-size:.9rem;line-height:1.55}.raffle .rf-verdict.good{background:color-mix(in srgb, var(--positive) 14%, transparent)}.raffle .rf-verdict.good strong{color:var(--positive)}.raffle .rf-verdict.bad{background:color-mix(in srgb, var(--negative) 12%, transparent)}.raffle .rf-verdict.bad strong,.raffle b.bad{color:var(--negative)}@media (width>=764px){.raffle .rf-proof dl>div{grid-template-columns:130px minmax(0,1fr)}}@media (width<=419.98px){.raffle .rf-proof dl>div,.raffle #verdict dl>div{grid-template-columns:minmax(0,1fr);gap:2px}}@media (prefers-reduced-motion:reduce){.rf-bar i{transition:none}}
