:root{--bg:#0f1014;--bg-grad:radial-gradient(120% 80% at 50% -10%, #1c1d27 0%, #131419 45%, #0f1014 100%);--surface:#1a1b22;--surface-2:#20222b;--surface-3:#282a35;--border:#ffffff12;--border-strong:#ffffff24;--text:#f3f4f7;--muted:#a6abb8;--faint:#6e7280;--brand:#7c5cff;--brand-2:#5865f2;--brand-grad:linear-gradient(135deg, #8b6dff 0%, #5865f2 100%);--green:#2dd4a0;--green-soft:#2dd4a024;--red:#f2556b;--red-soft:#f2556b24;--gold:#f0b13b;--radius:16px;--radius-sm:10px;--shadow:0 10px 30px -12px #000000b3;--shadow-lg:0 24px 48px -16px #000000bf;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:var(--bg);background-image:var(--bg-grad);color:var(--text);-webkit-font-smoothing:antialiased;background-attachment:fixed;font-family:gg sans,Noto Sans,system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5}.app{flex-direction:column;max-width:600px;height:100%;margin:0 auto;display:flex}.app.center{justify-content:center;align-items:center;padding:24px}.content{scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent;flex:1;padding:18px 16px 16px;overflow:hidden auto}.content::-webkit-scrollbar{width:8px}.content::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:8px}.screen{flex-direction:column;gap:16px;animation:.28s both screen-in;display:flex}@keyframes screen-in{0%{opacity:0;transform:translateY(8px)}}h1{letter-spacing:-.01em;margin:2px 0;font-size:22px;font-weight:750}h2{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin:0;font-size:12px;font-weight:700}.muted{color:var(--muted)}.faint{color:var(--faint)}.small{font-size:12px}.mono{font-family:ui-monospace,SF Mono,Menlo,monospace}.break{word-break:break-all}.state{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:12px;padding:40px 16px;display:flex}.state-icon{background:var(--surface-2);width:56px;height:56px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;display:flex}.state.error .state-icon{background:var(--red-soft);color:var(--red)}.state.error{color:#ffc4cd}.spinner{border:3px solid #ffffff1f;border-top-color:var(--brand);border-radius:50%;width:30px;height:30px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.btn{background:var(--surface-2);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:6px;padding:9px 14px;font-family:inherit;font-size:14px;font-weight:600;transition:background .18s,border-color .18s,transform .1s;display:inline-flex}.btn:hover{background:var(--surface-3);border-color:var(--border-strong)}.btn:active{transform:translateY(1px)}.btn.ghost{color:var(--muted);background:0 0;border-color:#0000;padding:6px 8px}.btn.ghost:hover{color:var(--text);background:var(--surface-2)}.btn.primary{background:var(--brand-grad);color:#fff;border-color:#0000;box-shadow:0 8px 20px -8px #7c5cffb3}.btn.primary:hover{filter:brightness(1.08)}.btn.primary:disabled{opacity:.55;cursor:default;filter:none}.btn.back{align-self:flex-start}.btn.danger{background:var(--red-soft);border-color:var(--red);color:var(--red)}.btn.danger:hover{background:var(--red);color:#fff}.btn.danger:disabled{opacity:.55;cursor:default}.card.danger{border-color:var(--red)}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}.badge{background:var(--surface-2);border:1px solid var(--border);color:var(--muted);cursor:pointer;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:600;transition:border-color .18s,color .18s;display:inline-flex}.badge:hover{color:var(--text);border-color:var(--border-strong)}.badge.sm{color:var(--green);background:var(--green-soft);cursor:default;border-color:#0000;padding:2px 7px;font-size:10px}.profile-head{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);align-items:center;gap:16px;padding:22px 18px;display:flex;position:relative;overflow:hidden}.profile-head:before{content:"";background:var(--brand-grad);opacity:.32;height:64px;position:absolute;inset:0 0 auto;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.profile-head>*{position:relative}.profile-id{flex-direction:column;gap:6px;min-width:0;display:flex}.avatar{background:var(--surface-3);border:3px solid var(--surface);width:76px;height:76px;box-shadow:0 0 0 2px var(--brand);border-radius:50%;flex:none}.avatar.sm{width:44px;height:44px;box-shadow:0 0 0 1px var(--border-strong);border-width:2px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;display:flex}.card-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-head h2{align-items:center;gap:7px;display:flex}.hero-stat{align-items:center;gap:14px;display:flex}.hero-stat .hero-icon{background:var(--brand-grad);color:#fff;border-radius:14px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:0 8px 20px -10px #7c5cffcc}.big-stat{letter-spacing:-.02em;background:linear-gradient(#fff,#c7c9d6);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:30px;font-weight:800;line-height:1.1}.pills{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.pill{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);text-align:center;flex-direction:column;align-items:center;gap:5px;padding:12px 6px;display:flex}.pill-icon{color:var(--muted)}.pill-val{font-size:14px;font-weight:700}.pill-label{color:var(--faint);font-size:11px}.bar-list{flex-direction:column;gap:14px;display:flex}.bar-row{flex-direction:column;gap:7px;display:flex}.bar-top{align-items:center;gap:9px;display:flex}.bar-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.bar-val{color:var(--muted);flex:none;font-size:13px;font-weight:700}.bar-track{background:var(--surface-3);border-radius:999px;height:8px;overflow:hidden}.bar-fill{background:var(--brand-grad);border-radius:999px;height:100%;transition:width .5s cubic-bezier(.22,1,.36,1)}.entity{align-items:center;gap:9px;min-width:0;display:flex}.entity-icon{color:#fff;object-fit:cover;border-radius:9px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.entity-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.entity-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.entity-sub{color:var(--faint);font-size:11px}.game-list{flex-direction:column;gap:10px;display:flex}.game-row{border-radius:var(--radius-sm);align-items:center;gap:12px;padding:8px;transition:background .18s;display:flex}.game-row:hover{background:var(--surface-2)}.game-thumb{object-fit:cover;background:var(--surface-3);border-radius:8px;flex:none;width:64px;height:48px}.game-thumb.placeholder{color:var(--faint);background:linear-gradient(135deg, var(--surface-3), var(--surface));justify-content:center;align-items:center;display:flex}.game-meta{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.game-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-weight:600;text-decoration:none;overflow:hidden}.game-title:hover{color:var(--brand)}.liker-grid{grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:12px;display:grid}.liker{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);cursor:pointer;flex-direction:column;align-items:center;gap:8px;padding:14px 8px;font-family:inherit;transition:border-color .18s,transform .12s,background .18s;display:flex}.liker:hover{background:var(--surface-2);border-color:var(--border-strong);transform:translateY(-2px)}.liker-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;font-weight:600;overflow:hidden}.tinder{align-items:center;gap:22px}.deck{perspective:1200px;width:100%}.tcard{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);border-radius:20px;transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .3s;position:relative;overflow:hidden}.tcard.leaving-like{opacity:0;transform:translate(130%)rotate(14deg)}.tcard.leaving-skip{opacity:0;transform:translate(-130%)rotate(-14deg)}.tcard-img{object-fit:cover;width:100%;height:240px;display:block}.tcard-img.placeholder{color:var(--faint);background:linear-gradient(135deg, var(--surface-3), var(--surface));justify-content:center;align-items:center;display:flex}.tcard-body{flex-direction:column;gap:9px;padding:16px;display:flex}.tcard-title{letter-spacing:-.01em;color:var(--text);align-items:center;gap:7px;font-size:19px;font-weight:750;text-decoration:none;display:inline-flex}.tcard-title:hover{color:var(--brand)}.tcard-desc{color:var(--muted);max-height:6.2em;margin:0;font-size:13px;line-height:1.55;overflow:hidden}.tcard-likers{color:var(--faint);align-items:center;gap:6px;font-size:12px;display:inline-flex}.swipe-actions{gap:32px;display:flex}.swipe-btn{border:1px solid var(--border);background:var(--surface);cursor:pointer;width:64px;height:64px;box-shadow:var(--shadow);border-radius:50%;justify-content:center;align-items:center;transition:transform .14s,border-color .18s,background .18s;display:flex}.swipe-btn:hover{transform:scale(1.08)}.swipe-btn:active{transform:scale(.95)}.swipe-btn.skip{color:var(--red)}.swipe-btn.skip:hover{background:var(--red-soft);border-color:var(--red)}.swipe-btn.like{color:var(--green)}.swipe-btn.like:hover{background:var(--green-soft);border-color:var(--green)}.toast{background:var(--surface-3);border:1px solid var(--border-strong);color:var(--text);box-shadow:var(--shadow-lg);z-index:50;border-radius:12px;align-items:center;gap:8px;padding:11px 16px;font-size:14px;font-weight:600;animation:.22s both toast-in;display:flex;position:fixed;bottom:86px;left:50%;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.opt-list{flex-direction:column;gap:10px;display:flex}.opt{background:var(--surface);border-radius:var(--radius-sm);cursor:pointer;border:1px solid var(--border);align-items:flex-start;gap:12px;padding:14px;transition:border-color .18s,background .18s;display:flex}.opt:hover{background:var(--surface-2)}.opt.sel{border-color:var(--brand);background:linear-gradient(var(--surface), var(--surface)) padding-box, var(--brand-grad) border-box;box-shadow:0 0 0 1px #7c5cff40}.opt input{accent-color:var(--brand);flex:none;width:17px;height:17px;margin-top:2px}.opt-title{margin-bottom:2px;font-weight:700}.guild-list{flex-direction:column;gap:8px;display:flex}.guild-row{border-radius:var(--radius-sm);cursor:pointer;align-items:center;gap:10px;padding:8px;transition:background .18s;display:flex}.guild-row:hover{background:var(--surface-2)}.guild-row input{accent-color:var(--brand);flex:none;width:17px;height:17px}.guild-row .entity{flex:1}.save-bar{align-items:center;gap:12px;padding-top:6px;display:flex;position:sticky;bottom:0}.saved-msg{color:var(--green);align-items:center;gap:5px;font-size:13px;font-weight:600;display:inline-flex}.nav{-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--border);padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#14151bd9;gap:4px;display:flex}.nav-tab{color:var(--faint);cursor:pointer;background:0 0;border:none;border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:3px;padding:7px 2px;font-family:inherit;font-size:10px;font-weight:600;transition:color .18s,background .18s;display:flex}.nav-tab:hover{color:var(--muted)}.nav-tab.active{color:var(--text)}.nav-tab.active .nav-icon{color:var(--brand);background:var(--surface-2)}.nav-icon{border-radius:999px;justify-content:center;align-items:center;width:44px;height:28px;transition:background .18s,color .18s;display:flex}.skeleton{background:linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);border-radius:var(--radius-sm);background-size:200% 100%;animation:1.3s ease-in-out infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}
