:root {
  color-scheme: light;
  --paper: #fcf8f4;
  --ink: #352927;
  --muted: #685b57;
  --berry: #85213f;
  --rule: #e1d7cf;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, select { font: inherit; color: inherit; }
button, select, a { touch-action: manipulation; }
button:focus-visible, select:focus-visible, a:focus-visible, h2:focus-visible { outline: 3px solid #28736d; outline-offset: 3px; }
.mast { position: sticky; top: 0; z-index: 4; border-bottom: 1px solid var(--rule); background: #fffdfa; }
.mast-inner, main { width: min(calc(100% - 32px), 46rem); margin-inline: auto; }
.mast-inner { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: .65rem; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; font-weight: 800; }
.brand img { flex: none; }
.demo-mark { white-space: nowrap; padding: .24rem .58rem; border: 1px solid #cd94a4; border-radius: .3rem; background: #fcf0f2; color: var(--berry); font-size: .875rem; }
main { padding-block: clamp(1.5rem, 5vw, 2.9rem) 2.5rem; }
.intro { margin-bottom: 2rem; }
h1, h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; line-height: 1.25; margin: 0; }
h1 { font-size: clamp(1.65rem, 5vw, 2.35rem); }
.intro p { margin: .6rem 0 0; }
.summary { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin: 1rem 0 0; padding: .85rem 0; border-block: 1px solid var(--rule); }
.summary dt { color: var(--muted); font-size: .875rem; }
.summary dd { margin: .1rem 0 0; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; }
h2 { font-size: 1.3rem; scroll-margin-top: 74px; }
h2 span { display: inline-block; color: var(--berry); font: 650 .95rem system-ui, sans-serif; white-space: nowrap; }
.pagination label { display: flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 600; }
select, .pagination button { min-height: 44px; padding: .3rem .6rem; border-radius: .45rem; border: 1px solid #b3a59e; background: #fffdfa; }
.scope { margin: .55rem 0; color: var(--muted); font-size: .9rem; }
.entries { padding: 0; margin: 0; border-top: 2px solid #ac7182; list-style: none; }
.entries li { padding: 1.05rem .15rem; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.row-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .8rem; justify-content: space-between; }
.reward { font-size: 1.1rem; color: var(--berry); line-height: 1.4; }
.identity, .campaign { font-size: .9rem; color: var(--muted); }
.identity { display: flex; flex-wrap: wrap; gap: 0 .6rem; font-variant-numeric: tabular-nums; }
.comment { margin: .48rem 0; white-space: pre-line; }
.campaign { margin: 0; }
.campaign time { display: inline-block; font-variant-numeric: tabular-nums; }
.pagination { display: flex; gap: .6rem; justify-content: center; align-items: center; flex-wrap: wrap; padding: 1.15rem 0; }
.pagination button { min-width: 3.5rem; cursor: pointer; }
.pagination button:disabled { opacity: .45; cursor: default; }
.back { display: inline-flex; align-items: center; min-height: 44px; color: var(--berry); text-underline-offset: .2em; }
@media (max-width: 28rem) {
  .intro { margin-bottom: 1.4rem; }
  .row-heading { align-items: flex-start; flex-direction: column; }
}
