:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--kx-bg:#0b0b0c;--kx-panel:#141416;--kx-panel-raised:#1a1a1d;--kx-line:#2b2a28;--kx-text:#f4f0e8;--kx-muted:#aaa397;--kx-gold:#d9b45b;--kx-gold-strong:#efcb72;--kx-success:#67b88d;--kx-warning:#d6a14a;--kx-danger:#de6b67;--kx-focus:#f2d383;--kx-radius-sm:8px;--kx-radius-md:12px;--kx-radius-lg:18px;--kx-shadow-raised:0 18px 54px #03030452;--kx-sidebar-width:248px;--kx-topbar-height:72px;--kx-space-1:4px;--kx-space-2:8px;--kx-space-3:12px;--kx-space-4:16px;--kx-space-5:20px;--kx-space-6:24px;--kx-space-8:32px;--kx-space-10:40px}*,:before,:after{box-sizing:border-box}html{background:var(--kx-bg);scroll-behavior:smooth;min-width:320px}body{background:radial-gradient(circle at 82% 0%, #d9b45b0e, transparent 28rem), var(--kx-bg);min-width:320px;min-height:100dvh;color:var(--kx-text);text-rendering:optimizelegibility;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.55}button,input,select,textarea{color:inherit;font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{border:0}:focus-visible{outline:2px solid var(--kx-focus);outline-offset:3px}::selection{background:var(--kx-gold);color:#17130a}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:50;border-radius:var(--kx-radius-sm);background:var(--kx-gold-strong);color:#17130a;padding:10px 14px;font-weight:750;text-decoration:none;transition:translate .14s;position:fixed;top:10px;left:12px;translate:0 -160%}.skip-link:focus{translate:0}.app-shell{min-height:100dvh}.shell-sidebar{border-right:1px solid var(--kx-line);background:#141416f5}.shell-brand{border-bottom:1px solid var(--kx-line);gap:1px;padding:26px 24px 22px;display:grid}.shell-brand strong{color:var(--kx-gold-strong);letter-spacing:.08em;font-size:20px}.shell-brand span{color:var(--kx-muted);font-size:12px}.shell-nav{gap:5px;padding:18px 14px;display:grid}.shell-nav a{border-radius:var(--kx-radius-sm);color:var(--kx-muted);padding:11px 12px 11px 17px;font-weight:590;text-decoration:none;transition:color .14s,background-color .14s,transform .14s;position:relative}.shell-nav a:hover{background:var(--kx-panel-raised);color:var(--kx-text)}.shell-nav a:active{transform:translateY(1px)}.shell-nav a[aria-current=page]{color:var(--kx-gold-strong);background:linear-gradient(90deg,#d9b45b26,#d9b45b09)}.shell-nav a[aria-current=page]:before{background:var(--kx-gold-strong);content:"";border-radius:2px;width:2px;position:absolute;inset:9px auto 9px 0}.shell-stage{min-width:0}.shell-topbar{z-index:20;min-height:var(--kx-topbar-height);border-bottom:1px solid var(--kx-line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0b0b0ce6;justify-content:space-between;align-items:center;gap:16px;padding:0 30px;display:flex;position:sticky;top:0}.shell-topbar-title{gap:1px;display:grid}.shell-topbar-title strong{font-size:14px}.shell-topbar-title span{color:var(--kx-muted);font-size:12px}.shell-user{align-items:center;gap:10px;display:flex}.shell-avatar{width:34px;height:34px;color:var(--kx-gold-strong);background:#d9b45b1f;border:1px solid #d9b45b6b;border-radius:50%;place-items:center;font-weight:760;display:grid}.shell-menu-button,.shell-preview-button{border:1px solid var(--kx-line);border-radius:var(--kx-radius-sm);background:var(--kx-panel);min-height:40px;color:var(--kx-text);cursor:pointer;padding:8px 12px}.shell-menu-button{display:none}.shell-main{width:min(100%,1540px);min-width:0;margin-inline:auto;padding:34px clamp(20px,3vw,48px) 64px}.shell-preview{border-left:1px solid var(--kx-line);background:var(--kx-panel)}.shell-backdrop{display:none}.page-placeholder{max-width:760px}.page-placeholder h1{letter-spacing:-.025em;margin:0 0 8px;font-family:Songti SC,STSong,serif;font-size:clamp(28px,3vw,42px);font-weight:650}.page-placeholder p{max-width:58ch;color:var(--kx-muted)}.kx-button{border-radius:var(--kx-radius-sm);cursor:pointer;white-space:nowrap;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 16px;font-weight:720;line-height:1;text-decoration:none;transition:background-color .14s,border-color .14s,color .14s,transform .14s;display:inline-flex}.kx-button:active:not(:disabled){transform:translateY(1px)}.kx-button:disabled{cursor:not-allowed;opacity:.5}.kx-button-primary{background:var(--kx-gold-strong);color:#17130a}.kx-button-primary:hover:not(:disabled){background:#f7d98c}.kx-button-secondary{color:var(--kx-gold-strong);background:#d9b45b14;border-color:#6d5c32}.kx-button-ghost{border-color:var(--kx-line);color:var(--kx-text);background:0 0}.kx-button-danger{color:#f5aaa7;background:#de6b671f;border-color:#de6b6780}.status-tag{border:1px solid;border-radius:999px;align-items:center;min-height:28px;padding:0 10px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.status-draft{color:#beb7ab;background:#beb7ab14}.status-pending{color:var(--kx-gold-strong);background:#d9b45b1a}.status-success{color:#8ed0ad;background:#67b88d1a}.status-warning{color:#edbc68;background:#d6a14a1a}.status-danger{color:#f29a96;background:#de6b671a}.empty-state{justify-items:start;gap:10px;max-width:560px;padding:42px 0;display:grid}.empty-state h2,.empty-state p{margin:0}.empty-state p{color:var(--kx-muted)}.error-summary{border-left:3px solid var(--kx-danger);border-radius:0 var(--kx-radius-sm) var(--kx-radius-sm) 0;background:#de6b6717;padding:14px 16px}.error-summary h2{margin:0 0 6px;font-size:15px}.error-summary ul{margin:0;padding-left:20px}.confirm-backdrop{z-index:40;background:#050506c7;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-dialog{border:1px solid var(--kx-line);border-radius:var(--kx-radius-lg);background:var(--kx-panel-raised);width:min(100%,440px);box-shadow:var(--kx-shadow-raised);padding:24px}.confirm-dialog h2{margin:0 0 8px}.confirm-dialog p{color:var(--kx-muted);margin:0}.confirm-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.autosave-indicator{color:var(--kx-muted);font-size:13px}.autosave-saving{color:var(--kx-gold-strong)}.autosave-error{color:#f29a96}.pack-list-page{gap:24px}.pack-filters{flex-wrap:wrap;gap:10px;display:flex}.pack-filters input,.pack-filters select,.pack-fields input,.pack-fields textarea{border-radius:var(--kx-radius-sm);background:var(--kx-panel);border:1px solid #3a3936;min-height:44px;padding:0 12px}.pack-filters input{width:min(360px,75vw)}.pack-card-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px;display:grid}.pack-card{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);min-width:0;overflow:hidden}.pack-cover{background:linear-gradient(145deg, #d9b45b33, #14141699), var(--kx-panel-raised);color:#f2d3836b;letter-spacing:.22em;background-position:50%;background-size:cover;place-items:center;min-height:150px;font-family:Songti SC,STSong,serif;font-size:26px;display:grid}.pack-card-body{gap:14px;padding:18px;display:grid}.pack-card-title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pack-card-title h2,.pack-card-body p,.pack-card-body dl{margin:0}.pack-card-title h2{font-size:20px}.pack-card-body p{min-height:46px;color:var(--kx-muted)}.pack-card-body dl{flex-wrap:wrap;gap:10px 22px;display:flex}.pack-card-body dl>div{gap:1px;display:grid}.pack-card-body dt{color:var(--kx-muted);font-size:12px}.pack-card-body dd{margin:0;font-weight:680}.pack-card-actions,.wizard-actions>div{flex-wrap:wrap;gap:8px;display:flex}.pack-wizard{gap:22px;display:grid}.wizard-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.wizard-header p{color:var(--kx-gold-strong);margin:0 0 4px;font-size:13px;font-weight:700}.wizard-header h1{margin:0;font-family:Songti SC,STSong,serif;font-size:clamp(30px,4vw,46px);line-height:1.15}.wizard-header span{color:var(--kx-muted);margin-top:7px;font-size:13px;display:block}.wizard-steps{border-block:1px solid var(--kx-line);grid-template-columns:repeat(6,minmax(105px,1fr));display:grid;overflow-x:auto}.wizard-steps button{border-right:1px solid var(--kx-line);min-height:64px;color:var(--kx-muted);cursor:pointer;text-align:left;background:0 0;grid-template-columns:auto 1fr;align-items:center;gap:8px;padding:9px 12px;display:grid}.wizard-steps button:last-child{border-right:0}.wizard-steps button span{color:#746c5d;font-size:11px}.wizard-steps button[data-active=true]{box-shadow:inset 0 -2px var(--kx-gold-strong);color:var(--kx-gold-strong)}.wizard-panel{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);min-height:340px;padding:clamp(18px,3vw,30px)}.template-choice-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.template-choice{border-radius:var(--kx-radius-md);background:linear-gradient(145deg, #d9b45b0f, transparent), var(--kx-panel-raised);cursor:pointer;text-align:left;border:1px solid #3a3936;flex-direction:column;align-items:flex-start;min-height:180px;padding:20px;display:flex}.template-choice[data-selected=true]{border-color:var(--kx-gold-strong);box-shadow:inset 0 0 0 1px var(--kx-gold-strong)}.template-choice span{color:var(--kx-gold-strong);font-size:12px}.template-choice strong{margin-top:auto;font-size:20px}.template-choice small{color:var(--kx-muted);margin-top:6px}.pack-fields{gap:18px;width:min(100%,720px);display:grid}.pack-fields label{gap:7px;display:grid}.pack-fields label>span{color:#d7d1c7;font-size:13px;font-weight:680}.pack-fields textarea{resize:vertical;min-height:124px;padding-block:10px}.pack-cost-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.wizard-placeholder{gap:8px;width:min(100%,620px);padding-block:32px;display:grid}.wizard-placeholder strong{font-size:22px}.wizard-placeholder p{color:var(--kx-muted);margin:0}.wizard-actions{justify-content:space-between;gap:12px;padding-top:2px;display:flex}.conflict-actions{flex-wrap:wrap}.probability-step,.submit-step,.pool-validation{gap:24px;width:min(100%,820px);display:grid}.probability-heading,.submit-title-row,.review-card-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.probability-heading h2,.submit-title-row h2,.pool-validation h2,.review-card h2{margin:4px 0 0}.probability-total{color:#9ad0aa;white-space:nowrap;border:1px solid #476d55;border-radius:999px;padding:8px 13px}.probability-total.is-invalid{color:#ec9d94;border-color:#8e4a45}.probability-grid,.pool-rarity-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.probability-grid>label,.pool-rarity-grid>span{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel-raised);gap:12px;padding:14px;display:grid}.probability-grid label>span:first-child{justify-content:space-between;gap:8px;display:flex}.probability-grid small{color:var(--kx-muted);font-size:11px}.probability-input-wrap{grid-template-columns:1fr auto;align-items:center;gap:6px;display:grid}.probability-input-wrap input{min-width:0}.probability-prices label{gap:7px;display:grid}.submit-summary,.review-card{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:linear-gradient(145deg, #d9b45b0f, transparent), var(--kx-panel-raised);padding:20px}.submit-title-row p,.review-note p,.review-page>header p,.pool-validation p{color:var(--kx-muted)}.submit-summary dl,.review-card dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 0;display:grid}.submit-summary dl>div,.review-card dl>div{gap:4px;display:grid}.submit-summary dt,.review-card dt{color:var(--kx-muted);font-size:12px}.submit-summary dd,.review-card dd{margin:0}.submit-confirmations{gap:12px;display:grid}.submit-confirmations label{align-items:center;gap:10px;display:flex}.submit-success,.review-success{color:#a9d8b5;border-left:3px solid #6fa47d;padding:10px 14px}.review-page{gap:22px;display:grid}.review-page>header h1{margin:4px 0 8px;font-size:clamp(30px,4vw,48px)}.review-list{gap:14px;display:grid}.review-card{gap:18px;display:grid}.review-card-heading span:first-child{color:var(--kx-gold-strong);font-size:12px}.review-status{white-space:nowrap;background:#292a27;border-radius:999px;padding:7px 11px;font-size:12px}.review-status-rejected{color:#ec9d94}.review-status-approved{color:#9ad0aa}.review-status-pending{color:#e1c270}.review-status-revised{color:var(--kx-muted)}.review-note{background:#8e4a4514;border-left:2px solid #8e4a45;padding:12px 14px}.review-note p{margin:5px 0 0}.dashboard-page,.account-page{gap:24px;display:grid}.dashboard-hero,.dashboard-section>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.dashboard-hero h1,.account-page>header h1{margin:4px 0 8px;font-size:clamp(34px,5vw,58px)}.dashboard-hero p:last-child,.account-page>header p:last-child,.dashboard-muted{color:var(--kx-muted)}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.dashboard-metrics article{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);padding:18px}.dashboard-metrics article[data-attention=true]{background:linear-gradient(145deg, #8e4a451f, transparent), var(--kx-panel);border-color:#75443f}.dashboard-metrics span,.dashboard-metrics p,.dashboard-drafts small{color:var(--kx-muted);font-size:12px}.dashboard-metrics strong{font-family:var(--kx-display);margin-block:8px 2px;font-size:34px;display:block}.dashboard-metrics p{margin:0}.dashboard-section{gap:14px;display:grid}.dashboard-section h2{margin:4px 0 0}.dashboard-action-list,.dashboard-drafts{gap:10px;display:grid}.dashboard-action-list article,.dashboard-drafts article{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;display:flex}.attention-section .dashboard-action-list article{border-color:#75443f}.dashboard-action-list h3,.dashboard-drafts h3{margin:7px 0 4px}.dashboard-action-list p,.dashboard-drafts p{color:var(--kx-muted);margin:0}.account-layout{grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:16px;display:grid}.account-profile-card,.account-details>section{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);padding:22px}.account-profile-card{background:radial-gradient(circle at top left, #d9b45b24, transparent 42%), var(--kx-panel);align-content:start;gap:24px;display:grid}.account-avatar{aspect-ratio:1;border:1px solid var(--kx-gold-strong);width:72px;color:var(--kx-gold-strong);font-family:var(--kx-display);border-radius:50%;place-items:center;font-size:30px;display:grid}.account-profile-card span{color:var(--kx-gold-strong);font-size:12px}.account-profile-card h2{margin:7px 0;font-size:30px}.account-profile-card p,.account-security-note p,.account-security-note small{color:var(--kx-muted)}.account-details{gap:16px;display:grid}.account-details dl{gap:0;margin:10px 0 0;display:grid}.account-details dl>div{border-bottom:1px solid var(--kx-line);grid-template-columns:130px minmax(0,1fr);gap:18px;padding-block:14px;display:grid}.account-details dl>div:last-child{border-bottom:0}.account-details dt{color:var(--kx-muted)}.account-details dd{overflow-wrap:anywhere;margin:0}.account-security-note h2{margin-top:0}.card-list,.card-editor{gap:20px;display:grid}.card-preview-mobile-button,.card-preview-drawer{display:none}.card-list-header,.card-editor-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.card-list-header>div,.card-editor-header>div{gap:3px;display:grid}.card-list-header strong{font-size:19px}.card-list-header span,.card-editor-header span{color:var(--kx-muted);font-size:13px}.card-list-grid{gap:8px;display:grid}.card-list-item{border:1px solid var(--kx-line);border-radius:var(--kx-radius-sm);background:var(--kx-panel-raised);grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px;display:grid}.card-list-thumb{aspect-ratio:63/88;border:2px solid var(--card-accent,#686b72);width:52px;color:var(--card-accent,#bbb);background:#17191e;border-radius:6px;place-items:center;font-family:Songti SC,STSong,serif;font-size:20px;display:grid;overflow:hidden}.card-list-thumb img{object-fit:cover;width:100%;height:100%}.card-list-item h3{margin:2px 0 6px}.card-list-item small{color:var(--kx-muted)}.card-editor-header p{color:var(--kx-gold-strong);margin:0;font-size:13px;font-weight:700}.card-editor-header h2{margin:0;font-family:Songti SC,STSong,serif;font-size:30px}.card-editor-layout{grid-template-columns:150px minmax(330px,1fr) minmax(260px,330px);align-items:start;gap:18px;display:grid}.card-editor-stages{border:1px solid var(--kx-line);border-radius:var(--kx-radius-sm);background:var(--kx-panel-raised);display:grid;overflow:hidden}.card-editor-stages button{border-bottom:1px solid var(--kx-line);min-height:48px;color:var(--kx-muted);cursor:pointer;text-align:left;background:0 0;padding:10px 13px}.card-editor-stages button:last-child{border-bottom:0}.card-editor-stages button[data-active=true]{box-shadow:inset 2px 0 var(--kx-gold-strong);color:var(--kx-gold-strong);background:#d9b45b14}.card-editor-form{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);gap:20px;padding:20px;display:grid}.card-form-fields{gap:15px;display:grid}.card-form-fields label,.card-art-field{gap:7px;display:grid}.card-form-fields label>span,.card-file-picker>span{color:#d7d1c7;font-size:13px;font-weight:680}.card-form-fields input,.card-form-fields textarea,.card-form-fields select{border-radius:var(--kx-radius-sm);background:var(--kx-panel-raised);border:1px solid #3a3936;width:100%;min-height:44px;padding:0 12px}.card-form-fields textarea{resize:vertical;min-height:170px;padding-block:10px}.card-form-fields :disabled{color:#918a7f;cursor:not-allowed}.card-file-picker{border-radius:var(--kx-radius-sm);cursor:pointer;background:#d9b45b0f;border:1px dashed #6d5c32;place-items:center;min-height:50px;padding:12px;display:grid}.card-file-picker input{width:min(100%,310px)}.card-art-current,.card-art-empty{aspect-ratio:3/4;border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);justify-self:center;width:min(100%,360px)}.card-art-current{object-fit:cover}.card-art-empty{background:var(--kx-panel-raised);color:var(--kx-muted);place-items:center;display:grid}.card-editor-actions{justify-content:space-between;gap:8px;margin-top:auto;display:flex}.card-preview-column{top:calc(var(--kx-topbar-height) + 20px);justify-items:center;gap:12px;display:grid;position:sticky}.card-preview-column>p{color:var(--kx-muted);text-align:center;margin:0;font-size:12px}.production-card{--card-accent:#5c5f68;--card-frame-a:#43454c;--card-frame-b:#191b20;aspect-ratio:63/88;background:linear-gradient(#18191d, #0f1013) padding-box, linear-gradient(145deg, var(--card-frame-a), var(--card-frame-b), var(--card-accent)) border-box;width:min(100%,320px);box-shadow:0 15px 34px #0000007a, 0 0 18px color-mix(in srgb, var(--card-accent) 20%, transparent);color:#f4e8c8;border:3px solid #0000;border-radius:14px;grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:11px;display:grid;position:relative;overflow:hidden}.production-card:after{pointer-events:none;content:"";mix-blend-mode:overlay;opacity:.38;background-image:radial-gradient(#ffffff0f .55px,#0000 .7px);background-size:5px 5px;position:absolute;inset:0}.production-card.rarity-r{--card-accent:#7d8598;--card-frame-a:#5c6478;--card-frame-b:#272c38}.production-card.rarity-sr{--card-accent:#e8ecf2;--card-frame-a:#eef1f5;--card-frame-b:#6d7683}.production-card.rarity-ssr{--card-accent:#f0dfae;--card-frame-a:#f0dfae;--card-frame-b:#8a6a2e}.production-card.rarity-ur{--card-accent:#fff3cf;--card-frame-a:#fff3cf;--card-frame-b:#9c7326}.production-card.rarity-hr{--card-accent:#ffd7f4;--card-frame-a:#ffb3e8;--card-frame-b:#93f4dc}.production-card.rarity-ssr:before,.production-card.rarity-ur:before,.production-card.rarity-hr:before{z-index:2;pointer-events:none;content:"";background:linear-gradient(115deg,#0000 35%,#ffffff24 48%,#0000 62%);position:absolute;inset:-30% -55%;rotate:-8deg}.production-card.rarity-hr:before{background:linear-gradient(115deg,#0000 30%,#ffb3e829,#93f4dc2e,#0000 68%)}.production-card-namebar{z-index:3;border:1px solid color-mix(in srgb, var(--card-accent) 40%, transparent);background:#111318f0;border-radius:8px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:6px 8px;display:grid;position:relative}.production-card-namebar strong{text-overflow:ellipsis;white-space:nowrap;font-family:Songti SC,STSong,serif;font-size:clamp(16px,2vw,21px);overflow:hidden}.production-card-namebar small{color:#c9cdd3;letter-spacing:.06em;font-size:10px}.production-card-rarity{background:linear-gradient(160deg, var(--card-frame-a), var(--card-frame-b));color:#111318;border-radius:5px;place-items:center;min-height:24px;font-size:11px;font-weight:850;display:grid}.production-card-art{z-index:1;background:radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--card-accent) 34%, transparent), transparent 45%), #17191e;min-height:0;color:color-mix(in srgb, var(--card-accent) 82%, #f4e8c8);border:2px solid #00000080;border-radius:9px;place-items:center;font-family:Songti SC,STSong,serif;font-size:clamp(64px,11vw,116px);display:grid;position:relative;overflow:hidden}.production-card-art:after{content:"";background:linear-gradient(#0000,#0000006b);position:absolute;inset:55% 0 0}.production-card-art img{object-fit:cover;width:100%;height:100%}.production-card-seal,.production-card-limit{z-index:2;padding:4px 7px;font-size:10px;position:absolute;bottom:9px}.production-card-seal{color:#fff;background:#a63831;border:1px solid #ffffff8c;border-radius:3px;left:9px;rotate:-2deg}.production-card-limit{background:linear-gradient(145deg, var(--card-frame-a), var(--card-accent));color:#111318;border-radius:999px;right:9px}.production-card-info{z-index:3;gap:6px;display:grid;position:relative}.production-card-info dl{grid-template-columns:repeat(auto-fit,minmax(48px,1fr));margin:0;display:grid}.production-card-info dl>div{border-right:1px solid #d6b56d3d;justify-items:center;display:grid}.production-card-info dl>div:last-child{border-right:0}.production-card-info dt{color:#c9cdd3b8;letter-spacing:.12em;font-size:9px}.production-card-info dd{color:#d6b56d;margin:0;font-family:Songti SC,STSong,serif;font-size:19px;font-weight:750}.production-card-title{letter-spacing:.12em;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:0;font-family:Songti SC,STSong,serif;font-size:12px;display:grid}.production-card-title span{background:linear-gradient(90deg,#0000,#d6b56d8c);height:1px}.production-card-title span:last-child{background:linear-gradient(90deg,#d6b56d8c,#0000)}.production-card-tags{color:#c9cdd3a6;letter-spacing:.16em;text-align:center;margin:0;font-family:Songti SC,STSong,serif;font-size:9px}.cropper-backdrop{z-index:50;background:#040405d6;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.cropper-dialog{border:1px solid var(--kx-line);border-radius:var(--kx-radius-lg);background:var(--kx-panel-raised);width:min(100%,720px);box-shadow:var(--kx-shadow-raised);padding:20px}.cropper-dialog h2{margin:0}.cropper-dialog>p{color:var(--kx-muted);margin:4px 0 14px}.cropper-stage{border-radius:var(--kx-radius-sm);background:#050506;height:min(58vh,480px);position:relative;overflow:hidden}.cropper-zoom{grid-template-columns:auto 1fr;align-items:center;gap:12px;margin-top:14px;display:grid}.cropper-error{color:#f29a96}.import-setup,.import-confirm{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);gap:18px;padding:22px;display:grid}.import-setup h2{margin:0}.import-targets,.import-files{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.import-targets label,.import-files label{gap:7px;display:grid}.import-targets label>span,.import-files label>span{color:#d7d1c7;font-size:13px;font-weight:680}.import-targets input,.import-files input{border-radius:var(--kx-radius-sm);background:var(--kx-panel-raised);border:1px solid #3a3936;width:100%;min-height:46px;padding:9px 12px}.import-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.import-result-group{border:1px solid var(--kx-line);border-radius:var(--kx-radius-sm);background:var(--kx-panel);border-top:2px solid #80796e;align-content:start;gap:7px;min-width:0;padding:18px;display:grid}.import-result-group.import-ready{border-top-color:#8ed0ad}.import-result-group h2,.import-result-group p{margin:0}.import-result-group h2{font-size:17px}.import-result-group p,.import-result-group span{color:var(--kx-muted);font-size:13px}.import-result-group span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.import-confirm>label{align-items:center;gap:9px;display:flex}.import-confirm>label input{width:18px;height:18px;accent-color:var(--kx-gold-strong)}.import-actions{flex-wrap:wrap;gap:8px;display:flex}.import-progress-list{border-top:1px solid var(--kx-line);max-height:330px;display:grid;overflow:auto}.import-progress-list>div{border-bottom:1px solid var(--kx-line);grid-template-columns:minmax(120px,1fr) minmax(100px,1fr) minmax(90px,auto);align-items:center;gap:12px;padding:9px 0;display:grid}.import-progress-list progress{width:100%;accent-color:var(--kx-gold-strong)}.import-progress-list small{color:var(--kx-muted);text-align:right}.feature-page,.template-editor{gap:30px;display:grid}.feature-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.feature-header p{color:var(--kx-gold-strong);margin:0 0 4px;font-size:13px;font-weight:700}.feature-header h1,.feature-header h2{margin:0;font-family:Songti SC,STSong,serif;font-size:clamp(30px,3vw,44px);line-height:1.18}.feature-header span{color:var(--kx-muted);margin-top:7px;display:block}.template-library{gap:14px;display:grid}.template-library h2{margin:0;font-size:17px}.template-card-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.template-card{border:1px solid var(--kx-line);border-radius:var(--kx-radius-md);background:var(--kx-panel);flex-direction:column;align-items:flex-start;min-height:190px;padding:20px;display:flex}.template-card.official{background:linear-gradient(145deg, #d9b45b12, transparent 70%), var(--kx-panel)}.template-card>span{color:var(--kx-gold-strong);font-size:12px}.template-card h3{margin:14px 0 5px;font-size:20px}.template-card p{color:var(--kx-muted);flex:1;margin:0 0 18px}.template-editor-layout{grid-template-columns:minmax(0,1fr) minmax(260px,340px);align-items:start;gap:28px;display:grid}.template-step{gap:18px;display:grid}.template-step h3{margin:0;font-size:17px}.official-template-options{flex-wrap:wrap;gap:8px;display:flex}.helper-text{color:var(--kx-muted);margin:-8px 0 0;font-size:13px}.slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.slot-option{border:1px solid var(--kx-line);border-radius:var(--kx-radius-sm);background:var(--kx-panel);justify-content:space-between;align-items:center;gap:8px;min-height:50px;padding:8px 10px;display:flex}.slot-option label{align-items:center;gap:8px;display:flex}.slot-order-actions{gap:4px;display:flex}.slot-order-actions button{background:var(--kx-panel-raised);color:var(--kx-muted);cursor:pointer;border-radius:6px;padding:5px 7px;font-size:12px}.slot-order-actions button:disabled{opacity:.3}.field-name-list,.field-stack{gap:7px;display:grid}.field-name-list{gap:14px}.field-name-list label{grid-template-columns:minmax(110px,.35fr) minmax(0,1fr);align-items:center;gap:16px;display:grid}.field-name-list input,.field-stack input{border-radius:var(--kx-radius-sm);background:var(--kx-panel);border:1px solid #3a3936;min-height:44px;padding:0 12px}.step-actions{flex-wrap:wrap;gap:9px;display:flex}.template-preview{top:calc(var(--kx-topbar-height) + 24px);border-radius:var(--kx-radius-lg);min-height:470px;box-shadow:var(--kx-shadow-raised);background:linear-gradient(160deg,#2b251a,#121214 56%);border:1px solid #6f5a2c;padding:18px;position:sticky;overflow:hidden}.preview-rarity{color:var(--kx-gold-strong);font-size:13px;font-weight:800}.preview-art{border-radius:var(--kx-radius-md);min-height:230px;color:var(--kx-muted);background:linear-gradient(145deg,#d9b45b1f,#1a1a1db3);border:1px solid #d9b45b40;place-items:center;margin:12px 0 16px;font-size:13px;display:grid}.template-preview>strong{font-family:Songti SC,STSong,serif;font-size:23px;display:block}.template-preview dl{gap:5px;margin:14px 0 0;display:grid}.template-preview dl>div{color:var(--kx-muted);justify-content:space-between;gap:12px;font-size:13px;display:flex}.template-preview dd{color:var(--kx-text);margin:0}.login-page{background:var(--kx-bg);grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);min-height:100dvh;display:grid}.login-story{border-right:1px solid var(--kx-line);background:linear-gradient(145deg, #d9b45b14, transparent 48%), var(--kx-panel);flex-direction:column;justify-content:space-between;min-height:100%;padding:clamp(32px,6vw,88px);display:flex}.login-wordmark{color:var(--kx-gold-strong);letter-spacing:.1em;font-weight:780}.login-story h1{letter-spacing:-.045em;max-width:10ch;margin:80px 0 18px;font-family:Songti SC,STSong,serif;font-size:clamp(42px,6vw,78px);font-weight:620;line-height:1.08}.login-story p{max-width:34ch;color:var(--kx-muted);font-size:16px}.login-panel{place-items:center;padding:28px;display:grid}.login-form-wrap{width:min(100%,430px)}.login-form-wrap h2{margin:0 0 8px;font-size:28px}.login-form-wrap>p{color:var(--kx-muted);margin:0 0 28px}.login-form{gap:12px;display:grid}.login-form label{color:#d7d1c7;margin-top:5px;font-size:13px;font-weight:680}.login-form input{border-radius:var(--kx-radius-sm);background:var(--kx-panel);width:100%;min-height:48px;color:var(--kx-text);border:1px solid #3a3936;padding:0 13px}.login-form input:hover{border-color:#565249}.login-form input:focus{border-color:var(--kx-gold);outline-offset:1px;outline:2px solid #f2d38338}.login-form .kx-button{width:100%;margin-top:4px}.login-error{margin-top:16px}@media (width>=1200px){.app-shell{grid-template-columns:var(--kx-sidebar-width) minmax(0, 1fr);display:grid}.app-shell.has-preview{grid-template-columns:var(--kx-sidebar-width) minmax(0, 1fr) minmax(300px, 360px)}.shell-sidebar{height:100dvh;position:sticky;top:0}.shell-preview-button{display:none}}@media (width>=768px) and (width<=1199px){.app-shell{grid-template-columns:212px minmax(0,1fr);display:grid}.shell-sidebar{height:100dvh;position:sticky;top:0}.shell-preview{inset:var(--kx-topbar-height) 0 0 auto;z-index:30;width:min(420px,70vw);transition:transform .18s;position:fixed;transform:translate(102%);box-shadow:-20px 0 50px #03030461}.shell-preview[data-open=true]{transform:translate(0)}.card-editor-layout{grid-template-columns:minmax(0,1fr) minmax(230px,280px)}.card-editor-stages{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.card-editor-stages button{border-right:1px solid var(--kx-line);text-align:center;border-bottom:0}.card-editor-stages button[data-active=true]{box-shadow:inset 0 -2px var(--kx-gold-strong)}}@media (width<=767px){.shell-menu-button{display:inline-flex}.shell-sidebar{z-index:40;width:min(84vw,310px);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-102%);box-shadow:22px 0 60px #03030480}.shell-sidebar[data-open=true]{transform:translate(0)}.shell-backdrop{z-index:35;cursor:default;background:#050506ad;position:fixed;inset:0}.shell-backdrop[data-open=true]{display:block}.shell-topbar{min-height:64px;padding:0 16px}.shell-topbar-title span,.shell-user-name{display:none}.shell-main{padding:26px 18px 54px}.shell-preview{z-index:45;border-top:1px solid var(--kx-line);border-radius:var(--kx-radius-lg) var(--kx-radius-lg) 0 0;border-left:0;max-height:82dvh;transition:transform .18s;position:fixed;inset:auto 0 0;overflow:auto;transform:translateY(102%);box-shadow:0 -24px 60px #03030485}.shell-preview[data-open=true]{transform:translateY(0)}.login-page{display:block}.login-story{border-right:0;border-bottom:1px solid var(--kx-line);min-height:auto;padding:28px 22px 24px}.login-story h1{max-width:12ch;margin:36px 0 12px;font-size:38px}.login-panel{place-items:start stretch;padding:30px 22px 44px}.feature-header,.wizard-header{flex-direction:column;align-items:stretch}.wizard-steps{grid-template-columns:repeat(6,minmax(132px,1fr))}.wizard-actions{flex-direction:column-reverse;align-items:stretch}.wizard-actions>div,.wizard-actions .kx-button{width:100%}.pack-cost-grid{grid-template-columns:1fr}.card-editor-header{flex-direction:column;align-items:stretch}.card-editor-layout{grid-template-columns:1fr}.card-editor-stages{grid-template-columns:repeat(4,minmax(112px,1fr));overflow-x:auto}.card-editor-stages button{border-right:1px solid var(--kx-line);text-align:center;border-bottom:0}.card-editor-stages button[data-active=true]{box-shadow:inset 0 -2px var(--kx-gold-strong)}.card-preview-column{display:none}.card-preview-mobile-button{display:inline-flex}.card-preview-drawer{z-index:70;border-top:1px solid var(--kx-line);border-radius:var(--kx-radius-lg) var(--kx-radius-lg) 0 0;background:var(--kx-panel);gap:14px;max-height:84dvh;padding:18px;display:grid;position:fixed;inset:auto 0 0;overflow:auto;box-shadow:0 -24px 60px #03030494}.card-preview-drawer-header{justify-content:space-between;align-items:center;gap:12px;display:flex}.card-preview-drawer .production-card{margin-inline:auto}.card-list-item{grid-template-columns:52px minmax(0,1fr)}.card-list-item>.kx-button{grid-column:1/-1}.import-targets,.import-files,.import-results{grid-template-columns:1fr}.import-progress-list>div{grid-template-columns:1fr;gap:4px}.import-progress-list small{text-align:left}.template-editor-layout,.slot-grid{grid-template-columns:1fr}.template-preview{min-height:420px;position:static}.field-name-list label{grid-template-columns:1fr;gap:6px}.probability-grid,.pool-rarity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.probability-heading,.submit-title-row,.review-card-heading{flex-direction:column;align-items:stretch}.probability-total,.review-status{justify-self:start}.submit-summary dl,.review-card dl{grid-template-columns:1fr}.dashboard-hero,.dashboard-action-list article,.dashboard-drafts article{flex-direction:column;align-items:stretch}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.account-layout{grid-template-columns:1fr}.account-details dl>div{grid-template-columns:1fr;gap:5px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (prefers-contrast:more){:root{--kx-line:#6f6b62;--kx-muted:#d0cabf}.shell-nav a[aria-current=page],.kx-button{border-width:2px}}
