:root{color:#f2f0ff;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--muted:#a3a9c6;--line:#353750;--purple:#a083ff;--safe-top:calc(max(env(safe-area-inset-top,0px), var(--tg-safe-top,0px)) + var(--tg-content-top,0px));--safe-bottom:calc(max(env(safe-area-inset-bottom,0px), var(--tg-safe-bottom,0px)) + var(--tg-content-bottom,0px));--safe-left:calc(max(env(safe-area-inset-left,0px), var(--tg-safe-left,0px)) + var(--tg-content-left,0px));--safe-right:calc(max(env(safe-area-inset-right,0px), var(--tg-safe-right,0px)) + var(--tg-content-right,0px));background:#090b13;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 50% 12%,#242142a6 0,#0000 55%),#090b13;min-width:320px;min-height:100dvh;margin:0}button,input,textarea,select{font:inherit}button,.button-link{border:1px solid var(--line);color:#edeaff;cursor:pointer;-webkit-tap-highlight-color:transparent;background:#191b2b;border-radius:14px;min-height:44px;padding:10px 15px;font-size:14px}button{touch-action:manipulation}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #bba5ff}button:not(:disabled):active,.button-link:active{filter:brightness(1.15)}a{color:#bbb0ff}h1,h2,p{margin-top:0}h1,h2{overflow-wrap:anywhere}h1{letter-spacing:-.03em;font-family:Georgia,Times New Roman,serif;font-size:clamp(31px,8vw,40px);font-weight:500;line-height:1.15}h2{margin-bottom:10px;font-size:21px;line-height:1.25}p{line-height:1.55}em{color:#a493ff;font-style:normal}.eyebrow{color:#aaa1d0;text-transform:uppercase;letter-spacing:.16em;margin-bottom:10px;font-size:10px;font-weight:700}.hint,.metadata{color:var(--muted);font-size:12px;line-height:1.5}.primary{color:#fff;background:linear-gradient(115deg,#7845f0 0,#6759fb 48%,#5c9ff9 100%);border-color:#a19afa;font-weight:650;box-shadow:0 0 20px #754cf23b,inset 0 1px #ffffff38}.text-button{color:#bbb6ea;box-shadow:none;background:0 0;border-color:#0000;padding:8px}.button-link{justify-content:center;align-items:center;text-decoration:none;display:flex}.entry{max-width:460px;padding:calc(55px + var(--safe-top)) calc(24px + var(--safe-right)) calc(32px + var(--safe-bottom)) calc(24px + var(--safe-left));text-align:center;min-height:var(--viewport-height,100dvh);margin:0 auto;position:relative;overflow:hidden}.brand{z-index:1;color:#c9bbff;background:linear-gradient(140deg,#30244c,#161b36);border:1px solid #8581c9;border-radius:25px;place-items:center;width:78px;height:78px;margin:0 auto 24px;font-size:51px;display:grid;position:relative;box-shadow:0 0 80px #8551e557,inset 0 0 20px #a5a6ff20}.entry h1{z-index:1;margin:18px 0 12px;font-size:40px;position:relative}.entry-intro{color:var(--muted);font-size:15px}.entry-card{z-index:1;background:linear-gradient(145deg,#202238ed,#12111eed);border:1px solid #514774;border-radius:24px;margin-top:30px;padding:24px 20px 16px;position:relative;box-shadow:0 20px 50px #0005}.entry-card h2{margin-bottom:12px}.entry-card p{color:#c0bdd5;font-size:14px}.entry-card .hint{color:var(--muted);margin:18px 0 0;font-size:11px}.entry-lock{color:#b6a2fc;background:#6150a630;border-radius:14px;place-items:center;width:40px;height:40px;margin-bottom:14px;font-size:26px;display:inline-grid}.entry-orbit{pointer-events:none;border:1px solid #6965a51b;border-radius:50%;width:470px;height:470px;position:absolute;top:80px;left:50%;transform:translate(-50%)rotate(-30deg)}.entry-orbit i{border:1px solid #6965a514;border-radius:50%;position:absolute;inset:40px}.entry-orbit i:nth-child(2){inset:80px}.entry-orbit i:nth-child(3){inset:120px}.app-shell{max-width:480px;min-height:var(--viewport-height,100dvh);padding:var(--safe-top) var(--safe-right) calc(90px + var(--safe-bottom)) var(--safe-left);margin:0 auto;position:relative}.app-header{justify-content:space-between;align-items:center;gap:10px;padding:20px 20px 6px;display:flex}.wordmark{color:#f0edf8;letter-spacing:-.5px;align-items:center;min-height:44px;font:23px Georgia,serif;text-decoration:none;display:inline-flex}.wordmark span{color:#a493ff}.wordmark i{color:#8e7bda;margin-left:5px;font-size:16px;font-style:normal}.group-label{color:#9da2bd;letter-spacing:.02em;font-size:10px}.connection{color:#8e96b6;overflow-wrap:anywhere;align-items:baseline;gap:6px;margin:0 20px 20px;font-size:10px;display:flex}.connection>span{background:#8aa9d2;border-radius:50%;flex-shrink:0;width:5px;height:5px}.connection.offline{color:#f3c886}.connection.offline>span{background:#f3c886}.main-content{padding:0 16px}.spin-heading{text-align:center;padding:0 4px}.spin-heading h1{max-width:370px;margin:0 auto 12px}.spin-heading em{display:block}.spin-heading em span{vertical-align:middle;text-shadow:0 0 24px #9473fd;margin-left:7px;font:26px Georgia,serif;display:inline-block}.spin-heading>p:last-child{color:#a0a9cf;margin-bottom:18px;font-size:13px}.genre-chips{scrollbar-width:none;gap:8px;margin:0 -4px;padding:3px 4px 15px;display:flex;overflow-x:auto}.genre-chips button{white-space:nowrap;color:#a5aed1;background:#131623;border-radius:24px;flex-shrink:0;padding:9px 18px}.genre-chips button[aria-pressed=true]{color:#efeaff;background:linear-gradient(90deg,#25355c,#39254c);border-color:#a78bff;box-shadow:0 0 13px #9162ff35}.reel{isolation:isolate;background:0 0;border:0;border-radius:24px;width:100%;height:270px;margin:6px auto 0;padding:0 18px;display:block;position:relative}.reel:disabled{opacity:1}.reel-window{perspective:650px;background:#0c1020;border:1px solid #4d4a66;border-radius:46%/11%;height:100%;display:block;position:relative;overflow:hidden;box-shadow:0 15px 30px #0009,0 0 42px #5c65bd2b}.reel-cylinder{transform-style:preserve-3d;position:absolute;inset:0;transform:translateZ(-155px)}.reel-face{backface-visibility:hidden;background:#1e243a;border:1px solid #576c9a;border-radius:6px;height:82px;margin-top:-41px;display:block;position:absolute;top:50%;left:0;right:0;overflow:hidden}.reel-face .artwork{object-fit:cover;filter:brightness(.7);width:100%;height:100%;position:absolute;inset:0}.reel-face:after{content:"";background:linear-gradient(#0b102420,#0b102488);position:absolute;inset:0}.reel-face>span:last-child{z-index:1;text-shadow:0 2px 8px #000;overflow-wrap:anywhere;justify-content:center;align-items:center;height:100%;padding:8px 12px;font:21px/1.15 Georgia,serif;display:flex;position:relative}.reel-selection{z-index:2;pointer-events:none;border:2px solid #ad8aff;border-radius:8px;height:86px;position:absolute;top:calc(50% - 43px);left:0;right:0;box-shadow:0 0 7px #bd80ff,0 0 22px #615cf9,inset 0 0 18px #7794fd2b}.reel-confirmed .reel-selection{border-color:#d4b4ff;box-shadow:0 0 18px #b986ff}.reel-vignette{z-index:3;pointer-events:none;background:linear-gradient(#080b14ef,#0000 30% 70%,#080b14ef);position:absolute;inset:0}.reel-axle{z-index:-1;background:linear-gradient(90deg,#060912,#4e4865 25%,#151522 40%,#9488b4 65%,#0c101e 90%);border-radius:50%;width:29px;position:absolute;top:12%;bottom:12%;box-shadow:inset 0 0 6px #cd9b6f,0 0 18px #b7976a1a}.reel-axle-left{left:3px}.reel-axle-right{right:3px;transform:scaleX(-1)}.reel-pointer{color:#c5a1ff;z-index:4;text-shadow:0 0 10px #c684ff;font-size:19px;position:absolute;top:calc(50% - 13px)}.reel-pointer.left{left:4px}.reel-pointer.right{right:4px}.reel-empty{color:#a2a6c6;flex-direction:column;justify-content:center;align-items:center;gap:18px;font-size:12px;display:flex;position:absolute;inset:0}.reel-empty>span{color:#8e7cc0;font-size:44px}.spin-controls{text-align:center;margin:19px 0 24px}.spin-button{border-radius:16px;width:min(100%,310px);min-height:52px;font-size:18px}.spin-button>span{vertical-align:-2px;margin-right:9px;font-size:25px;line-height:1}.spin-controls .hint{margin:10px 0 0;font-size:11px}.result-card{background:linear-gradient(135deg,#1b1e2cd9,#11121bc9);border:1px solid #414054;border-radius:20px;align-items:flex-start;gap:14px;margin-bottom:24px;padding:15px;display:flex;box-shadow:0 12px 35px #0003}.artwork{object-fit:cover;background:#22243a;border-radius:9px;display:block}.artwork-placeholder{color:#7a719f;background:linear-gradient(140deg,#282a42,#181c2f);flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:30px;display:flex}.artwork-placeholder small{color:#b2aacb;text-align:center;padding:0 3px;font-size:9px;line-height:1.25}.result-cover{border:1px solid #4a4b65;flex-shrink:0;width:88px;height:146px}.result-content{flex:1;min-width:0}.result-content .eyebrow{letter-spacing:.12em;margin:2px 0 7px;font-size:8px}.result-content h2{margin-bottom:9px;font:25px/1.1 Georgia,serif}.result-content .metadata{margin-bottom:9px;font-size:10px}.description{color:#b3b9d4;margin-bottom:12px;font-size:12px}.tags{flex-wrap:wrap;gap:5px;margin-bottom:12px;display:flex}.tags span{color:#b6bde2;overflow-wrap:anywhere;border:1px solid #383b54;border-radius:20px;padding:5px 8px;font-size:9px}.result-content .primary{width:100%}.result-content .hint{margin:10px 0 0;font-size:11px}.result-card.confirmed{border-color:#bd99fb;box-shadow:0 0 24px #9766ef25,inset 0 0 18px #9b70da0a}.result-card.confirmed .eyebrow{color:#c4a8ff}.section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.section-heading h2{margin-bottom:0;font:21px Georgia,serif}.section-heading .text-button{white-space:nowrap;font-size:12px}.cover-strip{scrollbar-width:thin;gap:10px;padding:2px 1px 10px;display:flex;overflow-x:auto}.cover-strip>button{border-radius:10px;flex:0 0 100px;width:100px;height:143px;padding:0;position:relative;overflow:hidden}.cover-strip .artwork{filter:brightness(.8);width:100%;height:100%}.cover-strip>button>span{color:#f6f0ff;overflow-wrap:anywhere;background:linear-gradient(#0000,#050913e8);padding:30px 7px 10px;font:14px/1.15 Georgia,serif;position:absolute;bottom:0;left:0;right:0}.bottom-nav{z-index:10;width:min(100%,480px);padding:7px calc(24px + var(--safe-right)) calc(8px + var(--safe-bottom)) calc(24px + var(--safe-left));background:#0c0e19f5;border-top:1px solid #34354b;border-radius:24px 24px 0 0;align-items:center;gap:40px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -8px 25px #0004}.bottom-nav button{color:#8e98bf;background:0 0;border:none;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:3px;min-height:53px;padding:4px 10px;font-size:11px;display:flex}.bottom-nav button>span{font-size:25px;line-height:1.1}.bottom-nav button[aria-current]{color:#c0a0ff;text-shadow:0 0 14px #ad71ff6b;background:linear-gradient(#9170fc16,#0000)}.catalog{padding-top:6px}.catalog h1{margin:0;font-size:30px}.catalog h1 span{color:#8883aa;vertical-align:3px;font:15px system-ui,sans-serif}.catalog .eyebrow{margin-bottom:7px;font-size:8px}.add-button{flex-shrink:0;padding:10px 12px;font-size:12px}.counts{gap:5px;margin:20px 0 12px;display:flex}.counts>span{color:#9ea6c4;text-align:center;background:#161927;border:1px solid #303348;border-radius:13px;flex:1;padding:10px 5px;font-size:10px}.counts b{color:#d3c7fb;margin-bottom:4px;font-size:20px;font-weight:500;display:block}.gesture-hint{margin-bottom:18px;font-size:10px}.game-list{flex-direction:column;gap:12px;display:flex}.game-row{touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;background:linear-gradient(120deg,#1b1e2b,#131620);border:1px solid #36394e;border-radius:16px;padding:11px}.game-main{align-items:flex-start;gap:11px;display:flex}.game-main>.artwork{flex-shrink:0;width:64px;height:92px}.game-info{flex:1;min-width:0}.game-info h2{margin:6px 0;font-size:16px;line-height:1.3}.game-info .metadata{margin:0 0 5px;font-size:10px}.list-description{color:#a0a8c1;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:0;font-size:11px;line-height:1.4;display:-webkit-box;overflow:hidden}.status-badge{color:#9bb8e0;font-size:9px}.status-badge.chosen{color:#c7adff}.status-badge.excluded{color:#a2a4b9}.status-excluded .artwork{filter:grayscale(.7)brightness(.6)}.status-excluded .game-info h2{color:#a6a9ba}.status-chosen{background:linear-gradient(120deg,#252039,#171722);border-color:#7d62aa}.icon-button{background:#24263880;border-color:#35394e;flex-shrink:0;min-width:44px;height:44px;padding:3px;font-size:15px}.game-main .icon-button{margin:-2px -3px 0 0}.card-actions{border-top:1px solid #34364a;flex-wrap:wrap;gap:8px;margin-top:11px;padding-top:10px;display:flex}.card-actions button{flex:1;font-size:12px}.card-actions .hint{width:100%;margin-bottom:0;font-size:11px}.danger-text{color:#ffb0b6}.empty-card{text-align:center;background:#171a2999;border:1px dashed #45425c;border-radius:20px;margin:18px 0;padding:25px 18px}.empty-card>span{color:#a493e0;margin-bottom:12px;font-size:35px;display:block}.empty-card h1{font-size:27px}.empty-card h2{font:24px Georgia,serif}.empty-card p{color:#a9b0ca;font-size:13px}.error-message,.notice{overflow-wrap:anywhere;background:#3c2331;border:1px solid #785a63;border-radius:13px;margin-bottom:16px;padding:12px;font-size:13px;line-height:1.5}.error-message{color:#ffd1d4}.error-message button{margin-top:8px;display:block}.notice{color:#d5cfee;background:#28253d;border-color:#555276}ul.notice{padding-left:28px}.game-dialog{width:min(100%,480px);padding:20px calc(18px + var(--safe-right)) 0 calc(18px + var(--safe-left));max-height:calc(var(--viewport-height,100dvh) - var(--safe-top) - 12px);color:#eeeaff;overscroll-behavior:contain;background:#131522;border:1px solid #4a4566;border-radius:26px 26px 0 0;margin:auto auto 0;scroll-padding-block:20px 100px;position:fixed;inset:auto 0 0;overflow-y:auto}.game-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#03040bbf}.sheet-header{border-bottom:1px solid #303247;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;padding-bottom:14px;display:flex}.sheet-header .eyebrow{margin-bottom:5px;font-size:9px}.sheet-header h2{margin:0;font:27px Georgia,serif}.sheet-header .icon-button{font-size:28px}fieldset{border:0;min-width:0;margin:0 0 24px;padding:0}legend{margin-bottom:15px;padding:0;font-size:16px;font-weight:600;display:block}label{color:#b4bad3;margin:0 0 8px;font-size:12px;line-height:1.4;display:block}input:not([type=radio]):not([type=checkbox]),textarea{color:#f0edfa;background:#0d101c;border:1px solid #3c405d;border-radius:11px;width:100%;min-height:46px;margin-bottom:16px;padding:11px 12px;scroll-margin-block:22px 100px;font-size:16px;display:block}input::placeholder,textarea::placeholder{color:#696f8d;font-size:12px}textarea{resize:vertical}input[type=file]{padding:10px 8px!important;font-size:12px!important}input[type=file]::file-selector-button{color:#d3c9f3;background:#2a2c43;border:none;border-radius:6px;min-height:32px;margin-right:8px;padding:5px}input[type=checkbox],input[type=radio]{accent-color:#a687ff;flex-shrink:0;width:20px;height:20px;margin:0}.input-action{align-items:flex-start;gap:7px;display:flex}.input-action input{flex:1;min-width:0}.input-action button{min-height:46px;padding:10px 12px;font-size:12px}.import-fields{border-bottom:1px solid #303247;padding-bottom:8px}.import-fields .hint{margin-bottom:12px;font-size:11px}.source-note{background:#23263d;border-radius:12px;margin-bottom:20px;padding:10px}.source-note p{margin:0;font-size:12px}.source-note button{background:0 0;width:100%;margin-top:5px;font-size:12px}.field-pair{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field-pair>div{min-width:0}.image-options{gap:12px;margin-bottom:12px;display:flex}.image-options label,.duplicate-choice{align-items:center;gap:8px;min-height:44px;display:flex}.form-cover{object-fit:contain;width:100%;height:170px;margin-bottom:15px}.sheet-footer{padding:13px 0 calc(16px + var(--safe-bottom));background:#131522f5;border-top:1px solid #303247;position:sticky;bottom:-1px}.sheet-footer .primary{width:100%;min-height:50px}.celebration{pointer-events:none;z-index:20;position:fixed;inset:0;overflow:hidden}.celebration i{opacity:0;width:6px;height:12px;animation:1.2s ease-out forwards confetti;display:block;position:absolute;top:-15px}.app-shell:has(.celebration) .result-card.confirmed{animation:1.1s ease-out confirmed-pulse}@keyframes confirmed-pulse{50%{box-shadow:0 0 32px #b888ff73,inset 0 0 18px #a778ff20}}@keyframes confetti{0%{opacity:0;translate:0 -10px;rotate:0deg}15%{opacity:1}to{opacity:0;translate:24px 65dvh;rotate:430deg}}@media (width<=350px){.main-content{padding:0 12px}.app-header{padding-inline:16px}.spin-heading h1{font-size:32px}.result-card{gap:10px;padding:12px}.result-cover{width:70px;height:125px}.result-content h2{font-size:22px}.result-content .primary{padding-inline:7px;font-size:12px}.reel{height:250px}.game-main{gap:8px}.game-main>.artwork{width:52px;height:83px}.catalog h1{font-size:26px}.entry{padding-inline:18px}.entry h1{font-size:36px}}@media (width>=600px){body{background:radial-gradient(at 50% 20%,#27243e,#090b13 65%)}.app-shell{background:#0c0f1ab3;border-inline:1px solid #38374a6e}.entry{padding-top:calc(75px + var(--safe-top))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.celebration{display:none}}
