/* Upload and account */
.topic-mode-field{margin:0;padding:20px;border:1px solid var(--line);border-radius:8px}.topic-mode-field legend{padding:0 8px;font-size:13px;color:#c3c2d0}.topic-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.topic-mode-switch button{font-size:13px}.topic-mode-switch button.active{background:#a17aff1c;border-color:#a17aff75;color:#d9c6ff}.topic-mode-field>div+div{margin-top:14px}.battle-consent{margin-top:18px;padding:12px 14px;border-left:3px solid #dc5b92;background:#dc5b920d;color:#c8c5d0;font-size:12px;line-height:1.65}
/* The account entry stays compact and keeps password login secondary. */
body .user-screen{max-width:560px}body .auth-intro{margin-bottom:20px}body .auth-intro h2{font-size:25px;margin:10px 0 8px;letter-spacing:0}body .auth-intro p{color:var(--muted);font-size:13px;line-height:1.7}body .auth-status{display:inline-flex;padding:4px 9px;border:1px solid #4e816d;border-radius:99px;color:#a9dbc6;background:#173329;font-size:11px}body .auth-card{padding:26px;border-radius:8px}body .auth-tab{font-size:13px}body .auth-mode-switch{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:12px}body .auth-mode-switch button{padding:0;border:0;background:none;color:#d8c8ff}body .auth-mode-switch button:hover{background:none;color:white}body .guest-login-note{margin-top:-10px;color:var(--muted);font-size:12px;line-height:1.6}
input:not([type=checkbox]),textarea,select{width:100%;background:#0d0e16;border:1px solid #343441;border-radius:11px;color:var(--text);padding:13px 15px;outline:none}input::placeholder,textarea::placeholder{color:#696b7c}input:focus,textarea:focus,select:focus{border-color:var(--purple)}textarea{min-height:90px;resize:vertical}label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#c3c2d0}form{display:grid;gap:22px}.primary-button,.upload-button{background:linear-gradient(110deg,#e8297f,#7d48e8);border:0;color:white;font-weight:650;padding:14px 22px}.primary-button:hover,.upload-button:hover{background:linear-gradient(110deg,#f14596,#9660f4)}.submit-screen,.user-screen{max-width:800px}.upload-card{display:grid;gap:16px;align-items:center;border:1px dashed #65486e;border-radius:20px;background:radial-gradient(ellipse at top,#65254a20,transparent 65%),#12131a;padding:28px;text-align:center}.upload-card-copy{display:grid;justify-items:center;gap:12px}.upload-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid #f5449455;background:#f5449412;color:#ff8abc;border-radius:18px;font-size:30px}.upload-card h2{font-size:20px;margin-bottom:8px}.upload-card p{font-size:12px;color:var(--muted)}.upload-button{justify-self:center;padding:11px 42px}.upload-file-name:empty,.upload-progress:empty,.form-message:empty{display:none}.upload-file-name{word-break:break-all}.upload-preview{width:100%;max-height:300px;border-radius:12px;background:#000}.upload-progress{color:#c3b1f5;font-size:12px}.tag-field{margin:0;padding:0;border:0}.tag-field legend{font-size:13px;margin-bottom:10px;color:#c3c2d0}.topic-picker{display:flex;gap:10px;flex-wrap:wrap}.submission-topic-chip{font-size:13px;padding:9px 15px;color:#b6b3c1}.submission-topic-chip.active{color:#ffb3d3;background:#f5449417;border-color:#f5449490}.submission-extra{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0}.submission-extra summary{cursor:pointer;color:var(--muted);font-size:13px}.submission-extra[open] summary{margin-bottom:18px}.submission-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.submit-user-note{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-radius:14px;background:var(--surface);margin-bottom:24px;color:var(--muted)}.form-message{color:#c6b3ee;font-size:13px}.auth-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:var(--surface)}.auth-tabs{margin-bottom:25px}.auth-tab{flex:1;font-size:12px;padding:10px 8px}.code-input-row{display:flex;align-items:end;gap:12px}.code-input-row label{flex:1;min-width:0}.code-input-row button{white-space:nowrap;font-size:12px;padding:14px}.privacy-check{display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}.privacy-check button{padding:0;border:0;background:none;color:var(--purple)}.verification-code{font-size:12px;color:#eeb2d0}.profile-card{display:flex;gap:22px;align-items:center;padding:24px 0}.profile-avatar{width:72px;height:72px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(140deg,#6d3660,#433363);font-size:30px}.profile-card h1{font-size:26px}.profile-card p,.profile-card span{color:var(--muted);font-size:12px}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:24px 0;margin:15px 0 24px}.profile-stats>div{text-align:center;display:grid}.profile-stats b{font-size:24px}.profile-stats span{color:var(--muted);font-size:12px}.profile-actions{display:flex;gap:10px;flex-wrap:wrap}.profile-actions button{font-size:13px}.danger-button{color:#f5a3b5}.my-submissions{margin-top:36px}.my-submissions h2{margin-bottom:18px}.submission-status{padding:20px 0;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.submission-status p{flex-basis:100%;font-size:12px;color:var(--muted)}

.registration-pending{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.registration-pending h3{font-size:15px}.registration-pending p{margin:7px 0 12px;color:var(--muted);font-size:12px}.registration-pending button{font-size:12px}.upload-icon:hover{background:#f5449428}

.auth-tabs{flex-wrap:wrap}.auth-tabs .auth-tab{min-width:88px}

.profile-route-heading{display:flex;align-items:center;gap:16px;margin-bottom:20px}.profile-route-heading h1{margin:0;font-size:clamp(22px,4vw,30px)}.profile-back{border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:var(--surface);color:var(--text)}
.avatar-shell{position:relative;display:grid;place-items:center;overflow:hidden;flex:none;border-radius:50%;background:#432a46;color:#fff;font-weight:800}.avatar-shell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.avatar-shell [data-avatar-fallback]{display:grid;place-items:center;width:100%;height:100%}.creator-avatar-action{display:block;width:46px;height:46px;margin:0 auto 8px;padding:0;border:2px solid #fff;border-radius:50%;background:transparent;cursor:pointer}.creator-avatar-action .avatar-shell{width:100%;height:100%;font-size:19px}.creator-avatar-action.is-static{cursor:default}
.creator-profile-card{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.creator-profile-avatar{width:82px;height:82px;font-size:30px}.creator-profile-copy{min-width:0;flex:1}.creator-profile-copy h2{margin:4px 0;font-size:clamp(20px,4vw,28px);overflow-wrap:anywhere}.creator-profile-copy p:last-child{margin:0;color:var(--muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.profile-public-actions{display:grid;gap:9px;justify-items:stretch}.profile-work-link{font-size:12px;color:var(--muted);text-align:center}.creator-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:14px 0 24px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--line)}.creator-profile-stats>div{display:grid;gap:3px;justify-items:center;padding:12px 6px;background:var(--surface)}.creator-profile-stats b{font-size:18px;font-variant-numeric:tabular-nums}.creator-profile-stats span,.profile-section-heading>span{font-size:11px;color:var(--muted);text-align:center}
.profile-content-section,.profile-edit-card,.profile-settings{margin-top:22px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.profile-section-heading,.section-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.profile-section-heading h2{margin:2px 0;font-size:18px}.profile-work-list,.profile-match-list{display:grid;gap:9px}.profile-video-row,.profile-match-row{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.profile-video-row:last-child,.profile-match-row:last-child{border-bottom:0}.profile-video-art{display:grid;place-items:center;aspect-ratio:1;border-radius:9px;background:#252239;color:#d6c5ff;font-size:11px;font-weight:800}.profile-video-copy{min-width:0}.profile-video-copy h3{margin:0 0 4px;font-size:14px;overflow-wrap:anywhere}.profile-video-copy p{margin:0 0 7px;color:var(--muted);font-size:11px}.profile-video-copy>div{display:flex;gap:8px;flex-wrap:wrap}.profile-video-copy button,.profile-match-row{font-size:12px}.profile-video-copy button{padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:#15151d;color:var(--text)}.profile-match-row{width:100%;grid-template-columns:32px minmax(0,1fr) auto;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text)}.profile-match-row small{display:block;margin-top:3px;color:var(--muted)}.profile-match-row>b{color:var(--purple);font-size:11px}.profile-match-mark{color:var(--pink);font-size:18px}.profile-empty-state{padding:18px 10px;text-align:center;color:var(--muted);font-size:13px}.profile-load-error strong{color:var(--text)}
.profile-edit-form{display:grid;gap:14px}.profile-avatar-edit{display:flex;align-items:center;gap:12px;width:max-content;padding:0;border:0;background:none;color:var(--text)}.profile-edit-avatar{width:58px;height:58px;font-size:22px}.profile-edit-form textarea{min-height:70px}.avatar-review-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.profile-settings{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.profile-settings h2{width:100%;margin:0}.profile-settings button{padding:8px 11px;border:1px solid var(--line);border-radius:8px;background:#15151d;color:var(--text)}.profile-settings .danger-button{color:#ffb3c1}.social-user-list{display:grid;gap:8px}.social-user-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--line)}.social-user-avatar{width:40px;height:40px;font-size:16px}.social-user-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;border:0;background:none;color:var(--text)}.social-user-card .secondary-button{padding:7px 10px;font-size:11px}
@media(max-width:520px){.creator-profile-card{align-items:flex-start;gap:12px;padding:14px}.creator-profile-avatar{width:58px;height:58px;font-size:22px}.profile-public-actions{margin-left:auto}.profile-public-actions .secondary-button{padding:8px 10px}.creator-profile-stats>div{padding:10px 3px}.creator-profile-stats b{font-size:16px}.profile-content-section,.profile-edit-card,.profile-settings{padding:14px}.profile-video-row{grid-template-columns:62px minmax(0,1fr);gap:9px}.profile-match-row{grid-template-columns:25px minmax(0,1fr)}.profile-match-row>b{grid-column:2}.profile-route-heading{align-items:flex-start;flex-direction:column;gap:10px}}
