/* Profile UI colours: Hotstar-style blue (independent of the site accent colour) */
:root { --pd-blue: #1f80e0; --pd-blue-2: #5aa9ff; --pd-navy: #0c111b; }
/* PublicDROP profiles: "Who's watching?" screen + full-screen My Space.
   Uses the site theme variables (--accent, --bg, --surface ...). Everything is prefixed pd- so nothing else is touched. */

html.pd-lock, html.pd-lock body { overflow: hidden !important; }

.pd-screen {
  position: fixed; inset: 0; z-index: 10000; display: none; flex-direction: column;
  background:
    radial-gradient(900px 520px at 50% -8%, color-mix(in srgb, var(--pd-blue) 20%, transparent), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(80, 90, 255, .08), transparent 70%),
    var(--bg, #08090c);
  color: var(--text, #f7f8fa); font-family: "DM Sans", system-ui, sans-serif;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.pd-screen.is-open { display: flex; animation: pd-fade .22s ease both; }
.pd-screen *, .pd-screen *::before, .pd-screen *::after { box-sizing: border-box; }
:where(.pd-screen) button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.pd-screen h1:focus, .pd-screen h2:focus { outline: none; }
.pd-screen :focus-visible { outline: 2px solid var(--pd-blue); outline-offset: 3px; border-radius: 10px; }

@keyframes pd-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pd-pop { from { opacity: 0; transform: translateY(14px) scale(.92) } to { opacity: 1; transform: none } }
@keyframes pd-rise { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }

/* ---------- top bar (shared) ---------- */
.pd-top {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; flex: 0 0 auto;
  min-height: 68px; padding: max(12px, env(safe-area-inset-top)) clamp(14px, 4vw, 40px) 12px;
  background: linear-gradient(180deg, var(--bg, #08090c) 55%, transparent);
}
.pd-top h1, .pd-top h2 { margin: 0; font: 800 clamp(1.1rem, 2.6vw, 1.5rem)/1.1 Montserrat, sans-serif; letter-spacing: -.01em; }
.pd-top .pd-grow { flex: 1; }
.pd-icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; padding: 0; cursor: pointer;
  border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 50%; background: rgba(255,255,255,.05);
  transition: background .18s, border-color .18s, transform .18s;
}
.pd-icon-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.pd-icon-btn:active { transform: scale(.94); }
.pd-icon-btn svg, .pd-ico { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-text-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--border, rgba(255,255,255,.14)); border-radius: 999px; background: rgba(255,255,255,.05);
  font: 700 .86rem/1 "DM Sans", sans-serif; transition: background .18s, border-color .18s;
}
.pd-text-btn:hover { background: rgba(255,255,255,.1); border-color: var(--pd-blue); }
.pd-brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.05rem Montserrat, sans-serif; letter-spacing: -.02em; }
.pd-brand img { width: 32px; height: 32px; border-radius: 9px; }

/* ---------- Who's watching ---------- */
.pd-who { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.pd-who-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: none; position: relative; }
.pd-who-top .pd-left { justify-self: start; } .pd-who-top .pd-right { justify-self: end; }
.pd-who-stage { flex: 1; display: grid; place-content: center; justify-items: center; gap: clamp(22px, 5vh, 44px); padding: 8px 18px max(36px, env(safe-area-inset-bottom)); }
.pd-who-sub { margin: -6px 0 0; text-align: center; color: var(--muted, #969daa); font-size: .92rem; }
.pd-who-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 38px); max-width: 880px; }
.pd-tile {
  display: grid; justify-items: center; gap: 13px; width: clamp(96px, 24vw, 140px); padding: 0; border: 0; background: none; cursor: pointer;
  font: 700 .98rem/1.2 "DM Sans", sans-serif; opacity: 0; animation: pd-pop .5s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms);
}
.pd-tile-ring {
  position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 4px; background: rgba(255,255,255,.06);
  box-shadow: 0 14px 34px rgba(0,0,0,.45); transition: transform .22s cubic-bezier(.2, .9, .3, 1.3), box-shadow .22s, background .22s;
}
.pd-tile-ring img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #1b1e27; }
.pd-tile:hover .pd-tile-ring, .pd-tile:focus-visible .pd-tile-ring {
  transform: scale(1.08); background: var(--pd-blue);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--pd-blue) 45%, transparent);
}
.pd-tile:focus-visible { outline: none; }
.pd-tile.is-active .pd-tile-ring { background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2)); }
.pd-tile-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e9ebf0; }
.pd-tile:hover .pd-tile-name { color: #fff; }
.pd-tile-badge {
  position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--pd-blue); border: 3px solid var(--bg, #08090c); color: #fff;
}
.pd-tile-badge .pd-ico { width: 15px; height: 15px; stroke-width: 2.2; }
.pd-editing .pd-tile-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(0,0,0,.42); }
.pd-editing .pd-tile-ring .pd-edit-ico { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; }
.pd-edit-ico .pd-ico { width: 30px; height: 30px; stroke: #fff; stroke-width: 2; }
.pd-tile-add .pd-tile-ring { background: transparent; border: 2px dashed rgba(255,255,255,.28); display: grid; place-items: center; box-shadow: none; }
.pd-tile-add .pd-tile-ring .pd-ico { width: 42%; height: 42%; stroke-width: 1.6; color: #fff; }
.pd-tile-add:hover .pd-tile-ring, .pd-tile-add:focus-visible .pd-tile-ring { background: rgba(255,255,255,.07); border-color: var(--pd-blue); box-shadow: none; }

/* ---------- My Space ---------- */
.pd-col { width: min(720px, 100%); margin: 0 auto; padding: 4px clamp(14px, 4vw, 24px) max(48px, env(safe-area-inset-bottom)); }
.pd-me {
  display: flex; align-items: center; gap: 18px; padding: 20px; margin-top: 6px; border-radius: 24px; animation: pd-rise .45s ease both;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: linear-gradient(135deg, color-mix(in srgb, var(--pd-blue) 16%, var(--surface, #111319)), var(--surface, #111319) 70%);
}
.pd-me-avatar { width: 84px; height: 84px; flex: 0 0 auto; padding: 3px; border-radius: 50%; background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2)); box-shadow: 0 10px 28px rgba(0,0,0,.4); }
.pd-me-avatar img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #1b1e27; }
.pd-me-info { min-width: 0; flex: 1; }
.pd-me-info strong { display: block; font: 800 1.3rem/1.15 Montserrat, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-me-info span { display: block; margin-top: 4px; color: var(--muted, #969daa); font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-sync { display: inline-flex !important; align-items: center; gap: 7px; margin-top: 9px !important; color: #7ff0a8 !important; font-weight: 600; font-size: .78rem !important; }
.pd-sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fd072; box-shadow: 0 0 0 3px rgba(47,208,114,.2); }

.pd-label { display: block; margin: 26px 4px 10px; color: var(--muted, #969daa); font: 700 .72rem/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.pd-strip { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: none; }
.pd-strip::-webkit-scrollbar { display: none; }
.pd-chip { flex: 0 0 auto; display: grid; justify-items: center; gap: 8px; width: 78px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 .8rem/1.2 "DM Sans", sans-serif; color: var(--muted, #969daa); }
.pd-chip .pd-chip-ring { width: 64px; height: 64px; padding: 3px; border-radius: 50%; background: rgba(255,255,255,.07); transition: transform .2s, background .2s; }
.pd-chip img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.pd-chip.is-active { color: #fff; } .pd-chip.is-active .pd-chip-ring { background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2)); }
.pd-chip:hover .pd-chip-ring { transform: scale(1.07); }
.pd-chip span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-chip-add .pd-chip-ring { display: grid; place-items: center; background: transparent; border: 2px dashed rgba(255,255,255,.28); }
.pd-chip-add .pd-ico { width: 24px; height: 24px; color: #fff; }

.pd-menu { margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: 20px; border: 1px solid var(--border, rgba(255,255,255,.1)); background: var(--surface, #111319); animation: pd-rise .5s .08s ease both; }
.pd-menu li + li { border-top: 1px solid var(--border, rgba(255,255,255,.08)); }
.pd-row {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 78px; padding: 14px 18px; border: 0; background: none; text-align: left; text-decoration: none; color: inherit; cursor: pointer;
  transition: background .18s;
}
.pd-row:hover, .pd-row:focus-visible { background: rgba(255,255,255,.045); outline-offset: -3px; }
.pd-row-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 14px; background: color-mix(in srgb, var(--pd-blue) 14%, transparent); color: var(--pd-blue-2); }
.pd-row-ico .pd-ico { width: 22px; height: 22px; }
.pd-row-txt { flex: 1; min-width: 0; }
.pd-row-txt b { display: block; font: 700 1.02rem/1.2 "DM Sans", sans-serif; }
.pd-row-txt small { display: block; margin-top: 4px; color: var(--muted, #969daa); font-size: .83rem; line-height: 1.3; }
.pd-row .pd-chev { width: 20px; height: 20px; flex: 0 0 auto; color: var(--muted, #969daa); }

/* Log Out: small, highlighted text (like the reference app) */
.pd-logout-wrap { display: grid; justify-items: center; margin: 34px 0 6px; }
.pd-logout { padding: 12px 22px; border: 0; background: none; cursor: pointer; color: var(--pd-blue); font: 800 .95rem/1 "DM Sans", sans-serif; letter-spacing: .02em; border-radius: 999px; transition: background .18s, transform .18s; }
.pd-logout:hover { background: color-mix(in srgb, var(--pd-blue) 14%, transparent); }
.pd-logout:active { transform: scale(.96); }
.pd-foot { margin: 14px 0 0; text-align: center; color: #5d6370; font-size: .78rem; }

/* ---------- sub pages ---------- */
.pd-tabs { display: flex; gap: 8px; margin: 4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab { flex: 0 0 auto; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border, rgba(255,255,255,.12)); background: transparent; color: var(--muted, #969daa); font: 700 .86rem/1 "DM Sans", sans-serif; cursor: pointer; }
.pd-tab[aria-selected="true"] { background: var(--pd-blue); border-color: var(--pd-blue); color: #fff; }
.pd-card { padding: 6px 18px; border-radius: 20px; border: 1px solid var(--border, rgba(255,255,255,.1)); background: var(--surface, #111319); }
.pd-kv { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; }
.pd-kv + .pd-kv { border-top: 1px solid var(--border, rgba(255,255,255,.08)); }
.pd-kv span { color: var(--muted, #969daa); font-size: .88rem; } .pd-kv b { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pd-list { display: grid; gap: 10px; }
.pd-media { display: flex; gap: 14px; align-items: center; padding: 9px; border-radius: 16px; border: 1px solid var(--border, rgba(255,255,255,.08)); background: var(--surface, #111319); color: inherit; text-decoration: none; transition: border-color .18s, transform .18s; }
.pd-media:hover { border-color: var(--pd-blue); transform: translateY(-1px); }
.pd-media img, .pd-media .pd-ph { width: 58px; height: 84px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: var(--surface-2, #171a22); }
.pd-media .pd-info { min-width: 0; flex: 1; } .pd-media b { display: block; font-size: .98rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-media small { display: block; margin-top: 4px; color: var(--muted, #969daa); font-size: .8rem; }
.pd-bar { height: 4px; margin-top: 9px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.14); } .pd-bar i { display: block; height: 100%; background: var(--pd-blue); }
.pd-empty { padding: 56px 12px; text-align: center; color: var(--muted, #969daa); line-height: 1.6; }
.pd-danger-link { display: block; margin: 18px auto 0; padding: 10px 16px; border: 1px solid var(--border, rgba(255,255,255,.14)); border-radius: 999px; background: none; color: var(--muted, #969daa); font: 700 .82rem/1 "DM Sans", sans-serif; cursor: pointer; }
.pd-danger-link:hover { color: #ff7a7a; border-color: #ff7a7a; }

.pd-lang { list-style: none; margin: 0; padding: 0; }
.pd-lang li + li { border-top: 1px solid var(--border, rgba(255,255,255,.08)); }
.pd-lang button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 62px; padding: 12px 18px; border: 0; background: none; text-align: left; cursor: pointer; font: 600 1rem/1.2 "DM Sans", sans-serif; }
.pd-lang button[disabled] { cursor: default; opacity: .5; }
.pd-lang .pd-radio { width: 22px; height: 22px; flex: 0 0 auto; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; }
.pd-lang button[aria-checked="true"] .pd-radio { border-color: var(--pd-blue); }
.pd-lang button[aria-checked="true"] .pd-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pd-blue); }
.pd-lang small { margin-left: auto; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted, #969daa); font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.pd-note { margin: 14px 4px 0; color: var(--muted, #969daa); font-size: .85rem; line-height: 1.55; }

/* ---------- profile editor ---------- */
.pd-ed-preview { display: grid; justify-items: center; gap: 14px; margin: 6px 0 4px; }
.pd-ed-preview .pd-me-avatar { width: 124px; height: 124px; padding: 4px; }
.pd-input { width: 100%; min-height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--border, rgba(255,255,255,.16)); background: rgba(255,255,255,.05); color: inherit; font: 600 1.05rem "DM Sans", sans-serif; text-align: center; }
.pd-input:focus { outline: none; border-color: var(--pd-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-blue) 25%, transparent); }
.pd-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 14px; justify-items: center; }
.pd-pick { width: 72px; height: 72px; padding: 3px; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); cursor: pointer; transition: transform .2s, background .2s; position: relative; }
.pd-pick img { width: 100%; height: 100%; display: block; border-radius: 50%; }
.pd-pick:hover { transform: scale(1.08); }
.pd-pick[aria-checked="true"] { background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2)); transform: scale(1.06); box-shadow: 0 8px 24px color-mix(in srgb, var(--pd-blue) 40%, transparent); }
.pd-pick[aria-checked="true"]::after { content: "\2713"; position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--pd-blue); font: 900 .8rem/1 sans-serif; border: 2px solid var(--bg, #08090c); }
.pd-primary { width: 100%; min-height: 54px; margin-top: 26px; border: 0; border-radius: 999px; background: var(--pd-blue); color: #fff; cursor: pointer; font: 800 1rem/1 "DM Sans", sans-serif; box-shadow: 0 12px 30px color-mix(in srgb, var(--pd-blue) 35%, transparent); transition: transform .18s, filter .18s; }
.pd-primary:hover { filter: brightness(1.08); } .pd-primary:active { transform: scale(.985); } .pd-primary:disabled { opacity: .6; cursor: wait; }
.pd-secondary { width: 100%; min-height: 50px; margin-top: 12px; border: 1px solid var(--border, rgba(255,255,255,.16)); border-radius: 999px; background: transparent; cursor: pointer; font: 700 .95rem/1 "DM Sans", sans-serif; }
.pd-secondary.is-danger { color: #ff7a7a; border-color: rgba(255,122,122,.4); } .pd-secondary:hover { background: rgba(255,255,255,.05); }
.pd-msg { min-height: 22px; margin: 14px 0 0; text-align: center; font-size: .88rem; color: var(--muted, #969daa); } .pd-msg.err { color: #ff7a7a; } .pd-msg.ok { color: #4ade80; }

/* ---------- confirm popup (log out etc.) ---------- */
.pd-confirm { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); animation: pd-fade .18s ease both; }
.pd-confirm-box { width: min(400px, 100%); padding: 26px 24px 22px; text-align: center; border-radius: 24px; border: 1px solid var(--border, rgba(255,255,255,.12)); background: var(--surface, #111319); box-shadow: var(--shadow, 0 28px 75px rgba(0,0,0,.6)); animation: pd-pop .28s cubic-bezier(.2, .9, .3, 1.2) both; }
.pd-confirm-ico { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: color-mix(in srgb, var(--pd-blue) 16%, transparent); color: var(--pd-blue); }
.pd-confirm-ico .pd-ico { width: 28px; height: 28px; }
.pd-confirm-box h3 { margin: 0 0 8px; font: 800 1.25rem/1.2 Montserrat, sans-serif; }
.pd-confirm-box p { margin: 0 0 22px; color: var(--muted, #969daa); font-size: .94rem; line-height: 1.55; }
.pd-confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-confirm-actions button { min-height: 50px; border-radius: 999px; cursor: pointer; font: 800 .95rem/1 "DM Sans", sans-serif; }
.pd-btn-cancel { border: 1px solid var(--border, rgba(255,255,255,.18)); background: rgba(255,255,255,.05); }
.pd-btn-ok { border: 0; background: var(--pd-blue); color: #fff; }
.pd-confirm-actions button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 520px) {
  .pd-confirm { align-items: end; padding: 0; }
  .pd-confirm-box { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: max(22px, env(safe-area-inset-bottom)); animation: pd-rise .3s ease both; }
}

.pd-toast { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); z-index: 20; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 12px 20px; border-radius: 999px; background: #20242e; border: 1px solid var(--border, rgba(255,255,255,.14)); color: #fff; font: 600 .9rem "DM Sans", sans-serif; box-shadow: 0 14px 40px rgba(0,0,0,.5); animation: pd-rise .25s ease both; }

@media (max-width: 520px) {
  .pd-me { padding: 16px; gap: 14px; } .pd-me-avatar { width: 72px; height: 72px; }
  .pd-who-top { grid-template-columns: 56px 1fr 80px; } .pd-who-top h1 { text-align: center; }
  .pd-brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-screen *, .pd-screen *::before, .pd-screen *::after, .pd-confirm, .pd-confirm-box, .pd-toast { animation: none !important; transition: none !important; }
  .pd-tile { opacity: 1; }
}

/* =====================================================================
   v2 · animated avatars, top-bar ring, quick profile menu, My Space polish
   ===================================================================== */
@property --pd-ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pd-spin { to { --pd-ang: 360deg; } }
@keyframes pd-spin-rot { to { transform: rotate(360deg); } }
@keyframes pd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pd-pulse { 0% { box-shadow: 0 0 0 0 rgba(47,208,114,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47,208,114,0); } }
@keyframes pd-avatar-pop { 0% { transform: scale(.5) rotate(-18deg); } 55% { transform: scale(1.18) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes pd-pop-in { from { opacity: 0; transform: translateY(-10px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes pd-pop-out { to { opacity: 0; transform: translateY(-6px) scale(.94); } }
@keyframes pd-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pd-sheet-out { to { transform: translateY(100%); } }
@keyframes pd-item-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes pd-back-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pd-swap { 0% { transform: scale(.7) rotate(-10deg); opacity: .4; } 60% { transform: scale(1.1) rotate(3deg); opacity: 1; } 100% { transform: none; } }

/* ----- top-bar avatar: glowing spinning ring + pop when it changes ----- */
.account-button { transition: transform .22s cubic-bezier(.2,.9,.3,1.3); }
.account-button:hover { transform: scale(1.06); }
.account-button:active { transform: scale(.94); }
.account-button.is-signed-in::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 37px; height: 37px; margin: -18.5px 0 0 -18.5px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from var(--pd-ang), var(--pd-blue), var(--pd-blue-2), #7c5cff, #19e6ff, var(--pd-blue));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  animation: pd-spin 4.5s linear infinite; opacity: .95;
}
.account-button.is-signed-in .account-avatar { position: relative; background: #151821; border-color: transparent; transition: transform .25s cubic-bezier(.2,.9,.3,1.3); }
.account-button.is-signed-in .account-avatar img { animation: pd-bob 4s ease-in-out infinite; }
.account-button.is-signed-in::after { animation: pd-pulse 2.4s ease-out infinite; z-index: 1; }
.account-button.is-open .account-avatar { transform: scale(.92); }
.account-button.pd-pop-anim .account-avatar { animation: pd-avatar-pop .55s cubic-bezier(.2,.9,.3,1.2); }

/* ----- quick profile menu ----- */
.pd-pop-back { position: fixed; inset: 0; z-index: 9990; background: transparent; }
.pd-pop {
  position: fixed; z-index: 9995; top: var(--pop-top, 66px); right: var(--pop-right, 12px); width: min(346px, calc(100vw - 20px)); max-height: calc(100dvh - var(--pop-top, 66px) - 14px); overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 14px 12px; border-radius: 24px; transform-origin: calc(100% - 22px) -8px; scrollbar-width: none;
  border: 1px solid rgba(255,255,255,.12); color: var(--text, #f7f8fa); font-family: "DM Sans", system-ui, sans-serif;
  background:
    radial-gradient(260px 160px at 100% 0, color-mix(in srgb, var(--pd-blue) 30%, transparent), transparent 72%),
    radial-gradient(240px 150px at 0 100%, rgba(124,92,255,.16), transparent 70%),
    color-mix(in srgb, var(--surface, #12141b) 94%, #000);
  box-shadow: 0 34px 90px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  animation: pd-pop-in .36s cubic-bezier(.2,.95,.25,1.18) both;
}
.pd-pop::-webkit-scrollbar { display: none; }
.pd-pop *, .pd-pop *::before, .pd-pop *::after { box-sizing: border-box; }
.pd-pop button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.pd-pop.is-closing { animation: pd-pop-out .16s ease-in both; pointer-events: none; }
.pd-pop-grab { display: none; width: 42px; height: 5px; margin: -4px auto 12px; border-radius: 5px; background: rgba(255,255,255,.22); }

.pd-pop-head { display: flex; align-items: center; gap: 14px; padding: 2px 4px 14px; }
.pd-pop-av { position: relative; flex: 0 0 auto; width: 74px; height: 74px; padding: 4px; border-radius: 50%; animation: pd-item-in .5s .05s cubic-bezier(.2,.9,.3,1.2) both; }
.pd-pop-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from var(--pd-ang), var(--pd-blue), var(--pd-blue-2), #7c5cff, #19e6ff, var(--pd-blue)); animation: pd-spin 5s linear infinite; box-shadow: 0 0 26px color-mix(in srgb, var(--pd-blue) 55%, transparent); }
.pd-pop-av img { position: relative; width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; background: #151821; border: 3px solid #151821; animation: pd-bob 4s ease-in-out infinite; }
.pd-pop-dot { position: absolute; right: 2px; bottom: 3px; width: 15px; height: 15px; border-radius: 50%; background: #2fd072; border: 3px solid #151821; animation: pd-pulse 2.4s ease-out infinite; }
.pd-pop-id { min-width: 0; flex: 1; }
.pd-pop-id strong { display: block; font: 800 1.12rem/1.15 Montserrat, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pop-id span { display: block; margin-top: 3px; color: var(--muted, #969daa); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pop-sync { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(47,208,114,.12); color: #7ff0a8; font: 700 .68rem/1 "DM Sans", sans-serif; font-style: normal; letter-spacing: .02em; }
.pd-pop-sync::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2fd072; }

.pd-pop-chips { display: flex; gap: 8px; padding: 10px 4px 12px; overflow-x: auto; scrollbar-width: none; border-block: 1px solid rgba(255,255,255,.07); }
.pd-pop-chips::-webkit-scrollbar { display: none; }
.pd-pop-chip { flex: 0 0 auto; display: grid; justify-items: center; gap: 5px; width: 58px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted, #969daa); font: 600 .68rem/1.15 "DM Sans", sans-serif; opacity: 0; animation: pd-item-in .4s calc(var(--n) * 50ms + 120ms) cubic-bezier(.2,.9,.3,1.2) forwards; }
.pd-pop-chip-ring { width: 46px; height: 46px; padding: 2.5px; border-radius: 50%; background: rgba(255,255,255,.08); transition: transform .22s cubic-bezier(.2,.9,.3,1.4), background .2s, box-shadow .2s; }
.pd-pop-chip-ring img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.pd-pop-chip span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pop-chip:hover .pd-pop-chip-ring, .pd-pop-chip:focus-visible .pd-pop-chip-ring { transform: translateY(-3px) scale(1.12); background: rgba(255,255,255,.2); }
.pd-pop-chip.is-active { color: #fff; }
.pd-pop-chip.is-active .pd-pop-chip-ring { background: linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2)); box-shadow: 0 6px 18px color-mix(in srgb, var(--pd-blue) 45%, transparent); }
.pd-pop-chip-add .pd-pop-chip-ring { display: grid; place-items: center; background: transparent; border: 2px dashed rgba(255,255,255,.3); }
.pd-pop-chip-add .pd-ico { width: 20px; height: 20px; }
.pd-pop.is-swapped .pd-pop-av img { animation: pd-avatar-pop .5s cubic-bezier(.2,.9,.3,1.2), pd-bob 4s .5s ease-in-out infinite; }

.pd-pop-list { display: grid; gap: 2px; padding: 8px 0 4px; }
.pd-pop-item { position: relative; display: flex; align-items: center; gap: 13px; width: 100%; min-height: 54px; padding: 8px 10px; border: 0; border-radius: 16px; background: none; text-align: left; cursor: pointer; opacity: 0; animation: pd-item-in .4s calc(var(--n) * 45ms + 160ms) cubic-bezier(.2,.9,.3,1.1) forwards; transition: background .18s, transform .18s; }
.pd-pop-item:hover, .pd-pop-item:focus-visible { background: rgba(255,255,255,.07); transform: translateX(3px); outline: none; }
.pd-pop-item:focus-visible { box-shadow: 0 0 0 2px var(--pd-blue) inset; }
.pd-pop-item:active { transform: scale(.98); }
.pd-pop-ico { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; color: var(--pd-blue-2); background: color-mix(in srgb, var(--pd-blue) 15%, transparent); transition: transform .25s cubic-bezier(.2,.9,.3,1.5), background .2s, color .2s; }
.pd-pop-item:hover .pd-pop-ico, .pd-pop-item:focus-visible .pd-pop-ico { transform: rotate(-8deg) scale(1.12); background: var(--pd-blue); color: #fff; }
.pd-pop-ico .pd-ico { width: 19px; height: 19px; }
.pd-pop-txt { flex: 1; min-width: 0; }
.pd-pop-txt b { display: block; font: 700 .94rem/1.2 "DM Sans", sans-serif; }
.pd-pop-txt small { display: block; margin-top: 2px; color: var(--muted, #969daa); font-size: .74rem; line-height: 1.25; }
.pd-pop-item .pd-chev { width: 17px; height: 17px; flex: 0 0 auto; color: var(--muted, #969daa); transition: transform .2s, color .2s; }
.pd-pop-item:hover .pd-chev, .pd-pop-item:focus-visible .pd-chev { transform: translateX(3px); color: #fff; }
.pd-pop-item.is-out { margin-top: 6px; min-height: 48px; border-top: 1px solid rgba(255,255,255,.07); border-radius: 0 0 16px 16px; }
.pd-pop-item.is-out .pd-pop-txt b { color: var(--pd-blue-2); }
.pd-pop-item.is-out:hover { background: rgba(31,128,224,.14); }
.pd-pop-item.is-out .pd-pop-ico { background: rgba(31,128,224,.16); color: var(--pd-blue-2); }
.pd-pop-item.is-out:hover .pd-pop-ico { background: var(--pd-blue); color: #fff; }

/* phones: slide-up bottom sheet */
@media (max-width: 640px) {
  .pd-pop-back { background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: pd-back-in .22s ease both; }
  .pd-pop-back.is-closing { animation: pd-back-in .16s ease reverse both; }
  .pd-pop { top: auto; right: 0; left: 0; bottom: 0; width: 100%; max-height: 86dvh; padding: 10px 16px max(18px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; transform-origin: bottom center; animation: pd-sheet-in .38s cubic-bezier(.2,.9,.25,1) both; }
  .pd-pop.is-closing { animation: pd-sheet-out .2s ease-in both; }
  .pd-pop-grab { display: block; }
  .pd-pop-item { min-height: 58px; }
  .pd-pop-chip { width: 64px; } .pd-pop-chip-ring { width: 52px; height: 52px; }
}

/* ----- My Space polish ----- */
.pd-me-avatar { position: relative; background: conic-gradient(from var(--pd-ang), var(--pd-blue), var(--pd-blue-2), #7c5cff, #19e6ff, var(--pd-blue)); animation: pd-spin 6s linear infinite; }
.pd-me-avatar img { animation: pd-bob 4.4s ease-in-out infinite; border: 3px solid #151821; }
.pd-me-avatar img.pd-swap { animation: pd-swap .5s cubic-bezier(.2,.9,.3,1.2), pd-bob 4.4s .5s ease-in-out infinite; }
.pd-me { position: relative; overflow: hidden; }
.pd-me::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.07) 50%, transparent 65%); transform: translateX(-120%); animation: pd-shine 6s 1s ease-in-out infinite; pointer-events: none; }
@keyframes pd-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.pd-sync::before { animation: pd-pulse 2.4s ease-out infinite; }
.pd-menu li { opacity: 0; animation: pd-item-in .45s calc(var(--n, 0) * 70ms + 140ms) cubic-bezier(.2,.9,.3,1.1) forwards; }
.pd-row { transition: background .18s, padding-left .18s; }
.pd-row:hover, .pd-row:focus-visible { padding-left: 22px; }
.pd-row-ico { transition: transform .25s cubic-bezier(.2,.9,.3,1.5), background .2s, color .2s; }
.pd-row:hover .pd-row-ico, .pd-row:focus-visible .pd-row-ico { transform: rotate(-8deg) scale(1.1); background: var(--pd-blue); color: #fff; }
.pd-row .pd-chev { transition: transform .2s; } .pd-row:hover .pd-chev { transform: translateX(4px); }
.pd-chip { opacity: 0; animation: pd-item-in .4s .15s cubic-bezier(.2,.9,.3,1.2) forwards; }
.pd-chip:nth-child(2) { animation-delay: .2s; } .pd-chip:nth-child(3) { animation-delay: .25s; } .pd-chip:nth-child(4) { animation-delay: .3s; } .pd-chip:nth-child(5) { animation-delay: .35s; }
.pd-chip.is-active .pd-chip-ring { box-shadow: 0 8px 22px color-mix(in srgb, var(--pd-blue) 40%, transparent); }
.pd-tile-ring img, .pd-chip img, .pd-pick img { background: #151821; }
.pd-tile:hover .pd-tile-ring img { animation: pd-bob 1.6s ease-in-out infinite; }
.pd-tile.is-active .pd-tile-ring { box-shadow: 0 14px 38px color-mix(in srgb, var(--pd-blue) 40%, transparent); }

/* avatar picker */
.pd-av-name { margin-top: -4px; color: var(--muted, #969daa); font: 700 .8rem/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.pd-picker { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 14px 10px; }
.pd-pick { width: 68px; height: 68px; opacity: 0; animation: pd-item-in .35s calc(var(--n, 0) * 22ms) cubic-bezier(.2,.9,.3,1.2) forwards; transition: transform .22s cubic-bezier(.2,.9,.3,1.5), background .2s, box-shadow .2s; }
.pd-pick:hover { transform: translateY(-4px) scale(1.12) rotate(-3deg); background: rgba(255,255,255,.18); }
.pd-pick:focus-visible { outline-offset: 4px; }

@media (max-width: 520px) {
  .pd-picker { grid-template-columns: repeat(4, 1fr); } .pd-pick { width: 100%; height: auto; aspect-ratio: 1; max-width: 76px; }
  .pd-ed-preview .pd-me-avatar { width: 108px; height: 108px; }
}
.pd-confirm { z-index: 10010; } .pd-toast { z-index: 10020; }
.pd-confirm button { font-family: "DM Sans", system-ui, sans-serif; color: inherit; }
.pd-confirm, .pd-confirm *, .pd-toast { box-sizing: border-box; }
.pd-confirm-box { color: var(--text, #f7f8fa); font-family: "DM Sans", system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) {
  .pd-pop, .pd-pop *, .pd-pop *::before, .pd-pop-back, .account-button::before, .account-button::after, .account-avatar img, .pd-me-avatar, .pd-me-avatar img, .pd-me::after, .pd-menu li, .pd-chip, .pd-pick { animation: none !important; transition: none !important; opacity: 1 !important; }
}

/* =====================================================================
   v3 · Create/Edit profile (swipe carousel) + flat "Help & Settings" list
   ===================================================================== */
.pd-icon-btn.pd-plain { border: 0; background: none; }
.pd-ed-top { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; background: none; }
.pd-ed-top h2 { text-align: center; font-weight: 700; }
.pd-car-wrap { margin-top: clamp(14px, 4vh, 40px); }
.pd-car { display: flex; align-items: center; height: 124px; overflow-x: auto; overflow-y: hidden; padding-inline: calc(50% - 39px); scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; outline: none; cursor: grab; }
.pd-car::-webkit-scrollbar { display: none; }
.pd-car.is-drag { scroll-snap-type: none; cursor: grabbing; }
.pd-car:focus-visible { box-shadow: 0 0 0 2px var(--pd-blue) inset; border-radius: 18px; }
.pd-car-item { flex: 0 0 78px; width: 78px; height: 124px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; scroll-snap-align: center; scroll-snap-stop: always; -webkit-tap-highlight-color: transparent; transition: opacity .2s; }
.pd-car-item img { width: 48px; height: 48px; display: block; border-radius: 50%; object-fit: cover; background: #151821; will-change: transform; user-select: none; -webkit-user-drag: none; }
.pd-car-item.is-center img { box-shadow: 0 0 0 2px var(--bg, #0f1117), 0 0 0 4px rgba(255,255,255,.92), 0 12px 30px rgba(0,0,0,.5); }
.pd-car-name { margin-top: 2px; text-align: center; color: var(--muted, #969daa); font: 700 .8rem/1 "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.pd-car-name.pd-swap { animation: pd-item-in .3s ease both; }
.pd-ed-col { margin-top: clamp(18px, 5vh, 44px); }
.pd-float { position: relative; display: block; }
.pd-float input { width: 100%; height: 58px; padding: 0 18px; border: 2px solid rgba(255,255,255,.55); border-radius: 12px; background: transparent; color: inherit; font: 500 1.05rem "DM Sans", system-ui, sans-serif; caret-color: #3b9bff; transition: border-color .2s, box-shadow .2s; }
.pd-float input:focus { outline: none; border-color: var(--pd-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-blue) 22%, transparent); }
.pd-float span { position: absolute; left: 14px; top: -9px; padding: 0 6px; background: var(--bg, #0f1117); color: rgba(255,255,255,.7); font: 500 .92rem/1 "DM Sans", system-ui, sans-serif; pointer-events: none; }
.pd-float input:focus + span { color: var(--pd-blue); }
.pd-fab { position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: max(26px, env(safe-area-inset-bottom)); z-index: 5; display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--pd-blue), #7c5cff); box-shadow: 0 14px 34px color-mix(in srgb, var(--pd-blue) 40%, transparent); animation: pd-pop .45s .15s cubic-bezier(.2,.9,.3,1.3) both; transition: transform .18s, filter .18s; }
.pd-fab .pd-ico { width: 28px; height: 28px; stroke-width: 2.4; }
.pd-fab:hover { filter: brightness(1.1); transform: scale(1.06); } .pd-fab:active { transform: scale(.93); } .pd-fab:disabled { opacity: .55; cursor: wait; }

/* Help & Settings: flat rows with thin dividers */
.pd-menu { border: 0; border-radius: 0; background: none; overflow: visible; }
.pd-menu li + li { border-top: 0; }
.pd-menu li { position: relative; }
.pd-menu li + li::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; height: 1px; background: var(--border, rgba(255,255,255,.1)); }
.pd-row { min-height: 84px; padding: 14px 4px; gap: 22px; border-radius: 14px; }
.pd-row:hover, .pd-row:focus-visible { padding-left: 10px; background: rgba(255,255,255,.04); }
.pd-row-ico { width: 38px; height: 38px; border-radius: 0; background: none !important; color: #e8eaf0; }
.pd-row-ico .pd-ico { width: 30px; height: 30px; stroke-width: 1.6; }
.pd-row:hover .pd-row-ico, .pd-row:focus-visible .pd-row-ico { background: none !important; color: var(--pd-blue); transform: scale(1.1); }
.pd-row-txt b { font-weight: 500; font-size: 1.12rem; }
.pd-row-txt small { margin-top: 5px; font-size: .92rem; }
.pd-logout { font-size: 1.1rem; font-weight: 700; }
@media (max-width: 520px) { .pd-car { padding-inline: calc(50% - 39px); } .pd-menu li + li::before { left: 66px; } }


/* =====================================================================
   v3 · perfect circular avatars + blue profile theme
   ===================================================================== */
/* every avatar frame is an exact circle that clips its image; nothing moves inside it */
.account-avatar, .auth-profile-avatar, .pd-me-avatar, .pd-tile-ring, .pd-chip-ring, .pd-pick, .pd-pop-chip-ring, .pd-pop-av {
  aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; box-sizing: border-box; position: relative; isolation: isolate;
}
.account-avatar img, .auth-profile-avatar img, .pd-me-avatar img, .pd-tile-ring img, .pd-chip-ring img, .pd-pick img, .pd-pop-chip-ring img, .pd-pop-av img {
  display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; object-fit: cover; object-position: center;
  animation: none !important; transform: none !important; border: 0 !important; margin: 0;
}
.pd-me-avatar img, .pd-pop-av img { background: #101826; }
/* the glow ring is drawn INSIDE the padding of the frame, so avatar and ring share one centre */
.pd-me-avatar, .pd-pop-av { display: block; }
.pd-pop-ring { z-index: 0; }
.pd-pop-av img { z-index: 1; width: calc(100% - 8px); height: calc(100% - 8px); margin: 4px; }
.pd-me-avatar img { width: 100%; height: 100%; outline: 3px solid #101826; outline-offset: -3px; }
/* top-bar ring: sits exactly around the avatar (not around the button) */
.account-button.is-signed-in::before { display: none !important; }
.account-button.is-signed-in .account-avatar { overflow: visible; border: 0; background: transparent; }
.account-button.is-signed-in .account-avatar::before {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--pd-ang), var(--pd-blue), var(--pd-blue-2), #19e6ff, var(--pd-blue));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: pd-spin 4.5s linear infinite;
}
.account-button.is-signed-in .account-avatar img { position: relative; z-index: 1; border-radius: 50%; }

/* blue profile pages (no red text) */
.pd-logout, .pd-text-btn, .pd-row-ico { color: var(--pd-blue-2); }
.pd-logout:hover { color: #fff; }
.auth-profile-avatar { border-color: var(--pd-blue-2); background: linear-gradient(135deg, var(--pd-blue), #0b2f66); box-shadow: 0 12px 35px rgba(31,128,224,.3); }
.pd-screen, .pd-pop, .pd-me { --accent: var(--pd-blue); }

/* profile screens are always dark navy (like Hotstar), so text stays readable even when the site is in light mode */
.pd-screen, .pd-pop, .pd-fab {
  --bg: #0c111b; --surface: #131a29; --surface-2: #18213a; --text: #f4f7fc; --muted: #9aa6bd; --border: rgba(255,255,255,.12);
  color-scheme: dark;
}
.pd-screen { background: radial-gradient(900px 520px at 50% -8%, rgba(31,128,224,.22), transparent 70%), #0c111b; color: #f4f7fc; }
.pd-pop { background: radial-gradient(260px 160px at 100% 0, rgba(31,128,224,.28), transparent 72%), #101826; color: #f4f7fc; border-color: rgba(255,255,255,.1); }
.pd-pop-chip { color: #9aa6bd; } .pd-pop-chip.is-active { color: #fff; }
.pd-pop-chip-add .pd-pop-chip-ring, .pd-pop-chip-add { color: #fff; }

/* ---------- Help & Support + Request a Movie ---------- */
.pd-hero { display: flex; align-items: center; gap: 16px; padding: 18px; margin-top: 6px; border: 1px solid var(--border, rgba(255,255,255,.1)); border-radius: 22px; background: linear-gradient(135deg, color-mix(in srgb, var(--pd-blue) 16%, var(--surface, #111319)), var(--surface, #111319) 70%); }
.pd-hero-ico { display: grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--pd-blue) 22%, transparent); color: var(--pd-blue-2); }
.pd-hero-ico .pd-ico { width: 28px; height: 28px; }
.pd-hero strong { display: block; font: 800 1.08rem/1.2 Montserrat, sans-serif; }
.pd-hero span:not(.pd-hero-ico) { display: block; margin-top: 5px; color: var(--muted, #969daa); font-size: .88rem; line-height: 1.4; }
.pd-user { color: #fff; font-weight: 700; letter-spacing: .01em; }
.pd-form { margin-top: 6px; }
.pd-fl { display: block; margin: 16px 4px 7px; color: var(--muted, #969daa); font: 700 .78rem/1 "DM Sans", sans-serif; letter-spacing: .04em; }
.pd-fl em { font-style: normal; font-weight: 500; opacity: .75; }
.pd-field { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--border, rgba(255,255,255,.16)); background: rgba(255,255,255,.05); color: inherit; font: 500 1rem "DM Sans", sans-serif; }
.pd-field::placeholder { color: #5d6370; }
.pd-field:focus { outline: none; border-color: var(--pd-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pd-blue) 25%, transparent); }
.pd-area { min-height: 110px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.pd-field { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, #969daa 50%), linear-gradient(135deg, #969daa 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select.pd-field option { color: #111; }
.pd-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.pd-hint { margin: 12px 4px 0; color: #7b8190; font-size: .8rem; line-height: 1.45; }
.pd-hint b { color: #aeb4c2; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 380px) { .pd-two { grid-template-columns: 1fr; } }
