:root{color-scheme:dark;--bg:#0d1020;--panel:#161b30;--line:#303851;--text:#f3f4ff;--muted:#a9b5ce;--accent:#bcadff;--primary:#7351dc;--cyan:#79d9f6;--gold:#e4ba65;--gold2:#dab15d;--teal:#7ce4cc;--green:#7ddca2;--red:#ff8591;font-family:Inter,Noto Sans CJK SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 85% 0,#29244a66,transparent 55%),var(--bg);color:var(--text);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}a{color:inherit}.button-link,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;border:1px solid #434a70;border-radius:9px;padding:9px 15px;background:#242b47;color:var(--text);font-weight:600;cursor:pointer;text-decoration:none;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.button-link:hover,button:hover{background:#303957;border-color:#7883b1}button:disabled{cursor:not-allowed;opacity:.45}.button-link.primary,button.primary{background:linear-gradient(120deg,#7550dc,#5159d7);border-color:#9783eb;color:#fff;box-shadow:0 4px 14px #604be32b}.button-link.primary:hover,button.primary:hover{background:linear-gradient(120deg,#8561ed,#646de8);border-color:#baadff;box-shadow:0 6px 20px #7059ea45}button.ghost{background:transparent}button.danger-button{background:#983648;color:white;border-color:#bf5467}button.danger-button:hover{background:#ae3c50}:focus-visible{outline:2px solid var(--teal);outline-offset:3px}input,select,textarea{width:100%;min-width:0;min-height:44px;border:1px solid #414964;border-radius:9px;padding:10px 12px;background:#101629;color:var(--text);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #ac92ff1c}input::placeholder,textarea::placeholder{color:#8290a5}textarea{min-height:112px;resize:vertical}label{display:grid;gap:8px;color:#c3cddd;font-size:13px;font-weight:500}h1,h2,h3,p{overflow-wrap:break-word}h1{margin:0;font-size:32px;line-height:1.3;letter-spacing:-.035em;font-weight:650}h2{font-size:16px;margin:0 0 22px}h2,h3{font-weight:600}h3{font-size:14px}p{margin:0}svg{flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;z-index:100;transform:translateY(-150%);padding:12px;background:var(--gold);color:#111}.skip-link:focus{transform:none}.muted{color:var(--muted);font-size:13px}.row{display:grid;gap:18px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions,.btnline{align-items:center}.btnline{display:inline-flex;gap:8px}.btnline svg,.nav svg{width:18px;height:18px}.link-btn{background:transparent;border:0;color:var(--teal);min-height:36px;padding:6px 8px}.link-btn:hover{background:#72d6c00d}.danger{color:var(--red)}.icon-button{padding:9px;min-width:42px;min-height:42px;background:transparent}.card,.panel{border:1px solid var(--line);border-radius:14px;background:var(--panel)}.panel{padding:24px;margin-bottom:20px;min-width:0}.card{padding:32px}.narrow{max-width:560px}.split,.tri{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tri{grid-template-columns:repeat(3,minmax(0,1fr))}.split>.panel,.tri>.panel{margin-bottom:20px}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.toolbar>.search-field,.toolbar>input{flex:1;min-width:200px}.toolbar select{width:auto;min-width:140px}.toolbar .actions{margin-left:auto}.search-field{position:relative;display:flex;align-items:center}.search-field>svg{position:absolute;left:14px;color:var(--muted);width:18px}.search-field>input{padding-left:42px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-toolbar h2{margin:0}.section-toolbar a{display:inline-flex;gap:8px;text-decoration:none;color:var(--teal);font-size:12px}.section-description{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:24px}.eyebrow,.nav-caption{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}.app{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.side{height:100dvh;position:sticky;top:0;padding:28px 16px 20px;border-right:1px solid var(--line);background:#14192bef;backdrop-filter:blur(12px);display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;gap:12px;align-items:center}.brand-badge{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#8564ec38,#58cae92b);color:var(--accent);border:1px solid #a990f347}.brand-badge svg{width:20px;height:20px;transform:scaleX(-1)}.brand strong{font-size:18px;letter-spacing:-.03em;font-weight:650}.brand span{display:block;color:var(--muted);font-size:11px;margin-top:1px}.side .brand{padding:0 6px 36px}.nav-caption{padding:0 12px;margin:0 0 12px}.nav{display:grid;gap:6px}.nav a{min-height:44px;border-radius:9px;padding:10px 12px;font-size:13px;display:flex;gap:12px;align-items:center;color:#aebbcf;text-decoration:none}.nav a:hover{background:#192434;color:var(--text)}.nav a.active{background:linear-gradient(110deg,#8064e338,#6681ef20);color:#d8cbff;box-shadow:inset 3px 0 0 #a78af2}.nav a.active svg{color:var(--accent)}.side-foot{margin-top:auto;padding:18px 8px 0;display:flex;gap:10px;align-items:center;border-top:1px solid var(--line)}.side-foot>div:last-child{min-width:0}.side-foot strong{display:block;font-size:13px;overflow-wrap:anywhere}.side-foot small{display:block;color:var(--muted);font-size:11px}.avatar{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#634eb5,#386d8e);color:#f0ecff;font-size:12px;font-weight:600}.shell{min-width:0}.topbar{height:76px;padding:0 36px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid var(--line);background:#14192bef;backdrop-filter:blur(12px)}.desktop-breadcrumb{display:flex;gap:14px;color:var(--muted);font-size:12px}.desktop-breadcrumb span:last-child{color:#d6e0ee}.topbar-actions{display:flex;align-items:center;gap:12px}.language-switch{font-size:12px;background:transparent;border-color:var(--line);font-weight:500;min-height:38px;padding:6px 10px}.language-switch img{border-radius:50%;object-fit:cover;border:1px solid #ffffff30;flex-shrink:0}.page-content{padding:32px 36px 48px;max-width:1680px;margin:auto;min-width:0}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-header .eyebrow{margin-bottom:10px;color:var(--accent)}.page-header p{color:var(--muted);font-size:13px;line-height:1.6;margin-top:10px}.mobile-brand,.mobile-menu{display:none}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{border:1px solid var(--line);border-radius:12px;padding:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--metric-accent) 11%,var(--panel)),var(--panel) 90%);border-color:color-mix(in srgb,var(--metric-accent) 30%,var(--line));min-width:0}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-top>span{color:#b6c3d5;font-size:12px}.metric-icon{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:color-mix(in srgb,var(--metric-accent) 16%,transparent);color:var(--metric-accent);flex-shrink:0}.metric-icon svg{width:16px;height:16px}.metric strong{display:block;font-size:30px;line-height:1.2;font-weight:650;letter-spacing:-.025em;margin:16px 0 8px}.metric small{font-size:11px;color:var(--muted)}.pill{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:6px;font-size:11px;font-weight:500;line-height:1.4;border:1px solid var(--line);background:#192435;white-space:nowrap}.green{color:var(--green);border-color:#7ddca22b;background:#7ddca20c}.red{color:var(--red);border-color:#ff85912b;background:#ff85910c}.blue{color:var(--teal);border-color:#72d6c02b;background:#72d6c00c}.gold{color:var(--gold);border-color:#e4ba652b;background:#e4ba650c}.info-list>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.info-list>div:last-child{border:0}.info-list>div>span:first-child{color:var(--muted)}.info-list>div>span:last-child{font-weight:600}.inventory-bar{display:flex;height:8px;border-radius:5px;background:#293341;overflow:hidden;margin:20px 0 10px}.inventory-bar>span{background:var(--teal)}.inventory-labels{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.quick-links{display:grid;gap:12px}.quick-link{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:14px;text-decoration:none;background:#202641}.quick-link>svg:first-child{color:var(--quick-accent,var(--accent));width:20px}.quick-link>svg:last-child{margin-left:auto;width:16px;color:var(--muted)}.quick-link:hover{border-color:var(--quick-accent,var(--accent));background:#2a304c;transform:translateX(3px)}.quick-link strong{display:block;font-size:13px}.quick-link small{color:var(--muted);font-size:11px}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}td,th{border-bottom:1px solid var(--line);text-align:left;padding:15px 12px;vertical-align:middle;max-width:300px;overflow-wrap:anywhere}th{color:var(--muted);font-weight:500;font-size:11px;background:#202641;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#ffffff02}.table-wrap td .pill{overflow-wrap:normal}.cell-actions{text-align:right}.cell-actions>.actions{justify-content:flex-end}.key-btn{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;padding:7px 9px;min-height:34px;background:#101629;font-weight:400}.key-btn>span{overflow-wrap:anywhere;text-align:left}.key-btn svg{flex-shrink:0}.pager{justify-content:space-between;padding:8px 0}.empty-state,.pager{display:flex;align-items:center;gap:12px}.empty-state{flex-direction:column;justify-content:center;text-align:center;min-height:200px;padding:32px 16px;color:var(--muted)}.empty-state>svg{width:26px;height:26px;color:var(--teal);margin-bottom:4px}.empty-state strong{font-size:14px;font-weight:500;color:#c3cedf}.empty-state p{font-size:12px;max-width:360px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:6px}.form-error{color:var(--red);font-size:13px}.callout{padding:16px;background:#72d6c008;border:1px solid #72d6c029;border-radius:9px;color:var(--muted);font-size:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-layout{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,1.5fr);gap:24px;max-width:1080px}.account-summary{display:flex;gap:14px;align-items:center;margin-bottom:28px}.account-summary p{margin-top:4px}.settings-preference{border-top:1px solid var(--line);padding-top:24px;display:grid;gap:18px}.settings-preference h3{margin:0 0 8px}.settings-preference button{justify-self:start}.login-shell{min-height:100dvh;display:grid;place-items:center;padding:80px 20px}.login-language{position:absolute;top:24px;right:24px}.login-card{width:min(410px,100%)}.login-card h1{font-size:28px;margin:0 0 12px}.login-card .row{gap:24px}.login-card .primary{margin-top:8px;width:100%}.password-field{position:relative}.password-field input{padding-right:52px}.password-field button{position:absolute;top:1px;right:2px;border:0;min-height:42px;color:var(--muted)}.box{border:1px solid #8070ad80;border-radius:16px;background:linear-gradient(145deg,#232340,#171e32 65%);padding:24px;box-shadow:0 24px 100px #0008}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.detail{margin-bottom:22px}.detail-row{display:grid;grid-template-columns:130px minmax(0,1fr);border-bottom:1px solid var(--line);padding:14px 0;font-size:13px;gap:14px}.detail-row span:first-child{color:var(--muted)}.detail-row span:last-child{overflow-wrap:anywhere}.generation-game-search{display:grid;gap:12px;min-width:0}.generation-search-modes{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#101629}.generation-search-modes button{flex:1;border-color:transparent;background:transparent;color:var(--muted)}.generation-search-modes button[aria-pressed=true]{border-color:#9783eb;background:#7351dc29;color:var(--text)}.generation-search-status{margin:0}.generation-game-results{display:grid;gap:6px;max-height:240px;overflow-y:auto;overscroll-behavior:contain;list-style:none;margin:0;padding:4px;border:1px solid var(--line);border-radius:10px;background:#101629}.generation-game-results button{width:100%;justify-content:space-between;text-align:left;border-color:transparent;background:transparent}.generation-game-results button:hover{background:#242b47}.generation-game-results button[aria-pressed=true]{border-color:var(--accent);background:#7351dc29}.generation-game-info{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}.generation-game-info>span{font-size:12px;font-weight:400;color:var(--muted)}.generation-game-results svg{flex-shrink:0;color:var(--accent)}.generated-output{display:grid;gap:16px;border-top:1px solid var(--line);padding-top:24px;margin-top:24px}.generated-output textarea{font-family:monospace;font-size:12px}.mobile-account{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.mobile-account>span{overflow-wrap:anywhere}.app-toaster .app-toast{color:var(--text)!important;background:#192435!important;border:1px solid #3c4c61!important;border-radius:12px!important}.app-toaster .app-toast-success{border-color:#7ddca24d!important}.app-toaster .app-toast-error{border-color:#ff85914d!important}.app-toaster .app-toast[data-styled=true]{padding-inline-end:56px}.app-toaster .app-toast [data-content]{min-width:0}.app-toaster .app-toast .app-toast-close[data-close-button]{top:50%;left:auto;right:8px;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;gap:0;border-radius:50%;transform:translateY(-50%);color:var(--text)!important;background:#192435!important;border-color:var(--line)!important}.app-toaster .app-toast .app-toast-close[data-close-button]:hover{background:#29364a!important;border-color:var(--accent)!important}.app-toaster .app-toast .app-toast-close[data-close-button]:focus-visible{outline:2px solid var(--teal);outline-offset:2px;box-shadow:none}.app-toaster .app-toast-close>svg{width:14px;height:14px;flex-shrink:0}@media (max-width:600px),(pointer:coarse){.app-toaster .app-toast[data-styled=true]{padding-inline-end:64px}.app-toaster .app-toast .app-toast-close[data-close-button]{width:44px;height:44px;min-width:44px;min-height:44px}}@media (max-width:1200px){.app{grid-template-columns:200px minmax(0,1fr)}.topbar{padding:0 24px}.page-content{padding:28px 24px}.tri{grid-template-columns:1fr 1fr}.tri>.panel:last-child{grid-column:1/-1}.grid{gap:12px}.metric{padding:16px}.dashboard-layout{grid-template-columns:1fr}}@media (max-width:900px){.app{display:block}.desktop-breadcrumb,.desktop-logout,.side{display:none}.mobile-brand,.mobile-menu{display:flex}.topbar{height:68px;padding:0 20px;position:sticky;top:0;z-index:10}.mobile-brand .brand-badge{width:30px;height:30px}.mobile-brand .brand{gap:9px}.mobile-brand .brand strong{font-size:16px}.mobile-brand .brand span{display:none}.topbar-actions{gap:8px}.page-content{padding:26px 20px 40px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-layout,.split,.tri{grid-template-columns:1fr}.tri>.panel:last-child{grid-column:auto}.navigation-dialog .nav a{min-height:48px}.page-header{margin-bottom:24px}}@media (max-width:600px){h1{font-size:26px}.page-content{padding:24px 16px 36px}.panel{padding:18px;border-radius:12px}.topbar{padding:0 16px}.topbar-actions{gap:6px}.language-switch{padding:6px 8px;gap:6px}.language-switch img{width:21px;height:21px}.metric{padding:16px 14px}.metric-top>span{font-size:11px}.metric-icon{width:26px;height:26px}.metric strong{font-size:25px}.metric small{font-size:10px}.metric-top{align-items:flex-start;gap:5px}.grid{gap:10px}.toolbar{display:grid;grid-template-columns:1fr}.toolbar>.search-field,.toolbar>input{min-width:0}.toolbar select{width:100%}.toolbar .actions{margin-left:0}.toolbar .actions>button{flex:1}.table-wrap{overflow:visible}table,tbody{display:block;width:100%}thead{display:none}tbody{display:grid;gap:14px}tbody tr{display:block;border:1px solid var(--line);border-radius:10px;padding:12px;background:#101824}td{max-width:none;display:grid;grid-template-columns:minmax(72px,.55fr) minmax(0,1fr);gap:14px;padding:9px 0;border:0;align-items:center;font-size:12px}td:before{content:attr(data-label);color:var(--muted);font-size:11px}td>*{justify-self:start;max-width:100%}.cell-actions{display:flex;justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px;margin-top:6px}.cell-actions:before{content:none}.pager{align-items:flex-start;flex-direction:column;gap:16px}.pager .actions{width:100%;justify-content:space-between}.pager button{flex:1}.form-grid{grid-template-columns:1fr}.card{padding:26px}.login-language{top:20px;right:20px}.detail-row{grid-template-columns:95px minmax(0,1fr)}.page-header p{font-size:12px}.section-toolbar{align-items:flex-start}.settings-layout{gap:0}.quick-link{padding:12px}.dashboard-layout{gap:0}}@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}.game-library{display:grid}.game-create-heading,.game-library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-create-heading>svg{color:var(--accent,#53ddc6)}.game-create-heading h2,.game-library-heading h2{margin:6px 0 8px}.game-create-heading p{margin:0;max-width:620px}.game-eyebrow{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#7bdcc9;font-weight:700}.game-create-form{margin-top:24px}.game-inputs{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(200px,1.5fr);gap:16px;align-items:end}.game-inputs label{display:grid;gap:8px;font-size:12px;color:#aebccc}.game-inputs input{width:100%;min-width:0}.game-inputs button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:42px}.game-preview{margin-top:20px;border:1px solid #253348;border-radius:12px;overflow:hidden;display:grid;grid-template-columns:260px 1fr;min-height:144px;background:#0d1623}.game-preview .game-artwork{border-radius:0;height:100%;aspect-ratio:auto}.game-preview-info{padding:22px 26px;align-self:center}.game-preview-info h3{margin:8px 0 12px;font-size:22px;line-height:1.25}.game-preview-info button{margin-top:14px;display:flex;align-items:center;gap:8px}.game-preview-placeholder{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:14px;padding:24px;color:#8494a9}.game-preview-placeholder svg{color:#56746e;flex-shrink:0}.game-artwork{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:460/215;background:linear-gradient(130deg,#152d35,#192333);overflow:hidden}.game-artwork>img{width:100%;height:100%;object-fit:cover}.game-artwork>svg{height:42px;width:42px;color:#487068}.game-appid{position:absolute;bottom:10px;left:12px;font-family:monospace;font-size:11px;background:#08131cdc;color:#e1e9ec;padding:4px 8px;border-radius:5px;border:1px solid #ffffff20}.game-facts{display:flex;flex-wrap:wrap;gap:10px 16px;color:#95a7bc;font-size:11px}.game-facts>span{display:flex;gap:6px;align-items:center}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{border:1px solid #243145;background:#111c2b;overflow:hidden;transition:border-color .15s}.game-card:hover{border-color:#3c625e}.game-card-content{padding:18px}.game-card h3{margin:0 0 10px;font-size:16px;line-height:1.4;overflow-wrap:anywhere}.game-custom-label{font-size:12px;color:#cfb779;margin:0 0 12px}.game-owner{font-size:11px;color:#aab9ca;margin:12px 0 0}.game-card-actions{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid #223045;font-size:11px;flex-wrap:wrap}.game-card-actions>span{margin-right:auto}.game-search{display:flex;align-items:center;gap:10px;padding-left:12px;border:1px solid #2c3d53;border-radius:8px;background:#101b29;max-width:450px;width:100%}.game-search>svg{color:#8495ac;flex-shrink:0}.game-search input{border:0;background:transparent;min-width:0;width:100%}.game-search button{margin:4px;flex-shrink:0}.game-empty{padding:38px;text-align:center;border:1px dashed #2b3a4e;border-radius:12px;color:#93a4b9}.game-dialog{width:min(660px,calc(100% - 32px));max-height:85vh;padding:26px;background:#101b2a;color:#e4edf6;border:1px solid #35475c;border-radius:16px;overflow:auto}.game-dialog::backdrop{background:#030b14cc;backdrop-filter:blur(5px)}.game-dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.game-dialog .game-artwork{border-radius:10px}.game-dialog h2{font-size:24px;line-height:1.3;margin:20px 0 12px}.game-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}.game-dates dt{font-size:11px;color:#8ca0b8;margin-bottom:6px}.game-dates dd{margin:0;font-size:12px;overflow-wrap:anywhere}.game-tags{display:flex;flex-wrap:wrap;gap:6px}.game-tags span{font-size:10px;color:#a4c8c0;background:#18322f;padding:5px 8px;border-radius:4px}.game-dlc-heading{display:flex;align-items:center;gap:10px;margin-top:26px}.game-dlc-heading h3{font-size:15px;margin:0}.game-dlc-heading>span{font-size:11px;background:#283948;border-radius:5px;padding:3px 7px}.game-dialog>p.muted{font-size:11px}.game-dlc-list{list-style:none;padding:0;margin:16px 0;display:grid;gap:8px}.game-dlc-list li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid #253649;border-radius:7px}.game-dlc-list strong{font-size:12px;display:block;font-weight:500}.game-dlc-list span{display:block;font-family:monospace;font-size:10px;color:#859bb1;margin-top:5px}.game-dlc-list svg{color:#658c82;flex-shrink:0}@media (max-width:1100px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-inputs{grid-template-columns:1fr 1.5fr}.game-inputs button{grid-column:1/-1}.game-library-heading{flex-wrap:wrap}.game-search{max-width:none}}@media (max-width:600px){.game-grid,.game-inputs,.game-preview{grid-template-columns:1fr}.game-preview .game-artwork{aspect-ratio:460/215}.game-preview-info{padding:18px}.game-preview-info h3{font-size:18px}.game-create-heading>svg{display:none}.game-dates{grid-template-columns:1fr}.game-dialog{padding:18px}.game-create-heading p{font-size:12px}.game-search button{font-size:11px}.game-empty{padding:24px 14px}}.app-modal{width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 32px);color:var(--text);overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;padding:24px}.app-modal.key{width:min(660px,calc(100% - 32px))}.app-modal::backdrop{background:rgba(6,8,20,.72);backdrop-filter:blur(5px)}.app-modal .modal-head{margin-bottom:22px;align-items:flex-start}.app-modal .modal-head h2{margin:0;font-size:20px;line-height:1.35}.app-modal .modal-head .link-btn{flex-shrink:0;padding:4px;min-width:32px;min-height:32px}.app-modal :focus-visible{outline:2px solid var(--teal);outline-offset:3px}.game-action-summary{display:flex;gap:14px;align-items:center;padding:16px;background:#0b1a2b;border:1px solid var(--line);border-radius:12px;margin-bottom:22px}.game-action-icon{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;color:var(--teal);background:#18322f;border-radius:12px}.game-action-icon.danger{background:rgba(255,100,111,.12);color:var(--red)}.game-action-summary>div{min-width:0}.game-action-summary strong{display:block;font-size:15px;line-height:1.4}.game-action-summary>div>span{display:block;margin-top:5px;color:var(--muted);font-size:11px}.game-action-form{display:grid;gap:14px}.game-name-hint{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.game-name-hint>span:last-child{white-space:nowrap}.game-delete-note{margin:0;color:#b9c7d5;line-height:1.65;font-size:14px}.game-action-error{margin:0;color:var(--red);font-size:13px;line-height:1.5}.game-action-error:empty{display:none}.game-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:12px;padding-top:20px;border-top:1px solid var(--line)}button.danger-button{background:#a63244;border-color:#d04d62;color:#fff}@media (max-width:600px){.app-modal{padding:20px}.app-modal .modal-head h2{font-size:18px}.game-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.game-dialog-actions>button{padding:10px 8px;font-size:13px}.detail-row{grid-template-columns:minmax(85px,.65fr) minmax(0,1fr);gap:12px}}.game-library{gap:24px}.game-create-heading h2{font-size:18px}.game-artwork{background:#1d2a37}.game-card{background:var(--panel);border-color:var(--line);border-radius:12px}.game-card-content{padding:20px}.game-facts{gap:10px 14px}.game-card-actions,.game-facts{font-size:12px}.game-create-form{margin-top:20px}.game-preview{background:#101629;border-color:var(--line)}.game-preview-info h3{font-size:20px}.game-search{background:#101629;border-color:var(--line)}.game-card-actions .link-btn{padding:4px 0}.game-create-heading p{line-height:1.65}.game-action-summary{background:#101629}.game-action-summary strong{font-size:14px}.game-dialog-actions>button{min-height:44px}.game-dates{grid-template-columns:1fr}.game-dlc-list li{background:#1a2239}.game-dates dt,.game-facts,.game-owner{color:var(--muted)}@media (max-width:600px){.game-grid,.game-library-heading{gap:16px}.game-inputs{gap:14px}.game-preview-placeholder{font-size:12px;line-height:1.7;min-height:110px}.game-card-content{padding:18px}.app-modal{max-height:calc(100dvh - 24px);padding:20px}.app-modal,.app-modal.key{width:calc(100% - 24px)}.game-dialog-actions>button{font-size:13px}.generated-output .actions>button{flex:1}}@media (max-width:900px){.dashboard-layout>div:last-child{order:-1;display:flex;flex-direction:column}.dashboard-layout>div:last-child>.panel:last-child{order:-1}}@media (max-width:600px){input,select,textarea{font-size:16px}.button-link,button{min-height:44px}.table-wrap td{font-size:13px}.key-btn,.table-wrap td:before{font-size:12px}}.field{display:grid;gap:8px}html{scrollbar-gutter:stable}.button-link:active,button:active:not(:disabled){transform:translateY(1px)}button.secondary{background:#244754;border-color:#64cde260;color:#b8f2ff}button.secondary:hover:not(:disabled){background:#2d5765;border-color:var(--cyan)}button.download-button{background:#1c3c3e;border-color:#72d6c060;color:#b0f1dd}button.download-button:hover:not(:disabled){background:#285451;border-color:var(--teal)}button.danger:not(.danger-button){background:#ff859110;border-color:#ff859140;color:var(--red)}button.danger:not(.danger-button):hover{background:#ff859126;border-color:var(--red)}button.primary:disabled{opacity:.65;box-shadow:none}.card,.panel{background:linear-gradient(140deg,#1d2239,var(--panel) 70%);box-shadow:0 6px 24px #05081a1a}.side{background:linear-gradient(175deg,#1a1932,#101627 75%)}.metric{--metric-accent:var(--accent)}.metric:nth-child(4n+2){--metric-accent:var(--cyan)}.metric:nth-child(4n+3){--metric-accent:var(--teal)}.metric:nth-child(4n+4){--metric-accent:var(--gold)}.quick-link{--quick-accent:var(--accent);background:linear-gradient(110deg,#8464ed18,#202641);transition:background .18s,border-color .18s,transform .18s}.quick-link:nth-child(3n+2){--quick-accent:var(--cyan);background:linear-gradient(110deg,#79d9f615,#202641)}.quick-link:nth-child(3n+3){--quick-accent:var(--teal);background:linear-gradient(110deg,#7ce4cc15,#202641)}.inventory-bar>span{background:linear-gradient(90deg,#76cdec,var(--teal))}.action-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.action-bar h2{margin:0;font-size:17px}.action-bar:last-child{margin-bottom:0}.action-bar>.actions{justify-content:flex-end}.search-group{display:flex;gap:10px}.search-group,.search-group>.search-field{flex:1;min-width:0}.search-group>button{flex-shrink:0}.game-create-footer{margin-top:20px}.game-card{box-shadow:0 6px 24px #080a1e33}.game-card-meta{display:flex;flex-wrap:wrap;gap:8px 12px;justify-content:space-between;align-items:center;margin-top:14px}.game-card-meta .game-owner{margin:0}.game-key-count{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-size:12px}.game-card-actions{justify-content:space-between;gap:10px;border-color:var(--line)}.game-card-actions>.secondary{flex:1}.game-card-actions .actions{gap:8px}.profile-actions{display:grid;gap:16px}.profile-actions>.primary{justify-self:start}.profile-actions>.actions{border-top:1px solid var(--line);padding-top:16px}.settings-preference{grid-template-columns:minmax(0,1fr) auto;align-items:center}.login-card{border-color:#9d81f460;box-shadow:0 24px 80px #05071966}.login-shell{background:radial-gradient(ellipse at 25% 15%,#6547af30,transparent 60%),radial-gradient(ellipse at 80% 90%,#298da322,transparent 60%)}.app-modal{transform-origin:50% 45%;box-shadow:0 32px 100px #0008,0 0 0 1px #b59af21a;transition:opacity .26s ease-out,transform .26s cubic-bezier(.22,1,.36,1)}.app-modal[data-state=open]{opacity:1;transform:translateY(0) scale(1)}.app-modal[data-state=closing]{opacity:0;transform:translateY(10px) scale(.98);transition-duration:.2s;transition-timing-function:ease-in;pointer-events:none}.app-modal[data-state=open]::backdrop{opacity:1;transition:opacity .26s ease-out}.app-modal[data-state=closing]::backdrop{opacity:0;transition:opacity .2s ease-in}.modal-content{min-width:0}.modal-head .modal-close{width:36px;height:36px;min-height:36px;min-width:36px;padding:7px;background:#ac92ff12;border-color:#ac92ff30;color:#d4c6ff}.modal-head .modal-close:hover{background:#ac92ff28;border-color:var(--accent)}@starting-style{.app-modal[data-state=open]{opacity:0;transform:translateY(16px) scale(.97)}.app-modal[data-state=open]::backdrop{opacity:0}}@media (max-width:600px){.action-bar{align-items:stretch;flex-direction:column;gap:14px}.action-bar .actions>button,.game-create-footer>button,.profile-actions>.primary,.search-group{width:100%}.search-group>button{padding:10px 12px}.form-footer{display:flex;flex-wrap:wrap}.form-footer>button{flex:1;min-width:0;padding:10px 12px}.profile-actions>.actions{display:grid;grid-template-columns:1fr 1fr}.profile-actions>.actions>button:last-child{grid-column:1/-1}.settings-preference{grid-template-columns:1fr}}@media (max-width:900px){html{scrollbar-gutter:auto;scrollbar-width:none}.app-modal.navigation-dialog{inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;box-shadow:none}.navigation-dialog .modal-content{display:flex;flex-direction:column;height:100%;min-height:0;padding:calc(20px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left))}.navigation-dialog .modal-head{flex-shrink:0;align-items:center;margin-bottom:16px}.navigation-dialog .modal-close{width:44px;height:44px;min-width:44px;min-height:44px}.navigation-dialog .nav{flex:1;min-height:0;align-content:start;overflow-y:auto;overscroll-behavior:contain;padding:4px;margin:-4px}.navigation-dialog .mobile-account{flex-shrink:0;margin-top:16px;padding-top:16px}.navigation-dialog .mobile-account>span{min-width:0}.navigation-dialog .mobile-account>button{flex-shrink:0}.navigation-dialog[data-state=closing]{transform:translateY(10px)}@starting-style{.navigation-dialog[data-state=open]{transform:translateY(16px)}}}@media (prefers-reduced-motion:reduce){.app-modal,.app-modal::backdrop{transition:none!important}}.select-control{position:relative;display:inline-flex;min-width:0;width:100%}.select-control>select{appearance:none;width:100%;padding-right:42px}.select-control>svg{position:absolute;top:50%;right:14px;transform:translateY(-50%);color:var(--muted);pointer-events:none}.select-control:has(select:disabled)>svg{opacity:.45}.toolbar>.select-control{width:auto;min-width:150px}.toolbar .select-control>select{width:100%}.profile-detail-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px}.profile-detail-layout .panel{margin-bottom:0}.profile-card{display:flex;flex-direction:column;padding:22px}.profile-card h2{margin-bottom:20px}.profile-card .account-summary{margin-bottom:0}.profile-identity{min-width:0}.profile-identity strong{overflow-wrap:anywhere}.profile-identity p{margin:5px 0 0;font-size:12px}.profile-badges{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.profile-facts{margin:0 0 12px;border-top:1px solid var(--line)}.profile-facts>div{padding:8px 0;display:grid;gap:5px}.profile-facts dt{color:var(--muted);font-size:11px}.profile-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.profile-history-button{width:100%;margin-top:auto}.profile-management{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);display:grid;gap:10px}.profile-management h3{margin:0 0 4px;font-size:12px;color:var(--muted)}.profile-edit-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-edit-actions>button{padding-inline:8px;font-size:12px}.profile-list-panel{display:flex;flex-direction:column;padding:22px}.profile-list-panel>.compact-pager{margin-top:auto}.profile-list-panel .section-toolbar{margin-bottom:12px}.profile-list-panel .empty-state{min-height:130px;padding-block:20px;flex:1}.profile-credit-panel{grid-column:1/-1}.count-badge{color:var(--teal);background:#65dfcd12;border:1px solid #65dfcd26;border-radius:7px;padding:3px 8px;font-size:11px}.profile-records{list-style:none;margin:0;padding:0}.profile-records>li{display:flex;align-items:center;gap:12px;padding:12px 0;min-height:65px;border-bottom:1px solid var(--line)}.profile-records>li:last-child{border-bottom:0}.record-icon{display:grid;place-items:center;color:var(--teal);background:#5ce0cc12;width:34px;height:34px;border-radius:9px;flex-shrink:0}.record-content{flex:1;min-width:0}.record-content strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere;line-height:1.5}.record-content small{color:var(--muted);font-size:11px}.game-records strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.record-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}.record-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-heading .pill{flex-shrink:0}.record-key{display:flex;align-items:center;gap:8px;margin-top:6px}.record-key .key-btn{min-width:0;min-height:28px;padding:4px 7px;flex:1;font-size:11px}.record-key .key-btn>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.credit-change{min-width:48px;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}.credit-change.positive{color:var(--teal)}.credit-change.negative{color:#f6acb5}.credit-record-meta{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;margin-top:3px}.balance-change{display:inline-flex;align-items:center;gap:6px}.balance-change,.record-date{color:var(--muted);font-size:11px}.record-date{text-align:right}.compact-pager{border-top:1px solid var(--line);padding:12px 0 0;gap:8px}.compact-pager>span{font-size:11px}.compact-pager .actions{gap:6px;width:auto}.compact-pager button{padding:0;min-height:32px;width:32px;flex:0 0 32px}.trace-filters{margin-bottom:18px}.login-traces-dialog .dialog-description{margin-bottom:16px}.trace-results{max-height:420px;overflow:auto}.trace-agent{display:block;max-width:320px;overflow-wrap:anywhere;font-size:12px}.login-traces-dialog .pager{margin-top:14px}@media (max-width:1100px){.profile-detail-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card{grid-column:1/-1}.profile-facts{display:grid;gap:0 20px}.profile-facts,.profile-management{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-management h3{grid-column:1/-1}.profile-edit-actions{grid-column:1/-1;grid-row:3}}@media (max-width:600px){.toolbar>.select-control{width:100%;min-width:0}.profile-detail-layout{grid-template-columns:1fr}.profile-card,.profile-list-panel{padding:18px}.profile-detail-layout{gap:16px}.credit-records>li{flex-wrap:wrap;gap:6px 12px}.credit-records .record-date{width:100%;padding-left:60px;text-align:left}.compact-pager{flex-direction:row;align-items:center;gap:8px}.compact-pager>span{flex:1;min-width:0}.compact-pager .actions{width:auto}.compact-pager button{min-height:44px;width:44px;flex:0 0 44px}.record-key .key-btn{min-height:44px}.trace-results{max-height:48dvh}}