/* CM Youth Association news: a phone-first news page.
   Colours come from the logo: CM red, YOUTH navy, and the four hand tones (used only for comment avatars).
   Type: Anek Telugu throughout; headlines use its narrow width for a news-desk feel. */
:root {
  color-scheme: light;
  --red: #E31E24;
  --navy: #262C6E;
  --navy-deep: #161A47;
  --ink: #14172F;
  --muted: #5B6077;
  --bg: #EEF0F5;
  --paper: #FFFFFF;
  --line: #E1E3EC;
  --field: #F5F6FA;
  --font: 'Anek Telugu', 'Noto Sans Telugu', 'Nirmala UI', system-ui, sans-serif;
  --narrow: 82%;
  --appw: 480px;
  --tabs-h: 62px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-tap-highlight-color: transparent;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--navy); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.i { width: 22px; height: 22px; flex: none; fill: none; }

/* The page is a phone-width column; on a computer it sits in the middle of a navy screen. */
.app { max-width: var(--appw); margin: 0 auto; min-height: 100dvh; background: var(--bg); position: relative; }
@media (min-width: 520px) {
  body { background: var(--navy-deep); }
  .app { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
}

/* ---- masthead + headline ticker ---- */
.top { position: sticky; top: 0; z-index: 5; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.top__bar { height: 60px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; line-height: 0; }
.brand__logo { height: 44px; width: auto; }
.lang {
  display: flex; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper); cursor: pointer; font-size: .85rem; line-height: 1;
}
.lang span { padding: 6px 10px; border-radius: 999px; color: var(--muted); }
html[lang="te"] .lang [lang="te"], html[lang="en"] .lang [lang="en"] { background: var(--navy); color: #fff; font-weight: 700; }

.ticker { display: flex; height: 36px; background: var(--navy); color: #fff; }
.ticker__label {
  position: relative; z-index: 1; flex: none; display: flex; align-items: center; padding: 0 10px 0 12px;
  background: var(--red); font-weight: 800; font-stretch: var(--narrow); font-size: .95rem;
}
.ticker__label::after { /* arrow tip */
  content: ''; position: absolute; left: 100%; top: 0;
  border-left: 10px solid var(--red); border-top: 18px solid transparent; border-bottom: 18px solid transparent;
}
.ticker__win { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; padding-left: 16px; }
.ticker__track { display: flex; white-space: nowrap; animation: tick var(--dur, 40s) linear infinite; }
.ticker__track a { color: #fff; text-decoration: none; font-size: .95rem; padding-right: 30px; }
.ticker__track a::before { content: '●'; color: var(--red); font-size: .6em; vertical-align: middle; margin-right: 10px; }
.ticker__win:hover .ticker__track, .ticker__win:focus-within .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

main { padding-bottom: calc(var(--tabs-h) + 24px + env(safe-area-inset-bottom)); }

/* ---- top-story banner: TV lower-third over the photo ---- */
.banner { position: relative; background: var(--navy-deep); }
.banner__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.banner__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 100%; aspect-ratio: 16 / 11; scroll-snap-align: start; overflow: hidden;
  color: #fff; text-decoration: none; background: var(--navy);
}
.slide > img, .slide > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide--text { background: linear-gradient(135deg, var(--navy) 0 62%, var(--red) 62% 64%, var(--navy-deep) 64%); }
.slide__plate {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 0 30px;
  background: linear-gradient(to top, rgba(14, 17, 52, .94) 0, rgba(14, 17, 52, .7) 55%, rgba(14, 17, 52, 0));
}
.slide__tag { display: inline-block; margin-left: 14px; padding: 1px 10px; background: var(--red); font-weight: 700; font-size: .85rem; line-height: 1.7; }
.slide__title {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  margin: 6px 14px 0; padding-left: 10px; border-left: 4px solid var(--red);
  font-weight: 800; font-stretch: var(--narrow); font-size: 1.5rem; line-height: 1.38;
}
.banner__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.banner__dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: width .2s; }
.banner__dots span.on { width: 20px; background: var(--red); }

/* ---- feed: a lead story, then compact headline rows ---- */
.section-h {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 16px 16px 8px;
  font-weight: 800; font-stretch: var(--narrow); font-size: 1.2rem; line-height: 1.3; color: var(--navy);
}
.section-h::before { content: ''; width: 5px; height: 1.1em; background: var(--red); }
.feed { background: var(--paper); }
.item { padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item--lead .media img, .item--lead .media video, .item--lead .yt { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.item--lead .media img { background: var(--field); }
.item__link { display: block; padding: 12px 16px 0; color: inherit; text-decoration: none; }
.item__title { margin: 0; font-weight: 800; font-stretch: var(--narrow); font-size: 1.5rem; line-height: 1.35; }
.item__text {
  margin: 4px 0 0; color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.row { display: grid; grid-template-columns: 1fr 112px; gap: 12px; padding: 14px 16px 0; color: inherit; text-decoration: none; }
.row__title {
  margin: 0; font-weight: 700; font-size: 1.08rem; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.row__text {
  margin: 2px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.row__thumb { width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--field); }
.row__thumb--play { display: grid; place-items: center; background: var(--navy); color: #fff; }
.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 8px 0 16px; }
.item__foot time { font-size: .85rem; color: var(--muted); }
.more { display: block; margin: 16px auto 0; }
.note { padding: 28px 20px; text-align: center; color: var(--muted); }
.note p { margin: 0 0 12px; }

/* ---- like / comment / share ---- */
.acts { display: flex; align-items: center; gap: 2px; }
.act {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 10px;
  border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: .9rem; text-decoration: none; cursor: pointer;
}
.act:active { background: var(--field); }
.act--like[aria-pressed="true"] { color: var(--red); }
.act--like[aria-pressed="true"] .i { fill: currentColor; }
.post > .acts { padding: 4px 8px 8px; border-bottom: 1px solid var(--line); }

/* ---- media ---- */
.media video { width: 100%; background: #000; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yt__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}
.yt__play .i { width: 30px; height: 30px; margin-left: 3px; }
.media--yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }

/* ---- one post ---- */
.back {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: 6px 4px; padding: 0 12px 0 6px;
  border: 0; border-radius: 999px; background: none; color: var(--navy); font-weight: 600; cursor: pointer;
}
.post { background: var(--paper); }
.post .media img, .post .media video { width: 100%; max-height: 72vh; object-fit: contain; }
.post .media img { background: var(--field); }
.post .media video { background: #000; }
.post__head { padding: 14px 16px 0; }
.post__title { margin: 0; font-weight: 800; font-stretch: var(--narrow); font-size: 1.75rem; line-height: 1.35; }
.post__head time { font-size: .85rem; color: var(--muted); }
.post__body { margin: 0; padding: 10px 16px 6px; white-space: pre-line; font-size: 1.1rem; line-height: 1.85; overflow-wrap: anywhere; }
.post__cmts { padding-bottom: 8px; }
.cform { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 4px 16px 10px; }
.cform textarea, .jform input, .jform textarea {
  width: 100%; font: inherit; color: inherit; background: var(--field);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
.cform textarea { resize: vertical; min-height: 48px; }
.cform textarea:focus, .jform input:focus, .jform textarea:focus { outline: none; border-color: var(--navy); }
.cmts { list-style: none; margin: 0; padding: 0 16px; }
.cmt { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.cmt.note { display: block; }
.cmt p { margin: 0; }
.cmt__who time { font-size: .8rem; color: var(--muted); margin-left: 4px; }
.cmt__text { white-space: pre-line; overflow-wrap: anywhere; }
/* Avatars take the four hand colours of the logo. */
.ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1rem; line-height: 1; }
.ava[data-tone="0"] { background: #8A4B22; color: #fff; }
.ava[data-tone="1"] { background: #F0C48D; color: #4A2A10; }
.ava[data-tone="2"] { background: #F5D05A; color: #4A3A05; }
.ava[data-tone="3"] { background: #E27B31; color: #fff; }
.gate { margin: 4px 16px 12px; padding: 14px 16px; border-radius: 10px; background: var(--field); border-left: 4px solid var(--red); }
.gate p { margin: 0 0 10px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border: 1.5px solid var(--navy); border-radius: 10px; background: var(--navy); color: #fff;
  font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:disabled { opacity: .6; cursor: progress; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }

/* ---- join ---- */
.join { padding: 20px 18px; }
.join__title { margin: 0 0 6px; font-weight: 800; font-stretch: var(--narrow); font-size: 1.75rem; line-height: 1.35; color: var(--navy); }
.join > p { margin: 0 0 12px; }
.jform { display: grid; gap: 6px; margin: 18px 0 10px; padding: 16px; border-radius: 12px; background: var(--paper); border-top: 4px solid var(--red); }
.jform label { font-weight: 600; margin-top: 6px; }
.jform input { min-height: 50px; font-size: 1.1rem; }
.jform .btn { margin-top: 10px; }
.join__small { font-size: .88rem; color: var(--muted); margin: 0; }
.join__err:empty { display: none; }
.join__err { margin: 6px 0 0; color: var(--red); font-weight: 600; }
.join__phone { font: 700 1.3rem/1.4 var(--font); letter-spacing: .04em; }
.join .btn { width: 100%; margin-top: 10px; }

/* ---- bottom tabs ---- */
.tabs {
  position: fixed; z-index: 6; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, var(--appw));
  display: grid; grid-template-columns: repeat(3, 1fr); height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--muted); text-decoration: none; font-size: .82rem; font-weight: 600; position: relative;
}
.tab[aria-current] { color: var(--navy); }
.tab[aria-current]::before { content: ''; position: absolute; top: 0; width: 40px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }

/* ---- toast ---- */
.toast {
  position: fixed; z-index: 7; left: 50%; bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 12px); width: max-content; max-width: min(90vw, 420px); margin: 0; padding: 10px 16px;
  border-radius: 10px; background: var(--navy-deep); color: #fff; font-size: .95rem; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .ticker__track { animation: none; }
  .ticker__win { overflow-x: auto; scrollbar-width: none; }
}

/* ======================= village platform pages ======================= */

/* ---- home: the message, three big doors, quick links, mission ---- */
.hero { position: relative; padding: 20px 18px 22px; background: var(--navy); color: #fff; }
.hero::after { /* the logo's four hand colours as a thin strip */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, #8A4B22 0 25%, #F0C48D 25% 50%, #F5D05A 50% 75%, #E27B31 75%);
}
.hero__kicker { margin: 0 0 4px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hero__title { margin: 0; font-weight: 800; font-stretch: var(--narrow); font-size: 2.25rem; line-height: 1.25; }
.hero__lead { margin: 8px 0 0; line-height: 1.65; color: rgba(255, 255, 255, .9); }

.tiles { display: grid; gap: 10px; padding: 14px 12px 4px; }
.tile {
  display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 12px 16px; border-radius: 14px;
  color: #fff; text-decoration: none;
}
.tile .i { width: 40px; height: 40px; }
.tile b { display: block; font-weight: 800; font-stretch: var(--narrow); font-size: 1.6rem; line-height: 1.25; }
.tile small { display: block; font-size: 1rem; opacity: .92; }
.tile--manifesto { background: var(--navy); }
.tile--jobs { background: var(--red); }
.tile--join { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.tile--join .i { color: var(--red); }
.tile:active { transform: scale(.99); }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px 16px; }
.quick a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; text-align: center; font-size: .88rem; font-weight: 600; line-height: 1.35;
}
.quick .i { width: 26px; height: 26px; color: var(--red); }
.quick--inset { grid-template-columns: 1fr 1fr; padding: 12px 0 4px; }

.mission { margin: 20px 12px 8px; padding: 18px 16px; border-radius: 14px; background: var(--paper); border-top: 4px solid var(--red); }
.mission h2 { margin: 0 0 6px; font-weight: 800; font-stretch: var(--narrow); font-size: 1.4rem; line-height: 1.4; color: var(--navy); }
.mission p { margin: 0 0 10px; }
.mission__cta { font-weight: 700; color: var(--red); }
.mission .btn { width: 100%; }

/* ---- page heads ---- */
.page-head { padding: 18px 16px 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-weight: 800; font-stretch: var(--narrow); font-size: 1.9rem; line-height: 1.3; color: var(--navy); }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.page-head .page-head__sub { margin: 0 0 6px; font-weight: 700; color: var(--red); }

/* ---- manifesto: promise and plan always shown apart ---- */
.tally { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.tally__item { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: var(--paper); font-size: .85rem; color: var(--muted); text-align: center; }
.tally__item b { font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
.tally__item[data-status="progress"] b { color: #A85400; }
.tally__item[data-status="done"] b { color: #1E6B34; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 12px 6px; }
.chips::-webkit-scrollbar { display: none; }
.mchip { flex: none; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.mgroup { scroll-margin-top: 104px; }
.mitem { margin: 0 12px 10px; padding: 14px; border-radius: 12px; background: var(--paper); }
.mitem__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mitem h3 { margin: 0; font-weight: 800; font-size: 1.15rem; line-height: 1.45; }
.status { flex: none; padding: 1px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1.8; background: var(--field); color: var(--muted); white-space: nowrap; }
.status[data-status="progress"], .status[data-status="seen"] { background: #FFF1DD; color: #8A4500; }
.status[data-status="done"] { background: #E2F4E7; color: #1E6B34; }
.status[data-status="new"] { background: #FDE3E4; color: #B0151B; }
.block { margin-top: 10px; padding: 8px 12px; border-left: 4px solid var(--red); background: var(--field); border-radius: 0 8px 8px 0; }
.block--plan { border-left-color: var(--navy); }
.block__label { margin: 0; font-size: .85rem; font-weight: 700; color: var(--red); }
.block--plan .block__label { color: var(--navy); }
.block__text { margin: 2px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.inset { margin: 0 16px 10px; }
.wide { display: flex; gap: 6px; width: calc(100% - 24px); margin: 14px 12px 0; }

/* ---- jobs portal ---- */
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 12px; padding: 14px; border-radius: 12px; background: var(--paper); border: 2px dashed var(--red); color: var(--ink); text-decoration: none; }
.callout .i { width: 28px; height: 28px; color: var(--red); }
.callout b { display: block; font-size: 1.08rem; color: var(--navy); }
.callout p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.callout--ok { border: 1px solid var(--line); }
.callout--ok .i { color: #1E6B34; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 10px; }
.filters select, .jform select {
  width: 100%; min-height: 46px; padding: 0 10px; font: inherit; color: inherit;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
}
.jform select { min-height: 50px; background: var(--field); }
.jobs { display: grid; gap: 10px; padding: 0 12px; }
.job { background: var(--paper); border-radius: 12px; border-left: 4px solid var(--navy); }
.job--closed { border-left-color: var(--line); }
.job--closed .job__main { opacity: .7; }
.job__main { display: block; padding: 12px 14px 4px; color: inherit; text-decoration: none; }
.job__title { margin: 0; font-weight: 800; font-size: 1.15rem; line-height: 1.45; }
.job__org { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.job__org .i, .job__date .i { width: 17px; height: 17px; }
.job__org span + .i { margin-left: 6px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; }
.facts li { padding: 2px 10px; border-radius: 8px; background: var(--field); font-size: .88rem; }
.facts li span { margin-right: 4px; color: var(--muted); }
.job__date { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: .9rem; font-weight: 600; color: var(--red); }
.job__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; padding: 6px 8px 10px 14px; }
.badge, .job__applied, .job__closed, .btn--sm { white-space: nowrap; }
.job__acts { display: flex; align-items: center; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; color: #1E6B34; }
.badge .i { width: 16px; height: 16px; }
.job__applied { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #1E6B34; }
.job__applied .i { width: 18px; height: 18px; }
.job__closed { font-size: .88rem; font-weight: 700; color: var(--muted); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.post__job { padding: 0 16px 6px; }
.post__job .job__foot { padding: 10px 0 0; }

/* ---- problems ---- */
.plist { display: grid; gap: 10px; }
.pitem { padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.pitem__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pitem__loc { display: flex; align-items: center; gap: 4px; margin: 4px 0 0; font-size: .9rem; color: var(--muted); }
.pitem__loc .i { width: 16px; height: 16px; }
.pitem__body { margin: 6px 0 2px; white-space: pre-line; overflow-wrap: anywhere; }
.pitem time { font-size: .8rem; color: var(--muted); }
.pitem__note { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #E9ECF8; }
.section-h.flush { padding: 18px 0 8px; }

/* ---- membership + ID card ---- */
.perks { list-style: none; display: grid; gap: 4px; margin: 10px 0 0; padding: 0; }
.perks li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.perks .i { width: 20px; height: 20px; color: var(--red); }
.check { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; font-size: .92rem; line-height: 1.55; }
.jform .check { font-weight: 400; }
.check input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--navy); }
.memno { margin: 0 0 4px; font-weight: 800; color: var(--red); font-size: 1.1rem; }
.idcard { width: 100%; height: auto; aspect-ratio: 1012 / 638; border-radius: 14px; background: var(--field); box-shadow: 0 6px 24px rgba(22, 26, 71, .25); }
.cardbtns { display: flex; gap: 8px; }
.cardbtns .btn { flex: 1; gap: 6px; }
.details { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 4px; padding: 14px; border-radius: 12px; background: var(--paper); }
.details dt { color: var(--muted); font-size: .92rem; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.join .btn--ghost { width: 100%; }

/* four bottom tabs */
.tabs { grid-template-columns: repeat(4, 1fr); }

/* home poster: full width of the column, right under the main message */
.hero__img { display: block; width: calc(100% + 36px); max-width: none; height: auto; margin: 14px -18px 4px; }
/* S/o · D/o · W/o picker + name */
.relrow { display: grid; grid-template-columns: 88px 1fr; gap: 8px; }
