/* 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; }
    .tpk-brand-glow { position:absolute; inset:0; background:radial-gradient(60% 50% at 62% 34%, rgba(215,255,63,.14), rgba(215,255,63,0) 70%); }
    .tpk-brand-ball { position:absolute; width:min(46%,340px); right:14%; top:14%; filter:drop-shadow(0 30px 60px rgba(0,0,0,.6)); animation:tpkFloat 7s ease-in-out infinite alternate; }
    @keyframes tpkFloat { from { transform:translateY(-10px) rotate(-4deg); } to { transform:translateY(12px) rotate(5deg); } }
    .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; } }
