/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.start{inset-inline-start:var(--spacing)}.hidden{display:none}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{color:#30234f;font-synthesis:none;--accent:#7945ed;--mint:#7945ed;--muted:#81758f;--border:#6b47951a;--surface:#fff;--dice-depth:40px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f5f0ff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}button,input,select,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #a58bff}input,select{color:#3b2e59;background:#faf8ff;border:1px solid #e8e0f3;border-radius:12px;min-width:0;padding:11px 12px;transition:border-color .2s,box-shadow .2s}input:focus,select:focus{border-color:#b593f8;outline:none;box-shadow:0 0 0 3px #ac88ff18}input::placeholder{color:#a599b6}fieldset{border:0;min-width:0;margin:0;padding:0}h1,h2,h3,p{margin:0}h3{font-size:16px;font-weight:750}svg{flex-shrink:0}[hidden]{display:none!important}.small{font-size:12px;line-height:1.65}.muted{color:var(--muted)}.eyebrow{letter-spacing:2px;color:#a28bbf;font-size:10px;font-weight:750;line-height:1.5;display:block}.status-dot{background:#9470ee;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block;box-shadow:0 0 0 3px #9470ee12}.status-dot--busy{animation:.7s infinite pulse}.app-shell{isolation:isolate;background:radial-gradient(at 4% 10%,#ebd9ff,#0000 48%),radial-gradient(at 95% 42%,#def5ff,#0000 48%),#f5f0ff;min-height:100vh;position:relative}.ambient-light{z-index:-1;pointer-events:none;background-image:radial-gradient(#9878c22a 1px,#0000 1px);background-size:22px 22px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 800px);mask-image:linear-gradient(#000,#0000 800px)}.app-container{max-width:1240px;margin:auto;padding:0 36px}.app-header{justify-content:space-between;align-items:center;gap:20px;height:105px;margin-bottom:24px;display:flex}.brand{color:inherit;align-items:center;gap:11px;text-decoration:none;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#aa79ff,#7042e7);border-radius:16px;place-items:center;width:46px;height:46px;display:grid;transform:rotate(-7deg);box-shadow:0 6px #5f32b81a,0 8px 22px #7945ed2a}.brand-mark svg{transform:rotate(7deg)}.brand strong{letter-spacing:2px;font-size:25px;font-weight:850}.brand strong span{color:#9462f4}.brand small{letter-spacing:2px;color:#9986b1;margin-top:4px;font-size:8px;display:block}.desktop-nav{background:#ffffffb0;border:1px solid #fff;border-radius:18px;gap:5px;padding:6px;display:flex;box-shadow:0 6px 20px #67428c08}.desktop-nav button{color:#8a799d;background:0 0;border:0;border-radius:13px;align-items:center;gap:8px;padding:12px 18px;font-size:13px;transition:all .2s;display:flex}.desktop-nav button:hover{color:#7544ca;background:#f2eaff}.desktop-nav button.is-active{color:#fff;background:#7945ed;box-shadow:0 5px 12px #7945ed2a}.header-note{color:#9b87af;align-items:center;gap:8px;font-size:11px;display:flex}.mobile-nav{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 342px;align-items:start;gap:24px;display:grid}.panel{background:#ffffffda;border:1px solid #fff;border-radius:28px;min-width:0;box-shadow:0 12px 45px #6a41820a,0 2px 2px #fff8}.draw-panel{background:radial-gradient(at 50% 43%,#f0e5ff,#0000 62%),#ffffffeb;padding:32px;position:relative;overflow:hidden}.draw-panel:before{content:"✧";color:#dac5ff;pointer-events:none;font-size:75px;position:absolute;top:124px;right:25px;transform:rotate(15deg)}.draw-heading{justify-content:space-between;gap:12px;display:flex;position:relative}.draw-heading h2,.solo-heading h2{letter-spacing:-1px;margin-top:10px;font-size:34px;font-weight:850;line-height:1.25}.draw-heading h2 span,.solo-heading h2 span{color:#8951e9}.draw-heading p,.solo-heading p{margin-top:12px;font-size:12px;line-height:1.8}.round-badge{letter-spacing:1px;color:#b08ad9;background:#f1eaff;border:1px solid #e1d2fb;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;min-width:56px;height:60px;font-size:8px;display:flex;transform:rotate(5deg)}.round-badge b{color:#8750d9;letter-spacing:-1px;font-size:25px;font-weight:800}.draw-meta{color:#a18bb4;justify-content:space-between;align-items:center;gap:10px;margin-top:22px;font-size:10px;display:flex}.draw-meta span:first-child{color:#8b63bf;background:#f4edff;border:1px solid #e8dafb;border-radius:30px;align-items:center;gap:8px;padding:6px 10px;display:flex}.wheel-stage{text-align:center;isolation:isolate;padding:28px 0 18px;position:relative}.wheel-orbit{aspect-ratio:1;z-index:-1;pointer-events:none;border:1px solid #ac85f225;border-radius:50%;width:85%;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}.wheel-orbit--outer{border-style:dashed;width:94%;animation:70s linear infinite orbit}.wheel-orbit--inner{border-width:8px;border-color:#b593ee08;width:78%}.wheel-machine{aspect-ratio:1;background:linear-gradient(140deg,#b599ff,#7f48e1 45%,#6330c1);border:2px solid #d5c2ff;border-radius:50%;width:min(100%,370px);margin:0 auto;padding:19px;position:relative;box-shadow:0 11px #b8a0dd,0 19px 30px #8458ba35,inset 0 2px 2px #fff9}.wheel-ticks{opacity:.5;background:repeating-conic-gradient(#ffffff90 0deg 1deg,#0000 1deg 10deg);border-radius:50%;position:absolute;inset:6px;-webkit-mask-image:radial-gradient(#0000 67%,#000 67%);mask-image:radial-gradient(#0000 67%,#000 67%)}.wheel-lights{z-index:2;pointer-events:none;position:absolute;inset:0}.wheel-lights i{width:5px;height:5px;transform:rotate(var(--angle)) translateY(-174px);background:#fff8;border-radius:50%;margin:-2.5px;position:absolute;top:50%;left:50%;box-shadow:0 0 5px #fff8}.is-spinning .wheel-lights i{animation:marquee .5s var(--delay) infinite}.wheel-pointer{z-index:5;clip-path:polygon(0 0,100% 0,100% 45%,50% 100%,0 45%);filter:drop-shadow(0 4px 3px #5d338f55);background:linear-gradient(90deg,#ffb537,#ffe39a 48%,#ffca50 49%);width:30px;height:47px;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.is-spinning .wheel-pointer{animation:.14s infinite pointer-tick}.wheel-disc{border-radius:50%;width:100%;height:100%;transition-property:transform;transition-timing-function:cubic-bezier(.15,.72,.12,1);position:relative;overflow:hidden;box-shadow:inset 0 0 0 3px #fff9}.wheel-labels{width:100%;height:100%;position:absolute;inset:0}.wheel-sheen{background:radial-gradient(circle at 30% 20%,#fff5,#0000 65%);border-radius:50%;position:absolute;inset:0;box-shadow:inset 0 0 18px #70489318}.wheel-hub{color:#fff;z-index:3;background:linear-gradient(145deg,#b286ff,#7441da);border:6px solid #fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:94px;height:94px;transition:filter .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 7px #57349844,0 10px 22px #62329455,inset 0 1px 2px #fff8}.wheel-hub:disabled{opacity:1}.wheel-hub:hover:not(:disabled){filter:brightness(1.13)}.wheel-hub span:last-child{color:#e6d5ff;margin-top:2px;font-size:10px}.wheel-hub-mark{letter-spacing:1px;font-size:29px;font-weight:900;line-height:1.2}.is-winner .wheel-machine{animation:1.6s ease-out winner-glow}.wheel-caption{color:#aa93c0;justify-content:center;align-items:center;gap:8px;margin:24px 0 0;font-size:10px;display:flex}.stage-spark{color:#a979f5;pointer-events:none;animation:4s ease-in-out infinite spark-float;position:absolute}.stage-spark--one{font-size:39px;top:24%;left:0;transform:rotate(-13deg)}.stage-spark--two{color:#eca848;font-size:31px;animation-delay:-2s;bottom:18%;right:0}.result-card{background:#f8f4ff;border:1px solid #e9ddfb;border-radius:18px;justify-content:space-between;align-items:center;gap:15px;min-height:82px;padding:16px 20px;transition:background .3s,border-color .3s;display:flex;position:relative;overflow:hidden}.result-card .eyebrow{letter-spacing:1.7px;color:#b09cc5;margin-bottom:7px;font-size:8px}.result-card strong{color:#9d89b0;overflow-wrap:anywhere;font-size:15px;font-weight:650;line-height:1.4;display:block}.result-card.has-result{background:linear-gradient(110deg,#efe2ff,#f5eeff);border-color:#d4b8ff}.result-card.has-result strong{color:#7945cf;font-size:25px;font-weight:850;animation:.5s cubic-bezier(.2,1.6,.5,1) result-pop}.result-status{color:#a079c7;background:#fff8;border:1px solid #ddc9f3;border-radius:20px;flex-shrink:0;padding:5px 8px;font-size:9px}.draw-actions{grid-template-columns:1.25fr 1fr;gap:10px;margin-top:15px;display:grid}.button{border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:11px 14px;font-size:12px;font-weight:750;line-height:1.4;transition:background .2s,transform .2s,box-shadow .2s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-2px)}.button:active:not(:disabled){transform:translateY(2px)}.button--primary{color:#fff;background:linear-gradient(110deg,#a16aff,#7843e6);box-shadow:0 4px #6536bd,0 8px 20px #7945ed2a}.button--primary:hover:not(:disabled){box-shadow:0 4px #6536bd,0 8px 25px #7945ed4a}.button--soft{color:#9a79b8;background:#faf7ff;border-color:#e4d8f3}.button--mint{color:#8150c8;background:#eee4ff;border-color:#dfccff}.start-button{justify-content:space-between;min-height:49px;padding:12px 18px;font-size:13px}.draw-note{color:#ad9bbb;text-align:center;margin-top:17px;font-size:10px;line-height:1.8}.settings-column{flex-direction:column;gap:20px;display:flex}.templates-panel,.editor-panel{padding:24px}.panel-heading{justify-content:space-between;align-items:center;gap:9px;margin-bottom:14px;display:flex}.panel-heading h3{margin-top:6px}.panel-heading .eyebrow{letter-spacing:1.5px;font-size:8px}.count-badge{color:#a085bb;background:#f4edff;border:1px solid #eadff7;border-radius:9px;justify-content:center;align-items:center;min-width:29px;height:27px;font-size:11px;display:inline-flex}.save-state{color:#8d65b6;background:#f4edff;border:1px solid #e8d9fb;border-radius:7px;flex-shrink:0;padding:4px 7px;font-size:9px}.save-state.is-dirty{color:#cc8841;background:#fff4df;border-color:#ffe3b4}.template-chips{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.template-chip{color:#a18daf;background:#faf7ff;border:1px solid #eadff5;border-radius:11px;padding:9px 12px;font-size:11px;transition:all .2s}.template-chip.is-active{color:#8552cb;background:#f0e5ff;border-color:#c5a3fb}.template-chip:hover:not(:disabled){border-color:#c5a3fb}.template-input{width:100%;margin-bottom:10px;font-size:12px}.template-actions{gap:8px;display:flex}.template-actions .button{white-space:nowrap;flex:1;gap:6px;padding:10px 8px;font-size:11px}.text-button{color:#ae9bbc;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:10px;display:inline-flex}.text-button:hover{color:#b36eae}.delete-template{margin-top:17px}.form-error{color:#c65a7a;margin-top:10px;font-size:11px;line-height:1.6}.editor-panel .small{margin-bottom:16px;font-size:10px}.add-option{gap:8px;margin-bottom:16px;display:flex}.add-option input{flex:1;width:100%;font-size:12px}.add-option .button{flex-shrink:0;width:42px;padding:0}.option-list{scrollbar-width:thin;scrollbar-color:#d8c2ed transparent;flex-direction:column;gap:12px;max-height:410px;padding-right:2px;display:flex;overflow:auto}.option-row{grid-template-columns:7px minmax(0,1fr) 54px 23px;align-items:center;gap:8px;display:grid}.option-dot{border-radius:50%;align-self:start;width:6px;height:6px;margin-top:13px}.option-name{min-width:0}.option-name input{width:100%;height:35px;padding:8px 10px;font-size:12px}.probability-line{background:#f0e7f9;border-radius:3px;width:100%;height:3px;margin-top:5px;overflow:hidden}.probability-line i{height:100%;transition:width .4s;display:block}.option-row select{align-self:start;height:35px;padding:6px;font-size:10px}.icon-button{color:#bea5ce;background:0 0;border:0;place-items:center;width:25px;height:34px;padding:0;display:grid}.delete-option:hover{color:#e38baa}.editor-foot{color:#b6a3c2;border-top:1px solid var(--border);justify-content:space-between;margin-top:20px;padding-top:12px;font-size:9px;display:flex}.empty-state{color:var(--muted);text-align:center;padding:16px 0;font-size:12px;line-height:1.7}.history-panel{margin-top:24px;padding:24px 28px}.history-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.history-title{color:#a183bf;align-items:center;gap:10px;display:flex}.history-title h3{color:#7a5a97;font-size:14px}.history-title .count-badge{min-width:24px;height:22px;font-size:9px}.history-filters{border-bottom:1px solid var(--border);scrollbar-width:none;gap:20px;margin-top:22px;display:flex;overflow-x:auto}.history-filters button{white-space:nowrap;color:#ac95be;background:0 0;border:0;padding:0 0 12px;font-size:11px;position:relative}.history-filters button.is-active{color:#8653cd}.history-filters button.is-active:after{content:"";background:#9b6de0;border-radius:4px;height:3px;position:absolute;bottom:0;left:0;right:0}.history-list{scrollbar-width:thin;scrollbar-color:#d8c2ed transparent;max-height:250px;overflow:auto}.history-item{border-bottom:1px solid #ab8bc712;align-items:center;gap:16px;padding:15px 0;font-size:12px;animation:.35s ease-out reveal;display:flex}.history-type{color:#a180bb;background:#f4edff;border-radius:7px;flex-shrink:0;padding:5px 8px;font-size:10px}.history-item strong{overflow-wrap:anywhere;font-weight:650}.history-item time{white-space:nowrap;color:#b09bbe;margin-left:auto;font-size:10px}.history-empty{color:#b6a1c4;justify-content:center;align-items:center;gap:8px;padding:30px 0 10px;font-size:11px;display:flex}.app-footer{color:#baa6cb;justify-content:space-between;align-items:center;gap:12px;padding:26px 0 32px;font-size:9px;display:flex}.app-footer span:first-child{letter-spacing:1.3px}.slot-machine{background:linear-gradient(140deg,#a77ff0,#7945c9);border:3px solid #cbb0f8;border-radius:24px;margin:34px 0;padding:24px 20px 20px;position:relative;box-shadow:0 8px #d4bced,0 16px 26px #8352a925,inset 0 1px #fff6}.slot-topline{letter-spacing:2px;color:#ead7ff;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:9px;display:flex}.slot-reels{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.slot-reel{background:linear-gradient(#e6d6fa,#fff 50%,#e6d6fa);border:2px solid #e5d1ff;border-radius:14px;place-items:center;min-width:0;height:140px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 6px 12px #65378915}.slot-reel:after{content:"";pointer-events:none;border-block:1px solid #a77ad630;position:absolute;inset:37% 0}.slot-name{color:#7e48bd;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:6px;font-size:24px;font-weight:850;overflow:hidden}.slot-name.is-moving{animation:.16s ease-out slot-enter}.slot-machine p{color:#e4ccff;text-align:center;letter-spacing:2px;margin-top:20px;font-size:10px}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti i{left:var(--x);opacity:0;width:6px;height:9px;animation:confetti-fall 1.5s var(--delay) ease-out forwards;border-radius:2px;position:absolute;top:0}.solo-panel{background:radial-gradient(at 50% 40%,#ebdbff,#0000 60%),#ffffffea;flex-direction:column;align-items:center;min-height:630px;padding:34px;display:flex;position:relative;overflow:hidden}.solo-heading{text-align:center}.solo-result{text-align:center;width:min(100%,480px);min-height:83px;margin-top:15px;display:block}.solo-action{width:min(100%,480px);min-height:49px;margin-top:15px;font-size:13px}.solo-action svg:last-child{margin-left:auto}.solo-action svg:first-child{margin-right:auto}.coin-stage{perspective:1000px;place-items:center;width:280px;height:285px;margin:16px 0 4px;display:grid;position:relative}.coin-orbit{border:1px dashed #b797e758;border-radius:50%;animation:80s linear infinite coin-orbit;position:absolute;inset:10px}.coin-orbit:before,.coin-orbit:after{content:"✦";color:#b794ed;background:#f6edff;font-size:25px;position:absolute}.coin-orbit:before{top:25px;left:20px}.coin-orbit:after{color:#ecb249;font-size:17px;bottom:20px;right:20px}.coin-shadow{filter:blur(8px);background:#a078cf55;border-radius:50%;width:135px;height:18px;position:absolute;bottom:18px}.is-flipping .coin-shadow{animation:1.4s ease-in-out coin-shadow}.coin-flight{width:205px;height:205px;transform-style:preserve-3d;-webkit-transform-style:preserve-3d}.is-flipping .coin-flight{animation:1.4s ease-in-out coin-toss}.coin-body{width:100%;height:100%;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transition-property:transform;transition-timing-function:cubic-bezier(.18,.65,.15,1);position:relative}.coin-face{backface-visibility:hidden;color:#a06922;background:radial-gradient(circle at 30% 20%,#fff5c9,#ffcf66 65%,#eca63b);border:9px solid #ffd273;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;transform:translateZ(1px);box-shadow:inset 0 0 0 2px #dc9c45,inset 0 0 0 8px #ffe6a1,0 10px 18px #a8702720}.coin-face:after{content:"";border:1px dashed #bd823777;border-radius:50%;position:absolute;inset:17px}.coin-detail{letter-spacing:1px;z-index:1;font-size:7px;position:relative}.coin-face strong{text-shadow:0 2px #fff7;z-index:1;font-size:70px;font-weight:850;line-height:1.4;position:relative}.coin-face small{letter-spacing:4px;z-index:1;font-size:9px;position:relative}.coin-back{color:#784aa9;background:radial-gradient(circle at 30% 20%,#f1ddff,#c6a1fa 65%,#a378df);border-color:#d6b5ff;transform:rotateY(180deg)translateZ(1px);box-shadow:inset 0 0 0 2px #b78ae6,inset 0 0 0 8px #e1c7ff,0 10px 18px #6d389420}.dice-count{align-items:center;gap:20px;margin-top:24px;display:flex}.dice-count .button{width:36px;height:36px;min-height:36px;padding:0;font-size:20px}.dice-count span{color:#ab8ac1;text-align:center;min-width:70px;font-size:11px}.dice-count b{color:#9059d1;margin-right:6px;font-size:22px;font-weight:850}.dice-stage{flex-wrap:wrap;justify-content:center;align-items:center;gap:25px;max-width:500px;min-height:215px;margin:8px 0;padding:25px 15px;display:flex}.dice-object{perspective:600px;width:80px;height:80px;position:relative}.dice-object:after{content:"";filter:blur(7px);z-index:-1;background:#9871c055;border-radius:50%;height:13px;position:absolute;bottom:-22px;left:0;right:0}.dice-cube{width:100%;height:100%;transform-style:preserve-3d;-webkit-transform-style:preserve-3d;transition-property:transform;transition-timing-function:cubic-bezier(.2,.6,.15,1);position:relative}.dice-face{backface-visibility:hidden;background:linear-gradient(140deg,#fff,#dfcbff);border:1px solid #ccb3eb;border-radius:12px;grid-template:repeat(3,1fr)/repeat(3,1fr);gap:5px;padding:13px;display:grid;position:absolute;inset:0;box-shadow:inset 0 2px 3px #fff}.pip{background:#8650cc;border-radius:50%;width:100%;height:100%;box-shadow:inset 0 1px 3px #55248377}.pip--one{background:#ec9b57}.dice-object.is-rolling{animation:1.15s ease-out dice-hop}.dice-panel .result-card.has-result strong{font-size:28px}.dice-panel .solo-result strong{font-variant-numeric:tabular-nums}@keyframes orbit{to{transform:translate(-50%,-50%)rotate(360deg)}}@keyframes coin-orbit{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes marquee{50%{background:#ffe695;box-shadow:0 0 10px #ffe695}}@keyframes pointer-tick{50%{transform:translate(-50%)rotate(-8deg)}}@keyframes winner-glow{25%{box-shadow:0 11px #b8a0dd,0 0 65px #b183ff99}}@keyframes reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes result-pop{0%{opacity:0;transform:scale(.82)}to{opacity:1;transform:scale(1)}}@keyframes spark-float{50%{translate:0 -9px;rotate:15deg}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-8px)}15%{opacity:1}to{opacity:0;transform:translate(var(--drift), 110px) rotate(var(--turn))}}@keyframes slot-enter{0%{filter:blur(2px);transform:translateY(-22px)}to{filter:blur();transform:translateY(0)}}@keyframes dice-hop{0%,to{transform:translateY(0)}30%{transform:translateY(-35px)}55%{transform:translateY(-9px)}80%{transform:translateY(-4px)}}@keyframes coin-toss{0%,to{transform:translateY(0)}40%{transform:translateY(-40px)}85%{transform:translateY(5px)}}@keyframes coin-shadow{40%{opacity:.35;transform:scale(.55)}to{opacity:1;transform:scale(1)}}@media (width<=1050px){.app-container{padding:0 24px}.header-note{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.draw-panel{padding:25px}.templates-panel,.editor-panel{padding:21px}.draw-heading h2{font-size:29px}.wheel-machine{width:min(100%,330px)}.wheel-lights i{transform:rotate(var(--angle)) translateY(-154px)}.desktop-nav button{padding:11px 14px}}@media (width<=800px){.workspace-grid{grid-template-columns:1fr}.settings-column{grid-template-columns:1fr 1fr;gap:18px;display:grid}.wheel-machine{width:min(100%,370px)}.wheel-lights i{transform:rotate(var(--angle)) translateY(-174px)}.app-footer{flex-direction:column;align-items:flex-start;gap:8px}.history-empty{flex-direction:column}}@media (width<=560px){.app-container{padding:0 16px}.app-header{height:78px;margin-bottom:0}.brand-mark{border-radius:12px;width:36px;height:36px}.brand-mark svg{width:23px;height:23px}.brand strong{font-size:22px}.brand small{letter-spacing:1.5px;font-size:7px}.header-note{gap:6px;font-size:9px;display:flex}.desktop-nav{display:none}.mobile-nav{background:#ffffffbc;border:1px solid #fff;border-radius:19px;grid-template-columns:repeat(4,1fr);gap:5px;margin:0 0 16px;padding:6px;display:grid;position:relative;box-shadow:0 6px 20px #8252b20a}.mobile-nav button{color:#ab91c0;background:0 0;border:0;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:10px 3px;font-size:10px;font-weight:650;transition:background .2s,color .2s;display:flex}.mobile-nav button.is-active{color:#fff;background:linear-gradient(135deg,#a277f2,#8050db);box-shadow:0 3px 8px #a277f233}.mobile-nav button svg{width:20px;height:20px}.panel{border-radius:24px}.draw-panel{padding:22px 18px 20px}.draw-heading h2,.solo-heading h2{letter-spacing:-.8px;margin-top:7px;font-size:28px}.draw-heading .eyebrow,.solo-heading .eyebrow{letter-spacing:1.6px;font-size:8px}.draw-heading p,.solo-heading p{margin-top:8px;font-size:11px}.round-badge{border-radius:14px;min-width:43px;height:49px;font-size:7px}.round-badge b{font-size:20px}.draw-meta{margin-top:17px;font-size:9px}.draw-meta span:first-child{padding:5px 8px}.wheel-stage{padding:23px 0 15px}.wheel-machine{width:min(100%,300px);padding:17px;box-shadow:0 8px #b8a0dd,0 15px 25px #8458ba30}.wheel-lights i{transform:rotate(var(--angle)) translateY(calc(-1 * (min(300px, 100vw - 72px) / 2 - 11px)))}.wheel-pointer{width:26px;height:40px}.wheel-hub{border-width:5px;width:81px;height:81px}.wheel-hub-mark{font-size:25px}.wheel-hub span:last-child{font-size:9px}.wheel-caption{margin-top:20px;font-size:9px}.stage-spark--one{font-size:27px;top:18%;left:-8px}.stage-spark--two{font-size:23px;bottom:19%;right:-7px}.wheel-orbit--outer{width:102%}.result-card{border-radius:16px;min-height:73px;padding:14px}.result-card strong{font-size:12px}.result-card.has-result strong{font-size:23px}.result-status{padding:4px 7px;font-size:8px}.draw-actions{grid-template-columns:1.2fr 1fr;gap:8px;margin-top:12px}.draw-actions .button{gap:5px;min-height:45px;padding:12px 9px;font-size:11px}.draw-actions svg{width:16px;height:16px}.draw-note{margin-top:14px;font-size:9px}.settings-column{gap:16px;display:flex}.workspace-grid{gap:16px}.templates-panel,.editor-panel{padding:21px}.template-chip,.template-actions .button{font-size:12px}.option-name input,.add-option input,.template-input{font-size:16px}.option-name input{height:39px}.option-row{grid-template-columns:7px minmax(0,1fr) 58px 25px;gap:9px}.option-row select{height:39px;font-size:12px}.option-dot{margin-top:16px}.option-list{max-height:330px}.history-panel{margin-top:16px;padding:21px}.history-item{flex-wrap:wrap;gap:10px}.history-item strong{max-width:70%;font-size:12px}.history-item time{font-size:9px}.history-empty{padding:22px 0 5px;font-size:10px}.app-footer{padding:22px 0 calc(28px + env(safe-area-inset-bottom,0px));font-size:8px;line-height:1.8}.solo-panel{min-height:0;padding:25px 18px 22px}.coin-stage{width:260px;height:252px;margin:12px 0 0}.coin-flight{width:184px;height:184px}.coin-face{border-width:8px}.coin-face strong{font-size:61px}.coin-detail{font-size:6px}.solo-result{margin-top:12px}.solo-action{min-height:47px;font-size:12px}.dice-count{margin-top:20px}.dice-stage{gap:22px;min-height:190px;padding:22px 15px}.slot-machine{margin:27px 0;padding:20px 14px 17px}.slot-reel{height:125px}.slot-reels{gap:7px}.slot-name{font-size:19px}}@media (width<=360px){.header-note{font-size:8px}.draw-heading h2,.solo-heading h2{font-size:25px}.dice-object{--dice-depth:34px;width:68px;height:68px}.dice-face{gap:4px;padding:11px}.dice-stage{gap:20px}.coin-stage{width:240px}.draw-actions .button{font-size:10px}.stage-spark{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:0s!important;animation:none!important}}.eyebrow{color:#9279ac}.draw-meta,.wheel-caption,.draw-note{color:#8f79a4}.result-card strong{color:#887197}.result-card .eyebrow{color:#9a81af}.header-note{color:#8e759f}.history-empty,.editor-foot{color:#9780a9}.template-chip{color:#8e749f}.text-button{color:#987da9}.mobile-nav button{color:#9170ac}.mobile-nav button.is-active{color:#fff}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
