:root {
  --bg: #eef3f9;
  --card: #fff;
  --ink: #0b1f33;
  --mute: #5a6e82;
  --line: #dce5ef;
  --p: #13a05d;
  --a: #e5484d;
  --y: #ffb020;
  --brand: #1459d9;
  --brand2: #19b6e6;
  --navy: #0b2a4a;
  --soft: #f4f8fd;
  --sh: 0 1px 2px #0b2a4a12, 0 6px 18px #0b2a4a0d;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #07131f;
    --card: #0f2234;
    --ink: #e8f0f7;
    --mute: #92a8bb;
    --line: #1d3a54;
    --p: #3fcf86;
    --a: #ff6b6f;
    --brand: #4b8dff;
    --brand2: #38c8f0;
    --soft: #12293f;
    --sh: 0 1px 2px #0006, 0 6px 18px #0004;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #07131f;
  --card: #0f2234;
  --ink: #e8f0f7;
  --mute: #92a8bb;
  --line: #1d3a54;
  --p: #3fcf86;
  --a: #ff6b6f;
  --brand: #4b8dff;
  --brand2: #38c8f0;
  --soft: #12293f;
  --sh: 0 1px 2px #0006, 0 6px 18px #0004;
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.5 system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none !important;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 9px 14px;
  transition:
    transform 0.08s,
    box-shadow 0.15s,
    background 0.15s;
}
button:active {
  transform: scale(0.97);
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}
input,
select,
textarea {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  max-width: 100%;
  width: auto;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent);
}
a {
  color: var(--brand);
}

/* ---------- login page ---------- */
#login {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 15% 12%, #19b6e655, transparent 42%),
    radial-gradient(circle at 88% 90%, #1459d988, transparent 46%),
    repeating-linear-gradient(115deg, #ffffff08 0 2px, transparent 2px 38px),
    linear-gradient(160deg, #071a2e, #0b2a4a 55%, #0f4aa8);
}
.lg-card {
  width: min(100%, 400px);
  background: var(--card);
  border-radius: 22px;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 60px #0008;
  text-align: center;
}
.lg-logo {
  border-radius: 20px;
  box-shadow: 0 8px 22px #0b2a4a55;
  margin-top: -62px;
  background: var(--navy);
}
.lg-card h1 {
  margin: 12px 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.lg-sub {
  margin: 2px 0 18px;
  color: var(--mute);
  font-size: 0.92rem;
}
.seg {
  display: flex;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 16px;
}
.seg button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 9px;
  color: var(--mute);
  padding: 9px 6px;
}
.seg button.on {
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  box-shadow: var(--sh);
}
.lg-card form {
  text-align: left;
}
.fl {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 12px;
}
.fl input,
.fl select {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-weight: 400;
  color: var(--ink);
  font-size: 1rem;
}
#pa p {
  margin: 0 0 10px;
}
#pa input {
  width: 100%;
}
.err {
  color: var(--a);
  min-height: 1.3em;
  margin: 0 0 6px;
  font-size: 0.9rem;
}
.hint {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 0.82rem;
  text-align: center;
}
.big {
  width: 100%;
  padding: 12px;
  font-weight: 700;
  font-size: 1rem;
}
.ghost {
  margin-top: 14px;
  width: 100%;
  border-style: dashed;
  color: var(--brand);
  background: none;
}

/* ---------- app shell ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(120deg, #071a2e, var(--navy) 45%, #0f4aa8);
  color: #fff;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 14px #0b2a4a44;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand img {
  border-radius: 9px;
  flex: none;
}
header h1 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.who {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#mb {
  background: #ffffff1c;
  border: 1px solid #ffffff30;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 12px;
}
#mb:hover {
  background: #ffffff30;
}
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 14px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom));
}

/* nav: bottom bar on phones, top pills on laptops */
nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 18px #0b2a4a14;
}
nav button {
  flex: 1;
  border: 0;
  border-radius: 0;
  background: none;
  padding: 8px 2px 7px;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 0.7rem;
  min-height: var(--nav-h);
}
nav .i {
  font-size: 1.35rem;
  line-height: 1.3;
  transition: transform 0.15s;
}
nav button.on {
  color: var(--brand);
  font-weight: 700;
}
nav button.on .i {
  transform: translateY(-2px) scale(1.12);
}
nav button.on::after {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
  margin-top: 2px;
}
@media (min-width: 900px) {
  :root {
    --nav-h: 0px;
  }
  header {
    padding-left: max(22px, calc((100vw - 1080px) / 2 + 14px));
    padding-right: max(22px, calc((100vw - 1080px) / 2 + 14px));
  }
  nav {
    position: static;
    max-width: 1080px;
    margin: 14px auto 0;
    padding: 0 14px;
    background: none;
    border: 0;
    box-shadow: none;
    gap: 6px;
    flex-wrap: wrap;
  }
  nav button {
    flex: none;
    flex-direction: row;
    gap: 7px;
    min-height: 0;
    padding: 9px 16px;
    font-size: 0.95rem;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 999px;
  }
  nav .i {
    font-size: 1.05rem;
    line-height: 1;
  }
  nav button.on {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
  }
  nav button.on .i {
    transform: none;
  }
  nav button.on::after {
    display: none;
  }
  nav button:hover:not(.on) {
    background: var(--soft);
  }
  main {
    padding: 18px 14px 40px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .grid .span2 {
    grid-column: 1/-1;
  }
}

/* ---------- menu panel ---------- */
#menu {
  position: fixed;
  z-index: 50;
  top: 58px;
  right: 10px;
  width: min(340px, calc(100vw - 20px));
  max-height: calc(100dvh - 76px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px #0b2a4a55;
  padding: 8px;
  animation: pop 0.14s ease-out;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
.mu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
}
.mu b {
  display: block;
  line-height: 1.2;
}
.mu .mute {
  display: block;
}
.av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  font-weight: 800;
  flex: none;
}
.ms {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 10px 10px 4px;
}
#menu .mi {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 10px;
  border-radius: 10px;
}
#menu .mi:hover {
  background: var(--soft);
}
#menu .mi.on {
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  font-weight: 700;
}
#menu .mi .i {
  width: 1.5em;
  text-align: center;
  flex: none;
}
#menu .mi .t {
  flex: 1;
}
#menu .mi.out {
  color: var(--a);
}
.sw {
  position: relative;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: var(--line);
  flex: none;
  border: 0;
  padding: 0;
  transition: background 0.2s;
}
.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0005;
  transition: left 0.2s;
}
.sw.on {
  background: var(--p);
}
.sw.on::after {
  left: 21px;
}

/* ---------- cards & content ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--sh);
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.grid > .card {
  margin: 0;
}
h2 {
  font-size: 1.08rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.hero {
  background: linear-gradient(135deg, #071a2e, #0f3f8f 60%, #19a6e6);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "🏑";
  position: absolute;
  right: -6px;
  bottom: -22px;
  font-size: 7rem;
  opacity: 0.1;
  transform: rotate(-12deg);
}
.hero h2 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
}
.hero .mute {
  color: #ffffffb8;
}
.hero .hi {
  flex: 1;
  min-width: 150px;
}
.hero .ring {
  --tr: #ffffff2e;
  --rb: #0a2c5c;
  --fg: #5ff0a8;
}
.ring {
  --v: 0;
  --tr: var(--line);
  --rb: var(--card);
  --fg: var(--p);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--fg) calc(var(--v) * 1%), var(--tr) 0);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
}
.ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--rb);
  border-radius: 50%;
}
.ring b {
  position: relative;
  font-size: 1.3rem;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child {
  border-bottom: 0;
}
.tog {
  display: flex;
  gap: 6px;
}
.tog button {
  min-width: 84px;
}
.tog .p.on {
  background: var(--p);
  color: #fff;
  border-color: var(--p);
}
.tog .a.on {
  background: var(--a);
  color: #fff;
  border-color: var(--a);
}
.pri {
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent);
}
.pri:hover {
  filter: brightness(1.06);
}
.dng {
  color: var(--a);
  border-color: color-mix(in srgb, var(--a) 55%, var(--line));
}
.mute {
  color: var(--mute);
  font-size: 0.9rem;
}
.tag {
  font-weight: 700;
}
.tag.p {
  color: var(--p);
}
.tag.a {
  color: var(--a);
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--mute);
  border: 1px solid var(--line);
}
.pill.g {
  background: color-mix(in srgb, var(--p) 14%, transparent);
  color: var(--p);
  border-color: transparent;
}
.pill.r {
  background: color-mix(in srgb, var(--a) 14%, transparent);
  color: var(--a);
  border-color: transparent;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--mute);
  font-weight: 600;
  font-size: 0.85rem;
}
tr:hover td {
  background: var(--soft);
}
.n {
  text-align: right;
}
.bar {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
  min-width: 60px;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--p), var(--brand2));
  border-radius: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.chips button,
.chips a {
  padding: 5px 12px;
  font-size: 0.9rem;
}
.ctl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.ctl input:not([type="date"]) {
  flex: 1 1 160px;
  min-width: 0;
}
.stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.stats div {
  flex: 1;
  min-width: 92px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.85rem;
  color: var(--mute);
}
.stats div:nth-child(2) {
  border-top-color: var(--p);
}
.stats div:nth-child(3) {
  border-top-color: var(--y);
}
.stats div:nth-child(4) {
  border-top-color: var(--a);
}
.stats b {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.2;
}
.hero .stats div {
  background: #ffffff1a;
  border-color: #ffffff22;
  border-top-color: #5ff0a8;
  color: #ffffffc8;
}
.hero .stats b {
  color: #fff;
}
.note {
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--y);
  margin-bottom: 12px;
}
.today {
  background: var(--soft);
  border-left: 3px solid var(--y);
  padding-left: 10px;
  border-radius: 6px;
}
svg text {
  fill: var(--mute);
  font-size: 11px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
ul,
ol {
  padding-left: 20px;
  margin: 10px 0 0;
}
li {
  margin: 7px 0;
}
.ico {
  list-style: none;
  padding-left: 0;
}
.ico li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ic {
  width: 1.5em;
  text-align: center;
  flex: none;
}
.sig {
  width: 64px;
  height: auto;
  max-height: 84px;
  object-fit: contain;
  border-radius: 6px;
  flex: none;
  background: #fff;
}
.mini {
  padding: 2px 9px;
  font-size: 0.8rem;
}
.card a {
  font-weight: 600;
}
.empty {
  text-align: center;
  padding: 22px 8px;
  color: var(--mute);
}
.empty .e {
  font-size: 2rem;
  display: block;
}
.sw-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- dialogs ---------- */
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: var(--ink);
  width: min(94vw, 420px);
  padding: 20px;
  box-shadow: 0 24px 70px #0007;
}
dialog::backdrop {
  background: #071a2e99;
  backdrop-filter: blur(2px);
}
dialog input {
  width: 100%;
}
dialog p {
  margin: 0 0 10px;
}
dialog h2 {
  margin-top: 0;
}
textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}
dialog .ctl button {
  flex: 1;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- v9: avatars, profile, schedule, players, chart, share ---------- */
.avi {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  color: #fff;
  font-weight: 800;
  flex: none;
  box-shadow:
    0 0 0 2px var(--card),
    0 2px 6px #0b2a4a33;
}
.avi.big {
  box-shadow:
    0 0 0 4px var(--card),
    0 6px 18px #0b2a4a44;
}
.hb {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hi {
  background: #ffffff1c;
  border: 1px solid #ffffff30;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hi:hover {
  background: #ffffff30;
}
.hi .avi {
  box-shadow: none;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
}
.hi .whs {
  filter: drop-shadow(0 1px 2px #0005);
}
#mb {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.mu {
  width: 100%;
  border: 0;
  background: var(--soft);
  margin-bottom: 2px;
}
.mu:hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--soft));
}
.chev {
  color: var(--mute);
  font-size: 1.4rem;
  line-height: 1;
  flex: none;
}
.lnk {
  border: 0;
  background: none;
  padding: 0;
  color: var(--brand);
  font-weight: 600;
  text-align: left;
}
.lnk:hover {
  text-decoration: underline;
}
.row.link {
  cursor: pointer;
  border-radius: 10px;
}
.row.link:hover {
  background: var(--soft);
}
.seg2 {
  display: inline-flex;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 12px;
}
.seg2 button {
  border: 0;
  background: none;
  border-radius: 9px;
  color: var(--mute);
  padding: 7px 16px;
}
.seg2 button.on {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

/* schedule */
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.wd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 0;
  border-radius: 12px;
  font-size: 0.78rem;
}
.wd b {
  font-weight: 700;
}
.wd span {
  font-size: 1.15rem;
}
.wd.rest {
  opacity: 0.65;
}
.wd.today {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  opacity: 1;
}
details.day {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  background: var(--card);
  overflow: hidden;
  transition: box-shadow 0.15s;
}
details.day[open] {
  box-shadow: var(--sh);
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
}
details.day.today {
  border-left: 4px solid var(--y);
}
details.day summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  cursor: pointer;
}
details.day summary::-webkit-details-marker {
  display: none;
}
.dbadge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  flex: none;
}
details.day.rest .dbadge {
  background: linear-gradient(135deg, #7d8fa3, #a5b4c4);
}
.dm {
  flex: 1;
  min-width: 0;
}
.dm b {
  display: block;
  line-height: 1.25;
}
.dm small {
  color: var(--mute);
}
details.day .chev {
  transition: transform 0.2s;
}
details.day[open] .chev {
  transform: rotate(90deg);
}
.db {
  padding: 2px 14px 14px;
}
.db p {
  margin: 0 0 8px;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.kv span {
  color: var(--mute);
}
.kv b {
  font-weight: 600;
  text-align: right;
}
.edit {
  margin-top: 10px;
}

/* players */
.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 700px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
.pt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  transition:
    transform 0.1s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.pt:hover {
  box-shadow: var(--sh);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-1px);
}
.pt[hidden] {
  display: none;
}
.pi {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pi b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pi small {
  color: var(--mute);
  font-size: 0.8rem;
}
.pc {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: none;
}
.pc b {
  font-size: 1.1rem;
}
.pc small {
  font-size: 0.7rem;
  color: var(--mute);
}
.pt.gone {
  opacity: 0.92;
  border-style: dashed;
}
#pq {
  flex: 1;
}

/* profile */
.prof {
  padding: 0;
  overflow: hidden;
  text-align: center;
  padding-bottom: 16px;
}
.cover {
  height: 96px;
  background: linear-gradient(135deg, #071a2e, #0f3f8f 60%, #19a6e6);
  position: relative;
}
.cover::after {
  content: "🏑";
  position: absolute;
  right: 14px;
  top: 8px;
  font-size: 3.2rem;
  opacity: 0.15;
  transform: rotate(-14deg);
}
.pavw {
  margin-top: -52px;
  position: relative;
  display: flex;
  justify-content: center;
}
.pname {
  margin: 10px 0 0;
  font-size: 1.35rem;
}
.pc2 {
  margin: 2px 0 0;
}
.back {
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 14px;
}
.hero2 {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dd {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}
.dd.p {
  background: var(--p);
}
.dd.a {
  background: var(--a);
  opacity: 0.85;
}

/* signals + whistle */
.sigsvg {
  width: 64px;
  height: 80px;
  flex: none;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.whc .whl {
  display: flex;
  gap: 14px;
  align-items: center;
}
.whs {
  flex: none;
}

/* chart */
.chart {
  position: relative;
  margin: 4px 0 6px;
}
.chs {
  display: block;
  max-width: 100%;
}
.chs text {
  font-size: 11px;
}
.chs .gl {
  stroke: var(--line);
  stroke-width: 1;
}
.chs .gl.base {
  stroke: var(--mute);
  opacity: 0.5;
}
.chs .ln {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drw 1s ease-out forwards;
}
@keyframes drw {
  to {
    stroke-dashoffset: 0;
  }
}
.chs .dt {
  fill: var(--brand);
  stroke: var(--card);
  stroke-width: 2;
}
.chs .avg {
  stroke: var(--y);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.chs .avgt {
  fill: var(--mute);
  font-size: 10.5px;
}
.chs .cl {
  font-weight: 700;
  font-size: 11px;
  fill: var(--ink);
}
.chs .xh {
  stroke: var(--mute);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.chs .hd {
  fill: var(--brand);
  stroke: var(--card);
  stroke-width: 3;
  pointer-events: none;
}
.tip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: var(--card);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px #0004;
}
.tip[hidden] {
  display: none;
}

/* day-wise table */
.mxw {
  overflow-x: auto;
  margin-top: 10px;
  max-height: 70vh;
}
table.mx {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.78rem;
  width: auto;
}
.mx th,
.mx td {
  padding: 3px 0;
  min-width: 22px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.mx .sc {
  position: sticky;
  left: 0;
  background: var(--card);
  text-align: left;
  padding: 3px 8px;
  min-width: 84px;
  z-index: 1;
  border-right: 1px solid var(--line);
}
.mx .mh {
  background: var(--soft);
  font-size: 0.7rem;
  color: var(--mute);
  border-left: 1px solid var(--line);
}
.mx td.y {
  background: color-mix(in srgb, var(--p) 22%, transparent);
  color: var(--p);
  font-weight: 700;
}
.mx td.x {
  background: color-mix(in srgb, var(--a) 18%, transparent);
  color: var(--a);
}
.mx .tt {
  padding: 3px 8px;
  font-weight: 700;
  white-space: nowrap;
}
.mx tr:hover td:not(.y):not(.x) {
  background: var(--soft);
}

/* share dialog */
.shl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.shb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--soft);
}
.shb:hover {
  border-color: var(--brand);
}
#shdlg,
#eddlg,
#gpdlg {
  width: min(94vw, 520px);
  max-height: 92dvh;
  overflow: auto;
}
#shx {
  font-size: 0.9rem;
}

/* availability (active / injured / can't come / maybe) */
.lbl {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mute);
  margin: 0 0 3px;
}
dialog input[type="date"],
dialog input:not([type]) {
  width: 100%;
  box-sizing: border-box;
}
.avc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
}
.avc button {
  padding: 6px 11px;
  min-height: 0;
  font-size: 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
}
.avc button.on {
  color: #fff;
  border-color: transparent;
}
.avc button.on.active {
  background: var(--p);
}
.avc button.on.injured {
  background: var(--a);
}
.avc button.on.out {
  background: #64748b;
}
.avc button.on.maybe {
  background: #e08a00;
}
.avb {
  margin-top: 8px;
}
.avs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.88rem;
  margin: 2px 0 6px;
}
.avs .injured b {
  color: var(--a);
}
.avs .active b {
  color: var(--p);
}
.avs .none {
  color: var(--mute);
}
.avb > button {
  padding: 5px 12px;
  min-height: 0;
  font-size: 0.85rem;
}
#avdlg {
  width: min(560px, 94vw);
}
.avl {
  max-height: 55vh;
  overflow: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.avr {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.avn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 5px;
}
#pdlg {
  width: min(460px, 94vw);
}

/* ---------- v11 ---------- */
/* volume rows (menu + Rules page) */
#menu .mrow {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 10px 10px;
}
#menu .mrow .i {
  width: 1.5em;
  text-align: center;
  flex: none;
}
#menu .mrow input,
.volr input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--brand);
  width: 100%;
}
.volr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
}
.volr .mute {
  min-width: 3em;
  text-align: right;
}
.wsl {
  margin-top: 6px;
}
.wsr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.wsr:last-child {
  border-bottom: 0;
}
.wpl {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  font-size: 1rem;
}
/* schedule: one day at a time */
.wd.sel:not(.today) {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.wd.today.sel {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
}
.dayc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 10px;
  box-shadow: var(--sh);
  overflow: hidden;
}
.dayc.today {
  border-left: 4px solid var(--y);
}
.dayc.rest .dbadge {
  background: linear-gradient(135deg, #7d8fa3, #a5b4c4);
}
.dhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}
/* playing days: month calendar */
.calh {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.calh b {
  flex: 1;
  text-align: center;
}
.calh button {
  padding: 5px 12px;
}
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cw {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mute);
  padding: 2px 0;
}
.cd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  aspect-ratio: 1;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  background: var(--card);
}
.cd b {
  font-weight: 600;
  font-size: 0.92rem;
}
.cd i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--p);
}
.cd.dn i {
  background: var(--mute);
}
.cd.cx i {
  background: var(--a);
}
.cd.cx b {
  text-decoration: line-through;
  opacity: 0.7;
}
.cd.td {
  border-color: var(--y);
  box-shadow: inset 0 0 0 1px var(--y);
}
.cd.sel {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.cd.sel i {
  background: #fff;
}
.calk {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  margin: 10px 0 12px;
}
.calk .k {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
  background: var(--p);
}
.calk .k.dn {
  background: var(--mute);
}
.calk .k.cx {
  background: var(--a);
}
.daysel {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
/* availability reason */
.rsn {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  width: 100%;
}
.rsn input {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  padding: 7px 10px;
}
.rsn button {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* ---------- v12: home news, team photo, gallery, charts ---------- */
.hero .avi {
  flex: none;
  border: 2px solid #ffffff55;
}
.gph {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
  background: var(--soft);
}
.card .chips {
  margin-top: 10px;
}
.chh {
  margin: 20px 0 6px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.chh:first-of-type {
  margin-top: 8px;
}
.fx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.fx:last-of-type {
  border-bottom: 0;
}
.dbx {
  flex: none;
  width: 46px;
  text-align: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b2a4a, #1459d9);
  color: #fff;
  padding: 5px 0;
  line-height: 1.1;
}
.dbx b {
  display: block;
  font-size: 1.2rem;
}
.dbx span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.fxi {
  flex: 1;
  min-width: 0;
}
.fxi b {
  display: block;
  line-height: 1.25;
}
.fxi .mute {
  font-size: 0.82rem;
}
.nw {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.nw:last-child {
  border-bottom: 0;
}
.nw b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.nw span {
  font-size: 0.8rem;
}
.nw:active {
  background: var(--soft);
}
.ghost2 {
  float: right;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.4;
}
.tl {
  list-style: none;
  margin: 6px 0 0 6px;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--line);
}
.tl li {
  position: relative;
  padding: 0 0 14px 6px;
  line-height: 1.35;
}
.tl li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--card);
}
.tl .yr {
  font-weight: 800;
  color: var(--brand);
  margin-right: 4px;
}
.tl .mute {
  font-size: 0.88rem;
}
.gal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
@media (min-width: 640px) {
  .gal {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.gi {
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--soft);
}
.gi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#phdlg,
#imdlg {
  width: min(96vw, 720px);
  padding: 14px;
}
.bigimg {
  display: block;
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 12px;
  background: #000;
}
#imdlg .ctl,
#phdlg .ctl {
  margin-top: 10px;
}
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--ink);
  text-decoration: none;
}
.dng {
  color: var(--a);
}
/* charts */
.chart.scx {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cs {
  display: block;
}
.cs text {
  font-size: 10.5px;
  fill: var(--mute);
}
.cs .gl {
  stroke: var(--line);
  stroke-width: 1;
}
.cs .bv {
  font-size: 9.5px;
  fill: var(--ink);
  font-weight: 700;
}
.cs .hl {
  fill: var(--ink);
  font-size: 11px;
}
.cs .gb {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: gbup 0.6s ease-out both;
}
.cs .hb {
  transform-box: fill-box;
  transform-origin: 0 50%;
  animation: hbright 0.6s ease-out both;
}
.cs .da {
  animation: dnin 0.7s ease-out both;
}
@keyframes gbup {
  from {
    transform: scaleY(0);
  }
}
@keyframes hbright {
  from {
    transform: scaleX(0);
  }
}
@keyframes dnin {
  from {
    opacity: 0;
  }
}
.lg {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.82rem;
  color: var(--mute);
  margin: 4px 0;
}
.lg i,
.dn-l i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}
.lg i {
  margin-right: 5px;
}
.dn-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.cs .dn-c {
  fill: var(--ink);
  font-weight: 800;
  font-size: 26px;
}
.cs .dn-s {
  fill: var(--mute);
  font-size: 11px;
}
.dn-l {
  flex: 1;
  min-width: 150px;
}
.dn-l div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.dn-l div:last-child {
  border-bottom: 0;
}
.dn-l span:first-of-type {
  flex: 1;
}
@media (prefers-reduced-motion: reduce) {
  .cs .gb,
  .cs .hb,
  .cs .da {
    animation: none;
  }
}

/* ---------- v13: training ---------- */
.tbox {
  text-align: center;
  padding: 18px 8px;
  margin: 10px 0;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  transition: background 0.2s;
}
.tbox.wk {
  background: color-mix(in srgb, var(--p) 22%, var(--soft));
}
.tbox.rs {
  background: color-mix(in srgb, var(--y) 24%, var(--soft));
}
.tdisp {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.tl2 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pch {
  display: inline-flex;
}
.pch button:first-child {
  border-radius: 10px 0 0 10px;
}
.pch .x {
  border-radius: 0 10px 10px 0;
  border-left: 0;
  padding: 9px 10px;
  color: var(--mute);
}
button.x {
  padding: 6px 10px;
  color: var(--mute);
}
.hrbig {
  text-align: center;
}
.hrbig b {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hrbig span {
  color: var(--mute);
  margin-left: 6px;
}
.hlp {
  margin-top: 10px;
}
.hlp summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 600;
}
.rc {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.rc:last-of-type {
  border-bottom: 0;
}
.rc .ic {
  font-size: 1.5rem;
  flex: none;
}
.wr {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.wi {
  flex: 1;
  min-width: 0;
}
.wi b,
.wi > span {
  display: block;
}
.wi .mute {
  font-size: 0.85rem;
}
.zb {
  display: flex;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin: 5px 0;
  background: var(--soft);
}
.zb i {
  display: block;
  height: 100%;
}

/* ---------- v14: match timer, tips, bug reports ---------- */
.tq {
  display: flex;
  gap: 6px;
  margin: 10px 0 0;
}
.qc {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 0;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--mute);
}
.qc.done {
  background: color-mix(in srgb, var(--p) 18%, var(--soft));
  color: var(--p);
  border-color: transparent;
}
.qc.cur {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.sb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 10px;
}
.sb > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.sb b {
  font-size: 2.6rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sb .sbc {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mute);
}
.sb button {
  padding: 5px 10px;
  font-size: 0.85rem;
}
.tipb {
  margin-top: 6px;
  padding: 5px 12px;
  font-size: 0.85rem;
  color: var(--brand);
  border-color: var(--brand);
  background: none;
}
.bgc {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bgc:last-of-type {
  border-bottom: 0;
}
.bgc.fx2 {
  opacity: 0.7;
}
.bgh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- v15: take attendance, removed students, medals ---------- */
.tkh {
  display: flex;
  gap: 6px;
  align-items: center;
}
.tkh input[type="date"] {
  flex: 1;
  min-width: 0;
  width: auto;
}
.tkh button {
  padding: 9px 14px;
  font-weight: 700;
}
.tkinfo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.tkq {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.tkq input {
  flex: 1;
  min-width: 0;
}
.tk {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid transparent;
  border-radius: 10px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.tk.mp {
  background: color-mix(in srgb, var(--p) 9%, transparent);
  border-left-color: var(--p);
}
.tk.ma {
  background: color-mix(in srgb, var(--a) 9%, transparent);
  border-left-color: var(--a);
}
.tk[hidden] {
  display: none;
}
.tki {
  flex: 1;
  min-width: 0;
}
.tki b {
  display: block;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tki small {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
  align-items: center;
  color: var(--mute);
  font-size: 0.78rem;
}
.dots {
  display: flex;
  gap: 3px;
  margin-top: 3px;
}
.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}
.dots i.d1 {
  background: var(--p);
}
.dots i.d0 {
  background: var(--a);
}
.avb {
  display: inline-block;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--soft);
  border: 1px solid var(--line);
}
.avb.injured,
.avb.out {
  background: color-mix(in srgb, var(--a) 14%, transparent);
  color: var(--a);
  border-color: transparent;
}
.avb.maybe {
  background: color-mix(in srgb, var(--y) 22%, transparent);
  color: var(--ink);
  border-color: transparent;
}
.tk .tog button {
  min-width: 0;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 1rem;
}
@media (max-width: 420px) {
  .tk .tog button span {
    display: none;
  }
  .tk .tog button {
    min-width: 46px;
  }
}
.tksv {
  position: sticky;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);
  z-index: 6;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px #0b2a4a33;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
}
.tks {
  display: flex;
  gap: 14px;
}
.tkc {
  text-align: center;
  line-height: 1.1;
}
.tkc b {
  display: block;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
}
.tkc small {
  color: var(--mute);
  font-size: 0.7rem;
}
.tkc .gp {
  color: var(--p);
}
.tkc .ga {
  color: var(--a);
}
.tkprog {
  grid-column: 1/-1;
  grid-row: 2;
  height: 6px;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}
.tkprog i {
  display: block;
  height: 100%;
  background: var(--brand);
  transition: width 0.25s;
}
.tksv .big {
  width: auto;
  padding: 11px 18px;
  grid-row: 1;
  grid-column: 2;
}
/* removed students */
.rmbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.rmbar .mute {
  flex: 1;
  min-width: 70px;
}
.rmbar button {
  padding: 7px 12px;
  font-size: 0.88rem;
}
.rck2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
}
.rck2 input,
.rck input {
  width: 18px;
  height: 18px;
  padding: 0;
}
.rck {
  flex: none;
  display: flex;
  align-items: center;
  padding: 6px 2px 6px 0;
}
.rmc {
  align-items: flex-start;
}
.rmc.sel {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent);
}
.rmc .pi {
  flex: 1;
  min-width: 0;
}
.rca {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.rca button,
.rca a.btn {
  padding: 6px 11px;
  font-size: 0.85rem;
  flex: none;
}
/* medals */
.pod {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 6px;
}
.pod > div {
  flex: 1;
  max-width: 130px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 4px 0;
  border-radius: 12px 12px 0 0;
  background: var(--soft);
  border: 1px solid var(--line);
  border-bottom: 0;
}
.pod .pm {
  font-size: 2rem;
  line-height: 1.1;
}
.pod b {
  font-size: 0.85rem;
  line-height: 1.2;
  word-break: break-word;
}
.pod small {
  color: var(--mute);
  font-weight: 700;
}
.pod i {
  display: block;
  width: 100%;
  margin-top: 6px;
  border-radius: 0;
}
.pod .pc0 {
  padding-top: 14px;
  background: color-mix(in srgb, #f5c400 20%, var(--soft));
}
.pod .pc0 i {
  height: 34px;
  background: #f5c400;
}
.pod .pc1 {
  background: color-mix(in srgb, #aeb8c4 22%, var(--soft));
}
.pod .pc1 i {
  height: 20px;
  background: #aeb8c4;
}
.pod .pc2 {
  background: color-mix(in srgb, #cd7f32 20%, var(--soft));
}
.pod .pc2 i {
  height: 12px;
  background: #cd7f32;
}
.tier {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 10px 0;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.tier > span {
  font-size: 2.2rem;
  line-height: 1;
}

/* ---------- v16: public page, crosses, open-in-app, QR scanner ---------- */
#pub {
  min-height: 100vh;
  min-height: 100dvh;
}
#pub main {
  padding-bottom: 40px;
}
.plog {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.phero {
  padding: 22px 18px;
  align-items: center;
}
.phero .plogo {
  border-radius: 18px;
  box-shadow: 0 6px 18px #0006;
  flex: none;
}
.phero h2 {
  font-size: 1.5rem;
}
.phb {
  width: 100%;
  margin-top: 6px;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.phb button {
  flex: 1 1 180px;
}
.pghost {
  background: #ffffff1c;
  border-color: #ffffff40;
  color: #fff;
}
.fts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 700px) {
  .fts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.ft {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  padding: 12px;
  border-radius: 14px;
  background: var(--soft);
  min-height: 96px;
}
.ft:hover {
  border-color: var(--brand);
}
.ft .ic {
  font-size: 1.5rem;
  line-height: 1.2;
}
.ft b {
  font-size: 0.95rem;
  line-height: 1.25;
}
.ft .mute {
  font-size: 0.78rem;
  line-height: 1.3;
}
.fts2 .ft {
  min-height: 0;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 12px 6px;
}
.fts2 .ft b {
  font-size: 0.85rem;
}
.tms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  padding: 12px 6px;
  background: var(--soft);
  border-radius: 14px;
}
.tm b {
  line-height: 1.2;
  font-size: 0.95rem;
}
.tm .mute {
  font-size: 0.8rem;
}
@media (max-width: 380px) {
  .tms {
    grid-template-columns: 1fr 1fr;
  }
}
.pstrip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: 8px;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}
.pstrip img {
  height: 92px;
  width: auto;
  border-radius: 10px;
  flex: none;
  scroll-snap-align: start;
  cursor: pointer;
}
.pcta {
  text-align: center;
}
/* crosses */
.lgx,
.dx {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
  background: var(--soft);
  z-index: 2;
}
.lg-card {
  position: relative;
}
dialog {
  position: relative;
}
.hx {
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff1c;
  border: 1px solid #ffffff30;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}
.hx:hover {
  background: #ffffff30;
}
.mbtn.open {
  background: #ffffff38;
}
.mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 6px 10px;
  position: sticky;
  top: -8px;
  background: var(--card);
  z-index: 1;
  border-bottom: 1px solid var(--line);
  margin: -8px -8px 4px;
  padding-top: 8px;
}
.mx {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  background: var(--soft);
  margin-right: 6px;
}
/* QR scanner */
.qrv {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1/1;
  max-height: 60vh;
  margin-bottom: 8px;
}
.qrv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qrf {
  position: absolute;
  inset: 18%;
  border: 3px solid #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 999px #0006;
  pointer-events: none;
}
/* day-by-day date list (kept closed) */
.dlist {
  margin-top: 10px;
}
.dlist summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 600;
  padding: 4px 0;
}
#oia h2,
#qrdlg h2 {
  padding-right: 30px;
}
#oia .big {
  padding: 12px;
}
.mbtn {
  background: #ffffff1c;
  border: 1px solid #ffffff30;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.mbtn:hover {
  background: #ffffff30;
}
.phero .ph2 {
  flex: 1;
  min-width: 150px;
}
.phero .ph2 .mute {
  display: block;
  margin-top: 2px;
}

/* ---------- v17: cropper, cover pictures, welcome hero, push guide ---------- */
#crdlg {
  width: min(94vw, 420px);
}
.crv {
  display: grid;
  place-items: center;
  background: #0b1220;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 10px;
}
.crv canvas {
  display: block;
  border-radius: 8px;
  touch-action: none;
  cursor: grab;
  background: #000;
  max-width: 100%;
}
.crv canvas:active {
  cursor: grabbing;
}
.crz {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 2px;
}
.crz input {
  flex: 1;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--brand);
  width: 100%;
}
.crar {
  margin: 0 0 6px;
}
.cover {
  background-size: cover;
  background-position: center;
}
.cover.has::after {
  display: none;
}
.wel {
  display: block;
  padding: 18px 16px;
  background-size: cover;
  background-position: center;
}
.wel::after {
  font-size: 6rem;
  opacity: 0.08;
}
.wtop {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.wtx {
  min-width: 0;
}
.wg {
  display: block;
  font-size: 0.9rem;
  color: #ffffffcc;
}
.wel h2 {
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}
.wnext {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff1f;
  border: 1px solid #ffffff2e;
  backdrop-filter: blur(4px);
}
.wnext .wl {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffffb8;
}
.wnext div {
  font-size: 1.05rem;
  margin-top: 2px;
}
.wnext small {
  color: #ffffffc8;
  font-size: 0.86rem;
}
.wel .wst {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
}
.wq {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-style: italic;
  color: #ffffffc8;
  font-size: 0.9rem;
}
.steps {
  padding-left: 20px;
  margin: 10px 0;
}
.steps li {
  margin-bottom: 14px;
}
.steps code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.84rem;
  word-break: break-all;
}
.cp {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}
.cp input {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 400;
}
#pshdlg {
  width: min(96vw, 480px);
  max-height: 90dvh;
  overflow: auto;
}

/* ---------- v18: day/night button, announcements, tags ---------- */
.thb {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ffffff44;
  background: #ffffff1f;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.thb:active {
  transform: scale(0.92);
}
body,
.card,
header,
dialog,
input,
select,
textarea,
button {
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
button.sm {
  padding: 3px 10px;
  font-size: 0.85rem;
  margin-left: 6px;
  vertical-align: middle;
}
.ann h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.an {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 10px;
  background: var(--soft);
}
.an.mine {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}
.an.pin {
  border-left: 4px solid var(--y);
}
.an h3 {
  margin: 2px 0 2px;
  font-size: 1.02rem;
}
.anh {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.anh:empty {
  display: none;
}
.ant {
  margin: 4px 0 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.anm {
  font-size: 0.8rem;
  margin-top: 6px;
}
.tgs,
.tgsel {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 4px 0;
}
.tg {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--mute);
}
.tg.me {
  background: color-mix(in srgb, var(--brand) 16%, transparent);
  border-color: transparent;
  color: var(--brand);
}
.tdot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--card);
}
.week .wd {
  position: relative;
}
.tgl {
  max-height: 38vh;
  overflow: auto;
  margin: 8px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.tgp {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 9px 12px;
}
.tgp:last-child {
  border-bottom: 0;
}
.tgp b {
  display: block;
}
.tgp small {
  display: block;
  color: var(--mute);
}
.tgp .ck {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  color: #fff;
}
.tgp.on {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.tgp.on .ck {
  background: var(--brand);
  border-color: var(--brand);
}
.tgg button[aria-pressed="true"] {
  font-weight: 700;
}
.chk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
}
.chk input {
  width: auto;
}
#tgdlg,
#andlg {
  max-height: 90vh;
  overflow: auto;
}

.cd i.wk {
  background: none;
  border: 2px dotted var(--mute);
  width: 9px;
  height: 9px;
}
.calk .k.wk {
  background: none;
  border: 2px dotted var(--mute);
}

.net {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 24px);
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: #1f2a37;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 6px 20px #0006;
}
.net[hidden] {
  display: none;
}
.net button {
  padding: 5px 12px;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* ---------- v19: news links, gallery sections, playing-day tags ---------- */
.nw {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nw .nwt {
  flex: 1;
  min-width: 0;
}
.nw .nwt b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.nwa {
  flex: none;
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
}
.nw:hover .nwa {
  background: var(--brand);
  color: #fff;
}
.gtabs {
  margin: 6px 0 10px;
}
.gtabs button small {
  opacity: 0.75;
  margin-left: 2px;
}
.gf {
  margin: 0;
  min-width: 0;
}
.gf figcaption {
  font-size: 0.74rem;
  color: var(--mute);
  margin-top: 3px;
  line-height: 1.25;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.gal {
  align-items: start;
}
.gmeta {
  margin: 8px 0 2px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.gdesc {
  margin: 2px 0 6px;
  overflow-wrap: anywhere;
}
u.tdot {
  text-decoration: none;
}
#upddlg,
#phdlg {
  max-height: 92vh;
  overflow: auto;
}
.gf .gi {
  display: block;
  width: 100%;
}

/* ---------- v21: icons instead of text, back arrows instead of crosses ---------- */
.svgi {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.28em;
  flex: none;
}
.svgi.hi {
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.35em;
  color: var(--brand);
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
button.ib,
a.ib {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--brand);
  line-height: 1;
}
button.ib:not(.pri),
a.ib:not(.pri) {
  background: var(--card);
  border: 1.5px solid color-mix(in srgb, var(--brand) 45%, var(--line));
}
button.ib .svgi,
a.ib .svgi {
  width: 22px;
  height: 22px;
  vertical-align: 0;
}
button.ib:not(.pri):hover,
a.ib:not(.pri):hover {
  background: color-mix(in srgb, var(--brand) 10%, var(--card));
}
button.pri.ib {
  color: #fff;
  border: 0;
}
button.pri.ib:hover {
  filter: brightness(1.06);
}
button.bi,
a.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.bi .svgi.lead {
  width: 1.15em;
  height: 1.15em;
  vertical-align: 0;
}
button.ib.dng,
button.dng .svgi {
  color: var(--a);
}
button.ib.dng {
  border-color: color-mix(in srgb, var(--a) 45%, var(--line));
}
/* back arrow on every dialog and on the login page, top-left */
.lgx,
.dx {
  left: 10px;
  right: auto;
  color: var(--brand);
  box-shadow: 0 1px 6px #0b2a4a22;
}
.lgx .svgi,
.dx .svgi,
.hx .svgi,
.mx .svgi,
.mbtn .svgi,
.thb .svgi {
  width: 20px;
  height: 20px;
  vertical-align: 0;
}
dialog > .dx + h2,
dialog > .dx + h2 + p {
  padding-left: 0;
}
dialog > .dx + h2 {
  padding-left: 44px;
  min-height: 36px;
  display: flex;
  align-items: center;
  margin-top: 0;
}
.lg-card .lgx ~ img.lg-logo {
  margin-top: 10px;
}
/* header: back arrow sits on the left, next to the logo */
header {
  justify-content: flex-start;
  gap: 10px;
}
header > .hb {
  margin-left: auto;
}
.hx {
  flex: none;
}
.hb .thb .svgi,
.hb .mbtn .svgi {
  color: #fff;
}
/* bottom bar: icons only (names are kept for screen readers and as tooltips) */
nav .i .svgi {
  width: 26px;
  height: 26px;
  vertical-align: 0;
}
nav button {
  gap: 0;
}
nav button .vh {
  position: absolute;
}
.net button.ib {
  min-width: 34px;
  height: 34px;
  background: transparent;
  border-color: #ffffff66;
  color: #fff;
}
#menu .mi .i .svgi {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
}
#menu .mh .mx .svgi {
  width: 18px;
  height: 18px;
}
.pushask {
  text-align: center;
}
.pushask .bigic {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  margin: 6px 0 4px;
}
.pushask .bigic .svgi {
  width: 32px;
  height: 32px;
  vertical-align: 0;
}
.pushask h2 {
  justify-content: center;
  padding-left: 0 !important;
}
.crrot {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 2px;
}

button.sm.ib {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
}

/* when a back arrow is showing, the logo makes room so the title stays on one line */
header:has(#xb:not([hidden])) .brand img {
  display: none;
}

/* ---------- v22: blue outline icons in rounded square tiles, no zoom, text size, six-box code, help ---------- */
:root {
  --ic: #1f6fb5;
  --ic-bg: #eef6fd;
  --ic-line: #7db4e0;
}
:root[data-theme="dark"] {
  --ic: #6cb6f0;
  --ic-bg: #10263d;
  --ic-line: #2f6a9c;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ic: #6cb6f0;
    --ic-bg: #10263d;
    --ic-line: #2f6a9c;
  }
}
html {
  touch-action: manipulation;
}
input,
select,
textarea {
  font-size: max(16px, 1rem);
} /* phones zoom into small fields; 16px stops that */
.svgi {
  stroke-width: 2;
}
button.ib:not(.pri):not(.dng),
a.ib:not(.pri) {
  background: var(--ic-bg);
  border: 2px solid var(--ic-line);
  border-radius: 10px;
  color: var(--ic);
}
button.ib:not(.pri):hover {
  background: color-mix(in srgb, var(--ic) 14%, var(--card));
}
nav .i {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ic-bg);
  border: 2px solid var(--ic-line);
  color: var(--ic);
  transition: transform 0.15s;
}
nav button.on .i {
  background: var(--ic);
  border-color: var(--ic);
  color: #fff;
}
nav button.on .i .svgi {
  color: #fff;
}
nav .i .svgi {
  width: 22px;
  height: 22px;
}
#menu .mi .i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ic-bg);
  border: 2px solid var(--ic-line);
  color: var(--ic);
  flex: none;
}
.hb .thb .svgi,
.hb .mbtn .svgi {
  color: #fff;
}
.six {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 8px 0;
}
.six input {
  width: 46px;
  height: 54px;
  padding: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 2px solid var(--ic-line);
  border-radius: 10px;
  background: var(--ic-bg);
  caret-color: var(--ic);
}
.six input:focus {
  outline: 0;
  border-color: var(--ic);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ic) 25%, transparent);
}
.ft {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.faq details {
  border: 1.5px solid var(--ic-line);
  background: var(--ic-bg);
  border-radius: 10px;
  margin: 0 0 8px;
  padding: 0 12px;
}
.faq summary {
  cursor: pointer;
  padding: 11px 0;
  font-weight: 700;
  color: var(--ic);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  float: right;
  font-weight: 800;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  margin: 0 0 12px;
}
.help .ok {
  color: var(--p);
  font-weight: 700;
}

.tabout {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ic-bg);
  border: 1.5px solid var(--ic-line);
  text-align: center;
  font-size: 0.92rem;
}
