:root{color-scheme:light;--paper:#fcf8f4;--ink:#352927;--muted:#6e615d;--wine:#a62b51;--deep:#85213f;--line:#e1d7cf;--teal:#19564e;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;font-size:16px;line-height:1.55;color:var(--ink);background:var(--paper);-webkit-text-size-adjust:100%}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.68}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #277b81;outline-offset:3px}[hidden]{display:none!important}
header{background:#fffdfa;border-bottom:1px solid var(--line)}.mast,main,footer{width:min(calc(100% - 40px),1024px);margin:auto}.mast{min-height:69px;display:flex;align-items:center;justify-content:space-between;gap:8px}.brand{display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:.07em}.preview,.sample{font-size:.78rem;font-weight:650;color:var(--muted);letter-spacing:.04em}.preview{padding:4px 9px;border:1px solid var(--line);border-radius:4px}
.macaron{display:block;position:relative;background:#f8d4dc;border:2px solid #733147;border-radius:52% 52% 44% 44%;box-shadow:inset 0 -3px 0 #dfa3ad;transform:rotate(-12deg);isolation:isolate}.macaron:before{content:"";position:absolute;left:-2%;right:-2%;top:48%;height:20%;background:#fff2da;border:1.5px solid #733147;border-radius:55%;transform:rotate(-1deg)}.macaron:after{content:"";position:absolute;width:21%;height:7%;border-radius:50%;background:#fff6ee;left:18%;top:18%;transform:rotate(-14deg)}.logo{width:31px;height:21px;flex:none}
main{padding-top:37px;padding-bottom:48px}.checker{position:relative;border:1px solid #d8b4b6;border-radius:22px;background:#fffdfa;box-shadow:0 5px 0 #e9dcd4;overflow:hidden}.intro{position:relative;display:flex;align-items:center;gap:12px;justify-content:space-between;padding:27px 34px 24px;background:#f9e3e3;border-bottom:1px dashed #d29ba4;isolation:isolate}.intro h1,.section h2,.modal-header h2{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif CJK JP",serif;font-weight:800;line-height:1.2;margin:0;letter-spacing:.045em}.intro h1{font-size:clamp(1.8rem,5vw,3rem);color:#532333}.intro p{font-size:.94rem;margin:9px 0 0;color:#603b43}.sweets{position:relative;width:135px;align-self:stretch;flex:none}.sweet{position:absolute;width:68px;height:41px;border-width:2px;box-shadow:inset 0 -5px 0 #dea2b0,2px 4px 0 #caa6a755}.sweet.first{right:4px;bottom:1px;transform:rotate(13deg);background:#e7c8a3;box-shadow:inset 0 -5px 0 #cda97c,2px 4px 0 #caa6a755}.sweet.second{left:9px;top:2px;transform:rotate(-19deg);background:#eea9bc}.spark{color:#8d3d52;position:absolute;right:5px;top:-9px;font-style:normal}
.checker-form{padding:23px 34px 17px}.field{font-weight:750;font-size:.89rem;display:block}.field input,.field textarea{font-weight:500;display:block;width:100%;border:1px solid #c8bcb5;border-radius:8px;background:#fff;color:var(--ink);padding:11px 13px;margin-top:6px;font-size:1rem;min-height:48px}.field input#xid{font-size:1.19rem;font-weight:600;letter-spacing:.02em}.field input::placeholder{color:#827671}.primary,.secondary{border-radius:8px;font-weight:750}.primary{color:white;background:var(--wine);border:1px solid var(--wine);min-height:49px;padding:10px 20px;width:100%;margin-top:16px;letter-spacing:.05em}.primary:hover{background:var(--deep)}.secondary{color:var(--teal);background:white;border:1px solid #9bb4ac;padding:9px 15px;min-height:44px}.secondary:hover{background:#f0f6f1}.text-button{border:0;border-radius:3px;background:transparent;color:var(--teal);text-decoration:underline;text-underline-offset:3px;padding:3px 4px;font-weight:700}.trial{margin:13px 0 0;font-size:.82rem;color:var(--muted);text-align:center}.notice:empty{display:none}.notice{font-weight:650;color:#963148;font-size:.9rem;margin:12px 0 0}
.section{margin-top:36px}.section-heading,.modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading{margin-bottom:13px}.section h2,.modal-header h2{font-size:clamp(1.45rem,3vw,1.85rem)}#campaign-count{font-variant-numeric:tabular-nums;font-weight:700;font-size:.87rem;color:var(--teal)}.campaigns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.card{position:relative;background:#fffdfa;border:1px solid var(--line);border-radius:12px;padding:16px 19px;min-width:0;isolation:isolate}.card:has(a):hover{border-color:#ad847c}.card-meta,.result-kicker{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.state{font-size:.76rem;font-weight:750;background:#e2efea;color:#23584e;padding:2px 8px;border-radius:4px;letter-spacing:.03em}.state.future,.state.past{background:#f1ebe5;color:#65574c}.card h3{font-size:1.04rem;font-weight:750;line-height:1.5;margin:9px 0 5px;overflow-wrap:anywhere}.card h3 a:after{content:"";position:absolute;inset:0;border-radius:12px}.card h3 a:focus-visible:after{outline:3px solid var(--teal)}.card-meta{font-size:.85rem;color:var(--muted)}.amount{color:var(--ink);font-size:1rem;font-weight:750}.conditions{font-size:.86rem;color:#554a46;overflow-wrap:anywhere;margin:5px 0}.remaining{font-size:1rem;font-weight:800;font-variant-numeric:tabular-nums;color:#a02343;letter-spacing:.015em;line-height:1.5;margin:8px 0 0}.remaining.future,.remaining.past{color:var(--muted);font-size:.88rem}.card-bottom{border-top:1px dashed var(--line);margin-top:11px;padding-top:8px;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.post-label{font-size:.77rem;color:var(--muted)}.ended-title{font-size:1.05rem;margin:24px 0 10px}.empty,.modal-note{font-size:.9rem;color:var(--muted)}
.voices{background:white;border:1px solid var(--line);border-radius:15px;padding:21px 22px}.stream-wrap{overflow:hidden;position:relative;background:#f5f6ef;border-radius:8px}.stream{display:flex;width:max-content;--seconds-per-comment:12s;animation:drift calc(var(--stream-count,3) * var(--seconds-per-comment)) linear infinite}.stream article{width:min(390px,72vw);padding:11px 16px;border-right:1px dashed #c8d5cd}.stream p,.voice-row p{word-break:break-word;margin:0;font-size:.94rem}.stream article p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stream small,.voice-row small{font-size:.79rem;color:#586357;display:block;margin-top:3px}.voice-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-top:14px}.voice-actions .text-button{font-size:.8rem}.voices .section-heading{margin-bottom:15px}@keyframes drift{to{transform:translateX(-50%)}}
.result-panel{background:#f7f1e8;border:1px solid #d8c7b6;border-radius:12px;margin-top:18px;padding:18px 20px}.result-panel.win{background:#f4f8f1;border-color:#afc8b5}.result-kicker{color:#375f4e;font-size:.8rem;font-weight:700}.result-panel h3{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(1.35rem,4vw,1.7rem);margin:4px 0;color:#2b4535}.result-panel p{font-size:.92rem;margin:7px 0}.win-value{font-size:1.5rem;font-weight:800;color:var(--teal)}.claim-form{border-top:1px dashed #b3c7b6;padding-top:13px;margin-top:13px}.claim-form .field{margin-top:10px}.claim-form .field textarea{resize:vertical;min-height:65px}.claim-form .primary{background:var(--teal);border-color:var(--teal)}.result-panel .fine{font-size:.81rem;color:#576153}.result-panel .notice{color:#963148}.reward-button{display:inline-block;margin-top:8px}.result-panel .receipt{color:var(--teal);font-weight:700}
footer{border-top:1px solid var(--line);padding:18px 0 34px;display:flex;align-items:center;gap:8px;font-size:.84rem;font-weight:700;color:var(--muted)}footer .logo{width:23px;height:16px}footer span{margin-left:auto;font-size:.77rem;font-weight:500}
dialog{width:min(93%,550px);max-height:82vh;padding:20px;border:1px solid #dbcbc2;border-radius:14px;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#2b171e6b}.modal-header .secondary{font-size:.86rem}.voice-row{background:white;border:1px solid var(--line);padding:13px 14px;border-radius:8px;margin-top:9px}
@media(max-width:640px){.mast,main,footer{width:calc(100% - 28px)}.mast{min-height:57px}.brand{gap:8px}.preview{font-size:.73rem}main{padding-top:17px}.checker{border-radius:16px}.intro{padding:21px 16px 18px;gap:0}.intro h1{font-size:1.95rem}.intro p{max-width:260px;font-size:.85rem;margin-top:5px}.sweets{width:68px;min-height:51px}.sweet{width:38px;height:24px}.sweet.first{right:2px;bottom:0}.sweet.second{left:0;top:1px}.spark{font-size:.8rem;right:4px;top:-2px}.checker-form{padding:15px 16px}.primary{margin-top:12px}.trial{margin-top:10px}.section{margin-top:25px}.campaigns{grid-template-columns:1fr;gap:9px}.card{padding:13px 15px}.card h3{margin-top:6px}.remaining{font-size:1.13rem}.voices{padding:16px}.result-panel{padding:14px}.mast .brand{font-size:.97rem}}
@media(max-width:355px){.intro h1{font-size:1.65rem}.intro p{font-size:.81rem}.sweets{width:49px}.sweet{width:32px;height:20px}.preview{font-size:.69rem}}
@media(prefers-reduced-motion:reduce){.stream{--seconds-per-comment:24s}}
.example-tools{margin:6px 0}.example-tools>.text-button{font-size:.86rem}.example-tools>div{border:1px dashed #afc1ad;border-radius:8px;padding:8px 11px;background:#fffdf8}.example-tools .secondary{font-size:.84rem;margin:4px 0}.result-panel{scroll-margin-top:12px}

/* A compact first-position strip keeps the checker within reach on phones. */
.voices-top {
  margin: 0 0 20px;
  padding: 12px 18px 5px;
}
.voices-top .section-heading {
  margin-bottom: 4px;
}
.voice-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
}
.voices-top h2 {
  font-size: clamp(1.16rem, 2.5vw, 1.45rem);
}
.voices-top .stream article {
  padding: 8px 13px;
}
.voices-top .text-button {
  min-height: 36px;
  padding-inline: 5px;
  font-size: .85rem;
  white-space: nowrap;
}
.voices-top .voice-actions {
  justify-content: flex-end;
  margin: 0;
}
.voices-top .voice-actions .text-button {
  font-weight: 600;
}
#result > section + section {
  margin-top: 12px;
}
@media (min-width: 641px) {
  #search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 27%);
    align-items: end;
    gap: 16px;
  }
  #search-form .primary {margin: 0}
}
@media (max-width: 640px) {
  .voices-top {margin: 0 0 13px; padding: 5px 11px 1px}
  .voices-top .stream article {padding-block: 6px}
}

.dm-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:8px 0;padding:10px 18px;border:0;border-radius:9px;background:#19564e;color:white;font:inherit;font-weight:700;text-align:center}
.dm-cta:disabled{background:#e6ece7;color:#4b5851}
.consent{display:flex;align-items:center;gap:.5rem;min-height:44px;font-size:.9rem;color:#354d41}
.consent input{width:18px;height:18px;accent-color:#19564e}

.turnover {
  position: relative;
  padding: 22px clamp(21px, 4vw, 43px);
  margin-bottom: 18px;
  border: 1px solid #9c7954;
  border-radius: 16px;
  background: radial-gradient(ellipse at 0 0, #77394e 0, transparent 62%), linear-gradient(115deg, #3e202d 20%, #2c1e2a 80%, #3f2934);
  color: #fff8ec;
  box-shadow: 0 3px 9px #482b361a;
}
.turnover::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid #efcc893e;
  border-radius: 12px;
  pointer-events: none;
}
.turnover-heading,.turnover-figures,.turnover-amount,.turnover-count {
  display: flex;
  align-items: baseline;
}
.turnover-heading {gap: 10px; align-items: center; justify-content: center}
.turnover-heading::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border: 1px solid #ffd99e;
  transform: rotate(45deg);
}
.turnover-heading h2 {
  margin: 0;
  font: 700 1.04rem/1.35 "Yu Mincho","Hiragino Mincho ProN",serif;
  letter-spacing: .09em;
}
.turnover-heading > span {color: #dec8cb; font-size: .78rem}
.turnover-figures {gap: 2px 16px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 6px}
.turnover-amount,.turnover-count {margin: 0; line-height: 1.15; gap: .25em}
.turnover-amount {color: #ffe4aa; max-width: 100%}
.turnover-amount strong {
  min-width: 0;
  font: 500 clamp(2.45rem, 5vw, 4.15rem)/1.05 Baskerville,"Times New Roman",serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.turnover-amount > span {font-size: 1.05rem; font-weight: 700; flex: none}
.turnover-count {color: #f6dfcf; font-size: .88rem; flex-wrap: wrap}
.turnover-count strong {font-size: 1.24rem; font-variant-numeric: tabular-nums}
.turnover-count-wrap {display: flex; align-items: center; max-width: 100%}
.turnover-help {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  flex: none;
  color: #ffe4aa;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, transparent 10px, #dcc197 10.5px 11.5px, transparent 12px);
  font: 700 1rem/1 system-ui,sans-serif;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.turnover-help:focus-visible {outline: 2px solid #ffe4aa; outline-offset: -4px}
.turnover-help[aria-expanded="true"] {background-color: #ffffff14}
.turnover-breakdown {
  position: fixed;
  z-index: 9;
  display: grid;
  gap: 7px;
  width: min(285px, calc(100vw - 20px));
  margin: 0;
  padding: 12px 15px;
  border: 1px solid #caa974;
  border-radius: 10px;
  background: #3d2832;
  box-shadow: 0 5px 18px #351a2942;
  font-size: .91rem;
  pointer-events: none;
}
.turnover-breakdown > div {display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 12px}
.turnover-breakdown dt {color: #e4c3bd; font-weight: 600}
.turnover-breakdown dd {
  margin: 0; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 1px 15px;
  font-variant-numeric: tabular-nums; line-height: 1.45;
}
.turnover-breakdown dd > span {min-width: 0; overflow-wrap: anywhere}
.turnover-breakdown dd > span:last-child {color: #e9d9d4; min-width: 4em; text-align: right}
@media (max-width: 700px) {
  .turnover {margin-bottom: 13px; padding: 12px}
  .turnover-figures {margin-top: 2px; column-gap: 5px}
}

.card-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  margin: 7px 0 9px;
}
.card-heading h3 { margin: 0; min-width: 0; max-width: 100%; }
.gift-plaque {
  display: inline-block;
  max-width: 100%;
  padding: .22em .52em .24em;
  border: 1px solid transparent;
  border-radius: 7px;
  background:
    linear-gradient(160deg, #503444 0%, #34222f 56%, #3e2830 100%) padding-box,
    linear-gradient(115deg, #916634, #f1d69a 35%, #a17b43 65%, #e0c18b) border-box;
  box-shadow: inset 0 1px 0 #ffe7b533, 0 1px 2px #37212d30;
  color: #ffe4a3;
  font-size: clamp(1.28rem, 1.15rem + .56vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .005em;
  overflow-wrap: anywhere;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .gift-name {
    background: linear-gradient(175deg, #fff2c4 3%, #ffecac 28%, #f0c46e 48%, #fff3c9 61%, #e5b764 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active) {
  .gift-plaque { border-color: CanvasText; background: Canvas; box-shadow: none; }
  .gift-name { background: none; color: CanvasText; }
}


#award-records {margin-top:20px;padding-top:12px;border-top:1px solid var(--line)}
#voices-modal section h3 {margin:10px 0 4px;font-size:1.03rem}
#award-records .modal-note {margin:4px 0 8px}
#award-record-list {list-style:none;padding:0;margin:0}
#award-record-list li {padding:9px 0;border-bottom:1px dotted var(--line);overflow-wrap:anywhere}
#award-record-list strong {font-size:.95rem}
#award-record-list p {font-size:.9rem;margin:2px 0}
#award-record-list small {color:var(--muted)}

/* iOS can pass a gesture at the dialog edge to the page behind it. */
html.voices-open {overflow:hidden; overscroll-behavior:none}
html.voices-open body {position:fixed; inset-inline:0; top:var(--voices-page-offset); width:100%}
#voices-modal {overflow-y:auto; overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch; max-height:82vh; max-height:82dvh}
