/* 見た目「昔のゲーム」（2026-11-30・本人「昔のゲームがよいね。」）。modern.css の上に重ねる（使い勝手はそのまま）。
   夜の地 #0e1745・窓 #1b2a80・白い二重の枠・▶ のカーソル・ドット絵（retro.js）。暗い表示でも明るい表示でも同じ配色。
   ドット絵の書体（DotGothic16）は各ページの大見出しだけ。本文・日付・売り場は端末のゴシック。
   色の差（窓 #1b2a80 の上）: 白 12.4・淡い青 #d4dcff 9.2・黄 #ffe14d 9.6・橙 #ffb070 6.9。いちばん低い組は淡い地の上の紫の印の字 4.6 */
:root:root,:root:root:root{
  --x-bg:#0e1745;--x-surface:#1b2a80;--x-ink:#ffffff;--x-sub:#d4dcff;--x-line:#4351a8;--x-fill:#0e1745;
  --x-ac:#ffe14d;--x-ac-ink:#0e1745;--x-ac-soft:#2a3a99;--x-soon:#ffb070;--x-hi:#ffe14d;--x-hi-line:#ffffff;
  --x-shadow:none;--r-pix:"DotGothic16","Hiragino Sans","Hiragino Kaku Gothic ProN",system-ui,sans-serif;color-scheme:dark}
@media (prefers-color-scheme:dark){:root:root,:root:root:root{
  --x-bg:#0e1745;--x-surface:#1b2a80;--x-ink:#ffffff;--x-sub:#d4dcff;--x-line:#4351a8;--x-fill:#0e1745;
  --x-ac:#ffe14d;--x-ac-ink:#0e1745;--x-ac-soft:#2a3a99;--x-soon:#ffb070;--x-hi:#ffe14d;--x-hi-line:#ffffff;--x-shadow:none}}
:root:root:root:root:root:root:root{--k-shop:#e8ecff;--k-store:#a9c97f;--k-venue:#d5a0e3;--k-partner:#6fcfd9}
html,body{background:var(--x-bg)!important;color:var(--x-ink)!important}
::selection{background:#ffe14d;color:#0e1745}
:focus-visible{outline:3px solid #ffe14d!important;outline-offset:2px}
.pix,.pixring{display:block;image-rendering:pixelated}

/* 窓: 白い二重の枠 */
.rwin,.m,.card,.ctl,.filters,.nenpyo>summary,.bill>.bout,.find,.wrap>.top,.wrap>header.poster,.col>.poster,.h2h,.feudnote,.empty{
  background:#1b2a80!important;border:5px double #fff!important;border-radius:8px!important;box-shadow:none!important;color:#fff}
/* 大見出し（ドット絵の書体はここだけ） */
.poster h1,.wrap>.top h1,.col>.poster h1{font-family:var(--r-pix)!important;font-weight:400!important;letter-spacing:.04em!important;color:#fff!important;text-shadow:3px 3px 0 #0e1745!important}
.title-ring{margin:0 0 10px;border:3px solid #fff;border-radius:4px;background:#0e1745;padding:4px;overflow:hidden}

/* 共通の帯（非公式）: 一番上の細い窓 */
.site-strip{background:#0e1745!important;color:#d4dcff!important;border:0!important;border-bottom:3px solid #fff!important;border-radius:0!important}
.site-strip b{background:#ffe14d!important;color:#0e1745!important;border-radius:2px!important}
.site-strip a{color:#fff!important}

/* ---------- トップ: タイトル画面とメニュー ---------- */
.col>.poster{padding:14px 16px 16px!important;margin-top:18px!important}
.col>.poster h1{font-size:clamp(34px,7vw,52px)!important;text-align:center}
.col>.poster p{color:#d4dcff!important;margin-left:auto!important;margin-right:auto!important;text-align:left}
.find{padding:6px!important;margin:16px auto 0!important;max-width:560px}
.find input{background:#0e1745!important;border:3px solid #fff!important;border-radius:4px!important;color:#fff!important;box-shadow:none!important;caret-color:#ffe14d}
.find input::placeholder{color:#b9c4f5!important}
.find button{top:12px!important;right:12px!important;border-radius:4px!important;background:#ffe14d!important;color:#0e1745!important}
.bill{gap:14px!important;margin-top:20px!important}
.bill>.bout{position:relative;grid-template-columns:96px 1fr!important;padding-left:30px!important}
.bill>.bout::before{content:"▶";position:absolute;left:8px;top:50%;margin-top:-12px;font-size:18px;line-height:24px;color:#ffe14d;visibility:hidden}
.bill>.bout.cur::before{visibility:visible}
.bill>.bout.cur{background:#22339a!important}
.pict{background:#0e1745!important;border:3px solid #fff!important;border-radius:4px!important;margin:12px 0!important;display:grid!important;place-items:center!important;padding:8px!important}
.bill .bout h2{color:#fff!important;font-size:clamp(20px,3vw,24px)!important}
.bill .bout p{color:#d4dcff!important}
.bill .go,.bill .bout:nth-child(1) .go{color:#ffe14d!important;border-top:2px solid #4351a8!important;background:transparent!important}
.col>footer{border-top:3px solid #fff!important;color:#d4dcff!important}
.col>footer a,a{color:#ffe14d}
@media (max-width:560px){.bill>.bout{grid-template-columns:1fr!important}.pict{justify-items:start!important;margin:12px 12px 0 0!important}}
@media (prefers-reduced-motion:no-preference){.bill>.bout.cur::before{animation:rt-blink 1s steps(1) infinite,rt-hop .3s steps(3)}}

/* ---------- 検索 ---------- */
.wrap>header.poster{padding:12px 14px!important;margin-top:10px!important}
.wrap>header.poster h1{font-size:clamp(28px,6vw,36px)!important}
.poster .beltname{color:#d4dcff!important}
.wrap>header.poster .title-ring{margin:10px 0 0}
.beltmeta{color:#d4dcff!important}
.rail button{background:transparent!important;border:2px solid transparent!important;border-radius:4px!important;color:#fff!important;padding-left:24px!important;position:relative;grid-template-columns:auto auto;column-gap:8px;align-items:center}
.rail button .spr{grid-row:1 / span 2}
.rail button::before{content:"▶";position:absolute;left:5px;top:50%;margin-top:-11px;font-size:14px;line-height:22px;color:#ffe14d;visibility:hidden}
.rail button[aria-pressed="true"]{background:#1b2a80!important;border-color:#fff!important;color:#fff!important}
.rail button[aria-pressed="true"]::before{visibility:visible}
.rail .c,.rail button[aria-pressed="true"] .c{color:#d4dcff!important}
.rail button.zero{border-style:dashed!important;border-color:#4351a8!important}
.ctl{background:#1b2a80!important;margin:0!important;padding:8px 10px!important}
.ctl::after{display:none}
#q{background-color:#0e1745!important;border:3px solid #fff!important;border-radius:4px!important;color:#fff!important;box-shadow:none!important;caret-color:#ffe14d;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%23d4dcff' stroke-width='2.2'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='%23d4dcff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")!important}
#q::placeholder{color:#b9c4f5!important}
.cnt{color:#d4dcff!important}.cnt b{color:#fff!important}
.order{background:#0e1745!important;border:2px solid #fff!important;border-radius:4px!important;padding:2px!important}
.order button{border-radius:2px!important;color:#d4dcff!important}
.order button[aria-pressed="true"]{background:#ffe14d!important;color:#0e1745!important;box-shadow:none!important}
.active .chip{background:#2a3a99!important;color:#fff!important;border:2px solid #fff!important;border-radius:4px!important}
.active .chip span{color:#ffe14d!important}
.filters summary,.nenpyo>summary{color:#fff!important}
.filters summary small,.label{color:#d4dcff!important}
.chip{background:#0e1745!important;color:#fff!important;border:2px solid #fff!important;border-radius:4px!important}
.chip[aria-pressed="true"],.chip.on{background:#ffe14d!important;color:#0e1745!important;border-color:#ffe14d!important}
.chip.more{background:#1b2a80!important;border:5px double #fff!important}
.nenpyo .legend{background:#1b2a80!important;color:#d4dcff!important;border-left:5px double #fff!important;border-right:5px double #fff!important}
.nwrap{background:#1b2a80!important;border:5px double #fff!important;border-top:0!important;border-radius:0 0 8px 8px!important}
.nenpyo[open]>summary{border-bottom:0!important;border-radius:8px 8px 0 0!important}
.nyear{background:#0e1745!important;color:#ffe14d!important}
.nrow{border-bottom:1px solid #4351a8!important;color:#fff!important}
.nrow .gen,.nrow .nm{color:#fff!important}
.nrow .per,.nrow .cnt,.nrow .nm .team{color:#d4dcff!important}
.nrow .bar{background:#0e1745!important;border-radius:0!important}
.nrow .bar i{background:#ffe14d!important;border-radius:0!important}
.nrow[aria-pressed="true"]{background:#2a3a99!important;box-shadow:inset 5px 0 0 #ffe14d!important}
.nrow.zero .gen,.nrow.zero .nm,.nrow.zero .per,.nrow.zero .cnt{color:#b9c4f5!important}
.dir,.dir small{color:#d4dcff!important}
.year{background:#0e1745!important}
.year b{color:#fff!important}.year span{color:#d4dcff!important}
.m .top{color:#d4dcff!important;align-items:center!important}
.m .top .spr{flex:none}
.m .top .date{color:#fff!important}
.badge{background:#0e1745!important;color:#fff!important;border:2px solid #4351a8!important;border-radius:3px!important}
.badge.change{background:#ffe14d!important;color:#0e1745!important;border-color:#ffe14d!important;box-shadow:none!important}
.badge.tag{border-style:dashed!important}
.m .bout{background:#0e1745!important;border-radius:4px!important}
.vsmark{color:#ffe14d!important}
.corner .mk{color:#d4dcff!important}.corner.won .mk{color:#ffe14d!important}
.corner.won .who{color:#fff!important}.corner.lost .who{color:#d4dcff!important}
.m .meta,.m .memo{color:#fff!important}
.m .next{color:#d4dcff}
.m .links a,.m .next a{color:#ffe14d!important}
.m .links .unverified{color:#d4dcff!important}
.m .links a::after{background:#ffe14d}
.m .meta::after{content:"";display:inline-block;width:.55em;height:.9em;margin-left:4px;vertical-align:-1px;background:#ffe14d;opacity:0}
.feudnote,.h2h{color:#fff!important}
.empty{color:#fff!important}
.empty::before{background:#d4dcff!important}
.empty.loading::before{background:linear-gradient(90deg,#0e1745 0,#2a3a99 40%,#0e1745 80%) 0 0/200% 100%!important}
.wrap>footer{border-top:3px solid #fff!important;color:#d4dcff!important}
@media (prefers-reduced-motion:no-preference){
  .rail button[aria-pressed="true"]::before{animation:rt-blink 1s steps(1) infinite,rt-hop .3s steps(3)}
  .m.typing:not(.done) .meta,.m.typing:not(.done) .memo{animation:rt-type .9s steps(24) both}
  .m.typing:not(.done) .meta::after{animation:rt-caret .9s steps(1) both}
}
@keyframes rt-blink{50%{opacity:0}}
@keyframes rt-hop{from{transform:translateX(-14px)}}
@keyframes rt-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes rt-caret{0%,99%{opacity:1}100%{opacity:0}}

/* ---------- グッズ ---------- */
.wrap>.top{padding:12px 14px!important;margin-top:10px!important}
.wrap>.top h1{font-size:clamp(26px,5vw,34px)!important}
.wrap>.top .title-ring{margin:10px 0 0}
.sub{color:#d4dcff!important}
.rules{color:#d4dcff!important}.rules b{color:#fff!important}
.bar-l{color:#d4dcff!important}
.who button{background:transparent!important;border:2px solid transparent!important;border-radius:4px!important;color:#fff!important;padding-left:24px!important;position:relative}
.who button::before{content:"▶";position:absolute;left:5px;top:50%;margin-top:-11px;font-size:14px;line-height:22px;color:#ffe14d;visibility:hidden}
.who button[aria-pressed="true"]{background:#1b2a80!important;border-color:#fff!important;color:#fff!important}
.who button[aria-pressed="true"]::before{visibility:visible}
.jump a{background:#1b2a80!important;color:#fff!important;border:2px solid #fff!important;border-radius:4px!important;box-shadow:none!important}
.jump a .n{color:#ffe14d!important}
.jump a.soon{color:#ffb070!important;border-color:#ffb070!important;box-shadow:none!important}
.jump a.soon .n{color:#ffb070!important}
.wrap>h2{color:#fff!important;border:0!important;border-bottom:3px solid #fff!important;padding:0 0 4px!important}
.wrap>h2 .n{color:#ffe14d!important}.wrap>h2 .hint{color:#d4dcff!important}
.card{padding:0!important}
.card.noimg{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;grid-template-rows:auto auto!important;grid-template-areas:"spr name" "rows rows"!important}
.card.noimg .img,.card.noimg .cap{display:none!important}
.card .spr{grid-area:spr;margin:12px 0 0 12px;width:72px;height:72px;display:grid;place-items:center;background:#0e1745;border:3px solid #fff;border-radius:4px}
.card.noimg .name{grid-area:name!important;grid-column:auto!important;align-self:center;padding:12px 12px 6px 0!important;color:#fff!important}
.card .rows{grid-area:rows!important}
.card.soon{box-shadow:inset 0 4px 0 #ffb070!important}
.card.gone{background:#16226a!important}
.row{border-top:1px solid #4351a8!important;border-radius:0!important}
a.row:hover{background:#2a3a99!important}
.where{color:#d4dcff!important}
.dot{border-radius:0!important;width:10px!important;height:10px!important}
.when{color:#fff!important;font-size:18px!important}
.when.future{color:#ffb070!important}
.row.out .when{color:#d4dcff!important}
.row .go{background:#0e1745!important;color:#ffe14d!important;border:2px solid #fff!important;border-radius:4px!important;box-shadow:none!important}
a.row:hover .go{background:#ffe14d!important;color:#0e1745!important}
.row .go.weak{border-style:dashed!important;color:#fff!important}
.row .go.dim{border-color:#4351a8!important;color:#d4dcff!important}
.stock{color:#ffe14d!important}
.stock.all{background:#ffe14d!important;color:#0e1745!important;border-radius:2px!important}
.note{color:#d4dcff!important}
.auto{color:#d4dcff!important;border-color:#d4dcff!important}
@media (max-width:720px){.bar{background:#1b2a80!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-top:5px double #fff!important}}

/* ---------- このサイトについて: 段ごとの窓で読む ---------- */
html[data-page="about"] main{max-width:720px}
.rwin{padding:4px 18px 14px!important;margin:16px 0!important;line-height:1.85}
.rwin h2{color:#fff!important;border:0!important;border-bottom:2px solid #4351a8!important;padding:10px 0 6px 0!important;margin:0 0 8px!important;font-size:clamp(20px,3.4vw,24px)!important}
.rwin h2::before{content:"▶";color:#ffe14d;margin-right:8px;font-size:.8em}
.rwin h3{color:#ffe14d!important}
.rwin p,.rwin li{color:#fff}
.rwin .muted{color:#d4dcff!important}
.rwin .box{background:#0e1745!important;border:2px dashed #d4dcff!important;border-radius:4px!important;color:#fff!important}
.rwin a{color:#ffe14d!important}
html[data-page="about"] .col>.poster h1{font-size:clamp(28px,6vw,40px)!important;text-align:left}
/* 撮って直した所 */
html[data-page="about"] .col>.poster h1{font-size:clamp(24px,6vw,40px)!important}
.find{padding:4px!important}
.find input{padding-left:14px!important;padding-right:56px!important;font-size:16px!important}
.card.noimg{column-gap:12px!important}
.card.noimg .name{padding-left:0!important}
.when{font-size:17px!important;word-break:keep-all}
.row{column-gap:8px!important}
.row .go{padding:0 10px!important}
@media (max-width:560px){.bill .pict{width:104px!important;height:72px!important}}
