/* カード絵師図鑑 */
/* 見出しの文字(自分のサイトに置いたフォント。SIL Open Font License 1.1。ライセンス文は /fonts/ に同梱) */
@font-face { font-family: "Zen Maru Gothic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/zenmaru-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
:root{color-scheme:light;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}html{scroll-padding-top:env(safe-area-inset-top,0px)}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#fff;color:#000}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}
/* Layout: 黒めグレーのトレカ・バインダー(アクセントはシャンパンゴールド1色)。カードは画像を使わず、タイトル色の枠・絵柄の記号・文字だけで1マスに収める。
   本文はシステムフォント、Webフォントは数字・英字ラベル用の Barlow Condensed 600 の1つだけ。 */
:root {
  color-scheme: dark;
  --bg: #161618;
  --surface: #232327;
  --surface-2: #1c1c1f;
  --ink: #ececee;
  --muted: #a8a8b0;
  --line: #34343a;
  --line-strong: #707078;
  --gold: #d6c08e;
  --gold-hi: #ebdcb5;
  --silver: #cfd0d4;
  --navy: #1d1d22;
  --paper: #fbf7ee;
  --paper-muted: #4d4d55;
  --accent: var(--gold);
  --accent-ink: var(--navy);
  --ok-bg: rgba(110, 211, 170, .14); --ok-ink: #9be3c8;
  --info-bg: rgba(140, 170, 235, .14); --info-ink: #c5d2ee;
  --warn-bg: rgba(233, 196, 106, .14); --warn-ink: #f0d28a;
  --danger: #f2a493;
  --av-bg-l: 26%; --av-fg-l: 86%; --av-line-l: 40%;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", var(--font-body);
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font-body);
  font-size: 15px; line-height: 1.7;
  padding-block: 0 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1120px; margin: 0 auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #f6efdc; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

header.top { padding-block: 18px 12px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: .04em; margin: 0; color: var(--gold-hi); display: flex; align-items: center; gap: 10px; }
.brand svg { flex: none; }
.brand small { font-family: var(--font-label); font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .14em; }
nav.tabs { display: flex; gap: 2px 18px; flex-wrap: wrap; }
nav.tabs a { text-decoration: none; color: #cfcfd4; padding: 8px 2px; border-bottom: 2px solid transparent; font-weight: 600; font-size: 14px; }
nav.tabs a:hover { color: #fff; }
nav.tabs a#nav-nomad { color: var(--gold); }
nav.tabs a[aria-current="page"] { color: var(--gold-hi); border-bottom-color: var(--gold); }

.notice { border-left: 3px solid var(--gold); background: var(--surface-2); padding: 10px 14px; margin-block: 6px 22px; font-size: 13px; color: var(--muted); border-radius: 0 8px 8px 0; }
.notice strong { color: var(--ink); }
.modebar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; border: 1px dashed var(--gold); border-radius: 8px; padding: 8px 14px; margin-bottom: 16px; font-size: 13px; }
.modebar .btn { padding: 4px 12px; font-size: 13px; }

h2.page { font-size: 26px; font-weight: 800; margin: 0 0 4px; text-wrap: balance; line-height: 1.35; color: #fff; }
.eyebrow { font-family: var(--font-label); font-size: 13px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin: 0; }
.lede { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.label { font-size: 12px; letter-spacing: .04em; color: var(--muted); }

.searchbox { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
input[type="search"], input[type="text"], input[type="url"], input[type="number"], input[type="date"], select {
  min-width: 0; padding: 9px 12px; font: inherit; font-size: 16px;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px;
}
input::placeholder { color: #8e8e96; }
.searchbox input[type="search"] { flex: 1 1 260px; padding: 14px 18px; font-size: 17px; background: var(--paper); color: var(--navy); border: 2px solid var(--gold); border-radius: 12px; }
.searchbox input[type="search"]::placeholder { color: #6a6a72; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip { font: inherit; font-size: 13px; padding: 5px 13px; background: transparent; color: #e8e8eb; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.chip .n { font-family: var(--font-label); font-size: 13px; opacity: .8; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, #a3a3ab); flex: none; }
.chipnote { margin: 0 0 18px; }
.titlefilter { margin-bottom: 8px; }
.titlefilter input { font-size: 14px; padding: 6px 10px; width: min(100%, 280px); }

.count { margin: 0 0 8px; }
.entry { background: var(--surface); border: 1px solid var(--line); border-top-width: 0; padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; }
.entry:first-of-type, .count + .entry { border-top-width: 1px; }
.entry.with-av { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; }
.entry h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.entry h3 small { font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--muted); margin-left: 8px; }
.entry .meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 13px; color: var(--muted); }
.entry .side { text-align: right; font-size: 13px; }
.entry .side .none { color: var(--muted); }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.agrid .entry, .agrid .entry:first-of-type { border-top-width: 1px; border-radius: 12px; grid-template-columns: 44px minmax(0, 1fr); }
.agrid .entry .side { grid-column: 1 / -1; text-align: left; display: flex; gap: 12px; flex-wrap: wrap; }
.agrid .entry:hover { border-color: rgba(214, 192, 142, .6); }
.mono { font-family: var(--font-mono); font-size: 12px; }
@media (max-width: 520px) {
  .entry { grid-template-columns: minmax(0, 1fr); }
  .entry .side { text-align: left; }
  .entry.with-av { grid-template-columns: 44px minmax(0, 1fr); }
  .entry.with-av .side { grid-column: 1 / -1; }
}

.av { display: inline-grid; place-items: center; flex: none; font-weight: 800; line-height: 1; user-select: none; border-radius: 10px;
  background: hsl(var(--h, 200) 38% var(--av-bg-l)); color: hsl(var(--h, 200) 55% var(--av-fg-l)); border: 1px solid hsl(var(--h, 200) 30% var(--av-line-l)); }
.av-s { width: 44px; height: 44px; font-size: 20px; }
.av-l { width: 76px; height: 76px; font-size: 34px; border-radius: 14px; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 9px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok-ink); }
.pill.info { background: var(--info-bg); color: var(--info-ink); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill.game { background: rgba(255, 255, 255, .04); color: #d6d6da; border-color: var(--line); font-weight: 500; }
.pill.multi { background: var(--silver); color: var(--navy); border-color: var(--silver); }
/* 漫画家バッジ：白い紙に黒いペン線の吹き出し風 */
.pill.manga { position: relative; background: #fff; color: #111; border: 2px solid #111; font-weight: 800; letter-spacing: .08em; padding: 0 9px; border-radius: 10px 10px 10px 2px; box-shadow: 2px 2px 0 var(--gold); }
.works { font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.works b { color: var(--ink); font-weight: 700; }
.profile .badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.empty { background: var(--surface-2); border: 1px dashed var(--line); border-radius: 10px; padding: 20px 18px; color: var(--muted); }
.empty strong { color: var(--ink); display: block; margin-bottom: 4px; }

section.block { margin-top: 34px; }
section.block > h3 { font-size: 18px; font-weight: 800; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--gold); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; color: #fff; }

.profile { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; }
.profile h2 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: .02em; overflow-wrap: anywhere; color: #fff; }
.profile .label { font-family: var(--font-label); font-size: 13px; letter-spacing: .18em; color: var(--gold); }
.profile .handle { font-family: var(--font-label); font-size: 16px; letter-spacing: .06em; color: var(--muted); overflow-wrap: anywhere; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 10px;
  background: var(--gold); color: var(--navy); border: 1px solid var(--gold); cursor: pointer; font-family: inherit; line-height: 1.4; }
.btn:hover { background: var(--gold-hi); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold); color: #fff; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.postbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.postframe { flex-basis: 100%; }
.postframe iframe { width: 100%; max-width: 550px; height: 480px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.adv { margin: 12px 0 18px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--surface-2); }
.adv summary { cursor: pointer; font-weight: 700; }
.adv .advbody { display: grid; gap: 10px; margin-top: 12px; }
.adv input[type=search] { width: 100%; }
.profile .row-actions.sns { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .profile { grid-template-columns: auto minmax(0, 1fr); }
  .profile h2 { font-size: 27px; }
  .profile .row-actions { grid-column: 1 / -1; }
}

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); min-width: 560px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { font-size: 12px; letter-spacing: .06em; color: var(--muted); font-weight: 600; white-space: nowrap; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

.rules { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.rules li { margin-bottom: 4px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-actions.gap-top { margin-top: 12px; }
.back { display: inline-block; margin-bottom: 14px; font-size: 14px; }
.hint { margin: 6px 0 0; }
.gh { margin: 22px 0 10px; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: #fff; }
.gh .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tc, #a3a3ab); }

.editbox { border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 14px; margin-top: 12px; background: var(--surface-2); }
.editbox > .label { display: block; margin-bottom: 8px; color: var(--gold); }
.edittable { margin-top: 12px; }
.edittable > summary { cursor: pointer; font-weight: 700; color: var(--gold); }
.form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.form .f { display: grid; gap: 2px; font-size: 12px; color: var(--muted); }
.form .f.wide { flex: 1 1 240px; }
.form .f input, .form .f select { font-size: 15px; width: 100%; }
.form .f.chk { grid-auto-flow: column; align-items: center; gap: 6px; }
.form .f.chk input { width: auto; }
.formmsg { margin: 8px 0 0; font-size: 13px; color: var(--muted); min-height: 1.4em; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; background: var(--surface); border: 1px solid var(--line); border-top-width: 0; padding: 12px 16px; }
.trow:first-of-type { border-top-width: 1px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface); border-radius: 10px; overflow: hidden; }
.steps li { padding: 12px; border-right: 1px solid var(--line); font-size: 13px; }
.steps li:last-child { border-right: 0; }
.steps .s { display: block; margin-top: 4px; }
@media (max-width: 620px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
}
.qa { list-style: none; margin: 0; padding: 0; }
.qa li { background: var(--surface); border: 1px solid var(--line); border-top-width: 0; padding: 12px 16px; display: grid; gap: 4px; }
.qa li:first-child { border-top-width: 1px; }
.qa .ans { color: var(--muted); font-size: 13px; border-left: 3px solid var(--line); padding-left: 10px; }

/* ---------- バインダー ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: #cfcfd4; margin: 0 0 12px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.legend .note { flex-basis: 100%; color: var(--muted); }
.bhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; }
.bcount { font-size: 13px; color: var(--muted); }
.bcount b { font-family: var(--font-label); font-size: 18px; letter-spacing: .04em; color: var(--ink); font-weight: 600; margin-right: 2px; }
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pager button { min-height: 40px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: #e8e8eb; font: inherit; font-size: 14px; cursor: pointer; }
.pager button:hover:not([disabled]) { border-color: var(--gold); }
.pager button[disabled] { opacity: .4; cursor: default; }
.pager .pos { font-family: var(--font-label); font-size: 16px; letter-spacing: .05em; color: #cfcfd4; padding: 0 6px; min-width: 7ch; text-align: center; }
.bfoot { display: flex; justify-content: center; margin-top: 12px; }
.binder { border-radius: 18px; padding: 12px; background: #0f0f11; border: 1px solid #2c2c31; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.stitch { border: 1.5px dashed rgba(214, 192, 142, .3); border-radius: 12px; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); }
.stitch.single { grid-template-columns: minmax(0, 560px); justify-content: center; }
.bpage { border-radius: 10px; padding: 10px; background: #26262a; min-width: 0; }
.bpage .pno { margin: 8px 0 0; text-align: center; font-family: var(--font-label); font-size: 13px; letter-spacing: .12em; color: #a1a1a9; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.spine { display: flex; flex-direction: column; justify-content: space-around; align-items: center; padding: 24px 0; }
.ring { width: 18px; height: 18px; border-radius: 50%; background: var(--silver); border: 3px solid #606067; }
@media (max-width: 900px) {
  .stitch { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .spine { display: none; }
}
@media (max-width: 640px) {
  .binder { padding: 8px; border-radius: 14px; }
  .stitch { padding: 8px; }
  .bpage { padding: 8px; }
  .slots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

.pocket { position: relative; min-width: 0; }
.sleeve { position: relative; padding: 4px; border-radius: 9px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); transition: transform .16s ease, box-shadow .16s ease; }
.sleeve::after { content: ""; position: absolute; inset: 0; border-radius: 9px; pointer-events: none; background: linear-gradient(155deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%); }
.card { position: relative; aspect-ratio: 63 / 88; border-radius: 7px; background: var(--tc, #a3a3ab); padding: 5px; overflow: hidden; }
.in { height: 100%; border-radius: 4px; background: var(--paper); color: var(--navy); display: flex; flex-direction: column; gap: 3px; padding: 7px 8px; overflow: hidden; position: relative; }
.ctop { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 10.5px; font-weight: 700; color: #3d3d45; white-space: nowrap; }
.ctop .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rar { font-family: var(--font-label); font-size: 12px; letter-spacing: .04em; line-height: 1.3; padding: 1px 7px; border-radius: 999px; background: var(--navy); color: var(--paper); flex: none; }
.rar.none { background: #e6e6e8; color: var(--paper-muted); }
.rar.gold { background: linear-gradient(135deg, #b8892e, #f6e3a1 50%, #c99a3a); color: var(--navy); }
.rar.silver { background: linear-gradient(135deg, #a9b5c7, #fff 50%, #b7c2d3); color: var(--navy); }
.cname { font-size: 12.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; overflow-wrap: anywhere; }
.art { flex: 1 1 auto; min-height: 0; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 3px;
  background: color-mix(in srgb, var(--tc, #a3a3ab) 18%, var(--paper)); border: 1px solid color-mix(in srgb, var(--tc, #a3a3ab) 50%, var(--paper)); }
.gold .art { border-color: transparent; }
.silver .art { border-color: transparent; }
/* 絵柄アイコン(2026-11-19)：丸の枠をなくし、マスの空いている高さいっぱい(最大96px)に大きく出す */
/* 2026-11-19：絵柄の目印をカード全体の背景に144pxで薄く敷き、斜めの「SAMPLE」を重ねる(カードのイラストと間違われないように) */
.card { isolation: isolate; }
.card > * { position: relative; z-index: 1; }
.card .art { position: static; background: transparent; border-color: transparent; }
.card .art .emb { position: absolute; inset: 5px; z-index: -1; color: var(--navy); pointer-events: none; overflow: hidden; }
.emb img, .emb svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 144px; height: 144px; max-width: none; max-height: none; object-fit: contain; display: block; opacity: .35; }
.emb::after { content: "SAMPLE"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-28deg); font: 800 22px/1 var(--font-label, sans-serif); letter-spacing: .14em; color: rgba(27, 36, 64, .3); white-space: nowrap; }
.card .art .who { flex: none; background: rgba(255, 255, 255, .82); border-radius: 4px; padding: 1px 5px; }
.art .sr { flex: none; }
.who { font-size: 12px; font-weight: 800; line-height: 1.25; color: var(--navy); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.who small { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: .06em; color: var(--paper-muted); }
a.who { position: relative; z-index: 2; text-decoration: underline; text-decoration-color: rgba(29, 29, 34, .35); }
a.who:hover { color: #000; text-decoration-color: currentColor; }
.cset { font-size: 10.5px; line-height: 1.35; color: var(--paper-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfoot { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-family: var(--font-label); font-size: 12px; letter-spacing: .03em; color: var(--paper-muted); flex: none; white-space: nowrap; }
.cfoot .no { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mark { font-family: var(--font-body); font-size: 10px; font-weight: 700; color: var(--navy); background: color-mix(in srgb, var(--tc, #a3a3ab) 35%, var(--paper)); border: 1px solid color-mix(in srgb, var(--tc, #a3a3ab) 70%, var(--navy)); border-radius: 999px; padding: 0 5px; flex: none; }
.off { display: flex; align-items: center; justify-content: center; min-height: 18px; margin: 0 -8px -7px; font-size: 10.5px; background: #e6e6e8; color: var(--paper-muted); border-top: 1px solid #cdcdd2; flex: none; }
.pocket.gold .card { box-shadow: 0 0 0 1px rgba(255, 231, 163, .9), 0 0 14px rgba(233, 196, 106, .45); }
.pocket.silver .card { box-shadow: 0 0 0 1px rgba(236, 241, 248, .9), 0 0 14px rgba(201, 210, 222, .4); }
.pocket:not(.linked) .card { filter: saturate(.75); }
.hit { position: absolute; inset: 0; z-index: 1; border-radius: 9px; }
.hit:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.pocket.linked:hover .sleeve { transform: translateY(-4px); box-shadow: 0 12px 22px rgba(0, 0, 0, .55), 0 0 0 2px rgba(214, 192, 142, .9); }
.pocket.linked:hover .mark { background: var(--navy); color: var(--gold-hi); border-color: var(--navy); }
.foil { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 4px; z-index: 1; }
.foil::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 50%; opacity: .5; transform: translateX(0);
  background: linear-gradient(105deg, rgba(255, 255, 255, 0), rgba(255, 240, 196, .9) 50%, rgba(255, 255, 255, 0)); }
.silver .foil::before { background: linear-gradient(105deg, rgba(255, 255, 255, 0), rgba(214, 236, 255, .9) 50%, rgba(255, 255, 255, 0)); }
.pocket.on .foil::before { animation: sweep 8s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(0); } 35%, 100% { transform: translateX(330%); } }
.pocket.blank { border-radius: 9px; border: 1.5px dashed rgba(255, 255, 255, .16); aspect-ratio: 63 / 88; margin: 0; }
@media (max-width: 640px) {
  .in { padding: 6px 7px; }
  .cname { font-size: 12.5px; }
  .off { margin: 0 -7px -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .sleeve { transition: none; }
  .pocket.linked:hover .sleeve { transform: none; }
  .pocket.on .foil::before { animation: none; }
}
.posts { margin-top: 14px; }
.posts > .label { display: block; margin-bottom: 4px; }
.postrow { padding: 8px 0; border-top: 1px solid var(--line); }
.postrow strong { font-size: 14px; }

/* ---------- 数字のタイル・絞り込み・トップページ ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.stat { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
a.stat:hover { border-color: var(--gold); color: var(--ink); }
.stat b { display: block; font-family: var(--font-label); font-size: 30px; line-height: 1.1; letter-spacing: .02em; color: var(--gold-hi); font-weight: 600; }
.stat span { font-size: 12px; color: var(--muted); }
.stat small { display: block; font-size: 12px; color: var(--ink); margin-top: 2px; }
@media (max-width: 520px) { .stat b { font-size: 23px; } .stat { padding: 10px; } }
.seg { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 10px 14px; margin: 0 0 10px; display: grid; gap: 8px; }
.seg .segrow { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 4px 10px; align-items: start; }
.seg .seglabel { font-size: 12px; color: var(--muted); padding-top: 6px; }
.seg .chips { margin: 0; }
.seg select { font-size: 14px; padding: 6px 10px; width: min(100%, 520px); }
.seg .f.chk { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink); }
@media (max-width: 520px) { .seg .segrow { grid-template-columns: minmax(0, 1fr); } .seg .seglabel { padding-top: 0; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 12px; }
.toolbar input[type="search"] { flex: 1 1 220px; font-size: 15px; }
.toolbar select { font-size: 14px; }
.hero { padding: 8px 0 4px; }
.hero h2.page { font-size: 30px; }
.searchbox .btn { padding: 12px 22px; }
.rlist { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.release { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; background: var(--surface); padding: 12px 16px; border-top: 1px solid var(--line); }
.release:first-child { border-top: 0; }
.release.past { background: var(--surface-2); }
.rdate { font-family: var(--font-label); font-size: 19px; letter-spacing: .04em; color: var(--gold-hi); line-height: 1.2; }
.rdays { display: block; font-family: var(--font-body); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.rname { font-weight: 700; overflow-wrap: anywhere; }
.rmeta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 12px; color: var(--muted); }
.rmeta .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tc, #a3a3ab); }
@media (max-width: 560px) { .release { grid-template-columns: minmax(0, 1fr); } }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 820px) { .pick { grid-template-columns: minmax(0, 1fr); } }
.pickbox { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pickhead { display: flex; gap: 12px; align-items: center; min-width: 0; }
.pickhead h4 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.pickhead h4 a { color: var(--ink); }
.pickcard { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 14px; align-items: start; }
.pickcard .slots { grid-template-columns: minmax(0, 1fr); }
.pickcard dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; font-size: 13px; }
.pickcard dt { color: var(--muted); }
.pickcard dd { margin: 0; overflow-wrap: anywhere; }
.pickbox .slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .pickcard { grid-template-columns: minmax(0, 1fr); } .pickcard .slots { max-width: 200px; } }
.rank { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; counter-reset: rk; }
.rank li { display: grid; grid-template-columns: 2.4em 44px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--surface); padding: 10px 14px; border-top: 1px solid var(--line); }
.rank li:first-child { border-top: 0; }
.rank .no { font-family: var(--font-label); font-size: 22px; color: var(--gold-hi); text-align: center; }
.rank .nm { font-weight: 700; overflow-wrap: anywhere; }
.rank .nm a { color: var(--ink); }
.rank .n { font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 520px) { .rank li { grid-template-columns: 2em 44px minmax(0, 1fr); } .rank .n { grid-column: 3; } }
.plinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.plink { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
a.plink:hover { border-color: var(--gold); color: var(--ink); }
.plink .pr { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 0 7px; border: 1px solid currentColor; border-radius: 4px; color: var(--ink); background: rgba(255, 255, 255, .06); }
.plink .host { font-size: 12px; color: var(--muted); font-family: var(--font-mono); overflow-wrap: anywhere; }
.addisc { color: var(--ink); font-size: 13px; margin: 0 0 10px; }
.plink b { overflow-wrap: anywhere; }
.plink span.label { font-size: 12px; }
.toplinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.adslot { border: 1.5px dashed var(--line-strong, var(--line)); border-radius: 12px; padding: 22px 16px; text-align: center; color: var(--muted); font-size: 13px; margin-top: 34px; }
.matchads { margin-top: 26px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.matchads .addisc { margin: 0 0 10px; font-size: 13px; color: var(--ink); }
.matchads .adlink { border-style: dashed; background: #fff; }
.adslot .pr { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; margin-right: 8px; }

footer { margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* ---------- あたたかホワイト(2026-11-19):白地・青・黄色の差し色。上の指定を色と形だけ上書きする。機能は変えていない ---------- */
:root {
  color-scheme: light;
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f2f6ff;
  --ink: #1b2440; --muted: #4b587a;
  --line: #dce3f3; --line-strong: #8f9dc2;
  --gold: #2456c8; --gold-hi: #1a3f96;
  --silver: #e3e8f3; --navy: #1b2440;
  --paper: #ffffff; --paper-muted: #4b587a;
  --sun: #ffe27a;
  --ok-bg: #e3f5ec; --ok-ink: #136b45;
  --info-bg: #e6eeff; --info-ink: #1a3f96;
  --warn-bg: #fff3cc; --warn-ink: #7a5300;
  --danger: #b3261e;
  --av-bg-l: 92%; --av-fg-l: 30%; --av-line-l: 78%;
  --font-head: "Zen Maru Gothic", var(--font-body);
}
a:hover { color: #12306f; }
.brand { color: var(--ink); font-family: var(--font-head); font-size: 24px; }
nav.tabs a { color: var(--ink); }
nav.tabs a:hover { color: var(--gold); }
nav.tabs a#nav-nomad { color: var(--gold); }
h2.page, section.block > h3, .profile h2, .gh, .pickhead h4 { color: var(--ink); font-family: var(--font-head); }
section.block > h3 { border-bottom: 2px solid var(--line); font-size: 20px; }
.notice { border-radius: 0 12px 12px 0; }
input::placeholder, .searchbox input[type="search"]::placeholder { color: #5d6a8c; }
.hero { background: var(--surface-2); border-radius: 28px; padding: 32px 28px 28px; margin-bottom: 18px; }
.hero h2.page { display: inline; font-size: 32px; line-height: 1.6; padding: 0 .1em; background: linear-gradient(transparent 62%, var(--sun) 62%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .eyebrow { margin-bottom: 6px; }
.hero .lede { margin: 12px 0 18px; font-size: 15px; color: #3b4868; }
.hero .searchbox { margin-bottom: 0; }
.searchbox input[type="search"] { background: #fff; color: var(--ink); border: 2px solid var(--gold); border-radius: 16px; }
.searchbox .btn { border-radius: 16px; padding: 12px 26px; font-size: 16px; }
@media (max-width: 520px) { .hero { padding: 22px 16px 18px; border-radius: 20px; } .hero h2.page { font-size: 24px; } }
.chip { color: var(--ink); background: #fff; }
.chip[aria-pressed="true"] { color: #fff; }
.legend { color: var(--muted); }
.btn { color: #fff; border-radius: 12px; }
.btn:hover { color: #fff; }
.btn.ghost { color: var(--ink); background: #fff; }
.btn.ghost:hover { color: var(--gold-hi); }
.btn.danger { background: #fff; color: var(--danger); }
.agrid .entry:hover { border-color: var(--gold); }
.entry:first-of-type, .count + .entry { border-radius: 12px 12px 0 0; }
.pill.game { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.pill.manga { box-shadow: 2px 2px 0 var(--sun); }
.stat { border-radius: 16px; }
.stat b { color: var(--ink); }
.rlist, .rank { border-radius: 16px; }
.rdate { color: var(--ink); }
.rank .no { width: 34px; height: 34px; display: grid; place-items: center; justify-self: center; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 18px; }
.plink { border-radius: 16px; }
.plink .pr { background: var(--surface-2); }
.pickbox, .profile { border-radius: 20px; }
.pager button { color: var(--ink); background: #fff; }
.pager .pos { color: var(--muted); }
.binder { background: #e8eefb; border-color: #c5d0ea; box-shadow: 0 10px 28px rgba(27, 36, 64, .12); }
.stitch { border-color: rgba(36, 86, 200, .3); }
.bpage { background: #f7f9ff; }
.bpage .pno { color: var(--muted); }
.ring { border-color: #8a99bd; }
.sleeve { background: rgba(27, 36, 64, .04); border-color: rgba(27, 36, 64, .16); }
.sleeve::after { background: linear-gradient(155deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 38%); }
.pocket.blank { border-color: rgba(27, 36, 64, .22); }
.ctop { color: var(--muted); }
.rar { color: #fff; }
.rar.none { background: #e9edf6; color: var(--muted); }
.off { background: #e9edf6; border-top-color: #cfd7ea; }
a.who { text-decoration-color: rgba(27, 36, 64, .35); }
.pocket.gold .card { box-shadow: 0 0 0 1px #d9ae4e, 0 0 12px rgba(233, 196, 106, .55); }
.pocket.silver .card { box-shadow: 0 0 0 1px #aeb9ca, 0 0 12px rgba(160, 175, 200, .5); }
.pocket.linked:hover .sleeve { box-shadow: 0 10px 20px rgba(27, 36, 64, .18), 0 0 0 2px var(--gold); }
.pocket.linked:hover .mark { color: #fff; }
.postframe iframe { background: #fff; }
/* 横の広告枠：本文(幅1120px)の外側に固定して、スクロールしても残す。画面の幅が1500px以上のPCだけ */
.rail { display: none; }
@media (min-width: 1500px) {
  .rail { position: fixed; top: 110px; width: 160px; height: 600px; max-height: calc(100vh - 130px); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 12px; text-align: center; font-size: 12px; line-height: 1.7; color: var(--muted); background: #fff; border: 1.5px dashed var(--line-strong); border-radius: 12px; }
  .rail .pr { font-size: 11px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; }
  .rail-r { left: calc(50% + 560px + 20px); }
  .rail-l { right: calc(50% + 560px + 20px); }
  #rails[data-rails="right"] .rail-l, #rails[data-rails="left"] .rail-r { display: none; }
}
/* 絵柄の記号を入れたアイコン */
.av-sub img, .av-sub svg { width: 72%; height: 72%; object-fit: contain; display: block; }
/* 絵柄べつのランキング(4列) と、漫画家のページ */
.srank { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.scol { min-width: 0; display: grid; gap: 8px; }
.shead { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.sico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--ink); }
.sico img, .sico svg { width: 70%; height: 70%; object-fit: contain; display: block; }
.srank .rank li { grid-template-columns: 34px minmax(0, 1fr) auto; padding: 8px 10px; gap: 4px 8px; }
.srank .rank .no { width: 28px; height: 28px; font-size: 15px; }
.srank .rank .nm { font-size: 14px; }
@media (max-width: 1000px) { .srank { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .srank { grid-template-columns: minmax(0, 1fr); } }
.mghead { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; margin-bottom: 12px; }
.mghead h3 { margin: 0; font-family: var(--font-head); font-size: 20px; overflow-wrap: anywhere; }
.mghead h3 a { color: var(--ink); }
.mghead .meta { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
@media (max-width: 520px) { .mghead { grid-template-columns: 44px minmax(0, 1fr); } .mghead .btn { grid-column: 1 / -1; justify-self: start; } }
/* 漫画家の一覧(押すと下にバインダーが開く) */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 8px; }
.mcell { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; padding: 12px 14px; min-height: 76px; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.mcell { position: relative; overflow: hidden; }
.mcell > .av, .mcell > .mtxt { position: relative; z-index: 1; }
/* 代表作を、マスの背景にうっすら大きく入れる(飾り。読める文字は下の「代表作」の行にある) */
.mwm { position: absolute; right: -4px; bottom: -10px; z-index: 0; max-width: 96%; font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1.1; letter-spacing: .02em; white-space: nowrap; overflow: hidden; color: var(--gold); opacity: .09; pointer-events: none; user-select: none; }
.mcell:hover { background: var(--surface-2); border-color: var(--gold); }
.mcell.on { border: 2px solid var(--gold); background: var(--surface-2); }
.mtxt { display: grid; gap: 3px; min-width: 0; }
.mname { font-family: var(--font-head); font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.mcell .meta { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.mcell .works { margin: 0; }
#mgopen { scroll-margin-top: 12px; }
/* 紹介ページ：絵柄で絞り込むボタン */
.sfnote { margin: 4px 0 6px; }
.sfilter { margin-bottom: 14px; }
.sfilter .chip { min-height: 40px; padding: 5px 14px 5px 8px; }
.sfilter .chip:first-child { padding-left: 14px; }
.sfi { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); }
.sfi img, .sfi svg { width: 80%; height: 80%; object-fit: contain; display: block; }
/* 紹介ページ：著書 */
.books { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.books li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.books .bt { display: grid; gap: 2px; min-width: 0; flex: 1 1 260px; }
.books .bt b { font-size: 16px; overflow-wrap: anywhere; }
.books .btn .pr { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; margin-right: 8px; border: 1px solid currentColor; border-radius: 4px; }
.form .f.full { flex: 1 1 100%; }
.form textarea { width: 100%; min-width: 0; padding: 9px 12px; font: inherit; font-size: 15px; line-height: 1.6; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; resize: vertical; }
/* 注意書き：最初は1〜2行だけ見せて、「くわしく」で開く */
details.notice > summary { cursor: pointer; list-style: none; min-height: 28px; }
details.notice > summary::-webkit-details-marker { display: none; }
details.notice .more { color: var(--gold-hi); text-decoration: underline; margin-left: .6em; white-space: nowrap; font-weight: 700; }
details.notice[open] .more { display: none; }
details.notice p { margin: 8px 0 0; }
/* 今日のイラストレーター */
.todaypick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px; }
.todaybtn { display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 6px 20px 6px 8px; background: #fff; color: var(--ink); border: 2px solid var(--sun); border-radius: 999px; text-decoration: none; box-shadow: 0 4px 12px rgba(27, 36, 64, .08); }
.todaybtn:hover { color: var(--ink); border-color: var(--gold); }
.todaybtn .av { border-radius: 50%; }
.todaybtn .tl { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.todaybtn .tn { display: block; font-family: var(--font-head); font-size: 17px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.todaybtn .ta { color: var(--gold); font-weight: 700; }
/* 新弾情報をブースター・パックとデッキ・スターターの2列に分ける */
.rcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; align-items: start; }
.rcol { min-width: 0; display: grid; gap: 10px; }
.rcol .btn { justify-self: start; }
.rhead { margin: 0; font-family: var(--font-head); font-size: 17px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.rhead::before { content: ""; width: 10px; height: 18px; border-radius: 4px; background: var(--sun); flex: none; }
.rsub { margin-top: 6px; }
.rcols .release { grid-template-columns: 7em minmax(0, 1fr); }
.rcols .release > :last-child { grid-column: 2; }
@media (max-width: 900px) { .rcols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .rcols .release { grid-template-columns: minmax(0, 1fr); } .rcols .release > :last-child { grid-column: 1; } }
/* イラストレーターのマス全体を押せるようにする(中の「紹介ページ」リンクの押せる範囲をマス全体に広げる) */
article.entry.with-av, .rank li { position: relative; }
article.entry.with-av .side a::after, .rank .nm a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
article.entry.with-av:hover, .rank li:hover { background: var(--surface-2); }
article.entry.with-av:has(a:focus-visible), .rank li:has(a:focus-visible) { outline: 3px solid var(--gold-hi); outline-offset: -3px; }

/* ---- 静的版で追加(2026-11-20) ---- */
.adnote { font-size: inherit; font-weight: inherit; color: var(--ink); margin: 0 0 16px; }
.pr { display: inline-block; font-size: 11px; font-weight: 700; padding: 0 6px; border: 1px solid currentColor; border-radius: 4px; margin-right: 6px; }
.sitefoot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.sitefoot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; }
.sitefoot nav a { color: inherit; }
.doc { max-width: 760px; line-height: 1.9; }
.doc h2 { margin-top: 0; }
.doc h3 { margin-top: 28px; font-size: 16px; }
.doc table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.doc .blank { background: #fff4cc; padding: 0 4px; border-radius: 3px; }
.slist { list-style: none; padding: 0; margin: 6px 0 18px; }
.slist li { padding: 4px 0; border-bottom: 1px dotted var(--line); }
.slist .label { margin-left: 6px; }
.reqfix { margin-top: 10px; }
.brand .brandlink { color: inherit; text-decoration: none; display: inherit; align-items: inherit; gap: inherit; }
