.p2-main { padding-block: clamp(30px, 6vw, 72px); min-width: 0; }
.p2-heading { margin-bottom: 28px; }
.p2-heading h1, .legal-copy h1, .consent h1 {
  font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1.14; margin: 0 0 14px;
}
.p2-heading p, .p2-card p, .legal-copy p { color: var(--muted); overflow-wrap: anywhere; }
.p2-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
.p2-card { color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 30px); min-width: 0; }
.p2-card h2 { margin-top: 0; font-size: 1.4rem; }
.p2-card form { display: grid; gap: 12px; }
.p2-card form output:empty { display: none; }
.p2-card form input:not([type=checkbox], [type=radio]) { display: block; width: 100%; }
.p2-card form button { justify-self: start; }
.p2-actions, .p2-dialog-title { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-block: 16px; }
.p2-dialog-title { justify-content: space-between; margin-top: 0; }
.p2-dialog-title h2 { margin: 0; }
.p2-card .actions { margin: 14px 0; justify-content: flex-start; }
.member-pro, .free-guide { border-color: #61754b; }
.member-pro button:disabled { cursor: default; }
.membership-current { font-size: 1.1rem; }
.device-meta { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.device-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 12px; }
.device-fields dt { color: var(--muted); }
.device-fields dd { margin: 0; overflow-wrap: anywhere; }
.device-manage { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.device-manage summary { cursor: pointer; }
.device-manage form { margin-top: 14px; }
dialog.p2-card { width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); }
dialog::backdrop { background: #000a; }
.consent { max-width: 720px; margin-inline: auto; }
.legal-copy { max-width: 740px; margin-inline: auto; }
.legal-copy section { margin-top: 28px; }
.legal-copy h2 { font-size: 1.25rem; }
.legal-copy a { color: var(--green); }
.stream-language { position: absolute; top: 12px; right: 16px; z-index: 21; }
.stream-body .overlay { padding-top: 64px; }
.overlay-card .p2-actions { justify-content: center; }
@media (max-width: 650px) {
  .p2-grid { grid-template-columns: minmax(0, 1fr); }
  .p2-main .p2-card .actions { gap: 8px; flex-wrap: wrap; }
  .stream-body .hud-top { padding-top: 58px; }
}
.p2-card .price { color: var(--text); }
.p2-card .price small { color: var(--muted); }
