.profile-page { max-width:1040px; padding-top:52px; padding-bottom:64px; }
.profile-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:28px; }
.profile-heading .kicker { margin-bottom:12px; }
.profile-layout { display:grid; grid-template-columns:1.1fr 1fr; gap:20px; margin-bottom:26px; }
.profile-identity { display:flex; align-items:center; gap:20px; padding:28px; background:radial-gradient(ellipse at 0 0,#224b353e,transparent 75%),var(--panel); min-width:0; }
.profile-avatar { display:grid; place-items:center; width:76px; height:76px; flex:none; border:1px solid #395d3b; border-radius:18px; background:#193321; color:var(--green); font-family:var(--px); font-size:34px; }
.profile-identity-text { min-width:0; }
.profile-label { font-size:10px; font-weight:700; letter-spacing:.15em; color:var(--muted); }
.profile-identity h2 { margin:6px 0; font-size:23px; overflow-wrap:anywhere; }
.profile-identity p { margin:0 0 13px; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.profile-active { display:inline-flex; align-items:center; gap:6px; color:#a4dfac; font-size:11px; }
.profile-active i { width:5px; height:5px; border-radius:50%; background:var(--green); }
.profile-balances { padding:24px; display:grid; grid-template-columns:1fr 1fr; column-gap:20px; row-gap:18px; align-content:center; }
.profile-balances > div { display:grid; align-content:start; gap:8px; min-width:0; }
.profile-balances > div > span { color:var(--muted); font-size:11px; }
.profile-balances b { font-size:26px; font-variant-numeric:tabular-nums; letter-spacing:-.04em; overflow-wrap:anywhere; }
.profile-wallet-link { color:var(--green); font-size:12px; font-weight:600; }
.profile-balances > a { grid-column:1/-1; padding-top:14px; border-top:1px solid var(--line); }
.profile-danger { padding:26px 28px 20px; border-color:#503239; background:linear-gradient(130deg,#2a19223b,transparent 65%),var(--panel); }
.profile-danger-heading { display:flex; align-items:center; gap:13px; }
.profile-danger-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:#49232980; border:1px solid #67353c; color:#ff9999; font-size:22px; font-weight:600; }
.profile-danger-heading .profile-label { color:#bf8b93; margin:0 0 4px; }
.profile-danger-heading h2 { margin:0; font-size:19px; }
.profile-irreversible { margin-left:auto; color:#bf8b93; border:1px solid #51363c; border-radius:99px; padding:5px 10px; font-size:10px; white-space:nowrap; }
.profile-danger-copy { color:var(--muted); font-size:13px; line-height:1.7; margin:18px 0 16px; }
.profile-deletion-status p { margin:0; }
.profile-clear { display:flex; align-items:center; gap:8px; color:#9bd69a; font-size:12px; padding:11px 13px; border:1px solid #2e4b36; background:#1a2d2160; border-radius:9px; }
.profile-blocked { color:#ebc989; font-size:12px; padding:13px 15px; border:1px solid #5c472d; border-radius:9px; background:#33291a66; }
.profile-blocked > b { color:#f0d19c; }
.profile-blocked ul { padding-left:18px; margin:8px 0 10px; line-height:1.7; }
.profile-danger-footer { display:flex; align-items:center; justify-content:space-between; gap:22px; margin:20px 0; }
.profile-danger-footer > p { max-width:390px; color:var(--muted); font-size:11px; line-height:1.7; margin:0; }
.profile-danger-footer > div { display:flex; align-items:center; gap:10px; flex:none; }
.profile-delete-button { border:1px solid #824148; color:#ffb5b5; background:#4b242b80; font-size:13px; padding:10px 16px; }
.profile-delete-button:hover:not(:disabled) { border-color:#d76b76; background:#61303a; }
.profile-retention { border-top:1px solid #392b3b; padding-top:14px; font-size:11px; color:var(--muted); }
.profile-retention summary { cursor:pointer; width:fit-content; }
.profile-retention p { line-height:1.7; margin-bottom:0; }
.profile-signed-out { text-align:center; padding:36px; }
.profile-signed-out .profile-avatar { margin:0 auto 20px; }
.profile-delete-modal .kicker { font-size:10px; letter-spacing:.2em; margin-top:17px; }
.profile-delete-modal .modal-title { margin-top:9px; font-size:23px; }
.profile-delete-mark { display:grid; place-items:center; width:45px; height:45px; border:1px solid #713a42; border-radius:12px; color:#ffaaaa; background:#49232970; font-size:25px; }
.profile-delete-intro { color:var(--muted); font-size:13px; line-height:1.6; margin:12px 0; }
.profile-delete-summary { border:1px solid #59422b; background:#33291a66; color:#e8c88f; border-radius:9px; padding:11px 13px; font-size:12px; line-height:1.6; }
.profile-delete-form { gap:13px; margin-top:17px; }
.profile-delete-form label { display:block; }
.profile-delete-form input { display:block; margin-top:7px; }
.profile-delete-form input[name=confirmation] { font-family:ui-monospace,monospace; letter-spacing:.1em; }
.profile-delete-actions { display:flex; gap:10px; margin-top:3px; }
.profile-delete-actions > button { flex:1; font-size:12px; padding:11px; }
.profile-retention-note { color:var(--muted); font-size:10px; line-height:1.6; margin:20px 0 0; }
.profile-page :is(a,button,summary):focus-visible { outline:2px solid var(--green); outline-offset:4px; }
.profile-mode { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:24px 28px; margin-bottom:24px; border-color:#355b3d; background:linear-gradient(125deg,#21452b4d,transparent 70%),var(--panel); }
.profile-mode > div { flex:1; min-width:220px; }
.profile-mode .profile-label { color:#a4dfac; margin:0 0 8px; }
.profile-mode h2 { margin:0 0 8px; font-size:19px; }
.profile-mode p:not(.profile-label) { color:var(--muted); font-size:12px; line-height:1.7; margin:0; max-width:630px; }
.profile-mode > button { flex:none; font-size:12px; }
.profile-mode > .form-error { flex-basis:100%; color:#ff9999!important; }
.profile-game-controls { padding:26px 28px; }
.profile-controls-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.profile-controls-heading .profile-label { margin:0 0 7px; }
.profile-controls-heading h2 { margin:0; font-size:19px; }
.profile-controls-copy { color:var(--muted); font-size:12px; line-height:1.7; margin:16px 0 20px; }
.profile-test-game { display:flex; justify-content:space-between; align-items:center; gap:18px; border:1px solid var(--line); border-radius:12px; padding:16px; margin-top:10px; }
.profile-test-game > div:first-child { display:grid; gap:6px; min-width:0; }
.profile-test-game b { font-size:13px; }
.profile-test-game span,.profile-test-game p { color:var(--muted); font-size:11px; margin:0; line-height:1.6; }
.profile-test-actions { display:flex; gap:8px; flex:none; }
.profile-test-actions .btn { font-size:11px; padding:9px 12px; }
.profile-test-empty { border:1px dashed var(--line); border-radius:12px; padding:20px; text-align:center; }
.profile-test-empty p { color:var(--muted); font-size:12px; margin:0 0 10px; }
.profile-controls-note { color:var(--muted); font-size:11px; line-height:1.7; margin:20px 0 0; }
.profile-game-controls > .profile-clear { margin:16px 0 0; }
@media (max-width:600px) { .profile-mode,.profile-game-controls { padding:22px 20px; }.profile-mode { align-items:stretch; }.profile-mode > div { min-width:0; flex-basis:100%; }.profile-mode > button { width:100%; }.profile-controls-heading { align-items:flex-start; }.profile-controls-heading > button { font-size:10px; padding:8px; }.profile-test-game { align-items:flex-start; flex-direction:column; gap:14px; }.profile-test-actions { width:100%; }.profile-test-actions > button { flex:1; } }
@media (max-width:720px) { .profile-page { padding-top:32px; }.profile-layout { grid-template-columns:1fr; gap:14px; margin-bottom:18px; }.profile-danger { padding:22px 20px 18px; }.profile-danger-footer { align-items:flex-start; flex-direction:column; gap:16px; }.profile-danger-footer > div { width:100%; justify-content:flex-end; }.profile-identity { padding:22px; }.profile-balances b { font-size:24px; } }
@media (max-width:420px) { .profile-heading { align-items:flex-start; flex-direction:column; gap:18px; }.profile-avatar { width:60px; height:60px; font-size:28px; }.profile-identity { gap:14px; }.profile-identity h2 { font-size:20px; }.profile-irreversible { display:none; }.profile-delete-actions { flex-direction:column-reverse; } }
