/* ==========================================================================
   GBLA Matchday Pillar · Stadium (Production Liquid Glass & Concentric UI)
   Locked tuning: response 0.34s · damping 0.92 · blur 6px · alpha 0.62 · radius 32px
   Strict concentric radius scale: R_inner = R_outer - padding
   ========================================================================== */

body[data-revamp="pillar"] {
  --pl-blur: 6px;
  --pl-alpha: 0.62;
  --pl-r-outer: 32px;
  --pl-pad: 6px;
  --pl-r-base: calc(var(--pl-r-outer) - var(--pl-pad));      /* 26px — concentric pill in 44px bar */
  --pl-r-inset: calc(var(--pl-r-outer) - 12px);              /* 20px — 6px outer pad + 6px tray pad */
  --pl-r-inner: calc(var(--pl-r-inset) - 4px);               /* 16px — inside 20px containers (pad 4px) */
  --pl-r-step-btn: 12px;                                     /* 16px stepper - 4px pad = 12px */
  --pl-r-chip: 12px;
  --pl-r-chip-sm: 10px;
  --pl-r-modal: 28px;
  --pl-r-modal-in: 16px;                                     /* 28px modal - 12px pad = 16px */

  --pl-brand: #0645b5;
  --pl-brand-hi: #1d64e8;
  --pl-accent: #3b82f6;
  --pl-accent-hover: #2563eb;
  --pl-accent-soft: rgba(59, 130, 246, 0.28);

  --pl-glass-rgb: 10, 15, 26;
  --pl-glass-bg: rgba(var(--pl-glass-rgb), var(--pl-alpha));
  --pl-glass-chip: rgba(var(--pl-glass-rgb), calc(var(--pl-alpha) + 0.04));
  --pl-glass-modal: rgba(10, 15, 26, 0.92);
  --pl-well: rgba(255, 255, 255, 0.11);
  --pl-well-hover: rgba(255, 255, 255, 0.18);
  --pl-well-active: rgba(255, 255, 255, 0.24);
  --pl-ink: #ffffff;
  --pl-muted: rgba(232, 240, 255, 0.78);
  --pl-sep: rgba(255, 255, 255, 0.14);
  --pl-ring:
    inset 0 1px 0 rgb(255 255 255 / 0.26),
    inset 0 -1px 0 rgb(255 255 255 / 0.06),
    0 0 0 1px rgb(255 255 255 / 0.16),
    0 16px 38px -10px rgb(0 0 0 / 0.50);
  --pl-ring-hover:
    inset 0 1px 0 rgb(255 255 255 / 0.34),
    inset 0 -1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(255 255 255 / 0.22),
    0 18px 42px -10px rgb(0 0 0 / 0.56);
  --pl-grabber: rgba(255, 255, 255, 0.36);
  --pl-txt-shadow: 0 1px 2px rgba(0, 0, 0, 0.36);

  --pl-bowl-bg: rgba(6, 10, 20, 0.28);
  --pl-bowl-stand: rgba(255, 255, 255, 0.14);
  --pl-bowl-stand-hover: rgba(255, 255, 255, 0.25);
  --pl-bowl-stroke: rgba(255, 255, 255, 0.18);
  --pl-bowl-pitch: rgba(34, 150, 86, 0.36);
  --pl-bowl-pitch-line: rgba(255, 255, 255, 0.36);
  --pl-bowl-text: rgba(244, 247, 255, 0.86);

  --pl-hairline: 1px;
  --pl-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pl-ease-spring: cubic-bezier(0.22, 1.08, 0.36, 1);
}

@media only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi) {
  body[data-revamp="pillar"] { --pl-hairline: 0.5px; }
}

@media (prefers-reduced-transparency: reduce) {
  body[data-revamp="pillar"] {
    --pl-blur: 0px;
    --pl-alpha: 0.96;
  }
}

/* Hide legacy floating rails & old bottom chrome cleanly while preserving DOM hooks */
body[data-revamp="pillar"] .topbar,
body[data-revamp="pillar"] #sheet,
body[data-revamp="pillar"] #hud,
body[data-revamp="pillar"] #aerial-controls {
  display: none !important;
}

/* Hide Pillar chrome while full-screen/overlay workflows take over */
body[data-revamp="pillar"][data-loading="true"] #pillar-root,
body[data-revamp="pillar"][data-editing="1"] #pillar-root,
body[data-revamp="pillar"][data-sharing="1"] #pillar-root,
body[data-revamp="pillar"][data-tribute="1"] #pillar-root,
body[data-revamp="pillar"]:has(#mobile-seat-picker:not([hidden])) #pillar-root {
  opacity: 0;
  pointer-events: none;
}

#pillar-root {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  transition: opacity 180ms var(--pl-ease-out);
}
#pillar-root[hidden] { display: none; }
#pillar-root button,
#pillar-root a,
#pillar-root [data-pl-interactive] {
  pointer-events: auto;
}
.pl-island button,
.pl-film-pill,
.pl-modal-btn {
  border: 0;
  padding: 0;
  line-height: 1;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 130ms var(--pl-ease-out), background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.pl-island button:active,
.pl-film-pill:active,
.pl-modal-btn:active { transform: scale(0.96); }
#pillar-root button:focus-visible,
#pillar-root a:focus-visible,
.pl-modal-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#pillar-root svg.pl-ic {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================================================
   TOP-RIGHT CUPLIKAN 0:42 PILL + RESTYLED LIQUID GLASS SCOREBUG (TOP-LEFT)
   ========================================================================== */
.pl-film-pill {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 7px;
  border-radius: 999px;
  background: var(--pl-glass-chip);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pl-film-thumb {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 999px; /* 44px pill - 2*7px inset = 30px perfect concentric circle */
  overflow: hidden;
  outline: 1px solid rgb(255 255 255 / 0.24);
  outline-offset: -1px;
  flex-shrink: 0;
}
.pl-film-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-film-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  transform: translateX(1px);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.72));
}
.pl-film-dur { color: var(--pl-muted); }

@media (max-width: 440px) {
  .pl-film-label { display: none; }
  .pl-film-pill { padding: 0 11px 0 7px; gap: 6px; }
}

/* Harmonize production #scorebug with Pillar Liquid Glass & concentric pills */
body[data-revamp="pillar"] #scorebug {
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 14;
}
body[data-revamp="pillar"] #scorebug .sb-bar {
  height: 44px;
  min-height: 44px;
  padding: 0 14px 0 7px;
  border-radius: 999px;
  background: var(--pl-glass-chip);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  border: 0;
}
body[data-revamp="pillar"] #scorebug .sb-tag {
  border-radius: 999px;
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
}
body[data-revamp="pillar"] #scorebug .sb-panel {
  margin-top: 8px;
  border-radius: var(--pl-r-modal);
  padding: 14px;
  background: var(--pl-glass-modal);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  border: 0;
}
body[data-revamp="pillar"] #scorebug .sb-panel .sb-cta {
  border-radius: var(--pl-r-modal-in);
  min-height: 44px;
}

/* Flight cue toast harmonized */
body[data-revamp="pillar"] .flight-cue {
  border-radius: 999px;
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
}

/* ==========================================================================
   MATCHDAY PILLAR · STADIUM MORPHING ISLAND (BOTTOM CENTER)
   ========================================================================== */
.pl-anchor {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(620px, calc(100vw - 20px));
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: width 320ms var(--pl-ease-out);
}
.pl-anchor.is-wide {
  width: min(740px, calc(100vw - 24px));
}
.pl-island {
  width: 100%;
  border-radius: var(--pl-r-outer);
  padding: var(--pl-pad);
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: auto;
  will-change: transform, height;
}

/* Animated spring tray */
.pl-tray {
  overflow: hidden;
  height: 0px;
  opacity: 0;
  will-change: height, opacity, filter;
}
.pl-tray-inner {
  /* 6px outer island pad + 6px inner tray horizontal pad = 12px concentric inset! */
  padding: 2px 6px 10px;
  border-bottom: var(--pl-hairline) solid var(--pl-sep);
  margin-bottom: 6px;
  display: grid;
  gap: 10px;
}
.pl-grabber {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  margin: -2px 0 -4px;
  cursor: grab;
  touch-action: pan-x;
}
.pl-grabber:active { cursor: grabbing; }
.pl-grabber::before {
  content: "";
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--pl-grabber);
}

/* Resting Pillar Base Row (all items R = 32 - 6 = 26px concentric capsule) */
.pl-base {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  touch-action: pan-x;
}
.pl-island .pl-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 13px 0 8px;
  border-radius: var(--pl-r-base);
  background: linear-gradient(180deg, var(--pl-brand-hi) 0%, var(--pl-brand) 100%);
  color: #fff;
  font: 800 16px/1 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 8px rgba(6, 69, 181, 0.35);
}
.pl-island .pl-brand-pill img { width: 24px; height: 24px; display: block; }

.pl-island .pl-place-btn {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 10px 0 6px;
  border-radius: var(--pl-r-base);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}
.pl-place-txt { min-width: 0; display: grid; gap: 1px; }
.pl-place-txt strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pl-place-txt small {
  font-size: 11px;
  color: var(--pl-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pl-mode-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #dbeafe;
  background: var(--pl-accent-soft);
  padding: 2px 7px;
  border-radius: 999px;
  flex-shrink: 0;
}
.pl-vsep {
  width: var(--pl-hairline);
  height: 22px;
  background: var(--pl-sep);
  flex-shrink: 0;
}
.pl-island .pl-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--pl-r-base);
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--pl-muted);
  flex-shrink: 0;
}
.pl-island .pl-icon-btn[aria-pressed="true"] {
  background: var(--pl-well-active);
  color: var(--pl-ink);
}
.pl-island .pl-btn-primary {
  height: 44px;
  padding: 0 15px;
  border-radius: var(--pl-r-base);
  background: var(--pl-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Sliding Segmented Control: outer 20px (32 - 12), pad 4px -> thumb/btn 16px! */
.pl-seg {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: var(--pl-r-inset);
  background: var(--pl-well);
}
.pl-seg-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: var(--pl-r-inner);
  background: var(--pl-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 8px rgba(6, 69, 181, 0.34);
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
}
.pl-seg[data-ready] .pl-seg-thumb {
  transition: transform 270ms var(--pl-ease-spring), width 270ms var(--pl-ease-spring);
}
.pl-island .pl-seg button {
  position: relative;
  z-index: 1;
  height: 36px;
  min-height: 36px;
  border-radius: var(--pl-r-inner);
  background: transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--pl-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  white-space: nowrap;
}
.pl-island .pl-seg button::before { content: ""; position: absolute; inset: -4px 0; }
.pl-island .pl-seg button[aria-selected="true"] { color: #fff; font-weight: 600; }

/* Interactive Mini-Bowl Stadium Map (Compass Vertical): outer 20px, pad 8px */
.pl-bowl-grid {
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.pl-bowl-card {
  position: relative;
  background: var(--pl-bowl-bg);
  border-radius: var(--pl-r-inset);
  padding: 8px;
  box-shadow: inset 0 0 0 var(--pl-hairline) var(--pl-sep);
  display: grid;
  place-items: center;
}
.pl-bowl-svg { display: block; width: 100%; max-height: 184px; height: auto; overflow: visible; }
.pl-bowl-sec {
  fill: var(--pl-bowl-stand);
  stroke: var(--pl-bowl-stroke);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 150ms ease, stroke 150ms ease;
}
.pl-bowl-sec:hover { fill: var(--pl-bowl-stand-hover); }
.pl-bowl-sec[aria-pressed="true"] {
  fill: var(--pl-accent);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1.4;
}
.pl-bowl-sec:focus-visible {
  outline: none;
  stroke: #fff;
  stroke-width: 2;
}
.pl-bowl-lbl {
  font: 700 8.5px/1 var(--font-ui);
  fill: var(--pl-bowl-text);
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: central;
  letter-spacing: 0.04em;
}
.pl-bowl-lbl.is-on { fill: #fff; }

.pl-bowl-side { display: grid; gap: 7px; min-width: 0; align-content: center; }
.pl-bowl-sub-desk { display: grid; gap: 8px; }
.pl-bowl-sub-mob { display: none; }

/* Balanced Tier segmented toggle + symmetrical Block grid beside mini-bowl */
.pl-tier-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 13px;
  background: var(--pl-well);
}
.pl-island .pl-tier-seg button {
  height: 30px;
  min-height: 30px;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--pl-muted);
  position: relative;
}
.pl-island .pl-tier-seg button::before { content: ""; position: absolute; inset: -7px 0; }
.pl-island .pl-tier-seg button[aria-checked="true"] {
  background: var(--pl-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.pl-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 6px;
}
.pl-island .pl-block-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding: 0 6px;
  font-weight: 600;
}

.pl-sec-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pl-muted);
}
.pl-sec-label em {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--pl-ink);
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chips (concentric 12px / 10px) */
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 22px 2px 0;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent 100%);
}
.pl-chips-scroll::-webkit-scrollbar { height: 0; }
.pl-island .pl-chip {
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--pl-r-chip);
  background: var(--pl-well);
  color: var(--pl-ink);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  scroll-snap-align: start;
  position: relative;
  flex-shrink: 0;
}
.pl-island .pl-chip::before { content: ""; position: absolute; inset: -4px 0; }
.pl-island .pl-chip[aria-pressed="true"] { background: var(--pl-accent); color: #fff; }
.pl-island .pl-chip-sm {
  height: 32px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--pl-r-chip-sm);
  font-size: 12px;
}
.pl-island .pl-chip-sm::before { inset: -6px 0; }

/* Steppers: outer 16px, pad 4px -> inner -/+ buttons 12px! */
.pl-steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  border-radius: var(--pl-r-inner);
  background: var(--pl-well);
}
.pl-stepper span { display: grid; text-align: center; line-height: 1.15; padding: 0 4px; }
.pl-stepper small { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-muted); }
.pl-stepper b { font-size: 14px; font-weight: 700; }
.pl-island .pl-stepper button {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: var(--pl-r-step-btn);
  display: grid;
  place-items: center;
  line-height: 1;
  position: relative;
  background: rgba(255, 255, 255, 0.07);
}
.pl-island .pl-stepper button::before { content: ""; position: absolute; inset: -3px; }

/* Footer Action Strip: outer env 20px, pad 4px -> inner buttons 16px! */
.pl-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: var(--pl-hairline) solid var(--pl-sep);
}
.pl-env {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--pl-well);
  padding: 4px;
  border-radius: var(--pl-r-inset);
}
.pl-island .pl-env button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--pl-r-inner);
  background: transparent;
  position: relative;
  color: var(--pl-muted);
  display: grid;
  place-items: center;
}
.pl-island .pl-env button::before { content: ""; position: absolute; inset: -4px -2px; }
.pl-island .pl-env button[aria-pressed="true"] {
  background: var(--pl-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.pl-footer-actions { display: flex; gap: 6px; align-items: center; }
.pl-island .pl-btn-ghost {
  height: 44px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: var(--pl-r-inset);
  background: var(--pl-well);
  color: var(--pl-ink);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.pl-island .pl-btn-ghost.is-chant-on {
  background: var(--pl-accent);
  color: #fff;
}
.pl-island .pl-btn-ghost.is-icon-only {
  width: 44px;
  padding: 0;
  gap: 0;
}
.pl-btn-ghost.is-chant-on svg { animation: pl-pulse 800ms ease-in-out infinite; }

/* Scrollable body inside tray */
.pl-tray-scroll {
  max-height: min(48dvh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 9px;
}

/* Desktop vs Mobile inline controls */
.pl-desk-inline { display: flex; align-items: center; gap: 2px; }
.pl-mob-inline { display: none; }

@media (max-width: 680px) {
  .pl-anchor.is-wide { width: calc(100vw - 20px); }
}
@media (max-width: 640px) {
  .pl-desk-inline, .pl-vsep.pl-desk-only, .pl-mode-tag, .pl-brand-word { display: none; }
  .pl-mob-inline { display: flex; align-items: center; gap: 2px; }
  .pl-island .pl-brand-pill { width: 44px; padding: 0; justify-content: center; gap: 0; }
  .pl-island .pl-btn-primary { width: 44px; padding: 0; justify-content: center; gap: 0; }
  .pl-btn-primary .pl-btn-desk-lbl { display: none; }
}
@media (max-width: 560px) {
  .pl-bowl-grid { grid-template-columns: 126px minmax(0, 1fr); gap: 9px; }
  .pl-bowl-svg { max-height: 150px; }
  .pl-bowl-sub-desk { display: none; }
  .pl-bowl-sub-mob { display: grid; gap: 7px; }
  .pl-bowl-side .pl-sec-label em { display: none; }
}
@media (max-width: 360px) {
  .pl-anchor, .pl-anchor.is-wide { width: calc(100vw - 14px); }
  .pl-base { gap: 4px; }
  .pl-bowl-grid { grid-template-columns: 106px minmax(0, 1fr); gap: 7px; }
  .pl-bowl-svg { max-height: 126px; }
  .pl-island .pl-chip { height: 32px; min-height: 32px; padding: 0 9px; font-size: 12px; }
  .pl-island .pl-seg button { height: 34px; min-height: 34px; font-size: 12px; }
  .pl-island .pl-stepper button { width: 34px; height: 34px; min-width: 34px; min-height: 34px; }
  .pl-footer-lbl { display: none; }
  .pl-island .pl-btn-ghost { width: 44px; padding: 0; gap: 0; }
  .pl-island .pl-env button { width: 34px; height: 34px; min-width: 34px; min-height: 34px; }
}
@media (max-height: 640px) {
  .pl-tray-inner { gap: 7px; padding: 2px 6px 8px; }
  .pl-tray-scroll { max-height: min(46dvh, 256px); gap: 7px; }
}

/* ==========================================================================
   4:3 CINEMA LIGHTBOX (#film-modal) — Concentric 28px outer / 16px inner
   ========================================================================== */
.pl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
  background: rgba(4, 8, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  animation: pl-pop-in 190ms var(--pl-ease-out) both;
}
.pl-modal-backdrop[hidden] { display: none; }
.pl-modal-dialog {
  width: min(680px, 100%);
  padding: 12px;
  border-radius: var(--pl-r-modal);
  background: var(--pl-glass-modal);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  display: grid;
  gap: 10px;
}
.pl-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 0 6px;
}
.pl-modal-title { display: grid; gap: 2px; min-width: 0; }
.pl-modal-title strong { font-size: 14px; font-weight: 700; }
.pl-modal-title span { font-size: 12px; color: var(--pl-muted); }
.pl-modal-actions { display: flex; gap: 6px; align-items: center; }
.pl-modal-btn {
  height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border-radius: var(--pl-r-modal-in);
  border: 0;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font: 600 12.5px/1 var(--font-ui);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#film-close { width: 44px; padding: 0; }
.pl-modal-btn:hover { background: rgba(255, 255, 255, 0.18); }
.pl-film-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--pl-r-modal-in); /* 28px dialog - 12px pad = 16px concentric! */
  overflow: hidden;
  background: #050810;
  outline: 1px solid rgb(255 255 255 / 0.12);
  outline-offset: -1px;
}
.pl-film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   SHARE SHEET · SPLIT (Floating Hero Proof Frame + Detached Bottom Pillar Pill)
   Concentric radii: proof canvas 18px + dock 32px (pad 8px -> segs 20px -> 16px, buttons 26px)
   ========================================================================== */
body[data-revamp="pillar"] #share-sheet.sh-split:not([hidden]) {
  position: fixed;
  inset: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(20px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
  border-radius: 0;
  background: rgba(4, 8, 18, 0.56);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  z-index: 35;
  pointer-events: auto;
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  animation: pl-pop-in 190ms var(--pl-ease-out) both;
}
body[data-revamp="pillar"] #share-sheet.sh-split button {
  border: 0;
  padding: 0;
  line-height: 1;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 130ms var(--pl-ease-out), background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}
body[data-revamp="pillar"] #share-sheet.sh-split button:active { transform: scale(0.96); }
body[data-revamp="pillar"] #share-sheet.sh-split button:disabled { opacity: 0.38; pointer-events: none; }
body[data-revamp="pillar"] #share-sheet.sh-split button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
body[data-revamp="pillar"] #share-sheet.sh-split svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }

body[data-revamp="pillar"] #share-sheet.sh-split .share-proof {
  flex: 1 1 auto;
  min-height: 0;
  width: min(680px, 100%);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
}
body[data-revamp="pillar"] #share-sheet.sh-split .share-preview-frame:not([hidden]) {
  width: min(640px, calc(100vw - 36px));
  height: min(54dvh, 460px);
  display: grid;
  place-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
body[data-revamp="pillar"] #share-sheet.sh-split .share-preview-frame canvas {
  display: block;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 20px 50px rgba(0, 0, 0, 0.58);
}

body[data-revamp="pillar"] #share-sheet.sh-split .sh-dock {
  width: min(720px, 100%);
  padding: 10px;
  border-radius: var(--pl-r-outer); /* 32px */
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  display: grid;
  gap: 8px;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px 0 6px;
  min-width: 0;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-selection {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body[data-revamp="pillar"] #share-sheet.sh-split #share-title {
  margin: 0;
  font: 700 13.5px/1.2 var(--font-ui);
  letter-spacing: -0.01em;
  color: var(--pl-ink);
  white-space: nowrap;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-meta {
  margin: 0;
  font-size: 12px;
  color: var(--pl-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-meta strong { color: var(--pl-ink); font-weight: 600; }
body[data-revamp="pillar"] #share-sheet.sh-split .sh-hint {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #93c5fd;
  white-space: nowrap;
}

body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: var(--pl-r-inset); /* 20px */
  background: var(--pl-well);
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button {
  height: 36px;
  min-height: 36px;
  min-width: 0;
  padding: 0 6px;
  border-radius: var(--pl-r-inner); /* 16px */
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pl-muted);
  white-space: nowrap;
  position: relative;
  border: 0;
  box-shadow: none;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button::before { content: ""; position: absolute; inset: -4px 0; }
body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button[aria-checked="true"] {
  background: var(--pl-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-controls-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-poster-opts {
  display: contents;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-poster-opts[hidden] {
  display: none !important;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg {
  flex: 1 1 190px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: var(--pl-r-inset); /* 20px */
  background: var(--pl-well);
  margin: 0;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button {
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: var(--pl-r-inner); /* 16px */
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pl-muted);
  gap: 5px;
  white-space: nowrap;
  position: relative;
  border: 0;
  box-shadow: none;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button::before { content: ""; position: absolute; inset: -4px 0; }
body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button[aria-checked="true"] {
  background: var(--pl-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg small { opacity: 0.78; font-weight: 500; font-size: 11px; }

body[data-revamp="pillar"] #share-sheet.sh-split .sh-foot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  overflow: visible;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-ghost {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-well);
  color: var(--pl-ink);
  font-size: 12.5px;
  font-weight: 600;
  gap: 7px;
  white-space: nowrap;
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-primary,
body[data-revamp="pillar"] #share-sheet.sh-split #share-native[hidden] + #share-download,
body[data-revamp="pillar"] #share-sheet.sh-split #share-download:has(+ #share-native[hidden]) {
  height: 44px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  gap: 7px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-well);
  color: var(--pl-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  body[data-revamp="pillar"] #share-sheet.sh-split .share-preview-frame:not([hidden]) {
    height: min(48dvh, 390px);
  }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-dock {
    padding: 8px;
  }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-foot {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 6px;
  }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-foot:has(#share-native[hidden]) {
    grid-template-columns: 1fr 1fr;
  }
  body[data-revamp="pillar"] #share-sheet.sh-split #share-copy-label {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 420px) {
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-lbl { display: none; }
  body[data-revamp="pillar"] #share-sheet.sh-split #share-download:not(:has(+ #share-native[hidden])) {
    width: 44px;
    padding: 0;
    gap: 0;
  }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button {
    height: 34px;
    min-height: 34px;
    font-size: 11.5px;
    padding: 0 5px;
  }
}
@media (max-width: 370px) {
  body[data-revamp="pillar"] #share-sheet.sh-split #share-copy-label { display: none; }
  body[data-revamp="pillar"] #share-sheet.sh-split #share-copy { width: 44px; padding: 0; gap: 0; }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg { flex: 1 1 100%; }
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button { font-size: 11px; padding: 0 3px; }
}
/* ==========================================================================
   KOREO EDITOR · SPLIT (Liquid Glass Canvas Card + Detached Floating Tool Pill)
   Concentric radii: canvas card 26px (pad 8px -> 18px canvas) + pill 32px (pad 6px -> 26px CTA / 20px rails -> 16px btns)
   ========================================================================== */
body[data-revamp="pillar"] #koreo-editor.ke-split {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(700px, calc(100vw - 20px));
  max-height: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  display: grid;
  gap: 8px;
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  z-index: 25;
  pointer-events: auto;
}
body[data-revamp="pillar"] #koreo-editor.ke-split[hidden] { display: none; }

body[data-revamp="pillar"] #koreo-editor button {
  border: 0;
  padding: 0;
  line-height: 1;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 130ms var(--pl-ease-out), background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}
body[data-revamp="pillar"] #koreo-editor button:active { transform: scale(0.96); }
body[data-revamp="pillar"] #koreo-editor button:disabled { opacity: 0.38; pointer-events: none; }
body[data-revamp="pillar"] #koreo-editor button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ke-canvas-card,
.ke-tool-pill {
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
}
.ke-canvas-card {
  padding: 8px;
  border-radius: 26px; /* 26px outer - 8px pad = 18px concentric inner canvas! */
  display: grid;
  gap: 6px;
}
.ke-axis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px;
  min-width: 0;
}
.ke-axis-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--pl-muted);
  white-space: nowrap;
  min-width: 0;
}
.ke-axis-meta strong { color: var(--pl-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.ke-tpls { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
body[data-revamp="pillar"] #koreo-editor .ke-tpl {
  height: 28px;
  min-height: 28px;
  min-width: auto;
  padding: 0 9px;
  border-radius: 10px;
  background: var(--pl-well);
  color: var(--pl-ink);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}
body[data-revamp="pillar"] #koreo-editor .ke-tpl::before { content: ""; position: absolute; inset: -8px 0; }
body[data-revamp="pillar"] #koreo-editor .ke-tpl[aria-pressed="true"] {
  background: var(--pl-accent);
  color: #fff;
}

.ke-canvas-wrap {
  border-radius: 18px; /* 26px - 8px = 18px concentric! */
  overflow: hidden;
  background: #091939;
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
  display: grid;
  place-items: center;
}
.ke-canvas-wrap canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(28dvh, 195px);
  cursor: crosshair;
  touch-action: none;
}

.ke-tool-pill {
  padding: 6px;
  border-radius: var(--pl-r-outer); /* 32px */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.ke-group { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ke-actions { margin-left: auto; }

.ke-swatch-rail,
.ke-brush-rail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: var(--pl-r-inset); /* 20px */
  background: var(--pl-well);
}
body[data-revamp="pillar"] #koreo-editor .ke-swatch-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: var(--pl-r-inner); /* 16px */
  display: grid;
  place-items: center;
  position: relative;
}
body[data-revamp="pillar"] #koreo-editor .ke-swatch-btn::before { content: ""; position: absolute; inset: -4px -2px; }
body[data-revamp="pillar"] #koreo-editor .ke-swatch-btn[aria-checked="true"] {
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.78);
}
.ke-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 1px 3px rgba(0, 0, 0, 0.35);
}
.ke-dot.is-erase {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.22) 0 4px, rgba(255, 255, 255, 0.06) 4px 8px);
}

body[data-revamp="pillar"] #koreo-editor .ke-brush-btn {
  height: 36px;
  min-height: 36px;
  min-width: 36px;
  padding: 0 9px;
  border-radius: var(--pl-r-inner); /* 16px */
  font-size: 12px;
  font-weight: 600;
  color: var(--pl-muted);
  position: relative;
}
body[data-revamp="pillar"] #koreo-editor .ke-brush-btn::before { content: ""; position: absolute; inset: -4px -1px; }
body[data-revamp="pillar"] #koreo-editor .ke-brush-btn[aria-checked="true"] {
  background: var(--pl-accent);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body[data-revamp="pillar"] #koreo-editor .ke-icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: var(--pl-r-inner); /* 16px */
  background: var(--pl-well);
  color: var(--pl-ink);
  display: grid;
  place-items: center;
  position: relative;
}
body[data-revamp="pillar"] #koreo-editor .ke-icon-btn::before { content: ""; position: absolute; inset: -2px; }
body[data-revamp="pillar"] #koreo-editor .ke-apply-btn {
  height: 44px;
  padding: 0 15px;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@media (max-width: 640px) {
  body[data-revamp="pillar"] #koreo-editor.ke-split {
    width: calc(100vw - 16px);
    bottom: max(12px, env(safe-area-inset-bottom));
  }
  .ke-dims { display: none; }
  .ke-tool-pill {
    display: grid;
    gap: 6px;
    padding: 7px;
  }
  .ke-group {
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .ke-swatch-rail { flex: 1 1 auto; justify-content: space-between; }
  .ke-brush-rail { flex: 0 0 auto; }
  .ke-actions { margin-left: 0; width: 100%; gap: 6px; }
  body[data-revamp="pillar"] #koreo-editor .ke-apply-btn { flex: 1 1 auto; padding: 0 14px; }
  .ke-canvas-wrap canvas { max-height: min(24dvh, 155px); }
}
@media (max-width: 420px) {
  .ke-axis { flex-direction: column; align-items: stretch; gap: 5px; }
  .ke-axis-meta { justify-content: space-between; }
  .ke-tpls { justify-content: space-between; }
  body[data-revamp="pillar"] #koreo-editor .ke-tpl { flex: 1; }
  body[data-revamp="pillar"] #koreo-editor .ke-swatch-btn { width: 32px; height: 32px; min-width: 32px; min-height: 32px; }
  .ke-dot { width: 18px; height: 18px; }
  body[data-revamp="pillar"] #koreo-editor .ke-brush-btn { height: 32px; min-height: 32px; min-width: 30px; padding: 0 7px; font-size: 11px; }
}
@media (max-width: 360px) {
  .ke-group:first-child { flex-direction: column; align-items: stretch; gap: 5px; }
  .ke-brush-rail { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .ke-canvas-wrap canvas { max-height: 118px; }
}

/* ==========================================================================
   MOBILE SEAT PICKER (#mobile-seat-picker) — Harmonized Liquid Glass Card
   ========================================================================== */
body[data-revamp="pillar"] #mobile-seat-picker:not([hidden]) {
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(460px, calc(100vw - 16px));
  padding: 10px;
  border-radius: var(--pl-r-outer); /* 32px */
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  border: 0;
  gap: 10px;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-head {
  padding: 2px 2px 0;
  gap: 8px;
}
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-title {
  color: var(--pl-ink);
  font-size: 16px;
}
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-title:focus:not(:focus-visible) {
  outline: none;
}
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-hint {
  color: var(--pl-muted);
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-head button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-well);
  color: var(--pl-ink);
  display: grid;
  place-items: center;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-options button {
  border-radius: var(--pl-r-inner); /* 16px */
  background: var(--pl-well);
  color: var(--pl-ink);
  border: 0;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-options button[aria-pressed="true"] {
  background: var(--pl-accent);
  color: #fff;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-fields label {
  background: var(--pl-well);
  border-radius: var(--pl-r-inner); /* 16px */
  border: 0;
  color: var(--pl-ink);
  padding: 8px 10px;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-fields label::after {
  border-right-color: var(--pl-muted);
  border-bottom-color: var(--pl-muted);
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-fields label span {
  color: var(--pl-muted);
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-fields select {
  color: var(--pl-ink);
  background: transparent;
}
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-fields select option {
  background: #0a101d;
  color: #f8fafc;
}
body[data-revamp="pillar"] #mobile-seat-picker .seat-precision {
  border-top-color: var(--pl-sep);
  color: var(--pl-ink);
}
body[data-revamp="pillar"] #mobile-seat-picker .seat-precision summary,
body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-detail[data-focused-block] details:not([open]) .inline-seat {
  color: var(--pl-ink);
}
body[data-revamp="pillar"] #mobile-seat-picker .seat-precision summary::after {
  border-right-color: var(--pl-muted);
  border-bottom-color: var(--pl-muted);
}
body[data-revamp="pillar"] #mobile-seat-picker .seat-precision summary:active {
  background: var(--pl-well);
}
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-actions,
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-actions[data-confirming] {
  border-top: var(--pl-hairline) solid var(--pl-sep);
  padding: 8px 2px 2px;
  gap: 8px;
}
body[data-revamp="pillar"] #mobile-seat-picker #seat-confirmation {
  color: var(--pl-muted);
}
body[data-revamp="pillar"] #mobile-seat-picker #seat-confirmation strong {
  color: var(--pl-ink);
}
body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-confirm {
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-accent);
  color: #fff;
  padding: 0 16px;
  min-height: 44px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
body[data-revamp="pillar"] #mobile-seat-picker .official-match-link {
  border-radius: var(--pl-r-inner);
  background: var(--pl-well);
  color: var(--pl-ink);
}

/* ==========================================================================
   TRIBUTE OVERLAY (#tribute) — Liquid Glass Pill Button
   ========================================================================== */
body[data-revamp="pillar"] #tribute .tribute-close {
  border: 0;
  border-radius: 999px;
  background: var(--pl-glass-bg);
  -webkit-backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  backdrop-filter: blur(var(--pl-blur)) saturate(1.65);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  text-shadow: var(--pl-txt-shadow);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
}
body[data-revamp="pillar"] #tribute .tribute-close:focus:not(:focus-visible) {
  outline: none;
}
body[data-revamp="pillar"] #tribute .tribute-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ==========================================================================
   ERROR FALLBACK (#error) — Liquid Glass Modal (Splash keeps classic Royal Blue)
   ========================================================================== */
body[data-revamp="pillar"] #error {
  border-radius: var(--pl-r-modal); /* 28px */
  background: var(--pl-glass-modal);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: var(--pl-ring);
  color: var(--pl-ink);
  padding: 20px;
}
body[data-revamp="pillar"] #error h2 { color: var(--pl-ink); }
body[data-revamp="pillar"] #error p { color: var(--pl-muted); }
body[data-revamp="pillar"] #error .fallback-plan {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--pl-r-modal-in); /* 16px */
  background: var(--pl-well);
  color: var(--pl-ink);
}
body[data-revamp="pillar"] #error .fallback-plan summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
body[data-revamp="pillar"] #error #reload {
  width: 100%;
  min-height: 44px;
  border-radius: var(--pl-r-base); /* 26px */
  background: var(--pl-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

@keyframes pl-pop-in {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pl-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (hover: hover) and (pointer: fine) {
  body[data-revamp="pillar"] .pl-film-pill:not(:disabled):hover {
    background: var(--pl-glass-chip);
    box-shadow: var(--pl-ring-hover);
  }
  .pl-island:hover,
  body[data-revamp="pillar"] #scorebug .sb-bar:not(:disabled):hover {
    box-shadow: var(--pl-ring-hover);
  }
  .pl-island .pl-brand-pill:not(:disabled):hover {
    background: linear-gradient(180deg, #2770f5 0%, var(--pl-brand) 100%);
  }
  .pl-island .pl-seg button:not(:disabled):hover {
    background: transparent;
    color: var(--pl-ink);
  }
  .pl-island .pl-place-btn:not(:disabled):hover,
  .pl-island .pl-icon-btn:not([aria-pressed="true"]):not(:disabled):hover,
  .pl-island .pl-env button:not([aria-pressed="true"]):not(:disabled):hover,
  .pl-island .pl-chip:not([aria-pressed="true"]):not(:disabled):hover,
  .pl-island .pl-btn-ghost:not(.is-chant-on):not(:disabled):hover,
  .pl-island .pl-stepper button:not(:disabled):hover {
    background: var(--pl-well-hover);
    color: var(--pl-ink);
  }
  .pl-island .pl-chip[aria-pressed="true"]:not(:disabled):hover,
  .pl-island .pl-env button[aria-pressed="true"]:not(:disabled):hover,
  .pl-island .pl-btn-ghost.is-chant-on:not(:disabled):hover,
  .pl-island .pl-btn-primary:not(:disabled):hover {
    background: var(--pl-accent-hover);
    color: #fff;
  }
  .pl-island .pl-icon-btn[aria-pressed="true"]:not(:disabled):hover {
    background: var(--pl-well-active);
    color: var(--pl-ink);
  }
  .pl-modal-dialog .pl-modal-btn:not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-tpl:not([aria-pressed="true"]):not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-swatch-btn:not([aria-checked="true"]):not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-brush-btn:not([aria-checked="true"]):not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-icon-btn:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button:not([aria-checked="true"]):not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button:not([aria-checked="true"]):not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-ghost:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-close:not(:disabled):hover,
  body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-head button:not(:disabled):hover,
  body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-options button:not([aria-pressed="true"]):not(:disabled):hover {
    background: var(--pl-well-hover);
    color: #fff;
  }
  body[data-revamp="pillar"] #tribute .tribute-close:not(:disabled):hover {
    background: var(--pl-glass-chip);
    box-shadow: var(--pl-ring-hover);
    color: #fff;
  }
  body[data-revamp="pillar"] #koreo-editor .ke-apply-btn:not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-brush-btn[aria-checked="true"]:not(:disabled):hover,
  body[data-revamp="pillar"] #koreo-editor .ke-tpl[aria-pressed="true"]:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-seg button[aria-checked="true"]:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-style-strip button[aria-checked="true"]:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split .sh-btn-primary:not(:disabled):hover,
  body[data-revamp="pillar"] #share-sheet.sh-split #share-download:has(+ #share-native[hidden]):not(:disabled):hover,
  body[data-revamp="pillar"] #mobile-seat-picker .mobile-seat-options button[aria-pressed="true"]:not(:disabled):hover,
  body[data-revamp="pillar"] #mobile-seat-picker #mobile-seat-confirm:not(:disabled):hover,
  body[data-revamp="pillar"] #error #reload:not(:disabled):hover {
    background: var(--pl-accent-hover);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  #pillar-root *,
  .pl-modal-backdrop,
  .pl-seg[data-ready] .pl-seg-thumb {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
