@property --page { syntax: '<color>'; inherits: true; initial-value: #f6f8f0; }
@property --wash { syntax: '<color>'; inherits: true; initial-value: #eaf1df; }
:root {
  color-scheme: light;
  --page: #f6f8f0;
  --wash: #eaf1df;
  --paper: #fff;
  --ink: #172b31;
  --muted: #4c6064;
  --line: #dce6d5;
  --stroke: #c8d8bf;
  --accent: #3c663a;
  --accent-strong: #30562f;
  --tone: #edf3e8;
  --shadow: #36572d12;
  --radius: 18px;
  --ease: cubic-bezier(.2, .72, .24, 1);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--page);
  transition: --page .35s var(--ease), --wash .35s var(--ease), color .25s var(--ease);
}

:root[data-theme="blue"] {
  --page: #f1f6fc; --wash: #e8f1fb; --ink: #142949; --muted: #4a5e79;
  --line: #dbe6f3; --stroke: #cbdcf0; --accent: #345e9e; --accent-strong: #284e89;
  --tone: #eaf1fb; --shadow: #284e8612;
}

:root[data-theme="pink"] {
  --page: #fcf5f6; --wash: #f8e8ee; --ink: #282639; --muted: #625568;
  --line: #efdee4; --stroke: #ebcdd8; --accent: #a24665; --accent-strong: #883751;
  --tone: #f8eaef; --shadow: #823c5812;
}

:root { --blue: var(--accent); --blue-dark: var(--accent-strong); --blue-soft: var(--tone); }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wrap { width: min(1696px, 91.5%); margin-inline: auto; }
.icon { display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; }
.icon svg { width: 100%; height: 100%; }
.button, .icon-button, .text-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 9px; color: var(--blue-dark);
  background: var(--blue-soft); padding: 0 15px; min-height: 42px;
  font-size: 14px; font-weight: 650; white-space: nowrap;
  transition: background .18s var(--ease), transform .18s var(--ease), color .18s var(--ease);
}
.button:hover:not(:disabled) { background: color-mix(in srgb, var(--tone) 84%, var(--accent)); }
.button:active:not(:disabled), .icon-button:active, .text-button:active { transform: translateY(1px); }
.icon-button { padding: 0; width: 36px; min-height: 36px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--blue-soft); color: var(--blue); }
.text-button { background: transparent; padding: 0; color: var(--muted); font-weight: 500; }
.text-button .icon { width: 14px; height: 14px; }
.text-button:hover { color: var(--blue); }

.library-page, .admin-page { min-height: 100vh; display: flex; flex-direction: column; position: relative; isolation: isolate; }
.library-page::before, .admin-page::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 76% 420px at 47% 12px, var(--wash), transparent),
    radial-gradient(ellipse 50% 530px at 84% 100%, var(--wash), transparent), var(--page);
}
.page-ornaments { position: absolute; inset: 65px 0 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ornament-set { position: absolute; inset: 0; opacity: 0; transition: opacity .38s var(--ease); }
:root:not([data-theme]) [data-ornament-theme="green"],
:root[data-theme="green"] [data-ornament-theme="green"],
:root[data-theme="blue"] [data-ornament-theme="blue"],
:root[data-theme="pink"] [data-ornament-theme="pink"] { opacity: .78; }
.ornament-side { position: absolute; inset-block: 0; width: clamp(45px, 8vw, 125px); height: 100%; }
.ornament-side.on-left { left: 0; }
.ornament-side.on-right { right: 0; }
.ornament-line, .ornament-branch { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
[data-ornament-theme="green"] .ornament-line { stroke: #9eb990; }
[data-ornament-theme="blue"] .ornament-line { stroke: #8eb7e4; }
[data-ornament-theme="pink"] .ornament-line { stroke: #d9a2b4; }
.ornament-branch { stroke: #ab9c81; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 4; }
.topbar-inner { width: min(1800px, 94%); min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(22px, 1.8vw, 30px); font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
:root:not([data-theme]) .brand img, :root[data-theme="green"] .brand img { filter: hue-rotate(268deg) saturate(.55); }
:root[data-theme="pink"] .brand img { filter: hue-rotate(110deg) saturate(.82); }
.brand strong { color: var(--accent); margin-left: 2px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar .contact-button { color: #315831; background: #edf3e8; }
.topbar .contact-button:hover { background: #e2edda; }
.topbar .account-button { color: #284e89; background: #edf3fc; }
.topbar .account-button:hover { background: #e1ebfb; }
.topbar-actions .button { min-height: 40px; border-radius: 999px; }
.theme-picker { position: relative; }
.theme-trigger { list-style: none; border-radius: 50%; width: 36px; }
.theme-trigger::-webkit-details-marker { display: none; }
.theme-options { position: absolute; top: calc(100% + 10px); right: -6px; display: grid; gap: 3px; width: 137px; padding: 6px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); box-shadow: 0 10px 30px var(--shadow); }
.theme-options button { display: flex; align-items: center; gap: 9px; padding: 0 9px; min-height: 38px; color: var(--ink); background: transparent; border: 0; border-radius: 8px; text-align: left; font-size: 14px; }
.theme-options button:hover, .theme-options button[aria-pressed="true"] { background: var(--tone); }
.theme-options button span { width: 13px; height: 13px; border-radius: 50%; background: #72976b; }
.theme-options [data-theme-choice="blue"] span { background: #7d9ec7; }
.theme-options [data-theme-choice="pink"] span { background: #ce8fa5; }
.catalog { flex: 1; padding-bottom: 60px; }
.controls { display: grid; justify-items: center; gap: 19px; padding: 36px 0 34px; }
.search-box {
  display: flex; align-items: center; gap: 11px; min-width: 0; width: min(690px, 94%);
  min-height: 48px; padding: 0 12px 0 18px; background: var(--paper);
  border: 1px solid var(--stroke); border-radius: 999px; color: var(--accent);
  box-shadow: 0 2px 6px var(--shadow);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--tone); }
.search-box > .icon { width: 21px; height: 21px; }
.search-box input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0; border: 0;
  background: transparent; outline: none; font-size: 16px; color: var(--ink);
}
.search-box input::placeholder { color: var(--muted); }
.search-box input::-webkit-search-cancel-button { display: none; }
.clear-search { border-radius: 50%; }
.grades { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.filter {
  color: var(--ink); border: 1px solid var(--stroke); background: var(--paper);
  padding: 0 16px; min-height: 38px; border-radius: 999px; font-size: 14px; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--paper); font-weight: 700; }
.filter:active { transform: translateY(1px); }
.results-bar {
  display: flex; justify-content: space-between; align-items: center; min-width: 0;
  gap: 12px; padding-bottom: 15px; margin-bottom: 19px; border-bottom: 1px solid var(--line);
}
.results-heading { display: flex; align-items: baseline; gap: 11px; }
.results-heading h2 { font-size: clamp(20px, 1.85vw, 27px); font-weight: 750; margin: 0; letter-spacing: -.03em; white-space: nowrap; }
#count { font-size: 14px; color: var(--muted); white-space: nowrap; }
.volume-control {
  display: flex; gap: 2px; align-items: center; padding: 3px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--tone);
}
.volume-control .filter { min-height: 31px; padding: 0 12px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; background: transparent; }
.volume-control .filter[aria-pressed="true"] { background: var(--paper); color: var(--blue-dark); box-shadow: 0 1px 3px #263c6020; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.15vw, 36px) clamp(18px, 1.9vw, 30px); }
.grid.is-updated { animation: enter .25s var(--ease) both; }
@keyframes enter { from { opacity: .48; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.card {
  min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  box-shadow: 0 3px 8px var(--shadow);
  transition: transform .23s var(--ease), box-shadow .23s var(--ease), border-color .23s var(--ease);
}
.thumb {
  position: relative; aspect-ratio: 16 / 9; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; border-bottom: 1px solid var(--line); background: var(--tone);
}
.thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .26s var(--ease), transform .36s var(--ease);
}
.thumb img.is-ready { opacity: 1; }
.skeleton .thumb, .thumb.is-loading { animation: breathe 1.4s ease-in-out infinite alternate; }
@keyframes breathe { to { background-color: #f0f3f8; } }
.skeleton .card-title, .skeleton .card-description { height: 12px; border-radius: 4px; background: #e9eef5; width: 64%; }
.skeleton .card-description { width: 85%; }
.thumb-fallback { color: #617592; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.grade-chip {
  position: absolute; top: 8px; left: 8px; display: flex; align-items: center; gap: 7px;
  min-height: 27px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; z-index: 1;
  background: #fffffff5; color: var(--ink); font-size: 12px; font-weight: 700;
  box-shadow: 0 1px 3px #1422400d;
}
.grade-chip .volume { border-left: 1px solid var(--line); padding-left: 7px; font-weight: 500; color: var(--muted); }
.card-body { position: relative; padding: 13px 40px 15px 16px; flex: 1; display: flex; flex-direction: column; min-height: 101px; }
.card-heading { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card-title { font-size: clamp(16px, 1.06vw, 20px); line-height: 1.45; margin: 0; font-weight: 750; overflow-wrap: anywhere; text-wrap: pretty; }
.card .card-arrow { position: absolute; right: 14px; bottom: 14px; color: var(--accent); transition: color .2s var(--ease), transform .2s var(--ease); }
.card-description { font-size: clamp(14px, 1.08vw, 16px); line-height: 1.5; margin: 6px 0 0; color: var(--muted); text-wrap: pretty; overflow-wrap: anywhere; }
.card:focus-visible { outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  a.card:hover { transform: translateY(-3px); border-color: var(--stroke); box-shadow: 0 9px 22px var(--shadow), 0 3px 7px var(--shadow); }
  a.card:hover .card-title, a.card:hover .card-arrow { color: var(--blue); }
  a.card:hover .card-arrow { transform: translate(2px, -2px); }
  a.card:hover img { transform: scale(1.024); }
}
.empty {
  display: grid; justify-items: center; align-content: center; min-height: 295px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: #ffffffa8; padding: 27px;
}
.empty > .icon { width: 34px; height: 34px; margin-bottom: 14px; color: #647fa7; }
.empty h3 { margin: 0; font-size: 19px; }
.empty p { margin: 9px 0 19px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  min-height: 77px; display: flex; align-items: center; justify-content: space-between;
  gap: 8px 18px; flex-wrap: wrap; color: var(--muted); font-size: 13px;
}

dialog {
  width: min(420px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 18px;
  color: var(--ink); background: var(--paper); box-shadow: 0 24px 70px #17274525; padding: 22px;
}
dialog[open] { animation: enter .2s var(--ease) both; }
dialog::backdrop { background: #18243b56; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; }
.dialog-head h2 { margin: 0; font-size: 20px; }
dialog p { color: var(--muted); font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.wechat {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--page);
}
.wechat-label { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
#wechat-value { overflow-wrap: anywhere; }
.copy-status { margin: 10px 0 0; }
.copy-status:empty { margin: 0; }

.brand strong, .search-box, .filter, .volume-control, .card, .card-body, .card-arrow, .topbar, .footer {
  transition-property: color, background, border-color, box-shadow, transform;
  transition-duration: .28s; transition-timing-function: var(--ease);
}
dialog[open] { animation: dialog-in .22s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(5px) scale(.985); } to { opacity: 1; transform: none; } }
@supports (transition-behavior: allow-discrete) {
  dialog {
    opacity: 0; transform: translateY(5px) scale(.985);
    transition: opacity .2s var(--ease), transform .2s var(--ease), display .2s allow-discrete, overlay .2s allow-discrete;
  }
  dialog[open] { opacity: 1; transform: none; animation: none; }
  @starting-style { dialog[open] { opacity: 0; transform: translateY(5px) scale(.985); } }
}
.dialog-emblem { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: var(--accent); background: var(--tone); }
.dialog-emblem .icon { width: 22px; height: 22px; }
.account-dialog { width: min(426px, calc(100% - 28px)); padding: clamp(20px, 5vw, 29px); border-radius: 22px; }
.account-dialog h2 { font-size: 25px; margin: 14px 0 3px; letter-spacing: -.035em; }
.account-dialog h2 + p { margin: 0 0 19px; }
#login-form, .member-form { display: grid; gap: 13px; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; margin: 0; background: var(--tone); }
.role-choice label span { display: grid; min-height: 36px; place-items: center; cursor: pointer; border-radius: 7px; color: var(--muted); font-size: 13px; }
.role-choice input:checked + span { background: var(--paper); color: var(--accent-strong); font-weight: 700; box-shadow: 0 1px 5px var(--shadow); }
.role-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.field { display: grid; font-size: 14px; font-weight: 650; gap: 5px; min-width: 0; }
.field input { width: 100%; min-height: 44px; border: 1px solid var(--stroke); border-radius: 10px; padding: 8px 11px; color: var(--ink); background: var(--paper); font-weight: 500; }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 45px; }
.password-toggle { position: absolute; right: 4px; bottom: 4px; }
.primary-button { background: var(--accent); color: #fff; border-radius: 11px; min-height: 44px; }
.primary-button:hover:not(:disabled) { background: var(--accent-strong); }
.account-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.form-feedback { color: #912b39; margin: 12px 0 0; }
.site-toast { position: fixed; left: 50%; bottom: 24px; z-index: 6; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 11px 17px; border: 1px solid var(--stroke); border-radius: 999px; box-shadow: 0 5px 18px var(--shadow); color: var(--ink); background: var(--paper); font-size: 14px; }
.site-toast:empty { visibility: hidden; }
.admin { padding-block: 36px 52px; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin-bottom: 19px; }
.admin h1 { font-size: clamp(25px, 3vw, 36px); margin: 0; }
.admin h2 { font-size: 19px; margin: 0 0 13px; }
.admin-section { margin-bottom: 24px; }
.admin-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 3px 8px var(--shadow); }
.admin table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.admin th { background: var(--tone); white-space: nowrap; }
.admin td, .admin th { border-bottom: 1px solid var(--line); padding: 12px 15px; }
.admin tbody tr:last-child td { border-bottom: 0; }
.admin td:last-child { min-width: 122px; }
.admin td:first-child { overflow-wrap: anywhere; }
.admin .row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin .row-actions .button { min-height: 35px; padding-inline: 9px; font-size: 13px; }
.admin .member-state { white-space: nowrap; color: var(--muted); }
.admin .member-state.online { color: var(--accent-strong); font-weight: 700; }
.session-detail { display: block; color: var(--muted); margin-top: 4px; font-size: 12px; }
.admin-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 13px; margin-top: 12px; }
.admin-pagination .button { min-height: 36px; }
.member-form { margin-top: 13px; }
.member-form p { margin: 0; }
.member-status-toggle { display: flex; align-items: center; gap: 7px; min-height: 35px; font-size: 14px; }
.member-status-toggle input { width: 17px; height: 17px; accent-color: var(--accent); }

.player-page { background: #151d2a; }
.player {
  width: 100%; height: 100vh; height: 100dvh; display: flex; flex-direction: column;
  overflow: hidden; margin: 0; background: #151d2a;
}
.player-bar {
  display: grid; grid-template-columns: 1fr minmax(0, auto) 1fr; align-items: center;
  gap: 10px 18px; padding: 10px 22px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.back-button { justify-self: start; background: var(--paper); border-color: var(--line); }
.fullscreen-button { justify-self: end; background: var(--blue); color: var(--paper); }
.fullscreen-button:hover:not(:disabled) { background: var(--blue-dark); }
.player-heading { text-align: center; min-width: 0; }
.player-heading h1 { font-size: 18px; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.player-heading p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.stage { flex: 1; position: relative; min-height: 0; overflow: hidden; display: grid; place-items: center; }
.frame-shell { position: relative; overflow: hidden; margin: auto; flex: none; }
.frame-shell[data-mode="responsive"] { width: 100%; height: 100%; }
.frame-shell iframe { display: block; position: absolute; top: 0; left: 0; border: 0; transform-origin: top left; background: white; }
.frame-shell[data-mode="responsive"] iframe { width: 100%; height: 100%; }
.player-status {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 12px;
  text-align: center; padding: 20px; background: #151d2a; color: #edf2fb; overflow: auto;
}
.player-status strong { font-size: 18px; }
.player-status p { margin: 0; color: #b7c5d9; font-size: 14px; line-height: 1.6; max-width: 38em; }
.player-status p:empty { display: none; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.spinner { width: 30px; height: 30px; border: 3px solid #344761; border-top-color: #9eb9ef; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-note { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 8px 14px; background: #222e41; color: #d4ddec; font-size: 12px; line-height: 1.6; text-wrap: pretty; }
.player:fullscreen .player-note { display: none; }
.player:fullscreen .player-bar { padding-block: 4px; }
.fullscreen-message {
  position: absolute; right: 14px; bottom: 14px; max-width: calc(100% - 28px); z-index: 3;
  padding: 10px 13px; border-radius: 8px; background: #253753; color: white; font-size: 13px;
}

@media (max-width: 1199px) {
  .wrap { width: calc(100% - 64px); }
  .grid { gap: 16px; }
  .card-body { padding: 13px 37px 15px 13px; }
}
@media (max-width: 1023px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
  .wrap { width: calc(100% - 48px); }
  .controls { padding-top: 34px; padding-bottom: 28px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-inner { min-height: 64px; gap: 8px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand img { width: 29px; height: 29px; }
  .contact-button { padding: 0 9px; min-height: 40px; font-size: 12px; gap: 5px; }
  .contact-button .icon { width: 16px; height: 16px; }
  .controls { padding: 26px 0; gap: 17px; }
  .grades { gap: 6px; }
  .grades .filter { min-height: 38px; font-size: 13px; padding-inline: 13px; }
  .results-heading { gap: 6px; }
  .results-heading h2 { font-size: 17px; }
  .volume-control .filter { padding-inline: 8px; }
  .grid { gap: 13px; }
  .catalog { padding-bottom: 39px; }
  .footer-inner { padding-block: 12px; min-height: 0; }
  .footer-inner button { min-height: 32px; }
  .player-bar { padding: 7px 10px; gap: 7px 9px; }
  .player-bar .button { min-height: 40px; padding-inline: 7px; font-size: 12px; gap: 4px; }
  .player-bar .icon { width: 15px; height: 15px; }
  .player-heading h1 { font-size: 15px; }
  .player-heading p { font-size: 11px; }
}
@media (max-width: 535px) {
  .page-ornaments { opacity: .49; }
  .topbar-inner { padding-block: 8px; flex-wrap: wrap; justify-content: center; gap: 4px 14px; width: 94%; }
  .brand { font-size: 17px; }
  .brand img { width: 27px; height: 27px; }
  .topbar-actions { gap: 5px; }
  .topbar-actions .button { min-height: 38px; font-size: 12px; padding-inline: 8px; gap: 4px; }
  .topbar-actions .icon { width: 16px; height: 16px; }
  .theme-trigger { width: 31px; }
  .theme-options { right: auto; left: 0; }
  .results-bar { flex-wrap: wrap; }
}
@media (max-width: 460px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card-body { min-height: 85px; padding-left: 14px; }
  .footer-inner { gap: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
