/* Elite TCG — styles
   Dark theme. One family (Archivo): headlines use the condensed end of
   its width axis in capitals, body text sits at normal width.
   Accent: foil gold. Each game has its own color. */

:root {
  --bg: #080C1A;
  --band: #0C1226;
  --surface: #121A33;
  --surface-2: #19223F;
  --line: #263052;
  --line-soft: #1C2543;
  --text: #EEF1FA;
  --text-2: #A2ABC7;
  --text-3: #7480A3;
  --foil: #FFC93C;
  --foil-hi: #FFD866;
  --foil-glow: rgba(255, 201, 60, .14);
  --open: #34D17E;
  --blue: #5B8CFF;

  --g-pokemon: #FF5C5C;
  --g-onepiece: #2CC79B;
  --g-riftbound: #9D7CFF;

  --narrow: 62%;
  --radius-pocket: 12px;
  --radius-panel: 22px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
}

[data-game="pokemon"]   { --game: var(--g-pokemon); }
[data-game="onepiece"]  { --game: var(--g-onepiece); }
[data-game="riftbound"] { --game: var(--g-riftbound); }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  margin: 0;
  font-stretch: var(--narrow);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .94;
  letter-spacing: .005em;
}
h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 750; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sub { max-width: 58ch; color: var(--text-2); margin-top: 14px; font-size: 1.08rem; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--foil); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--foil); outline-offset: 3px; border-radius: 6px; }

.text-link {
  font-weight: 750; color: var(--foil); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--foil-hi); }

/* ---------- buttons ---------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 12px;
  font-weight: 750; font-size: 16.5px; text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-foil { background: var(--foil); color: var(--bg); }
.btn-foil:hover { background: var(--foil-hi); }
.btn-line { border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--text-2); background: rgba(255,255,255,.04); }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { background: #6B77FF; }

/* ---------- header ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 12, 26, .86);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.top-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }

.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.top .mark { margin-right: auto; }
.mark-badge {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--surface-2); color: var(--foil);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 900; font-stretch: var(--narrow); font-size: 26px; line-height: 1;
}
.mark-badge img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mark-name {
  display: flex; flex-direction: column;
  font-weight: 900; font-stretch: var(--narrow); text-transform: uppercase;
  font-size: 30px; line-height: .9; letter-spacing: .01em;
}
.mark-name small {
  font-size: 12.5px; font-stretch: 100%; font-weight: 750; letter-spacing: .14em;
  color: var(--foil); margin-top: 4px; white-space: nowrap;
}

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 9px 14px; border-radius: 10px; text-decoration: none;
  font-weight: 650; font-size: 16px; color: var(--text-2);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.status {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 8px 15px 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--band);
  font-weight: 700; font-size: 14.5px; color: var(--text-2);
}
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; }
.status.is-open { color: var(--text); border-color: rgba(52, 209, 126, .45); }
.status.is-open i { background: var(--open); box-shadow: 0 0 0 4px rgba(52, 209, 126, .2); }

.menu {
  display: none; width: 46px; height: 46px; border-radius: 11px;
  border: 1.5px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.news { background: var(--foil); color: var(--bg); font-weight: 700; font-size: 15px; padding: 10px 0; }
.news .wrap { display: block; }

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

.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(91, 140, 255, .14), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(255, 201, 60, .06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 10ch; text-wrap: balance; }
.hero h1.stack { font-size: clamp(4.2rem, 10vw, 8.6rem); line-height: .86; }
.hero h1.stack span { display: block; }
.lede { font-size: 1.2rem; max-width: 44ch; margin-top: 28px; color: var(--text-2); }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; color: var(--text-2); font-size: 15.5px; }
.hero-meta a { display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--text); }
.hero-meta a:hover { text-decoration: underline; }
.hero-meta svg { width: 18px; height: 18px; fill: var(--foil); margin-right: 7px; }
.hero-meta b { margin-right: .3em; }
.hero-meta [data-rating-count] { margin: 0 .3em; }
.hero-meta b { font-weight: 800; }

/* Discord poster beside the headline, edges fading into the page */
.hero-art { position: relative; display: block; justify-self: center; width: 100%; max-width: 520px; border-radius: 24px; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 140, 255, .35), transparent);
  filter: blur(30px);
}
.hero-art img {
  position: relative; z-index: 1; width: 100%; height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 11%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 15%, #000 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 11%, #000 88%, transparent 100%);
  mask-composite: intersect;
}
.hero-art:focus-visible { outline-offset: 6px; }

/* ---------- upcoming events ---------- */

.upcoming { border-top: 1px solid var(--line-soft); padding: clamp(72px, 9vw, 120px) 0; }
.event-cards {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px;
}
.ev-card {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 22px 22px 24px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-top: 4px solid var(--game, var(--line));
  animation: rise .45s cubic-bezier(.2, .8, .2, 1) both;
}
.ev-card:nth-child(2) { animation-delay: 60ms; }
.ev-card:nth-child(3) { animation-delay: 120ms; }
.ev-card:nth-child(4) { animation-delay: 180ms; }
.ev-card:nth-child(n+5) { animation-delay: 240ms; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ev-card { animation: none; } }

.ev-day {
  font-weight: 900; font-stretch: var(--narrow); text-transform: uppercase;
  font-size: 1.9rem; line-height: 1; letter-spacing: .01em;
}
.ev-card.is-today { background: linear-gradient(170deg, var(--foil-glow), var(--surface) 55%); }
.ev-card.is-today .ev-day { color: var(--foil); }
.ev-date { margin-top: 6px; color: var(--text-2); font-weight: 650; }
.ev-card h3 {
  margin-top: 22px; font-size: 1.25rem; font-stretch: 100%; text-transform: none;
  font-weight: 800; line-height: 1.2; letter-spacing: 0;
}
.ev-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--game); font-weight: 750; font-size: 15px; }
.ev-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--game); }
.ev-entry { margin-top: auto; padding-top: 18px; color: var(--text-3); font-size: 14.5px; font-weight: 600; }
.ev-card.is-closed { border-top-color: var(--g-pokemon); }
.ev-card.is-closed h3 { color: var(--g-pokemon); }

/* ---------- sell ---------- */

.sell { background: var(--band); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: clamp(72px, 9vw, 120px) 0; }
.buy {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
}
.buy li { border-top: 3px solid var(--foil); padding-top: 20px; }
.buy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.buy p { color: var(--text-2); margin-top: 10px; max-width: 34ch; }

.offer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  margin-top: 48px; padding: 24px 28px;
  border: 1.5px solid var(--line); border-radius: 18px; background: var(--surface);
}
.offer p { color: var(--text-2); font-size: 1.08rem; max-width: 52ch; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- posts ---------- */

.posts-sec { padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }

.post {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden;
  transition: border-color .15s;
}
.post:hover { border-color: var(--line); }
.post[data-tag="buy"] { --tag: var(--foil); }
.post[data-tag="graded"] { --tag: var(--blue); }
.post[data-game] { --tag: var(--game); }

.post-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--surface-2); overflow: hidden; }
.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; z-index: 1; }
.post-ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  font-weight: 900; font-stretch: var(--narrow); text-transform: uppercase; font-size: 3.4rem; line-height: .9;
  color: var(--tag, var(--foil));
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px),
    radial-gradient(80% 80% at 50% 40%, color-mix(in srgb, var(--tag, var(--foil)) 18%, transparent), transparent 75%);
}
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-3); font-weight: 650; }
.post-meta b { color: var(--tag, var(--foil)); font-weight: 800; }
.post-text { display: block; margin-top: 10px; font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--text); }
.post-link { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 15px; color: var(--text-2); }
.post:hover .post-link { color: var(--foil); }

/* ---------- games ---------- */

.games { padding: clamp(56px, 7vw, 96px) 0; }
.game-list { margin-top: 40px; }
.game {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6px 40px; align-items: center;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.game:last-child { border-bottom: 1px solid var(--line); }
.game h3 { grid-row: span 2; font-size: clamp(3rem, 8vw, 6.2rem); color: var(--game); line-height: .9; }
.game-when { font-weight: 750; font-size: 1.12rem; align-self: end; }
.game-stock { color: var(--text-2); align-self: start; }

/* ---------- reviews + discord ---------- */

.community { padding: clamp(24px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.community .wrap { display: grid; gap: 20px; }
.panel { border-radius: var(--radius-panel); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); background: var(--surface); }
.panel h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.reviews-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px 48px; margin: 32px 0 30px; align-items: start; }
.score b { display: block; font-weight: 900; font-stretch: var(--narrow); font-size: clamp(5rem, 9vw, 7rem); line-height: .85; }
.score .stars { display: block; color: var(--foil); font-size: 22px; letter-spacing: 3px; margin-top: 12px; }
.score > span:last-child { display: block; color: var(--text-2); margin-top: 6px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 36px; }
.quote { margin: 0; padding-left: 20px; border-left: 2px solid var(--foil); }
.quote p { font-size: 1.22rem; line-height: 1.4; font-weight: 600; }
.quote cite { display: block; margin-top: 10px; font-style: normal; color: var(--text-3); font-size: 14px; font-weight: 650; }

.panel-discord {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  background: linear-gradient(110deg, var(--surface), #1A1F4A);
  border-color: #2D3570;
}
.panel-discord p { color: var(--text-2); margin-top: 12px; max-width: 52ch; font-size: 1.08rem; }

/* ---------- visit ---------- */

.visit { border-top: 1px solid var(--line-soft); padding: clamp(72px, 9vw, 120px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.addr { font-style: normal; font-weight: 750; font-size: 1.3rem; line-height: 1.35; margin-top: 18px; color: var(--text-2); }
.hours { width: 100%; max-width: 460px; border-collapse: collapse; margin-top: 26px; }
.hours th, .hours td { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--text-2); font-variant-numeric: tabular-nums; font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--foil); font-weight: 800; }
.today-tag {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--foil); color: var(--bg); font-size: 12px; font-weight: 800; vertical-align: 2px;
}
.map { min-height: 420px; border-radius: var(--radius-panel); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.map iframe {
  width: 100%; height: 100%; min-height: 420px; border: 0; display: block;
  filter: invert(.92) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.95);
}

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

.foot { border-top: 1px solid var(--line-soft); padding: 44px 0; font-size: 15.5px; color: var(--text-2); }
.foot-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.foot a { color: var(--text); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--line); color: var(--text);
}
.social a:hover { border-color: var(--text-2); background: rgba(255,255,255,.04); }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.social svg.ico-line { fill: none; stroke: currentColor; stroke-width: 2; }
.social svg.ico-line circle:last-child { fill: currentColor; stroke: none; }
.fine { grid-column: 1 / -1; font-size: 13.5px; color: var(--text-3); }

.quickbar { display: none; }

/* ---------- calendar page ---------- */

.cal-page { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.cal-title { font-size: clamp(3rem, 7vw, 5.6rem); }
.cal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 36px 0 18px; }
.cal-nav { display: flex; align-items: center; gap: 12px; }
.cal-month { font-size: clamp(1.9rem, 3.4vw, 2.5rem); min-width: 9ch; text-align: center; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.icon-btn:hover { border-color: var(--text-2); background: rgba(255,255,255,.04); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  font: inherit; font-weight: 650; font-size: 15px; color: var(--text-2); cursor: pointer;
}
.chip[data-game]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--game); }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--foil); border-color: var(--foil); color: var(--bg); }

.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head span { padding: 6px 10px; font-weight: 700; font-size: 13.5px; color: var(--text-3); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }

.day { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-pocket); min-height: 128px; padding: 9px; }
.day.is-out { background: transparent; border-color: transparent; color: var(--text-3); }
.day.is-past .ev, .day.is-past .d-num { opacity: .45; }
.day.is-today { border-color: var(--foil); box-shadow: inset 0 0 0 1px var(--foil); }
.d-num { font-weight: 800; font-size: 14.5px; }
.d-wk { display: none; }
.d-today { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--foil); color: var(--bg); font-size: 11.5px; font-weight: 800; }
.d-closed, .d-note { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--text-3); }

.ev {
  display: block; width: 100%; margin-top: 6px; padding: 7px 9px;
  border: 0; border-left: 3px solid var(--game); border-radius: 6px;
  background: color-mix(in srgb, var(--game) 13%, var(--surface));
  font: inherit; font-size: 13px; line-height: 1.3; text-align: left; color: var(--text); cursor: pointer;
}
.ev:hover:not(:disabled) { background: color-mix(in srgb, var(--game) 24%, var(--surface)); }
.ev:disabled { cursor: default; }
.ev b { font-weight: 800; }
.ev small { display: block; color: var(--text-2); font-size: 11.5px; margin-top: 1px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav a { padding: 9px 10px; font-size: 15px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 12ch; }
  .hero-art { max-width: 440px; }

  .menu { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 10px var(--gutter) 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 18px; color: var(--text); }
}

@media (max-width: 820px) {
  .buy, .posts { grid-template-columns: minmax(0, 1fr); }
  .game { grid-template-columns: minmax(0, 1fr); }
  .game h3 { grid-row: auto; margin-bottom: 8px; }
  .reviews-body { grid-template-columns: minmax(0, 1fr); }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-row { grid-template-columns: minmax(0, 1fr); }
  .posts { gap: 16px; }
  .post { flex-direction: row; }
  .post-img { width: 38%; flex: none; aspect-ratio: auto; }
  .post-ph { font-size: 2rem; }
}

@media (max-width: 640px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .top-row { gap: 12px; min-height: 66px; }
  .mark-badge { width: 40px; height: 40px; font-size: 22px; }
  .mark-name { font-size: 25px; }
  .mark-name small { font-size: 11px; }
  .status { padding: 6px 11px 6px 9px; font-size: 12.5px; gap: 7px; }

  .offer { padding: 20px; }
  .offer-actions, .offer-actions .btn { width: 100%; }
  .post { flex-direction: column; }
  .post-img { width: auto; aspect-ratio: 4 / 5; }

  .quickbar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--band); border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .quickbar a {
    display: grid; place-items: center; min-height: 62px; color: var(--text); text-decoration: none;
    font-weight: 750; border-left: 1px solid var(--line-soft);
  }
  .quickbar a:first-child { border-left: 0; background: var(--foil); color: var(--bg); }

  .cal-bar { flex-direction: column; align-items: stretch; }
  .cal-nav { justify-content: space-between; }
  .cal-head { display: none; }
  .cal-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .day { min-height: 0; padding: 13px 15px; }
  .day.is-out, .day.is-empty, .day.is-past { display: none; }
  .d-wk { display: inline; }
  .ev { font-size: 15px; padding: 11px 12px; }
}

@media (max-width: 380px) {
  .status { display: none; }
}
