/* Shared components (home + inner pages): panels, the spec sheet, the live list, tabs, the news list.
   Moved out of home.css when the inner pages arrived (pages_src/, tools/build_pages.py). */

/* one panel language: dark body, framed edge, title bar with diamond studs */
.panel { position: relative; background: rgba(13, 20, 41, .92); backdrop-filter: blur(8px); border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(246, 238, 223, .1), 0 24px 48px -24px rgba(4, 7, 16, .9); }
.panel-head { position: relative; display: flex; align-items: center; justify-content: center; height: 52px; padding-inline: var(--sp-7);
  font: 1.125rem/1 var(--font-head); letter-spacing: .02em; color: var(--sand-50);
  background: linear-gradient(180deg, rgba(26, 38, 72, .9), rgba(18, 27, 54, .9)); box-shadow: inset 0 -1px 0 rgba(226, 169, 59, .35); }
.panel-head .num { margin-inline: .3em; font-family: var(--font-body); font-weight: 600; font-size: .95em; }
.panel-head::before, .panel-head::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--copper-700);
  transform: rotate(45deg); box-shadow: 0 0 0 2px rgba(11, 17, 36, .9); }
.panel-head::before { inset-inline-start: var(--sp-4); }
.panel-head::after { inset-inline-end: var(--sp-4); }

/* version info: label | divider | value, like a classic server sheet */
.spec { display: grid; gap: 2px; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.spec > div { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; }
.spec > div[hidden] { display: none; }
.spec dt { padding: 7px var(--sp-4) 7px 0; text-align: end; color: var(--text-3); font-size: .9375rem; box-shadow: inset -1px 0 0 rgba(226, 169, 59, .4); }
[dir="rtl"] .spec dt { padding: 7px 0 7px var(--sp-4); box-shadow: inset 1px 0 0 rgba(226, 169, 59, .4); }
.spec dd { margin: 0; padding: 7px 0 7px var(--sp-4); color: var(--text); font-weight: 600; font-size: .9375rem; }
[dir="rtl"] .spec dd { padding: 7px var(--sp-4) 7px 0; }

.live-list { display: grid; gap: var(--sp-4); padding: var(--sp-5); }
.live-list dt { color: var(--text-3); font-size: .8125rem; }
.live-list dd { margin: 2px 0 0; display: flex; align-items: center; gap: var(--sp-2); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
[data-status=offline] .live { background: var(--ember-500); box-shadow: 0 0 0 4px rgba(229, 83, 61, .18); }
[data-status=maintenance] .live { background: var(--copper-500); box-shadow: 0 0 0 4px rgba(226, 169, 59, .18); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--turq-500); box-shadow: 0 0 0 4px rgba(43, 184, 166, .18); }

.tabs { display: flex; gap: var(--sp-5); overflow-x: auto; scrollbar-width: none; }
.tabs[hidden] { display: none; }
.tab { position: relative; padding-block: var(--sp-2); color: var(--text-3); font-weight: 500; white-space: nowrap; transition: color var(--t-base); }
.tab:hover { color: var(--text-2); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -2px; height: 2px; background: var(--copper-500); }
.news-list { list-style: none; padding: 0; display: grid; gap: var(--sp-1); }
.news-list li[hidden] { display: none; }
.news-list a { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-1) var(--sp-4); padding: var(--sp-4); margin-inline: calc(var(--sp-4) * -1);
  transition: background var(--t-base); }
.news-list a:hover { background-color: var(--night-800); }
.news-list .t { grid-column: 1 / -1; font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.news-list a:hover .t { color: var(--copper-300); }
.news-list .tag { justify-self: start; }
.news-list time { color: var(--text-3); font-size: .875rem; font-variant-numeric: tabular-nums; }

/* not ready yet (owner 2026-10-16): socials and languages stay visible with a "Soon" label, but do nothing */
.is-soon { cursor: default; opacity: .62; }
.is-soon:hover, .is-soon:hover > .medal { color: inherit; box-shadow: none; transform: none; }
.medal.is-soon:hover { color: #F4C65C; }
.social-tile .soon { font-size: .6875rem; color: var(--text-3); }
.count-soon { color: var(--text-3); font-size: .875rem; }
.lang-menu .lang-soon { display: flex; justify-content: space-between; gap: var(--sp-4); padding: 9px 12px; color: var(--text-3); font-size: .9375rem; cursor: default; }
