@font-face {
  font-family: 'Micheng Song';
  src: local('Noto Serif SC'), local('Noto Serif SC VF'), local('Songti SC'), local('SimSun');
  font-weight: 400 900;
}
@font-face {
  font-family: 'Micheng Hei';
  src: local('Noto Sans SC'), local('Noto Sans SC VF'), local('PingFang SC'), local('Microsoft YaHei');
  font-weight: 400 900;
}
:root {
  --paper: #fffcf7;
  --cream: #f6f2ea;
  --ink: #30271e;
  --muted: #675a4c;
  --copper: #a04621;
  --line: #ded4c7;
  --song: 'Micheng Song', 'Songti SC', 'Noto Serif CJK SC', SimSun, STSong, serif;
  --hei: 'Micheng Hei', 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', system-ui, sans-serif;
}
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 15px/1.55 var(--hei); }
h1 { font-family: var(--song); font-weight: 900; line-height: 1.18; }
a { color: inherit; }
button, input, select { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; }
.brand { display: inline-flex; flex: none; }
.brand img { display: block; width: 118px; max-width: 30vw; height: auto; }
.listing-accent { font: italic 800 1.2em/1.35 var(--hei); color: var(--copper); }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.mobile-tabs { display: none; }
@media (max-width: 767px), (pointer:coarse) and (max-height:600px) and (orientation:landscape) {
  .mobile-tabs {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 max(6px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px, env(safe-area-inset-left));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .mobile-tabs a { display: grid; min-height: 51px; place-content: center; text-align: center; text-decoration: none; font-size: 12px; }
  .mobile-tabs span { font-size: 17px; }
  .mobile-tabs [aria-current] { color: var(--copper); font-weight: 700; background: #f6e9da; border-radius: 8px; }
  input, select { font-size: 16px; }
}
