/* TPK account page layout: brand panel, sign-in panel, account card. Load after tpk-base.css. */
.tpk-grid { display:grid; grid-template-columns:minmax(0,1fr); min-height:inherit; }
.tpk-brand { display:none; }
.tpk-panel { width:100%; max-width:480px; margin:0 auto; padding:24px max(20px, env(safe-area-inset-right)) 40px max(20px, env(safe-area-inset-left)); display:flex; flex-direction:column; gap:26px; }
.tpk-foot { color:var(--muted); font-size:15px; text-align:center; }
.tpk-foot a { font-weight:500; }
@media (min-width:960px) {
    .tpk-grid { grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
    .tpk-brand { position:relative; display:flex; flex-direction:column; justify-content:flex-end; gap:14px; padding:56px; overflow:hidden; background:var(--bg-deep); border-right:1px solid #1f242c; }
    /* The player photo fills the panel, framed on the player; a dark fade at the bottom keeps the headline readable. */
    .tpk-brand { background:#07080A; }
    .tpk-brand-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:47% 30%; }
    .tpk-brand-shade { position:absolute; inset:0; background:
      linear-gradient(to top, rgba(7,8,10,.96) 0%, rgba(7,8,10,.72) 24%, rgba(7,8,10,0) 52%),
      linear-gradient(to left, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 18%); }
    .tpk-brand-line { text-shadow:0 2px 24px rgba(0,0,0,.6); }
    .tpk-brand-line { position:relative; font-family:var(--display); font-size:clamp(48px,5vw,76px); line-height:.96; letter-spacing:-.02em; }
    .tpk-brand-sub { position:relative; color:var(--accent); font-size:13px; font-weight:500; letter-spacing:.2em; text-transform:uppercase; }
    .tpk-panel { justify-content:center; padding:48px; max-width:520px; }
  }
.tpk.is-account .tpk-grid { grid-template-columns:minmax(0,1fr); }
.tpk.is-account .tpk-brand { display:none; }
.tpk.is-account .tpk-panel { max-width:760px; justify-content:flex-start; padding-top:24px; }
.tpk-head { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.tpk-id { display:flex; flex-direction:column; flex:1 1 160px; min-width:0; }
.tpk-id strong { font-size:18px; font-weight:600; overflow-wrap:anywhere; }
.tpk-id span { color:var(--muted); font-size:14px; }
.tpk-facts { margin:22px 0 0; display:grid; }
.tpk-facts > div { display:grid; grid-template-columns:minmax(0,150px) minmax(0,1fr); gap:12px; padding:14px 0; border-top:1px solid var(--line); }
.tpk-facts dt { color:var(--muted); font-size:14px; }
.tpk-facts dd { margin:0; font-size:15px; overflow-wrap:anywhere; }
.tpk-pill { display:inline-block; margin-left:8px; padding:2px 8px; border-radius:999px; background:var(--ok-bg); color:var(--accent); font-size:12px; font-weight:500; }
@media (max-width:520px) { .tpk-facts > div { grid-template-columns:minmax(0,1fr); gap:2px; } }
