.account-page,.legal-page{min-height:100vh;background:radial-gradient(circle at 14% 15%,rgba(245,158,11,.08),transparent 30%),var(--night)}
.account-header{width:min(1360px,calc(100% - var(--gutter)*2));height:105px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.account-header img{width:170px}.account-header>a:last-child{color:var(--muted);font-size:12px}.account-header>a:last-child:hover{color:var(--orange)}
.account-layout{width:min(1180px,calc(100% - var(--gutter)*2));margin:0 auto;padding:clamp(65px,8vw,120px) 0;display:grid;grid-template-columns:minmax(300px,.85fr) minmax(420px,1fr);gap:clamp(55px,9vw,135px);align-items:start}
.account-intro{position:sticky;top:45px}.account-intro h1,.legal-content h1{margin:25px 0 35px;font:600 clamp(64px,7vw,106px)/.84 var(--serif);letter-spacing:-.055em}.account-intro h1 em{color:var(--orange);font-style:normal}.account-intro>p{max-width:470px;color:var(--muted)}.account-intro dl{margin-top:55px;border-top:1px solid var(--line)}.account-intro dl div{display:flex;justify-content:space-between;gap:30px;padding:14px 0;border-bottom:1px solid var(--line);font-size:11px}.account-intro dt{color:var(--quiet);text-transform:uppercase;letter-spacing:.12em}.account-intro dd{color:var(--orange)}
.account-card{min-height:560px;padding:clamp(28px,5vw,58px);border:1px solid var(--line);background:rgba(16,10,22,.92);box-shadow:0 35px 100px rgba(0,0,0,.25)}.account-loading{color:var(--muted)}.account-view h2{margin:18px 0 35px;font:600 clamp(42px,5vw,62px)/.95 var(--serif);letter-spacing:-.04em}.account-view>p{color:var(--muted);font-size:14px}
.account-view form{display:grid;gap:18px}.account-view label:not(.account-check){display:grid;gap:7px;color:var(--muted);font-size:10px;letter-spacing:.1em;text-transform:uppercase}.account-view input:not([type=checkbox]){width:100%;height:50px;padding:0 14px;border:1px solid var(--line);border-radius:0;background:#0b0611;color:var(--ink);font-size:15px;letter-spacing:0}.account-view input:focus{border-color:var(--orange);outline:none}.account-view input[readonly]{color:var(--quiet);cursor:not-allowed}.account-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.password-hint{margin:-8px 0 5px;color:var(--quiet);font-size:11px}.account-check{display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;color:var(--muted);font-size:12px;line-height:1.55}.account-check input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--orange)}.account-check a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}.account-check.optional{margin-top:5px;padding:16px;border:1px solid var(--line)}.account-view .button{justify-self:start;margin-top:10px;border:0}.form-status{min-height:21px;margin:0;color:#ffcc75;font-size:12px}.form-status.success{color:#8fd5aa}.account-links{display:flex;justify-content:space-between;gap:22px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}.account-links a,.text-button{border:0;background:none;padding:0;color:var(--orange);font-size:12px;cursor:pointer}.profile-actions{margin-top:35px;padding-top:25px;border-top:1px solid var(--line)}.profile-actions p{margin:18px 0 0;color:var(--quiet);font-size:11px}.legal-content{width:min(860px,calc(100% - var(--gutter)*2));margin:auto;padding:80px 0 130px}.legal-content section{margin-top:80px;padding-top:35px;border-top:1px solid var(--line);scroll-margin-top:30px}.legal-content h2{font:600 clamp(36px,5vw,58px)/1 var(--serif)}.legal-content p{max-width:760px;color:var(--muted)}.legal-content a{color:var(--orange)}
.manual-orders{margin-top:42px;padding-top:30px;border-top:1px solid var(--line)}.manual-orders-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.manual-orders-head h3{margin:8px 0 0;font:600 32px/1 var(--serif)}.manual-orders-count{display:grid;place-items:center;min-width:38px;height:38px;border-radius:50%;background:var(--orange);color:#120812}.manual-orders-status{color:var(--muted);font-size:12px}.manual-orders-list{display:grid;gap:12px;margin-top:20px}.manual-order{padding:17px;border:1px solid var(--line);background:#0b0611}.manual-order.new{border-color:var(--orange)}.manual-order>div:first-child{display:flex;justify-content:space-between;gap:15px}.manual-order time{color:var(--quiet);font-size:10px}.manual-order>a{display:inline-block;margin-top:8px;color:var(--orange);font-size:12px}.manual-order>p{margin:10px 0;color:var(--muted);font-size:11px;line-height:1.6}.manual-order>div:last-child{display:flex;gap:18px}.manual-order button:disabled{color:var(--quiet);cursor:default}
@media(max-width:850px){.account-layout{grid-template-columns:1fr;gap:45px}.account-intro{position:static}.account-intro dl{display:none}.account-card{min-height:0}.account-header{height:88px}.account-header img{width:145px}}
@media(max-width:560px){.account-header{width:calc(100% - 32px)}.account-header img{width:120px}.account-header>a:last-child{font-size:10px}.account-layout{width:calc(100% - 32px);padding:50px 0 80px}.account-intro h1,.legal-content h1{font-size:58px}.account-intro>p{font-size:14px}.account-card{padding:25px 20px}.account-view h2{font-size:42px}.account-field-grid{grid-template-columns:1fr}.account-links{flex-direction:column}.legal-content{width:calc(100% - 32px);padding-top:55px}}
.privacy-summary{margin:-12px 0 28px;padding:18px;border-left:2px solid var(--orange);background:rgba(245,158,11,.06)}.privacy-summary strong{color:var(--ink);font:600 19px/1.2 var(--serif)}.privacy-summary p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.65}.account-view select{width:100%;height:50px;padding:0 40px 0 14px;border:1px solid var(--line);border-radius:0;background:#0b0611;color:var(--ink);font-size:14px}.bib-profile,.privacy-controls{margin-top:42px;padding-top:30px;border-top:1px solid var(--line)}.bib-profile h3,.privacy-controls h3{margin:8px 0 12px;font:600 32px/1 var(--serif)}.bib-profile>p,.privacy-controls>p{color:var(--muted);font-size:12px;line-height:1.6}.bib-profile form{grid-template-columns:1.4fr .7fr auto;align-items:end;margin-top:20px}.bib-profile form .form-status{grid-column:1/-1}.bib-profile .button.secondary{height:50px;margin:0;background:transparent;border:1px solid var(--orange);color:var(--orange)}.bib-list{display:grid;gap:8px;margin-top:14px}.bib-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border:1px solid var(--line);background:#0b0611}.bib-item span{display:grid;gap:3px;color:var(--muted);font-size:11px}.bib-item strong{color:var(--ink);font-size:13px}.bib-item button{color:var(--quiet)}.empty-state{color:var(--quiet);font-size:11px}.privacy-controls>div{display:flex;gap:22px;margin-top:16px}.text-button.danger{color:#ff9b91}.privacy-status{min-height:18px;color:var(--muted);font-size:11px}
.delete-form{margin-top:22px;padding:18px;border:1px solid rgba(255,155,145,.35);background:rgba(255,155,145,.04)}.delete-form>p{margin:0;color:var(--muted);font-size:12px}.delete-form>div{display:flex;align-items:center;gap:18px}.delete-form .danger-button{margin:0;background:#9f3028}.delete-form[hidden]{display:none}
@media(max-width:560px){.bib-profile form{grid-template-columns:1fr}.privacy-controls>div{align-items:flex-start;flex-direction:column}}
.profile-hero{position:relative;overflow:hidden;margin:-20px -20px 0;padding:28px 20px 0;background:linear-gradient(135deg,rgba(245,158,11,.15),transparent 58%)}.profile-hero:after{content:"FN";position:absolute;right:-14px;top:-35px;color:rgba(255,255,255,.025);font:700 150px/1 var(--serif);pointer-events:none}.profile-identity{position:relative;z-index:1;display:flex;gap:18px;align-items:center}.profile-avatar{display:grid;place-items:center;flex:0 0 62px;height:62px;border:1px solid rgba(245,158,11,.55);border-radius:50%;background:#160d1d;color:var(--orange);font:600 21px/1 var(--serif)}.account-view .profile-identity h2{margin:7px 0 5px;font-size:clamp(38px,5vw,54px)}.profile-identity p{margin:0;color:var(--muted);font-size:12px}.profile-status{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;margin:25px 0 16px;color:#9ed4ae;font-size:10px;text-transform:uppercase;letter-spacing:.13em}.profile-status i{width:6px;height:6px;border-radius:50%;background:#64c283;box-shadow:0 0 0 4px rgba(100,194,131,.12)}.profile-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,1fr);margin:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-stats div{padding:18px 5px}.profile-stats div+div{padding-left:18px;border-left:1px solid var(--line)}.profile-stats dt{color:var(--ink);font:600 30px/1 var(--serif)}.profile-stats dd{margin-top:6px;color:var(--quiet);font-size:9px;text-transform:uppercase;letter-spacing:.13em}.profile-events{margin-top:38px}.profile-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px}.profile-section-head h3{margin:8px 0 0;font:600 34px/1 var(--serif)}.profile-section-head>a{color:var(--orange);font-size:11px}.profile-event-list{display:grid;gap:9px;margin-top:18px}.profile-event-card,.profile-event-empty{display:grid;grid-template-columns:38px 1fr;gap:13px;align-items:center;padding:16px;border:1px solid var(--line);background:#0b0611;transition:border-color .2s,transform .2s}.profile-event-card:hover{border-color:rgba(245,158,11,.65);transform:translateX(3px)}.profile-event-card>span,.profile-event-empty>span{color:var(--orange);font:600 18px/1 var(--serif)}.profile-event-card strong,.profile-event-empty strong{display:block;color:var(--ink);font-size:13px}.profile-event-card p,.profile-event-empty p{margin:5px 0 0;color:var(--quiet);font-size:10px;line-height:1.5}.profile-event-card b{color:var(--muted);font-weight:500}.profile-settings{margin-top:42px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.profile-settings summary{display:flex;justify-content:space-between;align-items:center;padding:22px 0;cursor:pointer;list-style:none}.profile-settings summary::-webkit-details-marker{display:none}.profile-settings summary>span:first-child{display:grid;gap:7px}.profile-settings summary strong{font:600 23px/1 var(--serif)}.profile-settings summary>span:last-child{color:var(--orange);font-size:25px;transition:transform .2s}.profile-settings[open] summary>span:last-child{transform:rotate(45deg)}.profile-settings form{padding:5px 0 26px}.profile-settings+.privacy-controls{margin-top:30px}
@media(max-width:560px){.profile-hero{margin:-5px -4px 0;padding:20px 4px 0}.profile-avatar{flex-basis:52px;height:52px}.profile-identity{gap:13px}.profile-stats dt{font-size:25px}.profile-stats div+div{padding-left:12px}}
