.wheel-page{max-width:1120px}
.wheel-hero-art{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;font-size:64px;line-height:1;color:#f5a623;background:conic-gradient(#f24646,#ff9c32,#ffdc42,#49bb69,#27b7be,#4285e8,#8957cf,#ec5798,#f24646)}
.wheel-card{max-width:1200px;margin:0 auto 38px;padding:30px 34px 32px;border:1px solid #e8ede7;border-radius:24px;background:#fff;box-shadow:var(--shadow);text-align:left;color:#25352b}
.wheel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;margin-bottom:20px}.wheel-toolbar h2,.wheel-editor-heading h2{font-size:22px;margin:0;letter-spacing:-.4px;color:#25382c}.wheel-toolbar .game-kicker{margin-bottom:5px}.wheel-count{border-radius:99px;padding:8px 12px;background:#eff6ef;color:#52685a;font-size:13px;font-weight:700;white-space:nowrap}
.wheel-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:30px;align-items:start}.wheel-main{min-width:0;text-align:center}.wheel-stage{position:relative;width:min(100%,590px);aspect-ratio:1;margin:0 auto 18px}.wheel-canvas{display:block;width:100%;height:100%;border-radius:50%;filter:drop-shadow(0 10px 20px #253b2c22);transform:rotate(0deg);transition:transform 4.5s cubic-bezier(.12,.72,.12,1);cursor:pointer;outline-offset:4px}.wheel-pointer{position:absolute;z-index:2;left:50%;top:-4px;width:0;height:0;transform:translateX(-50%);border-left:19px solid transparent;border-right:19px solid transparent;border-top:36px solid #263b30;border-bottom:0;filter:drop-shadow(0 2px 3px #0003)}
.wheel-result{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:50px;margin:0 auto 10px}.wheel-result-label{font-size:14px;color:#627166}.wheel-result strong{font-size:21px;color:#25382c}.wheel-result>span:last-child:not(.wheel-result-label){font:700 14px ui-monospace,Consolas,monospace;color:#52665a}.wheel-result-swatch{width:22px;height:22px;border:1px solid #0002;border-radius:50%;box-shadow:0 1px 3px #0002}.wheel-spin{font-size:17px;padding:14px 24px;min-width:220px}.wheel-message{font-size:14px;color:#52665a;margin:10px 0 16px;min-height:20px}.wheel-history-wrap{max-width:680px;margin:22px auto 5px;text-align:left}.wheel-history-wrap h3{font-size:16px;margin:0 0 10px;color:#25382c}.wheel-history{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}.wheel-history li{display:flex;align-items:center;gap:8px;padding:8px 11px;border-radius:10px;background:#f3f6f2;color:#405247;font-size:13px}.wheel-history li i{width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px #0002}.wheel-history-empty{color:#718076!important}
.wheel-editor{max-width:none;margin:0;padding:23px;border:1px solid #e4ebe3;border-radius:18px;background:#f8fbf8;text-align:left}.wheel-editor-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:15px}.wheel-editor-heading .eyebrow{margin-bottom:6px}.wheel-editor-heading>span{color:#68786d;font-size:12px;white-space:nowrap}.wheel-title-input,.wheel-kind-select{display:block;width:100%;min-height:44px;margin:0 0 15px;border:1px solid #d8e2d8;border-radius:10px;padding:10px 12px;background:#fff;color:#26372d;font:15px Arial,sans-serif}.wheel-title-input:focus-visible,.wheel-kind-select:focus-visible,.wheel-editor textarea:focus-visible{outline:3px solid #91cba4;outline-offset:2px}.wheel-presets{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:17px}.wheel-presets button{border:1px solid #dfe8df;border-radius:10px;background:#fff;padding:9px 12px;color:#385242;font-size:13px;font-weight:700;cursor:pointer}.wheel-presets button:hover,.wheel-presets button[aria-pressed="true"]{border-color:#5ca77a;background:#eaf6ed;color:#215d3a}.wheel-entry-label{display:block;margin:0 0 7px;color:#33463a;font-size:14px;font-weight:700}.wheel-editor textarea{display:block;width:100%;min-height:190px;resize:vertical;border:1px solid #d8e2d8;border-radius:12px;padding:13px 14px;background:#fff;color:#26372d;font:14px/1.7 Arial,sans-serif}.wheel-entry-help,.wheel-editor-message{font-size:12px;color:#617166;line-height:1.55;margin:8px 0 0}.wheel-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.wheel-editor-actions .secondary-action{font-size:13px;padding:10px 13px}.wheel-editor-message{min-height:17px;color:#28724a}.wheel-sound{display:block;margin-top:14px;border:1px solid #d5e4d7;border-radius:10px;background:#fff;padding:10px 13px;color:#315b3d;font-size:13px;font-weight:700;cursor:pointer}.wheel-sound:hover{background:#edf7ee}.wheel-local-note{font-size:12px;color:#68786d;line-height:1.5;margin:12px 0 0}.wheel-guide{padding-top:18px}.wheel-guide h2{font-size:25px}.wheel-guide h3{font-size:19px;margin:22px 0 8px}.wheel-guide p{font-size:15px;line-height:1.75}.wheel-faq{padding-top:22px}
.wheel-confetti{position:fixed;inset:0;z-index:1000;overflow:hidden;pointer-events:none}.confetti-piece{position:absolute;top:-18px;width:9px;height:14px;border-radius:2px;animation:wheel-confetti-fall var(--fall) ease-in var(--delay) forwards}@keyframes wheel-confetti-fall{to{transform:translate3d(var(--drift),110vh,0) rotate(820deg);opacity:.12}}
html[data-color-mode="dark"] .wheel-card{background:#202923;border-color:#3c4a40;color:#edf3ee}html[data-color-mode="dark"] .wheel-toolbar h2,html[data-color-mode="dark"] .wheel-editor-heading h2,html[data-color-mode="dark"] .wheel-result strong,html[data-color-mode="dark"] .wheel-history-wrap h3{color:#f0f6f1}.wheel-count{background:#eff6ef;color:#52685a}.wheel-result-label,.wheel-message{color:#52665a}.wheel-history li{background:#f3f6f2;color:#405247}.wheel-editor{background:#f8fbf8;border-color:#e4ebe3}.wheel-editor-heading>span,.wheel-entry-help,.wheel-local-note{color:#617166}.wheel-editor textarea,.wheel-title-input,.wheel-kind-select{background:#fff;color:#26372d;border-color:#d8e2d8}.wheel-entry-label{color:#33463a}.wheel-presets button{background:#fff;border-color:#dfe8df;color:#385242}.wheel-editor-actions .secondary-action{background:#fff;border-color:#dfe8df;color:#385242}.wheel-guide p{color:inherit}
html[data-color-mode="dark"] .wheel-count{background:#303c33;color:#dce8df}html[data-color-mode="dark"] .wheel-result-label,html[data-color-mode="dark"] .wheel-message{color:#c6d2c9}html[data-color-mode="dark"] .wheel-history li{background:#2b362e;color:#e2ece4}html[data-color-mode="dark"] .wheel-history-empty{color:#c6d2c9!important}html[data-color-mode="dark"] .wheel-editor{background:#242e27;border-color:#405044}html[data-color-mode="dark"] .wheel-editor-heading>span,html[data-color-mode="dark"] .wheel-entry-help,html[data-color-mode="dark"] .wheel-local-note{color:#cad5cc}html[data-color-mode="dark"] .wheel-editor textarea,html[data-color-mode="dark"] .wheel-title-input,html[data-color-mode="dark"] .wheel-kind-select{background:#172019;color:#edf3ee;border-color:#495a4d}html[data-color-mode="dark"] .wheel-entry-label{color:#edf3ee}html[data-color-mode="dark"] .wheel-presets button,html[data-color-mode="dark"] .wheel-editor-actions .secondary-action,html[data-color-mode="dark"] .wheel-sound{background:#2c382f;border-color:#48574b;color:#e4eee6}html[data-color-mode="dark"] .wheel-presets button:hover,html[data-color-mode="dark"] .wheel-presets button[aria-pressed="true"],html[data-color-mode="dark"] .wheel-sound:hover{background:#244431;color:#c9f3d4}
@media(max-width:850px){.wheel-columns{grid-template-columns:1fr;gap:20px}.wheel-editor{max-width:760px;width:100%;margin:0 auto}.wheel-stage{width:min(100%,540px)}}
@media(max-width:650px){.wheel-card{padding:20px 14px;border-radius:18px}.wheel-toolbar h2{font-size:19px}.wheel-stage{width:min(100%,420px)}.wheel-pointer{border-left-width:15px;border-right-width:15px;border-top-width:29px;border-bottom-width:0}.wheel-result{gap:7px}.wheel-result strong{font-size:18px}.wheel-spin{width:100%;min-width:0}.wheel-editor{padding:17px 13px}.wheel-editor-heading{align-items:flex-start;flex-direction:column}.wheel-presets button{flex:1 1 105px}.wheel-editor-actions .secondary-action{flex:1 1 auto}.wheel-guide h2{font-size:22px}.wheel-guide h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.wheel-canvas{transition:none}.confetti-piece{animation-duration:.01ms}}

/* Wheel choice controls and the template library. */
.wheel-editor-intro{margin:0 0 14px;color:#617166;font-size:14px;line-height:1.55}.wheel-advanced,.wheel-bulk-editor{margin-top:12px;border:1px solid #dce6dc;border-radius:13px;background:#fff;overflow:hidden}.wheel-advanced>summary,.wheel-bulk-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;color:#2e4436;font-size:14px;font-weight:800;cursor:pointer;list-style:none}.wheel-advanced>summary::-webkit-details-marker,.wheel-bulk-editor>summary::-webkit-details-marker{display:none}.wheel-advanced>summary::after,.wheel-bulk-editor>summary::after{content:"⌄";color:#548368;font-size:18px}.wheel-advanced[open]>summary::after,.wheel-bulk-editor[open]>summary::after{content:"⌃"}.wheel-advanced>summary span{margin-left:auto;color:#68786d;font-size:11px;font-weight:500}.wheel-advanced>.wheel-entry-help{margin:0;padding:0 14px 10px}.wheel-option-list{display:grid;gap:6px;max-height:360px;overflow:auto;padding:0 10px 10px}.wheel-option-row{display:grid;grid-template-columns:23px minmax(70px,1fr) 39px repeat(4,28px);align-items:center;gap:5px;min-height:42px;padding:4px 6px;border:1px solid color-mix(in srgb,var(--slice-color,#dbe5dc) 44%,#fff);border-radius:9px;background:color-mix(in srgb,var(--slice-color,#e8eee9) 17%,#fff)}.wheel-option-number{color:#627166;text-align:center;font-size:11px;font-weight:800}.wheel-option-label{width:100%;min-width:0;height:32px;border:1px solid #dce6dc;border-radius:7px;padding:5px 8px;background:#fff;color:#26372d;font:600 13px Arial,sans-serif}.wheel-option-color{width:37px;height:32px;padding:2px;border:1px solid #d6e0d6;border-radius:7px;background:#fff;cursor:pointer}.wheel-option-action{width:28px;height:30px;padding:0;border:1px solid #dbe5dc;border-radius:7px;background:#ffffffd9;color:#425b49;font-size:15px;font-weight:700;cursor:pointer}.wheel-option-action:hover{border-color:#77ae89;background:#ecf7ee;color:#176443}.action-delete:hover{border-color:#e5a1a1;background:#fff0f0;color:#a43232}.wheel-add-option{display:block;margin:0 10px 10px;padding:9px 12px;font-size:13px}.wheel-add-option:disabled{opacity:.45;cursor:not-allowed}.wheel-bulk-editor{padding-bottom:12px}.wheel-bulk-editor>summary{padding:12px 14px}.wheel-bulk-editor .wheel-entry-label,.wheel-bulk-editor textarea,.wheel-bulk-editor .wheel-entry-help{width:calc(100% - 28px);margin-left:14px;margin-right:14px}.wheel-bulk-editor textarea{min-height:145px}.wheel-bulk-editor .wheel-editor-actions{margin-left:14px;margin-right:14px}.wheel-editor-actions .secondary-action{min-height:39px}.wheel-local-note{font-size:12px}
.wheel-template-library{padding:34px 0 46px}.wheel-template-library .section-heading{text-align:left;margin-bottom:18px}.wheel-template-library .section-heading h2{font-size:28px;margin:0 0 7px}.wheel-template-library .section-heading>p:last-child{max-width:700px;color:#68766c;font-size:15px;line-height:1.6}.wheel-template-categories{display:flex;gap:8px;overflow:auto;padding:4px 0 13px;margin-bottom:12px;scrollbar-width:thin}.wheel-template-categories button{flex:0 0 auto;border:1px solid #dfe8df;border-radius:99px;background:#fff;padding:10px 14px;color:#475c4c;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.wheel-template-categories button[aria-pressed="true"],.wheel-template-categories button:hover{border-color:#263b30;background:#263b30;color:#fff}.wheel-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wheel-template-card{display:grid;grid-template-columns:64px minmax(0,1fr) 26px;align-items:center;gap:13px;min-width:0;min-height:106px;padding:12px;border:1px solid #dfe7e3;border-radius:16px;background:#f8faf9;text-align:left;cursor:pointer;transition:border-color .16s,background .16s,transform .16s}.wheel-template-card:hover{transform:translateY(-2px);border-color:#8cb89a;background:#f1f8f2}.wheel-template-card[aria-pressed="true"]{border-color:#36805a;background:#edf7ef;box-shadow:inset 0 0 0 1px #36805a}.wheel-template-art{position:relative;display:block;width:60px;height:60px;border-radius:50%;background:conic-gradient(hsl(var(--template-hue) 82% 58%),hsl(calc(var(--template-hue) + 45) 82% 57%),hsl(calc(var(--template-hue) + 90) 84% 58%),hsl(calc(var(--template-hue) + 145) 70% 46%),hsl(calc(var(--template-hue) + 205) 80% 55%),hsl(calc(var(--template-hue) + 260) 72% 60%),hsl(var(--template-hue) 82% 58%));box-shadow:0 6px 14px #243b2d20,inset 0 0 0 3px #fff}.wheel-template-art::before{position:absolute;top:-3px;left:50%;width:0;height:0;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-top:13px solid #263b30;content:""}.wheel-template-art::after{position:absolute;top:50%;left:50%;width:13px;height:13px;transform:translate(-50%,-50%);border:2px solid #e7ede8;border-radius:50%;background:#fff;content:""}.wheel-template-copy{display:grid;gap:4px;min-width:0}.wheel-template-copy small{color:#39805d;font-size:9px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.wheel-template-copy strong{color:#25382c;font-size:16px;line-height:1.2}.wheel-template-copy>span{color:#66766b;font-size:12px;line-height:1.4}.wheel-template-arrow{display:grid;place-items:center;width:27px;height:27px;border:1px solid #dfe8df;border-radius:50%;color:#5c8066;font-size:15px}
html[data-color-mode="dark"] .wheel-editor-intro,html[data-color-mode="dark"] .wheel-advanced>summary span{color:#cad5cc}html[data-color-mode="dark"] .wheel-advanced,html[data-color-mode="dark"] .wheel-bulk-editor{background:#1b241e;border-color:#45554a}html[data-color-mode="dark"] .wheel-advanced>summary,html[data-color-mode="dark"] .wheel-bulk-editor>summary{color:#edf3ee}html[data-color-mode="dark"] .wheel-option-row{border-color:color-mix(in srgb,var(--slice-color,#45554a) 38%,#202923);background:color-mix(in srgb,var(--slice-color,#45554a) 22%,#202923)}html[data-color-mode="dark"] .wheel-option-number{color:#cfdbd1}html[data-color-mode="dark"] .wheel-option-label{background:#172019;border-color:#45554a;color:#edf3ee}html[data-color-mode="dark"] .wheel-option-color{background:#172019;border-color:#45554a}html[data-color-mode="dark"] .wheel-option-action{background:#26332a;border-color:#45554a;color:#e4eee6}html[data-color-mode="dark"] .wheel-template-categories button{background:#202923;border-color:#45554a;color:#e0eae2}html[data-color-mode="dark"] .wheel-template-categories button[aria-pressed="true"],html[data-color-mode="dark"] .wheel-template-categories button:hover{background:#d8f0df;border-color:#d8f0df;color:#20392a}html[data-color-mode="dark"] .wheel-template-card{background:#202923;border-color:#45554a}html[data-color-mode="dark"] .wheel-template-card:hover,html[data-color-mode="dark"] .wheel-template-card[aria-pressed="true"]{background:#263b2d;border-color:#6fa980}html[data-color-mode="dark"] .wheel-template-copy strong{color:#f0f6f1}html[data-color-mode="dark"] .wheel-template-copy>span{color:#c6d2c9}html[data-color-mode="dark"] .wheel-template-arrow{border-color:#45554a;color:#b9dcc2}
@media(max-width:850px){.wheel-template-grid{grid-template-columns:1fr}.wheel-template-library .section-heading h2{font-size:25px}}
@media(max-width:650px){.wheel-template-library{padding:25px 0 35px}.wheel-template-card{grid-template-columns:55px minmax(0,1fr) 24px;gap:10px;min-height:94px;padding:10px}.wheel-template-art{width:52px;height:52px}.wheel-template-copy strong{font-size:15px}.wheel-template-copy>span{font-size:11px}.wheel-option-row{grid-template-columns:19px minmax(58px,1fr) 35px repeat(4,25px);gap:3px;padding:4px}.wheel-option-color{width:34px}.wheel-option-action{width:25px}.wheel-advanced>summary span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.wheel-template-card{transition:none}}
