/* ==========================================================================
   playzoneconsole.homes - display-mobile-0e77f0.css
   Mobile-first canvas stylesheet. Every class uses the ui7f045- prefix.
   Palette: #3A3A3A base / #9370DB primary / #FFB3FF highlight / #F8F8FF ink
   Direction: near-square corners, outlined tile cards, centered identity bar,
   stacked menu overlay, segmented bottom action bar, restrained glow feedback.
   ========================================================================== */

:root {
  --ui7f045-ink: #F8F8FF;
  --ui7f045-base: #3A3A3A;
  --ui7f045-violet: #9370DB;
  --ui7f045-blush: #FFB3FF;
  --ui7f045-ink-dim: rgba(248, 248, 255, 0.66);
  --ui7f045-ink-faint: rgba(248, 248, 255, 0.44);
  --ui7f045-edge: rgba(147, 112, 219, 0.45);
  --ui7f045-edge-soft: rgba(147, 112, 219, 0.24);
  --ui7f045-panel: rgba(147, 112, 219, 0.09);
  --ui7f045-panel-deep: rgba(248, 248, 255, 0.05);
  --ui7f045-glow: 0 0 12px rgba(255, 179, 255, 0.30);
  --ui7f045-top-h: 98px;
  --ui7f045-tab-h: 60px;
  --ui7f045-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------------- base ---- */

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ui7f045-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ui7f045-ink);
  background: #2C2C2C;
  background: color-mix(in srgb, #3A3A3A 80%, #000000);
  -webkit-tap-highlight-color: transparent;
}

body.ui7f045-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--ui7f045-blush);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--ui7f045-blush);
  outline-offset: 2px;
}

/* Phone canvas stays centered when the viewport grows wider. */
.ui7f045-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--ui7f045-base);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .ui7f045-shell {
    border-left: 1px solid var(--ui7f045-edge-soft);
    border-right: 1px solid var(--ui7f045-edge-soft);
    box-shadow: 0 0 34px rgba(0, 0, 0, 0.5);
  }
}

.ui7f045-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- topbar ---- */

/* Fixed header: centered identity bar on top, action row underneath. */
.ui7f045-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  background: linear-gradient(180deg, #3F3A46 0%, #3A3A3A 100%);
  border-bottom: 1px solid var(--ui7f045-edge);
}

.ui7f045-ident {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 7px 12px 5px;
  border-bottom: 1px solid var(--ui7f045-edge-soft);
}

.ui7f045-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ui7f045-ink);
  text-decoration: none;
}

.ui7f045-brand:hover,
.ui7f045-brand:focus-visible {
  text-decoration: none;
}

.ui7f045-logo {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ui7f045-blush);
  border-radius: 2px;
  background: var(--ui7f045-panel);
  object-fit: cover;
  flex: 0 0 auto;
}

.ui7f045-brandname {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: lowercase;
  white-space: nowrap;
}

.ui7f045-brandmark {
  width: 6px;
  height: 6px;
  background: var(--ui7f045-violet);
  flex: 0 0 auto;
}

/* Action row: compact icon-text buttons, sharp and dense. */
.ui7f045-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 10px;
}

.ui7f045-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.ui7f045-btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.ui7f045-btn--fill {
  flex: 1 1 auto;
  color: var(--ui7f045-ink);
  background: var(--ui7f045-violet);
  border: 1px solid var(--ui7f045-violet);
}

.ui7f045-btn--fill:hover,
.ui7f045-btn--fill:focus-visible {
  box-shadow: var(--ui7f045-glow);
  text-decoration: none;
}

.ui7f045-btn--fill:active {
  transform: translateY(1px);
}

.ui7f045-btn--line {
  flex: 1 1 auto;
  color: var(--ui7f045-blush);
  background: transparent;
  border: 1px solid var(--ui7f045-edge);
}

.ui7f045-btn--line:hover,
.ui7f045-btn--line:focus-visible {
  border-color: var(--ui7f045-blush);
  box-shadow: var(--ui7f045-glow);
  text-decoration: none;
}

.ui7f045-btn--line:active {
  transform: translateY(1px);
}

/* Menu toggle: square outlined icon button with stacked bars. */
.ui7f045-menubtn {
  flex: 0 0 auto;
  width: 44px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--ui7f045-edge);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ui7f045-menubtn:hover,
.ui7f045-menubtn:focus-visible {
  border-color: var(--ui7f045-blush);
  box-shadow: var(--ui7f045-glow);
}

.ui7f045-menuline {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ui7f045-ink);
}

/* --------------------------------------------------- stacked menu drawer ---- */

.ui7f045-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(46, 42, 52, 0.97);
  background: color-mix(in srgb, #3A3A3A 88%, #000000);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 14px calc(24px + env(safe-area-inset-bottom));
}

.ui7f045-drawer[hidden] {
  display: none;
}

.ui7f045-dhead {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 8px 0;
  background: inherit;
  border-bottom: 1px solid var(--ui7f045-edge);
}

.ui7f045-dtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui7f045-blush);
}

.ui7f045-dclose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--ui7f045-edge);
  border-radius: 2px;
  color: var(--ui7f045-ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ui7f045-dclose:hover,
.ui7f045-dclose:focus-visible {
  border-color: var(--ui7f045-blush);
  box-shadow: var(--ui7f045-glow);
}

.ui7f045-dgroup {
  margin: 18px 0 0;
}

.ui7f045-dgrouplabel {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ui7f045-violet);
  padding: 0 2px 6px;
}

.ui7f045-dlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--ui7f045-edge-soft);
  border-radius: 2px;
  background: var(--ui7f045-panel-deep);
  color: var(--ui7f045-ink);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ui7f045-dlink:hover,
.ui7f045-dlink:focus-visible {
  border-color: var(--ui7f045-blush);
  box-shadow: var(--ui7f045-glow);
  text-decoration: none;
}

.ui7f045-dlink span {
  color: var(--ui7f045-violet);
  font-weight: 700;
}

.ui7f045-dlink[aria-current="page"] {
  border-color: var(--ui7f045-blush);
  background: var(--ui7f045-panel);
  transform: translateY(-2px);
  box-shadow: var(--ui7f045-glow);
}

/* --------------------------------------------------------------- main ---- */

.ui7f045-main {
  padding: calc(var(--ui7f045-top-h) + 12px) 12px calc(var(--ui7f045-tab-h) + 30px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------- hero ---- */

.ui7f045-hero {
  margin: 0 0 18px;
}

.ui7f045-h1 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ui7f045-h1 b {
  color: var(--ui7f045-blush);
  font-weight: 800;
}

.ui7f045-heroline {
  position: relative;
  margin: 0 0 14px;
  padding-left: 10px;
  color: var(--ui7f045-ink-dim);
  font-size: 13px;
}

.ui7f045-heroline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background: var(--ui7f045-violet);
}

/* Carousel: stacked slides, crossfade, dot row underneath. */
.ui7f045-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  border: 1px solid var(--ui7f045-edge);
  border-radius: 3px;
  overflow: hidden;
  background: #343439;
  margin-bottom: 10px;
}

.ui7f045-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ui7f045-slide.ui7f045-on {
  opacity: 1;
  pointer-events: auto;
}

.ui7f045-slidebtn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.ui7f045-slidebtn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ui7f045-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ui7f045-ink);
  background: linear-gradient(180deg, rgba(58, 58, 58, 0) 0%, rgba(30, 27, 34, 0.92) 100%);
}

.ui7f045-slidecap i {
  font-style: normal;
  color: var(--ui7f045-blush);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.ui7f045-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
}

.ui7f045-dot {
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ui7f045-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ui7f045-edge);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ui7f045-dot.ui7f045-on::before {
  background: var(--ui7f045-blush);
  transform: rotate(45deg);
}

.ui7f045-dot:hover::before,
.ui7f045-dot:focus-visible::before {
  background: var(--ui7f045-violet);
}

.ui7f045-herop {
  margin: 8px 0 0;
  color: var(--ui7f045-ink-dim);
  font-size: 13px;
}

/* ------------------------------------------------------------ sections ---- */

.ui7f045-block {
  margin: 22px 0;
}

.ui7f045-h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ui7f045-h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--ui7f045-violet);
  transform: translateY(-1px);
  flex: 0 0 auto;
}

.ui7f045-chip {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--ui7f045-edge);
  border-radius: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ui7f045-violet);
  white-space: nowrap;
}

.ui7f045-p {
  margin: 0 0 10px;
  color: var(--ui7f045-ink-dim);
  font-size: 13.5px;
}

.ui7f045-p strong,
.ui7f045-herop strong {
  color: var(--ui7f045-ink);
  font-weight: 700;
}

.ui7f045-h3 {
  margin: 16px 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ui7f045-blush);
  letter-spacing: 0.02em;
}

.ui7f045-q {
  border-left: 2px solid var(--ui7f045-edge);
  padding: 2px 0 2px 10px;
  margin: 0 0 10px;
}

/* ---------------------------------------------------------- game wings ---- */

.ui7f045-wing {
  margin: 24px 0;
}

.ui7f045-winghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--ui7f045-edge-soft);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.ui7f045-winghead .ui7f045-h2 {
  margin: 0;
  font-size: 15.5px;
}

.ui7f045-lede {
  margin: 0 0 12px;
  color: var(--ui7f045-ink-dim);
  font-size: 13px;
}

/* Outlined tile cards: 4 columns on narrow phones, 5 past 400px. */
.ui7f045-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

@media (min-width: 400px) {
  .ui7f045-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.ui7f045-tile {
  display: block;
  width: 100%;
  padding: 4px 4px 6px;
  background: var(--ui7f045-panel);
  border: 1px solid var(--ui7f045-edge-soft);
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.ui7f045-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1px;
  background: #34343A;
}

.ui7f045-tile span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 27px;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.28;
  font-weight: 600;
  color: var(--ui7f045-ink);
  word-break: break-word;
}

.ui7f045-tile:hover,
.ui7f045-tile:focus-visible {
  border-color: var(--ui7f045-blush);
  background: rgba(147, 112, 219, 0.16);
  box-shadow: var(--ui7f045-glow);
}

.ui7f045-tile:active {
  transform: translateY(1px);
}

/* -------------------------------------------------- scene branch module ---- */

.ui7f045-scenes {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.ui7f045-scenes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(147, 112, 219, 0.30);
}

.ui7f045-scenes li:last-child {
  border-bottom: 0;
}

.ui7f045-sceneflag {
  flex: 0 0 auto;
  min-width: 62px;
  text-align: center;
  padding: 3px 6px;
  border: 1px solid var(--ui7f045-violet);
  border-radius: 2px;
  color: var(--ui7f045-blush);
  background: var(--ui7f045-panel);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ui7f045-scenes p {
  margin: 0;
  color: var(--ui7f045-ink-dim);
  font-size: 13px;
}

/* ------------------------------------------------------- winners module ---- */

.ui7f045-log {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.ui7f045-log li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(248, 248, 255, 0.10);
}

.ui7f045-log li:last-child {
  border-bottom: 0;
}

.ui7f045-logava {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ui7f045-violet);
  color: var(--ui7f045-ink);
  font-size: 12px;
  font-weight: 800;
  border-radius: 2px;
}

.ui7f045-logwho {
  flex: 1 1 auto;
  min-width: 0;
}

.ui7f045-logwho b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ui7f045-ink);
}

.ui7f045-logwho span {
  display: block;
  font-size: 11px;
  color: var(--ui7f045-ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui7f045-logamt {
  flex: 0 0 auto;
  text-align: right;
}

.ui7f045-logamt b {
  display: block;
  color: var(--ui7f045-blush);
  font-size: 13px;
  font-weight: 800;
}

.ui7f045-logamt span {
  display: block;
  font-size: 10.5px;
  color: var(--ui7f045-ink-faint);
}

/* ---------------------------------------------------------- terms module ---- */

.ui7f045-terms {
  margin: 12px 0 0;
}

.ui7f045-terms > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(147, 112, 219, 0.30);
}

.ui7f045-terms > div:last-child {
  border-bottom: 0;
}

.ui7f045-term {
  flex: 0 0 92px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ui7f045-violet);
  padding-top: 1px;
}

.ui7f045-terms dd {
  margin: 0;
  color: var(--ui7f045-ink-dim);
  font-size: 13px;
}

/* ---------------------------------------------------------- facts module ---- */

.ui7f045-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
}

.ui7f045-facts li {
  position: relative;
  padding: 9px 9px 9px 24px;
  border: 1px solid var(--ui7f045-edge-soft);
  border-radius: 2px;
  background: var(--ui7f045-panel-deep);
  color: var(--ui7f045-ink-dim);
  font-size: 11.5px;
  line-height: 1.45;
}

.ui7f045-facts li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--ui7f045-blush);
  transform: rotate(45deg);
}

/* ----------------------------------------------------- extended footer ---- */

.ui7f045-xfoot {
  margin: 26px 0 0;
  border-top: 2px solid var(--ui7f045-violet);
  padding-top: 16px;
}

.ui7f045-xtitle {
  margin: 0 0 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ui7f045-violet);
}

.ui7f045-xgroup {
  margin: 0 0 18px;
}

.ui7f045-dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ui7f045-dirlink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 6px;
  border: 1px solid var(--ui7f045-edge-soft);
  border-radius: 2px;
  background: var(--ui7f045-panel-deep);
  color: var(--ui7f045-ink);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ui7f045-dirlink:hover,
.ui7f045-dirlink:focus-visible {
  border-color: var(--ui7f045-blush);
  box-shadow: var(--ui7f045-glow);
  text-decoration: none;
}

.ui7f045-brandblurb {
  margin: 0;
  color: var(--ui7f045-ink-dim);
  font-size: 12.5px;
  border: 1px solid var(--ui7f045-edge-soft);
  border-left: 3px solid var(--ui7f045-violet);
  padding: 10px 12px;
  background: var(--ui7f045-panel-deep);
}

.ui7f045-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ui7f045-promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 52px;
  padding: 9px 11px;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.ui7f045-promo b {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.ui7f045-promo span {
  font-size: 10.5px;
  color: var(--ui7f045-ink-dim);
}

.ui7f045-promo--a {
  background: var(--ui7f045-violet);
  border: 1px solid var(--ui7f045-violet);
  color: var(--ui7f045-ink);
}

.ui7f045-promo--b {
  background: var(--ui7f045-panel);
  border: 1px solid var(--ui7f045-edge);
  color: var(--ui7f045-blush);
}

.ui7f045-promo--b span {
  color: var(--ui7f045-ink-dim);
}

.ui7f045-promo:hover,
.ui7f045-promo:focus-visible {
  box-shadow: var(--ui7f045-glow);
}

.ui7f045-promo:active {
  transform: translateY(1px);
}

.ui7f045-note {
  margin: 0;
  padding: 9px 11px;
  border: 1px dashed rgba(248, 248, 255, 0.28);
  border-radius: 2px;
  color: var(--ui7f045-ink-faint);
  font-size: 11px;
  line-height: 1.5;
}

/* --------------------------------------------------------- common footer ---- */

.ui7f045-foot {
  border-top: 1px solid var(--ui7f045-edge-soft);
  padding: 14px 12px 6px;
  text-align: center;
  color: var(--ui7f045-ink-faint);
  font-size: 11.5px;
}

/* ------------------------------------------------------ segmented tabbar ---- */

.ui7f045-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #3C3C42 0%, #35353B 100%);
  border-top: 1px solid var(--ui7f045-violet);
  padding-bottom: env(safe-area-inset-bottom);
}

.ui7f045-tab {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--ui7f045-tab-h);
  padding: 6px 2px 7px;
  border: 0;
  border-left: 1px solid rgba(147, 112, 219, 0.25);
  background: transparent;
  color: var(--ui7f045-ink-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.ui7f045-tab:first-child {
  border-left: 0;
}

.ui7f045-tab svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.ui7f045-tone {
  fill: var(--ui7f045-violet);
}

.ui7f045-tab:hover,
.ui7f045-tab:focus-visible {
  color: var(--ui7f045-ink);
  text-decoration: none;
}

.ui7f045-tab:hover .ui7f045-tone,
.ui7f045-tab:focus-visible .ui7f045-tone {
  fill: var(--ui7f045-blush);
}

.ui7f045-tab:active {
  transform: translateY(1px);
}

/* Active role: slight lift with a restrained glow and blush tone. */
.ui7f045-tab--on {
  color: var(--ui7f045-blush);
  transform: translateY(-2px);
  box-shadow: 0 -6px 14px rgba(255, 179, 255, 0.16);
}

.ui7f045-tab--on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--ui7f045-blush);
}

.ui7f045-tab--on .ui7f045-tone {
  fill: var(--ui7f045-blush);
}

/* ------------------------------------------------------ motion / a11y ----- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
