/* =========================================================
   うなる雑学 — style.css
   コンセプト：墨線とずらし影の「ステッカー図鑑」× 雑誌の大見出し
   ========================================================= */
:root {
  --paper: #fff6e6;
  --paper2: #fffbf3;
  --card: #ffffff;
  --ink: #1b1511;
  --ink2: #5a4f46;
  --ink3: #8b8076;
  --line: rgba(27, 21, 17, 0.14);
  --accent: #ff4a1c;
  --accent2: #ff7a1a;
  --yellow: #ffd60a;
  --mint: #00c2a0;
  --sh: #1b1511;
  --bw: 2.5px;
  --r: 18px;
  --r-sm: 12px;
  --f-display: 'Dela Gothic One', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --f-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --f-serif: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --f-en: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.2, 0.9, 0.2, 1.15);
  --wrap: 1180px;
  --prose: 720px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #14110e;
    --paper2: #1b1713;
    --card: #221c17;
    --ink: #f7efe4;
    --ink2: #cfc3b6;
    --ink3: #9a8f84;
    --line: rgba(247, 239, 228, 0.16);
    --sh: #000;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #14110e;
  --paper2: #1b1713;
  --card: #221c17;
  --ink: #f7efe4;
  --ink2: #cfc3b6;
  --ink3: #9a8f84;
  --line: rgba(247, 239, 228, 0.16);
  --sh: #000;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: 'palt' 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* 紙の粒子 */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(120, 90, 60, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(#000, transparent 70%);
}
main {
  position: relative;
  z-index: 1;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}
.center {
  text-align: center;
}
[hidden] {
  display: none !important;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--sh);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--sh);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--sh);
}
.btn-big {
  padding: 15px 26px;
  font-size: 17px;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.link-more {
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

/* ---------- 読書ゲージ ---------- */
.gauge {
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  z-index: 60;
  pointer-events: none;
}
.gauge-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--yellow), var(--accent), #ff3d6e, #7b5cff);
}

/* ---------- ヘッダー ---------- */
.hd {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: var(--bw) solid var(--ink);
}
.hd-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  flex: none;
  filter: drop-shadow(2px 2px 0 var(--sh));
}
.logo:hover .lw1 {
  animation: wave 0.7s ease-in-out 2;
}
.logo:hover .lw2 {
  animation: pop 0.6s var(--ease);
}
@keyframes wave {
  50% {
    transform: translateY(-2px) scaleX(1.06);
  }
}
@keyframes pop {
  50% {
    transform: scale(1.6);
    transform-origin: 38px 13px;
  }
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink2);
  letter-spacing: 0.04em;
}
.logo-name {
  font-family: var(--f-display);
  font-size: 25px;
  letter-spacing: 0.02em;
}
.hd-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hd-btn {
  height: 42px;
  min-width: 42px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 3px 3px 0 var(--sh);
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}
.hd-btn:hover {
  transform: translate(-1px, -1px) rotate(-3deg);
  box-shadow: 4px 4px 0 var(--sh);
}
.hd-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.hd-btn-label {
  font-weight: 900;
  font-size: 14px;
}
.gacha-btn {
  background: var(--yellow);
  color: #1b1511;
  padding: 0 14px 0 8px;
}
.gacha-ball {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #1b1511;
  background: linear-gradient(#ff4a1c 0 48%, #1b1511 48% 56%, #fff 56%);
  display: inline-block;
  flex: none;
}
.gacha-btn:hover .gacha-ball,
.btn:hover .gacha-ball {
  animation: spin 0.8s var(--ease);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ---------- コーナーの帯（ヘッダーの下。ページと一緒に流れる） ---------- */
.cn {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper2);
}
.cn-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 16px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cn-grid,
.cn-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
}
.cn-sub a {
  font-size: 12.5px;
  padding: 2px 11px;
  border: 1.5px solid var(--line);
  background: var(--card);
}
.cn a {
  --c: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.cn a:hover {
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border-color: var(--c);
  transform: translateY(-1px);
}
.cn-sp {
  --c: var(--accent);
}

/* ---------- ドロワー・検索 ---------- */
.drawer,
.search {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.drawer-bg,
.search-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 6, 0.45);
  backdrop-filter: blur(3px);
}
.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background: var(--paper);
  border-left: var(--bw) solid var(--ink);
  padding: 22px 18px 40px;
  overflow-y: auto;
}
.drawer-x,
.search-row button {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: var(--card);
  font-size: 22px;
  line-height: 1;
}
.drawer-h {
  font-family: var(--f-display);
  font-size: 14px;
  margin: 18px 0 8px;
  color: var(--ink2);
}
.drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.drawer-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: var(--r-sm);
  background: var(--card);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--c, var(--sh));
}
.drawer-list b {
  display: block;
  font-size: 15px;
}
.drawer-list small {
  color: var(--ink3);
  font-size: 11px;
  font-family: var(--f-en);
}
.dl-emoji {
  font-size: 24px;
}
.drawer-sm a {
  font-weight: 700;
  font-size: 14px;
  box-shadow: 3px 3px 0 var(--sh);
}
.search-panel {
  position: relative;
  max-width: 680px;
  margin: 12vh auto 0;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--sh);
  padding: 16px;
  width: calc(100% - 32px);
}
.search-row {
  position: relative;
}
.search-row input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  padding: 12px 56px 12px 14px;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
}
.search-row button {
  top: 5px;
  right: 6px;
  width: 36px;
  height: 36px;
}
.search-res {
  max-height: 55vh;
  overflow-y: auto;
  margin-top: 10px;
}
.search-res a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
}
.search-res a:hover {
  background: var(--card);
}
.search-res small {
  color: var(--ink3);
  display: block;
  font-size: 12px;
}
.search-res b {
  font-size: 15px;
}

/* ---------- 部品 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: color-mix(in srgb, var(--c) 18%, var(--card));
  border: 1.5px solid var(--c);
  color: var(--ink);
  white-space: nowrap;
}
.meter {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
}
.meter i {
  width: 9px;
  height: 14px;
  border-radius: 3px;
  background: var(--line);
  transform: skewX(-12deg);
}
.meter i.on {
  background: var(--c, var(--accent));
}
.meter-lg i {
  width: 14px;
  height: 22px;
  border: 2px solid var(--ink);
}
.meter-lg i.on {
  background: var(--yellow);
}
.stamp {
  --sc: #888;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 3.5px double var(--sc);
  color: var(--sc);
  font-family: var(--f-display);
  transform: rotate(-12deg);
  background: color-mix(in srgb, var(--paper2) 86%, transparent);
  line-height: 1;
  flex: none;
}
.stamp b {
  font-weight: 400;
  font-size: 19px;
}
.stamp small {
  font-family: var(--f-en);
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-top: 3px;
  font-weight: 800;
}
.stamp-true {
  --sc: #11995f;
}
.stamp-false {
  --sc: #e5332a;
}
.stamp-gray {
  --sc: #7d7d7d;
}
.stamp-sm {
  width: 50px;
  height: 50px;
  border-width: 3px;
}
.stamp-sm b {
  font-size: 13px;
}
.stamp-sm small {
  display: none;
}
.stamp-md {
  width: 60px;
  height: 60px;
}
.stamp-md b {
  font-size: 15px;
}
.stamp-lg {
  width: 116px;
  height: 116px;
  border-width: 5px;
}
.stamp-lg b {
  font-size: 30px;
}
.stamp-lg small {
  font-size: 12px;
}

/* ---------- 動くカバー（SVG） ---------- */
.mv {
  width: 100%;
  height: 100%;
}
.mv-float {
  animation: mvFloat var(--d) ease-in-out var(--dl) infinite alternate;
}
.mv-twinkle {
  animation: mvTw var(--d) ease-in-out var(--dl) infinite;
}
.mv-spin {
  animation: spin var(--d) linear infinite;
}
.mv-bob {
  animation: mvBob var(--d) ease-in-out infinite;
}
@keyframes mvFloat {
  to {
    transform: translate(var(--dx), var(--dy)) scale(1.08);
  }
}
@keyframes mvTw {
  50% {
    opacity: 0.1;
  }
}
@keyframes mvBob {
  50% {
    transform: translateY(-14px) rotate(-3deg);
  }
}

/* ---------- カード ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 26px 22px;
}
.card {
  --c: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--c);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  box-shadow: 9px 9px 0 var(--c);
}
.card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
  background: color-mix(in srgb, var(--c) 20%, var(--paper));
}
.card-img img,
.card-img .mv {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-img img,
.card:hover .card-img .mv {
  transform: scale(1.06);
}
.card-no {
  position: absolute;
  left: 10px;
  top: 10px;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 9px;
  border-radius: 7px;
}
.card-img .stamp {
  position: absolute;
  right: 10px;
  top: 8px;
}
.card-read {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 900;
  background: var(--mint);
  color: #fff;
  padding: 1px 8px;
  border-radius: 6px;
  display: none;
}
.card.is-read .card-read {
  display: block;
}
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-body .chip {
  align-self: flex-start;
}
.card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 900;
}
.card-hook {
  margin: 0;
  color: var(--ink2);
  font-size: 13.5px;
  line-height: 1.6;
}
.card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink3);
}
.card-min {
  margin-left: auto;
}

/* ---------- セクション見出し ---------- */
.sec {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 16px;
}
.sec-head {
  margin-bottom: 26px;
}
.sec-head h2,
.sec-h {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.3;
  margin: 2px 0 8px;
}
.sec-head p {
  margin: 0;
  color: var(--ink2);
}
.sec-en {
  display: inline-block;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.sec-h .sec-en {
  display: block;
}

/* ---------- トップ：ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
  background:
    radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, var(--yellow) 45%, transparent), transparent 70%),
    radial-gradient(50% 60% at 10% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.hero-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 54px 16px 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 34px;
  align-items: center;
}
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.hero-kicker span {
  font-size: 12.5px;
  font-weight: 900;
  padding: 3px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
}
.hero-kicker span:first-child {
  background: var(--ink);
  color: var(--paper);
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.ht-line {
  display: block;
}
.ht-line .hch {
  display: inline-block;
}
.hero-title em {
  font-style: normal;
  position: relative;
  color: var(--accent);
  white-space: nowrap;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.06em;
  height: 0.32em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform-origin: 0 50%;
  animation: hl 0.9s 0.9s var(--ease) both;
}
@keyframes hl {
  from {
    transform: scaleX(0);
  }
}
.hero-lead {
  font-size: 16.5px;
  color: var(--ink2);
  max-width: 34em;
  margin: 0 0 26px;
  line-height: 1.9;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  max-width: 560px;
}
.stats div {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 3px 3px 0 var(--sh);
}
.stats dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink3);
}
.stats dd {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}
.stats b {
  font-family: var(--f-en);
  font-size: 26px;
  font-weight: 800;
  margin-right: 2px;
}
.hero-art {
  position: relative;
  height: 470px;
}
.hc {
  --c: var(--accent);
  position: absolute;
  width: 62%;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: 7px 7px 0 var(--c);
  text-decoration: none;
  overflow: hidden;
}
.hc-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.hc-img img,
.hc-img .mv {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hc b {
  display: block;
  padding: 10px 14px 12px;
  font-size: 15px;
  line-height: 1.45;
}
.hc-no {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 6px;
}
.hc1 {
  left: 2%;
  top: 4%;
  transform: rotate(-6deg);
  z-index: 3;
}
.hc2 {
  right: 0;
  top: 28%;
  transform: rotate(5deg);
  z-index: 2;
}
.hc3 {
  left: 12%;
  bottom: 0;
  transform: rotate(-2deg);
  z-index: 1;
}
.hero-burst {
  position: absolute;
  font-family: var(--f-display);
  background: var(--yellow);
  color: #1b1511;
  border: var(--bw) solid #1b1511;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 #1b1511;
  z-index: 5;
  font-size: 18px;
}
.hb1 {
  right: 6%;
  top: 2%;
  transform: rotate(8deg);
}
.hb2 {
  left: -2%;
  top: 52%;
  background: var(--accent);
  color: #fff;
  font-size: 26px;
}
.hb3 {
  right: 10%;
  bottom: 6%;
  background: #fff;
  transform: rotate(-8deg);
}

/* ---------- ティッカー ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 0;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
}
.tk-row {
  overflow: hidden;
  white-space: nowrap;
}
.tk-row + .tk-row {
  margin-top: 6px;
}
.tk-track {
  display: inline-flex;
  gap: 12px;
  /* 速さは「1本あたり何秒か」で決める（記事が増えても同じ速さ。1本≒5秒で約60px/秒。変えるならこの秒数） */
  animation: tick calc(var(--tk-n, 40) * 5s) linear infinite;
  padding-left: 12px;
}
.tk-rev .tk-track {
  animation-direction: reverse;
}
.ticker:hover .tk-track {
  animation-play-state: paused;
}
.tk-track a {
  flex: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 3px 14px;
  border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--c) 70%, #fff);
  background: color-mix(in srgb, var(--c) 22%, transparent);
}
.tk-track a:hover {
  background: var(--c);
  color: #fff;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- きょうの雑学 ---------- */
.today {
  padding-top: 40px;
  padding-bottom: 10px;
}
.today-card {
  --c: var(--accent);
  border: var(--bw) solid var(--ink);
  border-radius: 26px;
  background: var(--card);
  box-shadow: 8px 8px 0 var(--c);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.today-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 22%, transparent);
}
.today-k {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--c);
}
.today-k span {
  font-family: var(--f-en);
  color: var(--ink3);
  font-size: 13px;
  margin-left: 6px;
}
.today-link {
  position: relative;
  display: grid;
  gap: 4px;
  text-decoration: none;
}
.today-no {
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--ink3);
}
.today-hook {
  font-family: var(--f-display);
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.35;
}
.today-title {
  color: var(--ink2);
  font-size: 14.5px;
}
.today-go {
  font-weight: 900;
  color: var(--accent);
}

/* ---------- ウソ？ホント？ ---------- */
.uso-game {
  max-width: 560px;
  margin: 0 auto;
}
.uso-stack {
  position: relative;
  height: 330px;
  perspective: 1000px;
}
.uso-card {
  position: absolute;
  inset: 0;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  box-shadow: 7px 7px 0 var(--c, var(--accent));
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.uso-card:nth-last-child(2) {
  transform: translate(8px, 10px) rotate(2deg);
  z-index: -1;
}
.uso-card:nth-last-child(3) {
  transform: translate(-8px, 18px) rotate(-2deg);
  z-index: -2;
}
.uc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--ink3);
  font-size: 14px;
}
.uc-emoji {
  font-size: 30px;
}
.uc-q {
  font-family: var(--f-display);
  font-size: clamp(20px, 3.4vw, 27px);
  line-height: 1.45;
  margin: 0;
}
.uc-hint {
  font-size: 12.5px;
  color: var(--ink3);
  margin: 0;
}
.uc-res {
  position: absolute;
  inset: 0;
  border-radius: 21px;
  background: var(--card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.uc-res .stamp {
  position: absolute;
  right: 18px;
  top: 16px;
}
.uc-qs {
  margin: 0;
  font-size: 13px;
  color: var(--ink3);
  padding-right: 70px;
  font-weight: 700;
}
.uc-judge {
  font-family: var(--f-display);
  font-size: 30px;
  margin: 0;
}
.uc-judge.ok {
  color: #11995f;
}
.uc-judge.ng {
  color: #e5332a;
}
.uc-exp {
  margin: 0;
  font-size: 15px;
  padding-right: 70px;
}
.uc-link {
  font-weight: 900;
  color: var(--accent);
}
.uc-next {
  align-self: flex-start;
}
.uso-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.uso-b {
  font-family: var(--f-display);
  font-size: 26px;
  padding: 14px;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--sh);
  color: #fff;
  transition: transform 0.15s var(--ease), box-shadow 0.15s;
}
.uso-b:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--sh);
}
.uso-b:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--sh);
}
.uso-f {
  background: #e5332a;
}
.uso-t {
  background: #11995f;
}
.uso-b:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.uso-prog {
  text-align: center;
  font-weight: 700;
  color: var(--ink2);
}
.uso-end {
  text-align: center;
}
.uso-end .ue-score {
  font-family: var(--f-display);
  font-size: 54px;
  line-height: 1.1;
  margin: 0;
}
.uso-end .ue-rank {
  font-weight: 900;
  font-size: 18px;
  margin: 4px 0 14px;
}

/* ---------- コーナー ---------- */
.corner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}
.ct {
  --c: var(--accent);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 14px;
  padding: 18px 18px 16px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  background: linear-gradient(140deg, color-mix(in srgb, var(--c) 20%, var(--card)), var(--card) 65%);
  box-shadow: 5px 5px 0 var(--c);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease);
}
.ct:hover {
  box-shadow: 8px 8px 0 var(--c);
}
.ct-emoji {
  grid-row: 1/4;
  font-size: 44px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}
.ct:hover .ct-emoji {
  transform: scale(1.2) rotate(-10deg);
}
.ct-en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c);
  filter: brightness(0.85);
}
.ct-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
}
.ct-desc {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.65;
  margin-top: 4px;
}
.ct-n {
  position: absolute;
  right: 12px;
  top: 10px;
  font-weight: 900;
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 0 9px;
}

/* ---------- しくじりミュージアム ---------- */
.museum {
  max-width: none;
  background: repeating-linear-gradient(90deg, transparent 0 120px, color-mix(in srgb, var(--ink) 4%, transparent) 120px 121px);
  border-block: var(--bw) solid var(--ink);
}
.museum .sec-head {
  max-width: var(--wrap);
  margin: 0 auto 26px;
}
.mu-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px max(16px, calc((100vw - var(--wrap)) / 2 + 16px)) 26px;
  margin: 0 -16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  cursor: grab;
}
.mu-track.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}
.mu {
  --c: var(--accent);
  flex: none;
  width: min(330px, 78vw);
  scroll-snap-align: start;
  text-decoration: none;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: 6px 6px var(--r) var(--r);
  box-shadow: 6px 6px 0 var(--c);
  padding: 14px;
  position: relative;
  transition: transform 0.25s var(--ease);
}
.mu:hover {
  transform: translateY(-6px) rotate(-1deg);
}
.mu-room {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c);
}
.mu-img {
  margin: 8px 0 12px;
  aspect-ratio: 4/3;
  border: 8px solid #3a2a1a;
  outline: 2px solid var(--yellow);
  outline-offset: -12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #000;
}
.mu-img img,
.mu-img .mv {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mu-hook {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
}
.mu-title {
  display: block;
  font-size: 13px;
  color: var(--ink2);
  margin-top: 6px;
}

/* ---------- 判定ボード ---------- */
.bd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}
.bd-list a {
  --c: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--c);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.bd-list a:hover {
  transform: translateX(4px);
}
.bd-q {
  font-weight: 900;
  font-size: 15.5px;
  line-height: 1.5;
}

/* ---------- ランキング ---------- */
.rank {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.rank a {
  --c: var(--accent);
  display: grid;
  grid-template-columns: 54px 120px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 10px 10px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--c);
  transition: transform 0.2s var(--ease);
}
.rank a:hover {
  transform: translate(-2px, -2px);
}
.rk-n {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 40px;
  text-align: center;
  color: var(--c);
  line-height: 1;
}
.rank li:first-child .rk-n {
  color: #e2a200;
}
.rk-img {
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--ink);
}
.rk-img img,
.rk-img .mv {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rk-t small {
  display: block;
  color: var(--ink3);
  font-size: 12px;
  font-weight: 700;
}
.rk-t b {
  font-size: 15.5px;
  line-height: 1.5;
}

/* ---------- ミニ雑学 ---------- */
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2 300px;
  column-gap: 18px;
}
.mini-list li {
  --c: var(--accent);
  break-inside: avoid;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  border-radius: 16px 16px 16px 4px;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--c);
}
.mini-list p {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 15.5px;
}
.mini-list a,
.mini-full a {
  font-size: 11.5px;
  color: var(--ink3);
  word-break: break-all;
}

/* ---------- 英語の宣伝・約束 ---------- */
.en-promo .ep-in {
  border: var(--bw) solid var(--ink);
  border-radius: 28px;
  padding: 34px 28px;
  background:
    radial-gradient(40% 80% at 100% 0, rgba(47, 123, 255, 0.25), transparent),
    linear-gradient(135deg, #e9f1ff, #fff 60%);
  color: #1b1511;
  box-shadow: 8px 8px 0 #2f7bff;
}
.en-promo h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 36px);
  margin: 4px 0 10px;
}
.en-promo p {
  max-width: 40em;
  margin: 0 0 20px;
}
.pr-list {
  list-style: none;
  counter-reset: pr;
  padding: 0;
  margin: 10px 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.pr-list li {
  counter-increment: pr;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 18px;
  background: var(--card);
  position: relative;
}
.pr-list li::before {
  content: counter(pr);
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 46px;
  color: color-mix(in srgb, var(--accent) 30%, transparent);
}
.pr-list b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
}
.pr-list p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink2);
}

/* ---------- 記事：ヒーロー ---------- */
.art {
  --c: var(--accent);
}
.art-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.art-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.art-cover img,
.art-cover .mv {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 30%;
}
.art-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 6, 3, 0) 25%, rgba(10, 6, 3, 0.55) 60%, rgba(10, 6, 3, 0.86));
}
.art-head {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 120px 16px 40px;
  color: #fff;
  position: relative;
}
.art-head .bc {
  color: rgba(255, 255, 255, 0.85);
}
.art-tags {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.art-tags .chip {
  color: #1b1511;
  background: #fff;
}
.art-no {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 15px;
  background: var(--yellow);
  color: #1b1511;
  padding: 1px 10px;
  border-radius: 7px;
  border: 2px solid #1b1511;
}
.art-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 4.8vw, 54px);
  line-height: 1.3;
  margin: 0 0 14px;
  max-width: 21em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}
.art-hook {
  display: inline-block;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 900;
  margin: 0 0 20px;
  padding: 4px 14px;
  background: var(--accent);
  border-radius: 10px;
  transform: rotate(-1deg);
}
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.am-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  font-size: 13px;
}
.am-k {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 700;
}
.am-item b {
  font-family: var(--f-en);
  font-size: 20px;
}
.am-item .meter-lg i {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.am-item .meter-lg i.on {
  background: var(--yellow);
}
.art-verdict .stamp {
  background: rgba(255, 255, 255, 0.93);
}
.art-verdict {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
}
.art-verdict .stamp {
  flex: none;
}
.av-claim {
  max-width: 560px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: #1d1d1f;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.av-claim span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #6b6b6b;
  letter-spacing: 0.04em;
}

/* ---------- パンくず ---------- */
.bc ol {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
}
.bc li + li::before {
  content: '›';
  margin-right: 4px;
  opacity: 0.6;
}
.bc a {
  text-decoration: none;
}
.bc a:hover {
  text-decoration: underline;
}

/* ---------- 記事：本体 ---------- */
.art-wrap {
  max-width: calc(var(--prose) + 32px);
  margin: 0 auto;
  padding: 0 16px;
}
.quick {
  margin: -36px 0 30px;
  position: relative;
  z-index: 2;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--c);
  padding: 22px 22px 18px;
}
.quick-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.quick-badge {
  font-family: var(--f-display);
  background: var(--ink);
  color: var(--paper);
  padding: 2px 12px;
  border-radius: 8px;
  font-size: 14px;
}
.quick-easy {
  font-weight: 900;
  font-size: 15.5px;
}
.quick-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: q;
  display: grid;
  gap: 8px;
}
.quick-list li {
  counter-increment: q;
  position: relative;
  padding-left: 38px;
  font-weight: 700;
  line-height: 1.65;
}
.quick-list li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c);
  color: #fff;
  font-family: var(--f-en);
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 2px solid var(--ink);
}
.quick-sum {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1.5px dashed var(--line);
  color: var(--ink2);
  font-size: 14.5px;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.jump a {
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--paper2);
  transition: background 0.15s, transform 0.15s;
}
.jump a:hover {
  background: var(--yellow);
  color: #1b1511;
  transform: translateY(-2px);
}
.toc {
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 12px 18px;
  margin: 0 0 34px;
  background: var(--paper2);
}
.toc summary {
  font-family: var(--f-display);
  cursor: pointer;
}
.toc ol {
  margin: 8px 0 4px;
  padding-left: 1.4em;
}
.toc li {
  margin: 4px 0;
  font-size: 14.5px;
}
.toc a {
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent);
}

.prose {
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.02em;
}
.prose p {
  margin: 0 0 1.4em;
}
.prose h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 3.6vw, 29px);
  line-height: 1.45;
  margin: 2.4em 0 1em;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.h-num {
  flex: none;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 0.75em;
  background: var(--c);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0 8px;
  line-height: 1.6;
  margin-top: 0.15em;
  box-shadow: 2px 2px 0 var(--sh);
}
.prose h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 2em 0 0.8em;
  padding-left: 12px;
  border-left: 6px solid var(--c);
  line-height: 1.5;
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.prose li {
  margin: 0.35em 0;
}
.prose strong {
  font-weight: 900;
}
.prose mark {
  background: linear-gradient(transparent 55%, color-mix(in srgb, var(--yellow) 85%, transparent) 55%);
  color: inherit;
  padding: 0 2px;
}
.prose a {
  color: var(--accent);
  text-underline-offset: 3px;
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  border-left: 6px solid var(--ink);
  background: var(--paper2);
  border-radius: 0 14px 14px 0;
  font-family: var(--f-serif);
}
.prose hr {
  border: 0;
  height: 2px;
  background: var(--line);
  margin: 2.4em 0;
}
.fig {
  margin: 2em 0;
}
.fig img,
.fig-ph {
  width: 100%;
  border: var(--bw) solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--c);
  aspect-ratio: 3/2;
  object-fit: cover;
}
.fig figcaption {
  font-size: 13.5px;
  color: var(--ink2);
  margin-top: 10px;
  line-height: 1.7;
}

/* ボックス */
.box {
  --bc: var(--c);
  margin: 2em 0;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 5px 5px 0 var(--bc);
  overflow: hidden;
  font-size: 15.5px;
  line-height: 1.9;
}
.box-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-weight: 900;
  font-size: 15px;
  background: color-mix(in srgb, var(--bc) 16%, var(--card));
  border-bottom: 2px solid var(--ink);
}
.box-icon {
  font-size: 20px;
}
.box-body {
  padding: 14px 18px 4px;
}
.box-body p {
  margin: 0 0 0.9em;
}
.box-myth {
  --bc: #e5332a;
}
.box-column {
  --bc: #b8862b;
  background: var(--paper2);
}
.box-term {
  --bc: #2f7bff;
}
.box-warn {
  --bc: #ffb300;
}
.box-verdict {
  --bc: #11995f;
  position: relative;
}
.box-verdict.v-false {
  --bc: #e5332a;
}
.box-verdict.v-gray {
  --bc: #7d7d7d;
}
.v-stamp {
  margin-left: auto;
  font-family: var(--f-display);
  font-weight: 400;
  color: var(--bc);
  border: 3px double var(--bc);
  border-radius: 10px;
  padding: 0 10px;
  transform: rotate(-8deg);
  font-size: 18px;
  background: var(--card);
}
.nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 12px;
  padding-bottom: 14px;
}
.num {
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.num-big {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.2;
}
.num-big b {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 40px;
  color: var(--c);
  margin-right: 2px;
}
.num-text {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.6;
  margin-top: 4px;
}
.tl {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 8px;
  position: relative;
}
/* .prose ol の padding-left(1.4em) に負けないよう ol.tl で上書き（線と丸の位置の前提） */
ol.tl {
  padding-left: 8px;
}
.tl::before {
  content: '';
  position: absolute;
  left: 74px;
  top: 8px;
  bottom: 18px;
  width: 3px;
  background: var(--c);
  border-radius: 3px;
  transform-origin: top;
}
.tl li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 6px 0;
  position: relative;
}
.tl li::after {
  content: '';
  position: absolute;
  left: 61px;
  top: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--ink);
}
.tl-year {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 15px;
  text-align: right;
  padding-right: 20px;
  overflow-wrap: anywhere;
}
.tl-text {
  padding-left: 6px;
}
.box-think {
  --bc: #7b5cff;
}
.think-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}
.think-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, #7b5cff 8%, var(--card));
}
.think-list p {
  margin: 0;
  font-weight: 700;
}
.think-no {
  font-family: var(--f-en);
  font-weight: 800;
  color: #fff;
  background: #7b5cff;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1.8;
}
.gl {
  border-bottom: 2px dotted var(--c);
  cursor: help;
  position: relative;
}
.gl.open::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  width: min(280px, 80vw);
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.7;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
}

/* 深掘り講義 */
.lecture {
  margin: 3.2em -16px 2.4em;
  padding: 0 16px 10px;
  position: relative;
  background:
    linear-gradient(90deg, transparent 0 46px, rgba(229, 51, 42, 0.32) 46px 48px, transparent 48px),
    repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, #2f7bff 18%, transparent) 39px 40px),
    var(--paper2);
  border-block: var(--bw) solid var(--ink);
}
.lecture-head {
  padding: 30px 0 12px 46px;
}
.lecture-label {
  display: inline-block;
  font-family: var(--f-en);
  font-weight: 800;
  letter-spacing: 0.24em;
  font-size: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 10px;
  border-radius: 4px;
}
.lecture-title {
  font-family: var(--f-serif) !important;
  font-weight: 700 !important;
  font-size: clamp(25px, 4vw, 34px) !important;
  margin: 8px 0 4px !important;
  display: block !important;
}
.lecture-sub {
  margin: 0 !important;
  color: var(--ink2);
  font-size: 14px;
}
.lecture-body {
  padding-left: 46px;
  font-family: var(--f-serif);
  font-size: 16.5px;
  line-height: 2.4;
}
.lecture-body h3 {
  font-family: var(--f-body);
  border-left: 0;
  padding: 0;
  font-size: 19px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.lecture-body h3::before {
  content: '§';
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--accent);
  font-size: 22px;
}
.lecture-body .box {
  font-family: var(--f-body);
}

/* 人に話すなら */
.talk {
  margin: 3em 0;
  padding: 26px 22px 22px;
  border: var(--bw) solid var(--ink);
  border-radius: 24px;
  background: var(--yellow);
  color: #1b1511;
  box-shadow: 7px 7px 0 var(--sh);
  position: relative;
}
.talk::before {
  content: '';
  position: absolute;
  left: 40px;
  bottom: -18px;
  width: 30px;
  height: 30px;
  background: var(--yellow);
  border-right: var(--bw) solid var(--ink);
  border-bottom: var(--bw) solid var(--ink);
  transform: rotate(45deg);
}
.talk-k {
  margin: 0 0 6px;
  font-family: var(--f-display);
  font-size: 14px;
}
.talk-q {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 900;
  line-height: 1.7;
}
.talk-act {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.unaru-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: var(--bw) solid #1b1511;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 4px 4px 0 #1b1511;
  transition: transform 0.12s var(--ease);
}
.unaru-btn:active {
  transform: scale(0.94);
}
.ub-face {
  font-size: 22px;
  display: inline-block;
}
.ub-n {
  font-family: var(--f-en);
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0 8px;
  min-width: 26px;
  text-align: center;
}
.ub-n:empty {
  display: none;
}
.unaru-btn.done {
  background: #ffe9e3;
}
.save-btn {
  padding: 10px 16px;
  border: var(--bw) solid #1b1511;
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 4px 4px 0 #1b1511;
}
.save-btn[aria-pressed='true'] {
  background: #1b1511;
  color: #ffd60a;
}
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 90;
  font-size: 22px;
  left: 0;
  top: 0;
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sh {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  border: 2px solid #1b1511;
  background: #fff;
  color: #1b1511;
}
.sh-x {
  background: #000;
  color: #fff;
}
.sh-line {
  background: #06c755;
  color: #fff;
}
.sh-hb {
  background: #00a4de;
  color: #fff;
}

/* ---------- 英語で読む ---------- */
.en {
  margin: 3.4em -16px;
  padding: 28px 18px 26px;
  background: linear-gradient(180deg, #eaf2ff, var(--paper2) 260px);
  border-block: var(--bw) solid var(--ink);
}
:root[data-theme='dark'] .en {
  background: linear-gradient(180deg, #13213b, var(--paper2) 260px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .en {
    background: linear-gradient(180deg, #13213b, var(--paper2) 260px);
  }
}
.en-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 32px);
  margin: 2px 0 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.en-sub {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: clamp(19px, 3vw, 24px);
  margin: 0 0 12px;
  color: #2f7bff;
}
.en-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.en-badges span {
  font-size: 12px;
  font-weight: 900;
  padding: 2px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
}
.en-badges span:first-child {
  background: #2f7bff;
  color: #fff;
}
.player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  margin-bottom: 14px;
}
.pl-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: #2f7bff;
  color: #fff;
  font-size: 15px;
  flex: none;
}
.pl-bar {
  flex: 1;
  height: 8px;
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.pl-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #2f7bff;
}
.pl-time {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 13px;
  min-width: 34px;
}
.pl-rate {
  display: flex;
  gap: 2px;
}
.pl-rate button {
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 6px;
  color: var(--ink3);
}
.pl-rate button.on {
  background: var(--ink);
  color: var(--paper);
}
.en-mode {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.en-mode button {
  border: 0;
  background: none;
  padding: 7px 16px;
  font-weight: 900;
  font-size: 13.5px;
}
.en-mode button[aria-selected='true'] {
  background: var(--ink);
  color: var(--paper);
}
.en-hint {
  font-size: 12.5px;
  color: var(--ink3);
  margin: 8px 0 12px;
}
.en-passage {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 20px 20px 6px;
  font-family: var(--f-en);
  font-size: 19px;
  line-height: 1.85;
}
.en-p {
  margin: 0 0 1em;
}
.en-s {
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.en-s:hover .en-t {
  background: color-mix(in srgb, #2f7bff 12%, transparent);
}
.en-j {
  display: none;
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.8;
}
.en-s.open .en-j {
  display: block;
  background: color-mix(in srgb, var(--yellow) 30%, transparent);
  border-radius: 8px;
  padding: 4px 10px;
  margin: 4px 0 8px;
}
.en-s.speaking .en-t {
  background: color-mix(in srgb, var(--yellow) 60%, transparent);
}
[data-view='both'] .en-s {
  display: block;
  margin-bottom: 10px;
}
[data-view='both'] .en-j {
  display: block;
  padding-left: 12px;
  border-left: 3px solid #2f7bff;
  margin-top: 2px;
}
[data-view='ja'] {
  font-family: var(--f-body);
}
[data-view='ja'] .en-t {
  display: none;
}
[data-view='ja'] .en-j {
  display: inline;
  font-size: 16px;
  color: var(--ink);
}
.en-h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  margin: 30px 0 12px;
}
.en-h3 small {
  font-family: var(--f-en);
  font-size: 13px;
  color: var(--ink3);
  margin-left: 6px;
}
.qz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.qz {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 16px;
}
.qz-q {
  margin: 0;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 17.5px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
}
.qz-n {
  flex: none;
  background: #2f7bff;
  color: #fff;
  border-radius: 8px;
  padding: 0 8px;
  font-size: 14px;
  line-height: 1.8;
  height: fit-content;
}
.qz-qja {
  margin: 4px 0 12px 46px;
  font-size: 13px;
  color: var(--ink3);
  display: none;
}
.show-ja .qz-qja,
.qz.done .qz-qja {
  display: block;
}
.qz-ch {
  display: grid;
  gap: 8px;
}
.qz-b {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: var(--paper2);
  transition: border-color 0.15s, transform 0.15s;
}
.qz-b:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}
.qz-l {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 14px;
  background: var(--card);
}
.qz-t {
  font-family: var(--f-en);
  font-size: 16px;
  line-height: 1.5;
}
.qz-cja {
  display: none;
  font-family: var(--f-body);
  color: var(--ink3);
  font-size: 12.5px;
}
.qz.done .qz-cja {
  display: block;
}
.qz.done .qz-b {
  pointer-events: none;
}
.qz-b.correct {
  border-color: #11995f;
  background: color-mix(in srgb, #11995f 14%, var(--card));
}
.qz-b.correct .qz-l {
  background: #11995f;
  color: #fff;
}
.qz-b.wrong {
  border-color: #e5332a;
  background: color-mix(in srgb, #e5332a 12%, var(--card));
}
.qz-b.wrong .qz-l {
  background: #e5332a;
  color: #fff;
}
.qz-ex {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--yellow) 22%, var(--card));
  font-size: 14.5px;
  line-height: 1.8;
}
.qz-ex p {
  margin: 0 0 6px;
}
.qz-res {
  font-family: var(--f-display);
  font-size: 18px;
}
.qz-score {
  text-align: center;
  margin: 18px 0 0;
  padding: 18px;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 5px 5px 0 #2f7bff;
}
.qz-score-n {
  font-family: var(--f-display);
  font-size: 26px;
  margin: 0 0 10px;
}
.vc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.vc {
  position: relative;
  min-height: 150px;
  perspective: 800px;
  cursor: pointer;
}
.vc-front,
.vc-back {
  position: absolute;
  inset: 0;
  border: 2px solid var(--ink);
  border-radius: 16px;
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease);
  padding: 14px;
  background: var(--card);
}
.vc-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 0 #2f7bff;
}
.vc-front b {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  line-height: 1.2;
}
.vc-front small {
  color: var(--ink3);
  font-size: 12px;
  margin-top: 4px;
}
.vc-back {
  transform: rotateY(180deg);
  overflow-y: auto;
  font-size: 13px;
  line-height: 1.6;
  background: color-mix(in srgb, #2f7bff 8%, var(--card));
}
.vc-back b {
  font-size: 15px;
}
.vc-back p {
  margin: 4px 0;
}
.vc-back p[lang='en'] {
  font-family: var(--f-en);
  font-size: 14px;
}
.vc-exja {
  color: var(--ink2);
}
.vc-note {
  color: var(--ink2);
  font-size: 12px;
}
.vc.flip .vc-front {
  transform: rotateY(-180deg);
}
.vc.flip .vc-back {
  transform: rotateY(0);
}

/* ---------- 出典 ---------- */
.src {
  margin: 3em 0 2em;
}
.src-lead {
  color: var(--ink2);
  font-size: 14.5px;
}
.src-list {
  padding-left: 1.6em;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.7;
}
.src-list li {
  margin: 8px 0;
}
.src-list a {
  word-break: break-word;
}
.src-host {
  display: inline-block;
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink3);
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 6px;
}
.src-sub {
  font-weight: 900;
  margin: 18px 0 4px;
}
.src-links {
  list-style: '🔗 ';
}
.src-note {
  font-size: 12.5px;
  color: var(--ink3);
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}
.art-tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.art-tagcloud a {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--paper2);
  border: 1.5px solid var(--line);
}
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 2em 0 1em;
}
.pn a {
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  text-decoration: none;
  background: var(--card);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.pn a:hover {
  transform: translateY(-3px);
}
.pn small {
  display: block;
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--accent);
}
.pn-next {
  text-align: right;
}
.more {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 16px 70px;
}
.more-gacha {
  text-align: center;
  margin-top: 34px;
}

/* ---------- 一覧ページの見出し ---------- */
.ch {
  --c: var(--accent);
  border-bottom: var(--bw) solid var(--ink);
  background:
    radial-gradient(50% 80% at 90% 10%, color-mix(in srgb, var(--c) 30%, transparent), transparent),
    var(--paper2);
}
.ch-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 16px 40px;
  position: relative;
}
.ch h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.25;
  margin: 4px 0 12px;
}
.ch h1 small {
  display: block;
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 0.36em;
  color: var(--ink2);
  margin-top: 8px;
}
.ch-emoji {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: clamp(60px, 12vw, 120px);
  line-height: 1;
  animation: mvBob 5s ease-in-out infinite;
}
.ch-desc {
  max-width: 40em;
  color: var(--ink2);
  margin: 0 0 10px;
}
.ch-n {
  font-weight: 900;
  margin: 0;
}
.corner-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.corner-mini a {
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--c);
}
.dex {
  max-width: 480px;
  margin-top: 14px;
}
.dex-bar {
  height: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.dex-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(45deg, var(--accent) 0 10px, var(--accent2) 10px 20px);
  transition: width 1s var(--ease);
}
.dex p {
  margin: 6px 0 0;
  font-weight: 700;
}
.dex b {
  font-family: var(--f-en);
  font-size: 22px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}
.flt-q,
.flt-sort {
  font: inherit;
  padding: 9px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
}
.flt-q {
  flex: 1 1 220px;
}
.flt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-basis: 100%;
  order: 3;
}
.flt-chips button {
  padding: 5px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-weight: 700;
  font-size: 13px;
}
.flt-chips button.on {
  background: var(--ink);
  color: var(--paper);
}
.flt-empty {
  text-align: center;
  color: var(--ink3);
}
.ans-all summary {
  cursor: pointer;
  font-weight: 900;
}
.ans-list li {
  margin: 14px 0;
}
.al-q {
  font-weight: 900;
  margin: 0;
}
.al-a {
  margin: 4px 0 0;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.al-a .stamp {
  transform: none;
}
.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.mini-nav a {
  padding: 4px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  background: var(--card);
  box-shadow: 2px 2px 0 var(--c);
}
.mini-full {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 14px;
}
.mini-full li {
  position: relative;
  padding: 16px 16px 14px 62px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 4px 4px 0 var(--c);
}
.mf-n {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 26px;
  color: var(--c);
  line-height: 1;
  width: 40px;
  text-align: center;
}
.mini-full p {
  margin: 0 0 6px;
  font-weight: 700;
}
.en-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.en-list a {
  --c: var(--accent);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--c);
  transition: transform 0.2s var(--ease);
}
.en-list a:hover {
  transform: translateX(4px);
}
.el-no {
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--ink3);
}
.el-t b {
  display: block;
  font-family: var(--f-en);
  font-size: 18px;
}
.el-t small {
  color: var(--ink2);
}
.el-meta {
  font-size: 12px;
  font-weight: 900;
  color: #2f7bff;
  white-space: nowrap;
}
.prose-page {
  max-width: calc(var(--prose) + 32px);
}

/* ---------- フッター ---------- */
.ft {
  position: relative;
  z-index: 1;
  border-top: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 44px 16px 24px;
}
.ft-in {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.ft .logo-sub {
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.ft-brand p {
  font-size: 13.5px;
  opacity: 0.85;
}
.ft-h {
  font-family: var(--f-display);
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--yellow);
}
.ft ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 13.5px;
  display: grid;
  gap: 4px;
}
.ft a {
  text-decoration: none;
  opacity: 0.9;
}
.ft a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* 運営者・姉妹サイトとの違い */
.ft-about {
  max-width: var(--wrap);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 18px;
}
.ft-card {
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  line-height: 1.75;
}
.ft-card > p {
  margin: 0 0 10px;
}
.ft-card .ft-h {
  /* 飾り文字は小さいとつぶれるので、本文の書体の太字にする */
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 15.5px;
}
.ft-sub {
  font-size: 12.5px;
  font-weight: 900;
  opacity: 0.75;
  margin: 2px 0 6px !important;
}
.ft ul.ft-sites {
  margin: 0 0 12px;
  gap: 6px;
}
.ft .ft-sites a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.ft .ft-sites a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--yellow);
  transform: translateX(2px);
}
.ft-sites-e {
  font-size: 22px;
  line-height: 1;
}
.ft-sites b {
  display: block;
  color: var(--yellow);
  font-size: 14px;
}
.ft-sites small {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.85;
}
.ft-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 10px;
}
.ft .ft-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--paper);
  font-weight: 900;
  font-size: 13px;
  opacity: 1;
}
.ft .ft-btn-main {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1b1511;
}
.ft .ft-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.ft-note {
  font-size: 12.5px;
  opacity: 0.8;
}
.ft-note a,
.ft-diff dd a {
  text-decoration: underline;
}
.ft-diff dl {
  margin: 0;
  display: grid;
  gap: 10px;
}
.ft-diff-row {
  display: grid;
  grid-template-columns: 9.5em 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.ft-diff-self {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.ft-diff dt {
  font-weight: 900;
  color: var(--yellow);
}
.ft-diff dt a {
  color: var(--yellow);
  opacity: 1;
}
.ft-diff dt small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: var(--paper);
  opacity: 0.7;
}
.ft-diff dd {
  margin: 0;
}
@media (max-width: 760px) {
  .ft-about {
    grid-template-columns: 1fr;
  }
  .ft-diff-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.ft-copy {
  max-width: var(--wrap);
  margin: 26px auto 0;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 14px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  z-index: 95;
  transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0.25s;
  box-shadow: 4px 4px 0 var(--accent);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

/* ガチャ演出 */
.gacha-fx {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(15, 10, 6, 0.6);
  backdrop-filter: blur(4px);
}
.gacha-cap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid #1b1511;
  background: linear-gradient(var(--gc, #ff4a1c) 0 48%, #1b1511 48% 54%, #fff 54%);
  box-shadow: 8px 8px 0 #1b1511;
}
.gacha-msg {
  position: absolute;
  top: calc(50% + 100px);
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: var(--f-display);
  font-size: 22px;
}

/* ---------- 出現アニメーション（Motion が無いときの保険） ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s var(--ease), box-shadow 0.2s var(--ease);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .hero-in {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }
  .hero-art {
    height: 380px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .ft-in {
    grid-template-columns: 1fr 1fr;
  }
  .ft-brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }
  .hd-btn-label {
    display: none;
  }
  .gacha-btn {
    padding: 0 8px;
  }
  .logo-name {
    font-size: 21px;
  }
  .logo-sub {
    font-size: 9px;
  }
  .logo-mark {
    width: 36px;
    height: 36px;
  }
  .hd-btn {
    height: 38px;
    min-width: 38px;
  }
  .hd-tools {
    gap: 6px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-art {
    height: 320px;
  }
  .hc {
    width: 70%;
  }
  .hc b {
    font-size: 13px;
  }
  .sec {
    padding: 42px 16px;
  }
  .rank a {
    grid-template-columns: 34px 80px 1fr;
    gap: 10px;
  }
  .rank .meter {
    display: none;
  }
  .rk-n {
    font-size: 28px;
  }
  .rk-t b {
    font-size: 14px;
  }
  .art-hero {
    min-height: 88vh;
  }
  .art-verdict {
    gap: 10px;
  }
  .av-claim {
    font-size: 13px;
    padding: 7px 10px;
  }
  .stamp-lg {
    width: 88px;
    height: 88px;
  }
  .stamp-lg b {
    font-size: 23px;
  }
  .prose {
    font-size: 16.5px;
    line-height: 1.95;
  }
  .lecture-body,
  .lecture-head {
    padding-left: 30px;
  }
  .lecture {
    background:
      linear-gradient(90deg, transparent 0 22px, rgba(229, 51, 42, 0.32) 22px 24px, transparent 24px),
      repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, #2f7bff 18%, transparent) 39px 40px),
      var(--paper2);
  }
  .lecture-body {
    font-size: 16px;
  }
  .en-passage {
    font-size: 17.5px;
    padding: 16px 14px 4px;
  }
  .ft-in {
    grid-template-columns: 1fr;
  }
  .pn {
    grid-template-columns: 1fr;
  }
  .pn-next {
    text-align: left;
  }
  .uso-stack {
    height: 360px;
  }
  .en-list a {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .tl::before {
    left: 64px;
  }
  .tl li {
    grid-template-columns: 70px 1fr;
  }
  .tl li::after {
    left: 51px;
  }
  .tl-year {
    font-size: 13px;
    padding-right: 18px;
  }
}

/* =========================================================
   スマホ最優先の部品：タブバー・上へ戻る・もくじシート
   ========================================================= */
html {
  -webkit-tap-highlight-color: transparent;
}
.totop {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: var(--bw) solid var(--ink);
  background: var(--yellow);
  color: #1b1511;
  box-shadow: 4px 4px 0 var(--sh);
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.6);
  transition: opacity 0.3s, transform 0.4s var(--ease), box-shadow 0.15s;
}
.totop.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.totop:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--sh);
}
.totop svg {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  transform: rotate(-90deg);
}
.totop-track {
  fill: none;
  stroke: rgba(27, 21, 17, 0.15);
  stroke-width: 3;
}
.totop-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: var(--off, 100);
}
.totop-arrow {
  fill: none;
  stroke: #1b1511;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(90deg) translateY(-4px);
  transform-origin: 24px 24px;
}
.totop-label {
  position: relative;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 10px;
  margin-top: 22px;
  letter-spacing: 0.06em;
}
.totop:hover .totop-arrow {
  animation: upbob 0.6s ease-in-out infinite alternate;
}
@keyframes upbob {
  to {
    transform: rotate(90deg) translateY(-8px);
  }
}
.tabbar {
  display: none;
}
.drawer-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 52px);
  margin: 0 0 14px;
  padding: 11px 14px;
  border: var(--bw) solid var(--ink);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink3);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.drawer-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  flex: none;
}
.drawer-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.drawer-quick a {
  display: grid;
  place-items: center;
  gap: 2px;
  text-align: center;
  padding: 10px 4px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--yellow);
  color: #1b1511;
  font-weight: 900;
  font-size: 12px;
  text-decoration: none;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 85;
}
.sheet-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 6, 0.45);
}
.sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78vh;
  overflow-y: auto;
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
  border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}
.sheet-grip {
  width: 48px;
  height: 5px;
  border-radius: 5px;
  background: var(--line);
  margin: 2px auto 10px;
}
.sheet-h {
  font-family: var(--f-display);
  margin: 0 0 8px;
}
.sheet-body ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sh;
}
.sheet-body li {
  counter-increment: sh;
}
.sheet-body a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 6px;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}
.sheet-body a::before {
  content: counter(sh, decimal-leading-zero);
  font-family: var(--f-en);
  font-weight: 800;
  color: var(--accent);
  font-size: 13px;
  flex: none;
}
.sheet-body a.now {
  color: var(--accent);
}
.hd {
  transition: transform 0.3s var(--ease);
}

/* =========================================================
   スマホ（〜760px）
   ========================================================= */
@media (max-width: 760px) {
  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-top: 70px;
  }
  .hd.hd-hide {
    transform: translateY(-100%);
  }
  .hd-in {
    padding: 8px 14px;
  }
  .logo-sub {
    font-size: 10px;
  }
  .logo-name {
    white-space: nowrap;
  }
  .hd-tools .gacha-btn {
    display: none;
  }
  .hd-tools {
    gap: 7px;
  }
  .hd-btn {
    height: 40px;
    min-width: 40px;
    padding: 0 8px;
    box-shadow: 2px 2px 0 var(--sh);
  }
  .logo-name {
    font-size: 22px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
  }
  /* コーナーの帯：横スクロールをやめて、ステッカー風のタイルで全部を一度に見せる */
  .cn-in {
    display: block;
    padding: 12px 12px 14px;
  }
  .cn-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px 6px;
  }
  .cn-sub {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }
  .cn-grid a {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 58px;
    padding: 6px 2px 5px;
    border-radius: 14px;
    border: 2px solid var(--ink);
    background: color-mix(in srgb, var(--c) 14%, var(--card));
    box-shadow: 3px 3px 0 var(--c);
    animation: cnPop 0.5s var(--ease) both;
    animation-delay: calc(var(--i) * 35ms);
  }
  .cn-grid .cn-e {
    font-size: 22px;
    line-height: 1;
  }
  .cn-grid .cn-t {
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.2;
    white-space: nowrap;
  }
  .cn-sub a {
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    background: var(--card);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 2px 2px 0 var(--sh);
    animation: cnPop 0.5s var(--ease) both;
    animation-delay: calc(var(--i) * 35ms);
  }
  .cn a:hover {
    transform: none;
  }
  .cn a:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--c);
  }
  .cn-sub a:active {
    box-shadow: 0 0 0 var(--sh);
  }
  /* タブバー */
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: var(--bw) solid var(--ink);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tb-i {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    padding: 4px 0;
    min-height: 52px;
    border: 0;
    background: none;
    color: var(--ink);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 900;
  }
  .tb-i svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tb-i:active {
    transform: scale(0.9);
  }
  .tb-ball {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-top: -24px;
    border-radius: 50%;
    background: var(--yellow);
    border: var(--bw) solid var(--ink);
    box-shadow: 3px 3px 0 var(--sh);
  }
  .tb-ball {
    background: linear-gradient(#ff4a1c 0 46%, #1b1511 46% 54%, #fff 54%);
    position: relative;
  }
  .tb-ball::after {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #1b1511;
  }
  .tb-ball .gacha-ball {
    display: none;
  }
  .tb-gacha:active .tb-ball {
    animation: spin 0.6s var(--ease);
  }
  .totop {
    bottom: calc(84px + env(safe-area-inset-bottom));
    right: 14px;
    width: 50px;
    height: 50px;
  }
  .toast {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }

  /* トップ：ヒーロー */
  .hero-in {
    padding: 22px 16px 26px;
    gap: 18px;
  }
  .hero-kicker {
    margin-bottom: 12px;
    gap: 6px;
  }
  .hero-kicker span {
    font-size: 11px;
    padding: 2px 9px;
  }
  .hero-title {
    font-size: clamp(30px, 8.6vw, 40px);
    margin-bottom: 12px;
  }
  .hero-lead {
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 16px;
  }
  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .hero-cta .btn-big {
    padding: 12px 8px;
    font-size: 14px;
    justify-content: center;
    gap: 6px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .stats div {
    padding: 6px 6px 4px;
    border-radius: 10px;
    box-shadow: 2px 2px 0 var(--sh);
  }
  .stats dt {
    font-size: 9.5px;
    white-space: nowrap;
  }
  .stats b {
    font-size: 19px;
  }
  .stats dd {
    font-size: 10px;
  }
  /* カードの山 → 横スワイプ */
  .hero-art {
    height: auto;
    max-width: none;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 6px 16px 14px;
    scrollbar-width: none;
  }
  .hero-art::-webkit-scrollbar {
    display: none;
  }
  .hc {
    position: relative;
    inset: auto;
    flex: none;
    width: 72%;
    transform: none !important;
    scroll-snap-align: center;
    box-shadow: 5px 5px 0 var(--c);
  }
  .hc b {
    font-size: 14px;
  }
  .hero-burst {
    display: none;
  }
  .ticker {
    padding: 8px 0;
  }
  .tk-track a {
    font-size: 13px;
  }

  /* 共通 */
  .sec {
    padding: 34px 16px;
  }
  .sec-head {
    margin-bottom: 18px;
  }
  .sec-head h2,
  .sec-h {
    font-size: 23px;
  }
  .sec-head p {
    font-size: 14px;
  }
  .today {
    padding-top: 26px;
  }
  .today-card {
    padding: 16px 18px;
    border-radius: 20px;
    box-shadow: 5px 5px 0 var(--c);
  }
  .today-hook {
    font-size: 21px;
  }
  .uso-stack {
    height: 330px;
  }
  .uso-card {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .uc-q {
    font-size: 20px;
  }
  .uc-exp {
    font-size: 14px;
    padding-right: 0;
  }
  .uc-res .stamp {
    width: 52px;
    height: 52px;
    top: 12px;
    right: 12px;
  }
  .uc-qs {
    padding-right: 60px;
  }
  .uso-btns {
    margin-top: 22px;
    gap: 12px;
  }
  .uso-b {
    font-size: 24px;
    padding: 16px 10px;
  }

  /* カード：2列のコンパクト図鑑 */
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }
  .card {
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--c);
  }
  .card-body {
    padding: 9px 10px 11px;
    gap: 5px;
  }
  .card-body .chip {
    font-size: 10px;
    padding: 1px 7px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-title {
    font-size: 13.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-hook {
    display: none;
  }
  .card-meta {
    font-size: 10px;
    gap: 4px;
  }
  .card-meta > span:first-child {
    display: none;
  }
  .card-meta .meter i {
    width: 6px;
    height: 10px;
  }
  .card-no {
    font-size: 11px;
    left: 6px;
    top: 6px;
    padding: 1px 6px;
  }
  .card-img .stamp-sm {
    width: 40px;
    height: 40px;
    right: 6px;
    top: 5px;
  }
  .card-img .stamp-sm b {
    font-size: 11px;
  }

  /* コーナー：2列タイル */
  .corner-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .ct {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 12px 12px;
    box-shadow: 4px 4px 0 var(--c);
  }
  .ct-emoji {
    font-size: 32px;
    margin-bottom: 4px;
  }
  .ct-name {
    font-size: 15.5px;
  }
  .ct-en {
    font-size: 9.5px;
  }
  .ct-desc {
    display: none;
  }
  .ct-n {
    top: 8px;
    right: 8px;
    font-size: 11px;
  }
  .mu {
    width: 78vw;
  }
  .mu-hook {
    font-size: 16px;
  }
  .bd-q {
    font-size: 14px;
  }
  .bd-list a {
    padding: 12px;
    border-left-width: 8px;
  }
  .mini-list {
    columns: 1;
  }
  .en-promo .ep-in {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .pr-list b {
    font-size: 17px;
  }

  /* 記事 */
  .art-hero {
    min-height: 0;
    display: block;
    border-bottom: 0;
  }
  .art-cover {
    position: relative;
    aspect-ratio: 16/10;
    border-bottom: var(--bw) solid var(--ink);
  }
  .art-cover-shade {
    display: none;
  }
  .art-head {
    padding: 14px 16px 52px;
    color: var(--ink);
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, var(--paper)), var(--paper));
  }
  .art-head .bc {
    color: var(--ink2);
  }
  .art-head .bc ol {
    margin-bottom: 8px;
    font-size: 11.5px;
  }
  .art-tags .chip {
    background: var(--card);
    color: var(--ink);
  }
  .art-title {
    font-size: clamp(23px, 6.6vw, 30px);
    text-shadow: none;
    line-height: 1.38;
    margin-bottom: 10px;
  }
  .art-hook {
    font-size: 15px;
    color: #fff;
    margin-bottom: 14px;
  }
  .art-meta {
    gap: 6px;
  }
  .am-item {
    background: var(--card);
    border: 1.5px solid var(--ink);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 4px 9px;
    font-size: 12px;
    gap: 5px;
  }
  .am-item b {
    font-size: 16px;
  }
  .am-k {
    font-size: 10px;
  }
  .am-item .meter-lg i {
    width: 9px;
    height: 15px;
    border-color: var(--ink);
    background: var(--line);
    border-width: 1.5px;
  }
  .art-verdict {
    margin: 0 0 14px;
  }
  .art-verdict .stamp-lg {
    width: 76px;
    height: 76px;
    border-width: 4px;
  }
  .art-verdict .stamp-lg b {
    font-size: 21px;
  }
  .art-verdict .stamp-lg small {
    font-size: 10px;
  }
  .quick {
    margin-top: -34px;
    padding: 16px 16px 14px;
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--c);
  }
  .quick-easy {
    font-size: 14px;
  }
  .quick-list li {
    font-size: 14.5px;
    padding-left: 34px;
  }
  .jump {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .jump a {
    text-align: center;
    padding: 9px 6px;
    font-size: 12.5px;
  }
  .toc {
    display: none;
  }
  .prose h2 {
    font-size: 21px;
    gap: 10px;
  }
  .prose h3 {
    font-size: 17.5px;
  }
  .box {
    font-size: 15px;
    margin: 1.6em 0;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--bc);
  }
  .box-body {
    padding: 12px 14px 2px;
  }
  .num-big b {
    font-size: 32px;
  }
  .lecture-title {
    font-size: 24px !important;
  }
  .talk {
    padding: 20px 16px 18px;
    border-radius: 20px;
  }
  .talk-q {
    font-size: 17px;
  }
  .talk-act {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .unaru-btn,
  .save-btn {
    justify-content: center;
    padding: 12px 8px;
    font-size: 13.5px;
  }
  .share {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .sh {
    justify-content: center;
    padding: 10px 8px;
  }
  .en {
    padding: 22px 16px 22px;
  }
  .en-mode {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  .en-mode button {
    padding: 10px 4px;
  }
  .qz {
    padding: 14px 12px;
  }
  .qz-q {
    font-size: 16px;
  }
  .qz-qja {
    margin-left: 0;
  }
  .qz-b {
    padding: 12px 10px;
    min-height: 52px;
  }
  .qz-t {
    font-size: 15.5px;
  }
  .vc-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .vc {
    min-height: 170px;
  }
  .vc-front b {
    font-size: 18px;
  }
  .vc-back {
    font-size: 12px;
    padding: 10px;
  }
  .src-list {
    font-size: 13px;
  }
  .more {
    padding: 30px 16px 40px;
  }

  /* 一覧ページ */
  .ch-in {
    padding: 20px 16px 26px;
  }
  .ch h1 {
    font-size: clamp(26px, 7.4vw, 34px);
  }
  .ch-emoji {
    font-size: 54px;
    top: 14px;
    right: 14px;
  }
  .ch-desc {
    font-size: 14px;
  }
  .filters {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--paper);
    margin: 0 -16px 18px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--line);
  }
  .flt-q,
  .flt-sort {
    font-size: 16px;
  }
  .flt-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .flt-chips button {
    flex: none;
  }
  .mini-full li {
    padding: 14px 14px 12px 52px;
  }
  .mf-n {
    font-size: 22px;
    width: 32px;
    left: 10px;
  }
  .drawer-panel {
    width: 100%;
    border-left: 0;
    padding-top: 18px;
  }
  .search-panel {
    margin-top: 10px;
    width: calc(100% - 20px);
  }
}
@media (hover: none) {
  .card:hover,
  .mu:hover,
  .rank a:hover,
  .bd-list a:hover,
  .en-list a:hover,
  .pn a:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .hd,
  .ft,
  .gauge,
  .more,
  .talk-act,
  .share,
  .pn,
  .jump,
  .en-mode,
  .player {
    display: none !important;
  }
  .art-hero {
    min-height: 0;
    color: #000;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .en-j {
    display: block !important;
  }
  .qz-ex {
    display: block !important;
  }
}

/* ---------- 判定図鑑（迷信・名言・昭和の常識） ---------- */
.zk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.zk-filter button {
  --vc: var(--ink);
  font: inherit;
  font-weight: 900;
  font-size: 14px;
  padding: 6px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--vc);
  cursor: pointer;
}
.zk-filter button[aria-pressed='true'] {
  background: var(--vc);
  color: #fff;
  border-color: var(--vc);
}
.zk-filter button[data-zk='all'][aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}
.zk-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 18px;
  align-items: start;
}
.zk-card {
  position: relative;
  padding: 18px 18px 14px;
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 5px 5px 0 var(--c);
  scroll-margin-top: 130px;
}
.zk-card:target {
  outline: 3px solid var(--c);
  outline-offset: 3px;
}
.zk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.zk-n {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--c);
}
.zk-badge {
  display: inline-block;
  padding: 3px 12px;
  border: 2.5px solid var(--vc);
  border-radius: 8px;
  color: var(--vc);
  /* 飾り文字は小さいと線がつぶれるので、本文の書体の太字にする */
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 15px;
  line-height: 1.4;
  transform: rotate(-4deg);
  background: color-mix(in srgb, var(--vc) 9%, var(--card));
  white-space: nowrap;
}
.zk-claim {
  /* 飾り文字（Dela Gothic One）は小さいと線がつぶれるので、本文の書体の太字にする */
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  margin: 4px 0 8px;
}
.zk-who {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: var(--ink2);
}
.zk-answer {
  margin: 0 0 10px;
  font-weight: 700;
}
.zk-dl {
  margin: 0 0 10px;
  display: grid;
  gap: 6px;
}
.zk-dl div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 8px;
  font-size: 14px;
}
.zk-dl dt {
  font-weight: 900;
  color: var(--c);
}
.zk-dl dd {
  margin: 0;
}
.zk-more {
  border-top: 1.5px dashed var(--line);
  padding-top: 8px;
}
.zk-more summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 14px;
  color: var(--ink);
  list-style: none;
  padding: 4px 0;
}
.zk-more summary::-webkit-details-marker {
  display: none;
}
.zk-more summary::before {
  content: '▶';
  display: inline-block;
  margin-right: 6px;
  font-size: 11px;
  color: var(--c);
  transition: transform 0.2s;
}
.zk-more[open] summary::before {
  transform: rotate(90deg);
}
.zk-body p {
  margin: 6px 0 10px;
  font-size: 15px;
  line-height: 1.85;
}
.zk-idiom {
  margin: 10px 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, #2f7bff 9%, var(--card));
  border: 1.5px solid color-mix(in srgb, #2f7bff 45%, transparent);
}
.zk-idiom-h {
  margin: 0 0 4px;
  font-size: 12.5px;
  font-weight: 900;
  color: var(--ink2);
}
.zk-idiom-h span {
  font-family: var(--f-en);
  letter-spacing: 0.14em;
  color: #2f7bff;
  margin-right: 8px;
}
.zk-idiom-en {
  margin: 0;
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 19px;
}
.zk-idiom-ja {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}
.zk-idiom-ex {
  margin: 0 0 4px;
  font-size: 14px;
  font-style: italic;
}
.zk-idiom-ex span {
  font-style: normal;
  color: var(--ink2);
}
.zk-idiom-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink2);
}
.zk-src {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12.5px;
}
.zk-src a {
  color: var(--ink3);
  word-break: break-all;
}
.zk-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}
.zk-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--c) 26%, transparent), transparent), var(--card);
  box-shadow: 6px 6px 0 var(--c);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.zk-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--c);
}
.zk-tile-emoji {
  font-size: 44px;
  line-height: 1;
}
.zk-tile-en {
  font-family: var(--f-en);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c);
}
.zk-tile b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.4;
}
.zk-tile-desc {
  font-size: 14px;
  color: var(--ink2);
}
.zk-tile-n {
  margin-top: auto;
  font-weight: 900;
}

@keyframes cnPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cn a {
    animation: none !important;
  }
}
