.promotion-dashboard{display:grid;gap:16px;min-width:0;--promo-radius:var(--radius-card,16px)}.promotion-dashboard .promo-section,.promotion-dashboard>.agent-ranking{margin:0;padding:20px;border:1px solid var(--color-border);border-radius:var(--promo-radius);background:var(--color-card);min-width:0}.promotion-dashboard .promo-heading,.promotion-dashboard .promo-summary-tail,.promotion-dashboard .promo-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.promotion-dashboard .promo-heading{margin-bottom:14px}.promotion-dashboard h2{font-size:20px;margin:0;line-height:1.45}.promotion-dashboard h3{font-size:15px;margin:0;line-height:1.5;overflow-wrap:anywhere}.promotion-dashboard .promo-tools{justify-content:flex-end;gap:8px}.promotion-dashboard a.btn,.promotion-dashboard button{min-height:34px;font-size:13px;white-space:normal}.promotion-dashboard .promo-segments{display:inline-flex;flex-wrap:wrap;border:1px solid var(--color-border);padding:3px;border-radius:999px;gap:2px;background:var(--color-bg)}.promotion-dashboard .promo-segments button{border:0;border-radius:999px;padding:5px 13px;background:transparent;color:var(--color-text-secondary);cursor:pointer}.promotion-dashboard .promo-segments button[aria-pressed=true]{background:var(--color-primary);color:var(--color-on-primary)}.promotion-dashboard button:disabled{opacity:.55;cursor:not-allowed}.promotion-dashboard button:focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}.promotion-dashboard .promo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.promotion-dashboard .promo-detail-card,.promotion-dashboard .promo-metric{border:1px solid var(--color-border);border-radius:12px;background:var(--color-bg);padding:15px;min-width:0;overflow-wrap:anywhere}.promotion-dashboard .promo-metric{display:grid;gap:12px}.promotion-dashboard small{font-size:12px;line-height:1.6}.promotion-dashboard .promo-metric small{color:var(--color-text-secondary)}.promotion-dashboard .promo-metric strong{font-size:24px;line-height:1.3;word-break:normal;overflow-wrap:anywhere;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.promotion-dashboard .promo-metric strong span{font-size:12px;font-weight:500}.promotion-dashboard .highlight{background:color-mix(in srgb,var(--color-primary) 7%,var(--color-card))}.promotion-dashboard .highlight strong,.promotion-dashboard .promo-amount,.promotion-dashboard .promo-earned strong{color:var(--color-primary)}.promotion-dashboard .promo-notice{margin:12px 0;padding:8px 12px;border:1px solid color-mix(in srgb,#bf8b36 26%,var(--color-border));background:color-mix(in srgb,#d8a24b 9%,var(--color-card));border-radius:9px;font-size:13px;line-height:1.6}.promotion-dashboard .promo-explanation{color:var(--color-text-secondary);font-size:12px;line-height:1.65;margin:10px 0 0}.promotion-dashboard .promo-summary-tail{margin-top:16px;padding-top:14px;border-top:1px solid var(--color-border)}.promotion-dashboard .promo-summary-tail>small{color:var(--color-text-secondary)}.promotion-dashboard .promo-account-details{margin-top:16px;padding-top:16px;border-top:1px solid var(--color-border);min-width:0}.promotion-dashboard .promo-account-header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.promotion-dashboard .promo-account-header .promo-segments{border-radius:10px}.promotion-dashboard .promo-account-header .promo-segments button{border-radius:8px}.promotion-dashboard .promo-summary-tail>a.btn{text-align:center}@media(max-width:700px){.promotion-dashboard [data-promo-section=overview]>.promo-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.promotion-dashboard [data-promo-section=overview]>.promo-heading>.promo-tools{display:contents}.promotion-dashboard [data-promo-section=overview]>.promo-heading h2{grid-column:1;grid-row:1}.promotion-dashboard [data-promo-section=overview]>.promo-heading .promo-tools>.btn{grid-column:2;grid-row:1}.promotion-dashboard [data-promo-section=overview]>.promo-heading .promo-tools>.promo-segments{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between}.promotion-dashboard [data-promo-section=overview]>.promo-heading .promo-segments button{flex:1 1}.promotion-dashboard .promo-account-header>.promo-segments{display:flex;width:100%}.promotion-dashboard .promo-account-header .promo-segments button{flex:1 1}.promotion-dashboard .promo-summary-tail>.btn{width:100%;min-height:44px;justify-content:center}}.promotion-dashboard .promo-channel-grid,.promotion-dashboard .promo-ledger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.promotion-dashboard .promo-detail-card>header{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:8px}.promotion-dashboard .promo-detail-card>small{display:block}.promotion-dashboard .promo-channel-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0;gap:8px}.promotion-dashboard .promo-channel-stats>div{text-align:center;border-right:1px solid var(--color-border)}.promotion-dashboard .promo-channel-stats>div:last-child{border:0}.promotion-dashboard .promo-channel-stats strong{display:block;font-size:17px}.promotion-dashboard .promo-channel-stats small{color:var(--color-text-secondary)}.promotion-dashboard .agent-link-cell{width:100%;display:flex;gap:6px;min-width:0}.promotion-dashboard .agent-link-cell input{width:0!important;flex:1 1;min-width:0;max-width:100%;font-size:12px}.promotion-dashboard .agent-link-cell button{flex-shrink:0;min-width:0}.promotion-dashboard input{min-height:38px;max-width:100%;background:var(--color-card);color:var(--color-text);border:1px solid var(--color-border);border-radius:9px;padding:8px}.promotion-dashboard .promo-badge{display:inline-block;border-radius:999px;padding:3px 9px;font-size:11px;line-height:1.5;background:color-mix(in srgb,var(--color-primary) 9%,var(--color-card));color:var(--color-primary);white-space:normal}.promotion-dashboard .promo-badge.positive{background:color-mix(in srgb,#4baf76 12%,var(--color-card));color:var(--color-text)}.promotion-dashboard .promo-invite-list{display:grid;gap:10px}.promotion-dashboard .promo-invite{display:flex;align-items:center;gap:12px}.promotion-dashboard .promo-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:var(--color-primary);color:var(--color-on-primary);font-weight:700}.promotion-dashboard .promo-user{display:grid;min-width:0;gap:2px;flex:1 1}.promotion-dashboard .promo-user small{color:var(--color-text-secondary)}.promotion-dashboard .promo-statuses{display:flex;gap:6px;flex-wrap:wrap;align-items:center;max-width:36%}.promotion-dashboard .promo-statuses>small{width:100%;color:var(--color-text-secondary)}.promotion-dashboard .promo-earned{text-align:right;display:grid;gap:3px}.promotion-dashboard .promo-earned strong{font-size:17px;overflow-wrap:anywhere}.promotion-dashboard .promo-new-channel{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;padding:12px;margin-bottom:14px;background:var(--color-bg);border:1px solid var(--color-border);border-radius:12px}.promotion-dashboard .promo-new-channel label{display:grid;gap:6px;font-size:13px;min-width:0}.promotion-dashboard .promo-new-channel button{align-self:end}.promotion-dashboard .promo-new-channel p{grid-column:1/-1}.promotion-dashboard .promo-instructions h2{margin-bottom:12px}.promotion-dashboard .promo-instructions ol{counter-reset:invite;list-style:none;padding:0;margin:0;display:grid;gap:12px}.promotion-dashboard .promo-instructions li{position:relative;padding-left:32px;line-height:1.75;font-size:13px;color:var(--color-text-secondary)}.promotion-dashboard .promo-instructions li:before{counter-increment:invite;content:counter(invite);position:absolute;left:0;top:1px;width:22px;height:22px;text-align:center;line-height:22px;border:1px solid var(--color-border);border-radius:50%;background:color-mix(in srgb,var(--color-primary) 9%,var(--color-card));color:var(--color-primary)}.four-modules .promotion-dashboard>.agent-ranking{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:var(--color-card)}.four-modules .promotion-dashboard>.agent-ranking>*{grid-column:1/-1}.four-modules .promotion-dashboard .agent-ranking>.rank-header{grid-column:1;grid-row:1;align-self:center;margin:0}.four-modules .promotion-dashboard .agent-ranking>.segmented{grid-column:2;grid-row:1;margin:0;display:flex;padding:3px;border-radius:999px;gap:3px}.four-modules .promotion-dashboard .agent-ranking .segmented button{height:auto;min-height:32px;border-radius:999px;padding:5px 12px;font-size:12px}.four-modules .promotion-dashboard .agent-ranking .podium{margin:6px 0;align-items:stretch}.four-modules .promotion-dashboard .agent-ranking .podium-column{border:1px solid var(--color-border);border-radius:12px;background:var(--soft);padding:10px 8px}.four-modules .promotion-dashboard .agent-ranking .podium-column.winner{background:color-mix(in srgb,var(--color-primary) 12%,var(--color-card));border-color:var(--strong)}.four-modules .promotion-dashboard .agent-ranking .person,.four-modules .promotion-dashboard .agent-ranking .winner .person{min-height:0;padding:0;justify-content:flex-start}.four-modules .promotion-dashboard .agent-ranking .avatar,.four-modules .promotion-dashboard .agent-ranking .winner .avatar{width:36px;height:36px;outline:0;margin:0 0 6px;font-size:22px;box-shadow:none}.four-modules .promotion-dashboard .agent-ranking .rank-label{font-size:11px;margin:0 0 8px;letter-spacing:1px;gap:5px}.four-modules .promotion-dashboard .agent-ranking .rank-label:after,.four-modules .promotion-dashboard .agent-ranking .rank-label:before{width:12px}.four-modules .promotion-dashboard .agent-ranking .crown{width:22px;height:22px;top:-8px;right:-9px;font-size:13px;border-radius:6px}.four-modules .promotion-dashboard .agent-ranking .podium-base,.four-modules .promotion-dashboard .agent-ranking .winner .podium-base{height:auto;min-height:0;border:0;padding:4px;background:transparent}.four-modules .promotion-dashboard .agent-ranking .rank-unit{font-size:11px}@media(max-width:500px){.four-modules .promotion-dashboard .agent-ranking>.rank-header{grid-column:1/-1;grid-row:1}.four-modules .promotion-dashboard .agent-ranking>.segmented{grid-column:1/-1;grid-row:2;justify-self:end}.four-modules .promotion-dashboard .agent-ranking .segmented button{min-height:32px}.four-modules .promotion-dashboard .agent-ranking .podium-column{padding:10px 3px}}.promotion-dashboard .person-meta,.promotion-dashboard .rank-badge,.promotion-dashboard .rank-caption,.promotion-dashboard .rank-digit{display:none}.promotion-dashboard .rank-header{margin-bottom:8px}.promotion-dashboard .rank-footnote,.promotion-dashboard .rank-public-caption{font-size:12px;margin:8px 0}.promotion-dashboard .podium{margin:16px auto 10px;max-width:100%;gap:12px}.promotion-dashboard .podium-column{min-width:0}.promotion-dashboard .person{padding:0 5px 6px}.promotion-dashboard .avatar{width:44px;height:44px;font-size:22px}.promotion-dashboard .podium-base{padding:12px;min-height:70px}.promotion-dashboard .person-name{font-size:14px}.promotion-dashboard .rank-value{font-size:22px}.promotion-dashboard .rank-row{padding:10px}.promotion-dashboard .ranking-tail{margin-top:8px}.promotion-dashboard .rank-row.self .row-identity{min-width:100px}@media(max-width:700px){.promotion-dashboard{gap:12px}.promotion-dashboard .promo-section,.promotion-dashboard>.agent-ranking{padding:14px;border-radius:14px}.promotion-dashboard h2{font-size:18px}.promotion-dashboard .promo-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.promotion-dashboard .promo-metric{padding:12px;gap:8px}.promotion-dashboard .promo-metric strong{font-size:20px}.promotion-dashboard .promo-channel-grid,.promotion-dashboard .promo-ledger-grid{grid-template-columns:1fr}.promotion-dashboard .promo-tools{width:100%;justify-content:space-between}.promotion-dashboard .promo-invite{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px}.promotion-dashboard .promo-statuses{grid-column:1/-1;max-width:none}.promotion-dashboard .promo-earned{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;text-align:left}.promotion-dashboard .promo-new-channel{grid-template-columns:1fr}.promotion-dashboard .promo-segments button{padding:4px 10px}.promotion-dashboard .rank-value{font-size:18px}.promotion-dashboard .podium{gap:6px}.promotion-dashboard .podium-base{padding:10px 4px}.promotion-dashboard .rank-unit{font-size:11px}}.promo-commission-rule{margin-top:16px;padding:18px;border:1px solid var(--color-border);border-radius:14px;background:color-mix(in srgb,var(--color-primary) 7%,var(--color-card));min-width:0}.promo-commission-rule>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.promo-commission-rule h3{margin:0;font-size:1.05rem}.promo-rule-badges{display:flex;gap:8px}.promo-rule-rate{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:12px 0 6px}.promo-rule-rate>strong{font-size:clamp(2rem,4vw,3rem);line-height:1.1;color:var(--color-primary)}.promo-rule-rate>span{font-weight:600}.promo-commission-rule p{font-size:.9rem;margin:8px 0}.promo-commission-rule details{margin-top:14px;border-top:1px solid var(--color-border);padding-top:12px}.promo-commission-rule summary{cursor:pointer;color:var(--color-primary);font-weight:600;width:fit-content}.promo-commission-rule ol{padding-left:22px;font-size:.875rem;line-height:1.75;margin-bottom:0}@media(max-width:600px){.promo-commission-rule{padding:14px}.promo-rule-rate{gap:10px}.promo-rule-rate>span{font-size:.9rem}}.card-fields{display:grid;gap:24px}.card-fields label,.card-fields section{min-width:0}.card-fields input,.card-fields select,.card-fields textarea{width:100%;box-sizing:border-box}.card-label{display:flex;align-items:center;gap:8px;margin:12px 0;font-weight:600}.card-label>.ghost-btn{margin-left:auto}.card-help{border:1px solid;border-radius:50%;width:22px;height:22px;padding:0;background:transparent;color:inherit;cursor:pointer}.card-help-dialog{width:min(540px,90vw);box-sizing:border-box;border:1px solid #8885;border-radius:20px;padding:28px;background:var(--card,#fff);color:var(--text,#222)}.card-help-dialog::backdrop{background:#0008}.card-help-dialog p{line-height:1.9;white-space:pre-wrap}.card-close{float:right;font-size:26px;background:none;color:inherit;border:0;cursor:pointer}.card-gallery{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px}.card-gallery article{width:136px;min-width:0;border:1px solid #8885;border-radius:12px;padding:8px}.card-gallery img{width:100%;height:130px;object-fit:cover;border-radius:8px}.card-gallery article>strong{display:block;padding:6px 0}.card-gallery button,.card-tags button{padding:6px 10px;border:1px solid #8885;border-radius:8px;background:transparent;color:inherit;cursor:pointer}.card-gallery button:disabled{opacity:.35}.card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.card-tags button{background:#ff4a8b15}.card-fields small{display:block;opacity:.65;margin-top:8px}.character-editor{max-width:800px;margin:auto}.character-editor>section{margin:20px 0}.character-editor .card-label{white-space:normal;flex-wrap:wrap}.character-editor .card-label>.ghost-btn{width:auto;flex:0 0 auto;min-height:32px;padding:6px 12px}.character-editor .card-help{flex:0 0 22px;width:22px;min-height:22px;padding:0}.card-help-dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;background:var(--color-card);color:var(--color-text);border-color:var(--color-border);padding:24px}.card-help-dialog h2{margin:4px 44px 18px 0;font-size:20px;line-height:1.4}.card-help-dialog p{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.card-help-dialog .card-close{display:grid;place-items:center;width:44px;height:44px;margin:-8px -8px 0 0;border-radius:12px}.card-help-dialog :focus-visible{outline:2px solid var(--color-primary);outline-offset:3px}.character-editor>.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.character-editor>.seg button{padding:8px 6px;white-space:normal;min-width:0}.character-gallery{min-width:0;color:var(--color-text,#f8edf3)}.gallery-heading .card-label{margin-bottom:6px;gap:8px}.character-gallery .gallery-status,.gallery-heading p{margin:0 0 16px;color:var(--color-text-secondary,#b2a5b5);font-size:13px;line-height:1.7}.gallery-count{margin-left:auto;padding:4px 10px;border-radius:999px;background:var(--color-bg,#15111a);border:1px solid var(--color-border,#49364a);font-size:12px;font-weight:500;color:var(--color-text-secondary,#b2a5b5)}.character-gallery .gallery-upload{position:relative;display:flex;align-items:center;gap:14px;margin:16px 0;padding:18px;border:1px dashed var(--color-primary,#ff72a9);border-radius:16px;background:color-mix(in srgb,var(--color-primary,#ff72a9) 7%,var(--color-card,#211b28));cursor:pointer}.gallery-upload input{position:absolute;width:1px!important;height:1px;padding:0;opacity:0;overflow:hidden}.gallery-upload:focus-within{outline:2px solid var(--color-primary,#ff72a9);outline-offset:3px}.gallery-upload-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--color-primary,#ff72a9) 14%,transparent);color:var(--color-primary,#ff72a9);font-size:26px}.gallery-upload strong{font-size:14px;font-weight:650}.gallery-upload small{display:block;margin-top:5px;font-size:12px;line-height:1.6;color:var(--color-text-secondary,#b2a5b5)}.gallery-upload:has(input:disabled){opacity:.6;cursor:not-allowed}.character-gallery .gallery-empty{padding:26px 16px;text-align:center;border:1px solid var(--color-border,#49364a);border-radius:16px;color:var(--color-text-secondary,#b2a5b5);font-size:13px}.character-gallery .gallery-error{padding:12px 14px;background:#e3516815;border:1px solid #e3516860;border-radius:12px;color:var(--color-text,#f8edf3);font-size:13px}.character-gallery .card-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:16px;margin-top:18px}.character-gallery .card-gallery article{width:auto;min-width:0;padding:0;border:1px solid var(--color-border,#49364a);border-radius:16px;overflow:hidden;background:var(--color-card,#211b28)}.character-gallery .card-gallery article.is-cover{border-color:var(--color-primary,#ff72a9);box-shadow:0 0 0 1px color-mix(in srgb,var(--color-primary,#ff72a9) 22%,transparent)}.character-gallery button,.gallery-lightbox button{width:auto;min-height:44px;min-width:44px;margin:0;padding:8px 10px;border:1px solid var(--color-border,#49364a);border-radius:10px;background:transparent;color:inherit;font-size:12px;cursor:pointer}.character-gallery button:focus-visible,.gallery-lightbox button:focus-visible{outline:2px solid var(--color-primary,#ff72a9);outline-offset:-3px}.character-gallery .card-help{width:22px;height:22px;min-width:22px;min-height:22px;padding:0;border-radius:50%;font-size:12px}.character-gallery .gallery-thumb{display:block;position:relative;width:100%;height:auto;aspect-ratio:3/4;padding:0;border:0;border-radius:0;background:var(--color-bg,#15111a);overflow:hidden}.character-gallery .gallery-thumb img{display:block;width:100%;height:100%;border-radius:0;object-fit:cover;transition:transform .2s ease}.gallery-thumb:hover img{transform:scale(1.025)}.character-gallery .gallery-badge{position:absolute;top:10px;left:10px;padding:4px 9px;border-radius:999px;background:#14101acc;color:#fff;font-size:11px;line-height:1.5;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.character-gallery .is-cover .gallery-badge{background:var(--color-primary,#ff72a9);color:var(--color-on-primary,#291020)}.gallery-zoom{position:absolute;bottom:0;left:0;right:0;padding:22px 8px 10px;background:linear-gradient(transparent,#120c19b8);color:#fff;font-size:12px;text-align:center;pointer-events:none}.gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;font-size:13px}.character-gallery .gallery-refresh{min-width:44px;padding:4px;color:var(--color-text-secondary,#b2a5b5);border:0;background:transparent}.gallery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:0 8px 10px}.character-gallery .gallery-actions button{padding:4px 6px;font-size:11px}.character-gallery .gallery-cover-action{flex:1 1;min-width:65px;color:var(--color-primary,#ff72a9)}.character-gallery .gallery-delete{color:var(--color-text-secondary,#b2a5b5);border-color:transparent}.character-gallery .gallery-image-state{display:grid;place-items:center;height:100%;min-height:100px;padding:12px;font-size:13px;color:var(--color-text-secondary,#b2a5b5)}.gallery-lightbox{width:min(960px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;padding:0;border:1px solid var(--color-border,#49364a);border-radius:22px;background:var(--color-card,#211b28);color:var(--color-text,#f8edf3);overflow:auto;box-shadow:0 24px 100px #0006}.gallery-lightbox::backdrop{background:#08050dbf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.gallery-lightbox header{justify-content:space-between;padding:14px 18px}.gallery-lightbox header,.gallery-lightbox header>div{display:flex;align-items:center;gap:12px}.gallery-lightbox h2{margin:0;font-size:16px;font-weight:650}.gallery-lightbox footer>span,.gallery-lightbox header span{font-size:12px;color:var(--color-text-secondary,#b2a5b5)}.gallery-lightbox .gallery-close{flex:0 0 44px;padding:0;font-size:26px;border-radius:50%}.gallery-stage{display:grid;place-items:center;min-height:160px;background:var(--color-bg,#15111a)}.gallery-stage img{display:block;max-width:100%;max-height:calc(100dvh - 210px);width:auto;height:auto;object-fit:contain}.gallery-lightbox footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px}.gallery-lightbox button:disabled{opacity:.4;cursor:default}@media(max-width:480px){.character-gallery .card-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-actions{gap:4px}.gallery-actions .gallery-delete{flex-basis:auto}.gallery-actions .gallery-cover-action{order:1;flex-basis:100%}.gallery-lightbox{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.gallery-lightbox footer{gap:6px;padding:10px}.gallery-lightbox footer>span{font-size:11px}.gallery-upload-icon{flex-basis:36px;height:36px}.character-gallery .gallery-upload{padding:14px;gap:10px}}@media(prefers-reduced-motion:reduce){.character-gallery .gallery-thumb img{transition:none}}.character-json-import{min-width:0;width:100%;text-align:left;margin:12px 0}.character-json-import summary{cursor:pointer;color:var(--color-primary);font-weight:600}.character-json-import p{overflow-wrap:anywhere}.character-json-import input[type=file]{width:100%;max-width:100%;box-sizing:border-box}.card-fields details label{display:grid;gap:8px;margin:14px 0}.card-fields details textarea,.model-choice{max-width:100%}.model-choice{display:flex;flex:1 1 100%;flex-wrap:wrap;align-items:center;gap:10px;min-width:0;padding:14px;border:1px solid var(--color-border,#3c303c);border-radius:16px;background:var(--color-card,#201c24);color:var(--color-text,#f5f1f3)}.model-choice>label{font-size:13px;font-weight:600}.model-choice>select{flex:1 1;min-width:0;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--color-border,#55404d);border-radius:12px;background:var(--color-bg,#161219);color:var(--color-text,#f5f1f3);font:inherit;font-size:13px}.model-lengths{display:flex;flex-basis:100%;align-items:center;flex-wrap:wrap;gap:8px}.model-lengths>span{margin-right:auto;font-size:12px;color:var(--color-text-secondary,#b8a8b6)}.model-lengths button{min-height:40px;min-width:60px;padding:8px 12px;border-radius:999px;border:1px solid var(--color-border,#55404d);background:var(--color-bg,#161219);color:var(--color-text,#f5f1f3);font:inherit;font-size:13px;cursor:pointer}.model-lengths button[aria-pressed=true]{border-color:#d35f92;color:#ff9ac1;background:#392232}.model-choice :is(select,button):focus-visible{outline:2px solid var(--color-primary,#ff72a9);outline-offset:2px}.model-choice :disabled{opacity:.5;cursor:not-allowed}.model-choice small{flex-basis:100%;font-size:12px;overflow-wrap:anywhere;line-height:1.6}html[data-color-theme=light] .model-lengths button[aria-pressed=true]{color:#a61e58;background:#ffe8f2;border-color:#d62b72}.payment-method-selector{min-width:0;margin:0;padding:0;border:0;color:var(--color-text,#f8edf5)}.payment-method-selector legend{padding:0;margin-bottom:10px;font-size:13px;color:var(--color-text-secondary,#baadbd)}.payment-method-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px}.draft .payment-method-option{position:relative;display:block;min-width:0;margin:0;color:inherit;cursor:pointer}.draft .payment-method-option input[type=radio]{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;overflow:hidden;outline:0}.payment-method-card{box-sizing:border-box;display:flex;align-items:center;gap:10px;min-height:58px;padding:12px 14px;border:1px solid var(--color-border,#443346);border-radius:15px;background:var(--color-card,#211b26);transition:background .15s,border-color .15s,box-shadow .15s}.payment-method-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;color:white;font-size:17px;font-weight:700;background:#826097}.payment-method-icon.alipay{background:#1677ed}.payment-method-icon.wechat{background:#08a969}.payment-method-name{min-width:0;overflow-wrap:anywhere;font-size:14px;font-weight:600}.payment-method-check{display:grid;place-items:center;flex:none;margin-left:auto;width:19px;height:19px;border:1px solid var(--color-border,#5d4b60);border-radius:50%;font-size:12px}.payment-method-option input:checked+.payment-method-card{border-color:#ed72a8;background:linear-gradient(120deg,#ef72ac22,#ef72ac0c),var(--color-card,#211b26);box-shadow:inset 0 0 0 1px #ed72a833}.payment-method-option input:checked+.payment-method-card .payment-method-check{background:#ed72a8;border-color:#ed72a8;color:#28121e}.payment-method-option input:focus-visible+.payment-method-card{outline:2px solid var(--color-primary,#f58abd);outline-offset:3px}.payment-method-selector:not(:disabled) .payment-method-option:hover .payment-method-card{border-color:#ed72a8}.payment-method-selector:disabled .payment-method-option{cursor:default;opacity:.6}@media(prefers-reduced-motion:reduce){.payment-method-card{transition:none}}