:root{color:#171322;background:#f6f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--accent: #e947ed;--ink: #171322;--muted: #686174;--line: #ddd7e6;--surface: #ffffff;--machine: #1f1a2b;--item-height: 84px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:#edece8}.workspace{width:min(760px,100%);display:grid;gap:18px}.app-header{display:flex;justify-content:space-between;align-items:end;gap:16px}.eyebrow{margin:0 0 4px;color:var(--muted);font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:0}h1{margin:0;color:var(--ink);font-size:3rem;line-height:.95}.brand-mark{width:56px;height:56px;display:grid;place-items:center;border:2px solid var(--ink);border-radius:8px;background:#fff;box-shadow:6px 6px 0 var(--accent);font-size:1.8rem}.controls-bar,.set-grid,.result-panel,.history-panel{border:1px solid var(--line);border-radius:8px;background:#ffffffe0;box-shadow:0 18px 50px #1f1a2b14}.controls-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px}.control-group{display:grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:8px;width:min(250px,100%)}.chip,.set-pill,.toggle,.primary-action,.icon-action,.copy-button,.prompt-chip,.ghost-icon,.history-item{border:0;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,opacity .18s ease}.chip{min-height:42px;border-radius:8px;background:#f2eff6;color:var(--muted);font-weight:900}.chip.active{background:var(--ink);color:#fff}.toggle{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border-radius:8px;background:#f2eff6;color:var(--ink);font-size:.95rem;font-weight:800}.toggle input{width:18px;height:18px;accent-color:var(--accent)}.set-grid{display:flex;gap:8px;flex-wrap:wrap;padding:10px}.set-pill{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-size:.9rem;font-weight:800}.set-pill.active{border-color:color-mix(in srgb,var(--accent) 45%,white);background:color-mix(in srgb,var(--accent) 12%,white);color:var(--ink)}.set-dot{width:10px;height:10px;flex:0 0 auto;border-radius:50%}.slot-machine{overflow:hidden;border:2px solid #100d18;border-radius:10px;background:var(--machine);box-shadow:0 26px 70px #1f1a2b42,inset 0 1px #ffffff26}.machine-top{display:grid;gap:12px;padding:14px;border-bottom:1px solid rgba(255,255,255,.12);background:linear-gradient(90deg,#191522,#2c2336 58%,#161b27)}.light-row{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.light-row span{height:9px;border-radius:999px;background:color-mix(in srgb,var(--accent) 80%,white);box-shadow:0 0 14px color-mix(in srgb,var(--accent) 60%,transparent)}.machine-title{display:flex;align-items:center;justify-content:center;gap:8px;min-height:34px;color:#fff;font-weight:900}.reel-grid{display:grid;gap:10px;padding:14px}.reel-grid.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.reel-grid.count-4{grid-template-columns:repeat(4,minmax(0,1fr))}.reel-grid.count-5{grid-template-columns:repeat(5,minmax(0,1fr))}.reel{position:relative;height:calc(var(--item-height) * 3);overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:linear-gradient(180deg,#ffffffd1,#fffffff5),#fff;box-shadow:inset 0 12px 24px #17132214}.reel:before,.reel:after{content:"";position:absolute;left:0;right:0;z-index:3;height:76px;pointer-events:none}.reel:before{top:0;background:linear-gradient(180deg,#fff 5%,#fff0)}.reel:after{bottom:0;background:linear-gradient(0deg,#fff 5%,#fff0)}.payline{position:absolute;left:8px;right:8px;top:var(--item-height);z-index:2;height:var(--item-height);border:2px solid color-mix(in srgb,var(--accent) 65%,white);border-radius:8px;background:color-mix(in srgb,var(--accent) 8%,transparent);pointer-events:none}.reel-track{position:relative;z-index:1;transition-property:transform;transition-timing-function:cubic-bezier(.12,.86,.18,1);will-change:transform}.reel-item{height:var(--item-height);display:grid;place-items:center;font-size:3.05rem;line-height:1;filter:drop-shadow(0 3px 2px rgba(23,19,34,.12));-webkit-user-select:none;user-select:none}.action-row{display:flex;justify-content:center;gap:10px}.primary-action,.icon-action,.copy-button,.ghost-icon{display:inline-flex;align-items:center;justify-content:center}.primary-action{gap:9px;min-width:190px;min-height:52px;padding:0 24px;border-radius:8px;background:var(--accent);color:#fff;box-shadow:0 12px 28px color-mix(in srgb,var(--accent) 28%,transparent);font-weight:950;text-transform:uppercase;letter-spacing:0}.icon-action,.ghost-icon{width:52px;height:52px;border-radius:8px;background:#fff;color:var(--ink);border:1px solid var(--line)}.result-panel,.history-panel{padding:14px}.result-line{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;color:var(--ink);font-size:2rem;font-weight:900}.copy-button{gap:8px;min-height:42px;padding:0 12px;border-radius:8px;background:var(--ink);color:#fff;font-size:.9rem;font-weight:900}.prompt-list{display:grid;gap:8px;margin-top:12px}.prompt-chip{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 12px;border-radius:8px;background:#f5f2f8;color:var(--ink);text-align:left;font-size:.92rem;font-weight:750}.history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;color:var(--ink);font-weight:900}.history-heading>div{display:flex;align-items:center;gap:8px}.history-list{display:grid;gap:8px}.history-item{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:44px;padding:8px 10px;border-radius:8px;background:#f6f7fb;color:var(--ink);text-align:left}.history-item span{font-size:1.35rem}.history-item small{color:var(--muted);font-weight:800}button:hover:not(:disabled){transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(0)}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 35%,white);outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:1ms!important;scroll-behavior:auto!important;transition-duration:1ms!important}}@media(max-width:680px){.app-shell{align-items:start;padding:14px}.workspace{gap:14px}h1{font-size:2.35rem}.brand-mark{width:48px;height:48px}.controls-bar{align-items:stretch;flex-direction:column}.control-group{width:100%}.toggle{justify-content:center}.set-grid{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.set-grid::-webkit-scrollbar{display:none}.set-pill{flex:0 0 auto}.reel-grid{gap:7px;padding:10px}.reel-grid.count-5{gap:5px}.reel-item{font-size:2.35rem}.result-line,.history-item{grid-template-columns:1fr}.result-line{align-items:stretch;flex-direction:column;font-size:1.8rem}.copy-button{width:100%}}@media(max-width:430px){.reel-grid.count-5 .reel-item{font-size:2rem}.reel-grid.count-5{padding-left:7px;padding-right:7px}.primary-action{flex:1}}
