/* 一行のシーン: 夜行バスの待合室で、隣の国のテレビの小さなニュースに、知らない人たちが口々にツッコミを入れている
   2ちゃんまとめブログの作法: 色つきの看板と帯・本文＋サイドバー・小さめの字で詰める・レスは色と大きさで強調 */
:root {
  --bg: #f4f1e8;
  --paper: #fff;
  --fg: #222;
  --fg-2: #555;
  --fg-3: #767676;
  --rule: #ccc;
  --brand: #1b3a6b;
  --brand-2: #c8372d;
  --bar: #e8eef7;
  --name: #117743;
  --link: #0000cc;
  --visited: #551a8b;
  --red: #e00000;
  --blue: #0033dd;
  --anchor: #1a4fd6;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --f-xs: 0.75rem; --f-sm: 0.8125rem; --f-md: 0.9375rem; --f-lg: 1.25rem; --f-xl: 1.5rem; --f-2xl: 1.75rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: var(--f-md); line-height: 1.6; overflow-wrap: anywhere;
}
a { color: var(--link); }
a:visited { color: var(--visited); }
a:focus-visible { outline: 3px solid #fd0; outline-offset: 1px; }
.cnt { color: var(--fg-3); font-size: var(--f-xs); font-weight: 400; }
.none { color: var(--fg-3); }

header.site, nav.cats, .ticker, .wrap, footer.site { max-width: 1120px; margin-inline: auto; }
header.site { background: var(--brand); color: #fff; padding: var(--s3) var(--s4); border-bottom: 4px solid var(--brand-2); }
.logo { font-size: var(--f-2xl); font-weight: 900; color: #fff; text-decoration: none; letter-spacing: 0.02em; display: inline-flex; align-items: center; min-height: 44px; }
.logo:visited { color: #fff; }
.tagline { margin: 0; font-size: var(--f-sm); color: #cfdcf0; }
nav.cats { display: flex; flex-wrap: wrap; background: #2b2b2b; }
nav.cats a { color: #fff; text-decoration: none; font-size: var(--f-sm); font-weight: 700; padding: 0 var(--s3); min-height: 44px; display: inline-flex; align-items: center; gap: 2px; border-right: 1px solid #555; }
nav.cats a .cnt { color: #bbb; }
nav.cats a:hover { background: var(--brand-2); }
.ticker { margin-block: 0; background: #fff8d6; border-bottom: 1px solid #e0d28a; padding: var(--s1) var(--s4); font-size: var(--f-sm); }
.ticker b { background: var(--brand-2); color: #fff; padding: 0 6px; margin-right: 4px; font-size: var(--f-xs); }

.wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s4); align-items: start; padding: var(--s4) 0; }
main { background: var(--paper); border: 1px solid var(--rule); padding: var(--s3) var(--s4); min-width: 0; }
footer.site { padding: var(--s3) var(--s4) var(--s5); font-size: var(--f-xs); color: var(--fg-2); border-top: 2px solid var(--brand); }
footer.site p { margin: var(--s1) 0; }

/* サイドバー */
.sidebar { min-width: 0; font-size: var(--f-sm); }
.side { background: var(--paper); border: 1px solid var(--rule); margin-bottom: var(--s3); }
.side h2 { margin: 0; padding: var(--s1) var(--s2); font-size: var(--f-sm); background: var(--brand); color: #fff; }
.side p { margin: 0; padding: var(--s2); }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: var(--s1) var(--s2); border-bottom: 1px dotted var(--rule); line-height: 1.45; }
.side li:last-child { border-bottom: 0; }
.side .orig { display: block; color: var(--fg-3); font-size: var(--f-xs); }
.tags a { display: inline-block; margin-right: var(--s1); }

/* 一覧 */
.list > h1 { margin: 0 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: var(--bar); border-left: 6px solid var(--brand); }
.entry { padding-block: var(--s3); border-bottom: 1px dashed var(--rule); }
.entry h2 { margin: 0; font-size: var(--f-lg); line-height: 1.4; word-break: auto-phrase; }
.e-meta, .a-date, .crumb { margin: var(--s1) 0; font-size: var(--f-xs); color: var(--fg-2); }
.rescount { color: var(--red); }
.e-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s3); margin-top: var(--s2); }
.thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #ddd; border: 1px solid var(--rule); }
.e-lead { margin: 0 0 var(--s1); }
.e-res { margin: 0; padding: 0; list-style: none; font-size: var(--f-sm); color: var(--name); font-weight: 700; }
.e-tags { margin: var(--s1) 0 0; font-size: var(--f-xs); }
.more { font-weight: 700; margin-left: var(--s2); }

/* 記事 */
.article h1 { margin: var(--s1) 0; font-size: var(--f-xl); line-height: 1.4; padding: var(--s2) var(--s3); background: var(--bar); border-left: 8px solid var(--brand-2); word-break: auto-phrase; }
.lead { margin: var(--s2) 0; font-weight: 700; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.source { font-size: var(--f-sm); margin: var(--s1) 0 var(--s2); }
.facts { width: 100%; border-collapse: collapse; font-size: var(--f-sm); margin-bottom: var(--s3); }
.facts th, .facts td { border: 1px solid var(--rule); padding: 2px var(--s2); text-align: left; vertical-align: top; }
.facts th { background: var(--bar); width: 8.5em; font-weight: 700; white-space: nowrap; }

.thread { border-top: 2px solid var(--brand); }
.res { padding: var(--s2) 0 var(--s3); border-bottom: 1px dotted var(--rule); }
.res:target { background: #fff8d6; }
.res-head { font-size: var(--f-sm); color: var(--fg-2); }
.res-no { font-weight: 700; color: var(--fg); }
.res-name { color: var(--name); font-weight: 700; }
.res-like { white-space: nowrap; color: var(--brand-2); font-weight: 700; }
.res-body { margin: var(--s1) 0 0 var(--s4); font-size: 1.0625rem; line-height: 1.7; }
.res-body.m-big { font-size: var(--f-xl); font-weight: 700; line-height: 1.5; }
.res-body.m-red { font-size: var(--f-xl); font-weight: 700; color: var(--red); line-height: 1.5; }
.res-body.m-blue { font-size: var(--f-lg); font-weight: 700; color: var(--blue); line-height: 1.5; }
.res-orig { margin: 2px 0 0 var(--s4); font-size: var(--f-xs); color: var(--fg-3); line-height: 1.5; }
.anchor { color: var(--anchor); font-size: var(--f-sm); }

.bg h2, .kanri h2, .related h2 { margin: var(--s4) 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: var(--bar); border-left: 6px solid var(--brand); }
.bg p, .kanri p { margin: 0 0 var(--s2); }
.kanri p { color: var(--brand-2); font-weight: 700; }
.share { font-size: var(--f-sm); margin: var(--s3) 0; }
.share a { display: inline-flex; align-items: center; min-height: 44px; margin-right: var(--s3); font-weight: 700; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); font-size: var(--f-sm); border-block: 1px solid var(--rule); padding-block: var(--s2); }
.pager a:last-child { text-align: right; grid-column: 2; }
.pager a:first-child { grid-column: 1; text-align: left; }
.related ul { margin: 0; padding-left: 1.2em; font-size: var(--f-sm); }

@media (max-width: 900px) {
  .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: var(--s3); }
  main { border-inline: 0; }
}
@media (max-width: 560px) {
  main { padding-inline: var(--s3); }
  .logo { font-size: var(--f-xl); }
  .e-body { grid-template-columns: 120px minmax(0, 1fr); gap: var(--s2); }
  .entry h2 { font-size: 1.0625rem; }
  .article h1 { font-size: var(--f-lg); }
  .res-body, .res-orig { margin-left: var(--s2); }
  .res-body.m-big, .res-body.m-red { font-size: var(--f-lg); }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { grid-column: 1; text-align: left; }
}
/* 指で押す機種: 詰めた一覧でも押し場所は 44px */
@media (pointer: coarse) {
  /* 折り返す文のリンクは行を崩さず、上下の余白で押し場所を広げる */
  .side li a, .related li a, .pager a, .entry h2 a, .ticker a, .source a { padding-block: 16px; }
  .side li, .related li { padding-block: var(--s3); }
  .side p a, .tags a, .e-tags a, .e-meta a, .a-date a, .crumb a, .facts a, .anchor, footer.site a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ===== 魔法のランプ: 夜空・金銀銅・宝石（2026-11-12 本人の指示「キラキラさせて」） ===== */
:root {
  --night: #120b3a; --night-2: #2b1260;
  --gold-1: #fff6c2; --gold-2: #f5c542; --gold-3: #a86b00;
  --silver-1: #ffffff; --silver-2: #c9d1dc; --silver-3: #7d8794;
  --bronze-1: #ffd9b0; --bronze-2: #cd7f32; --bronze-3: #7a4310;
  --ruby: #c2123f; --sapphire: #1650c8; --emerald: #0a8a54; --amethyst: #7a34c0; --topaz: #d98a00;
  --gold-grad: linear-gradient(180deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  --stars: radial-gradient(1.5px 1.5px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 70%, #ffe9a0 50%, transparent 51%), radial-gradient(2px 2px at 46% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 62%, #cfe0ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 78% 28%, #ffe9a0 50%, transparent 51%), radial-gradient(1px 1px at 91% 74%, #fff 50%, transparent 51%);
}
body { background: var(--night) var(--stars); background-size: 420px 260px; background-attachment: fixed; }
header.site {
  background: var(--stars), radial-gradient(120% 160% at 85% -20%, #5a2bb0 0, transparent 55%), linear-gradient(135deg, var(--night), var(--night-2));
  background-size: 300px 110px, 300px 110px, 300px 110px, 300px 110px, 300px 110px, 300px 110px, auto, auto;
  border-bottom: 0; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s3);
  box-shadow: inset 0 -5px 0 0 var(--gold-2), inset 0 -7px 0 0 var(--gold-3), inset 0 2px 0 0 var(--gold-1);
  padding-bottom: calc(var(--s3) + 6px);
}
.logo { gap: var(--s2); }
.lamp { flex: none; filter: drop-shadow(0 0 6px rgba(245, 197, 66, 0.7)); }
.logo-t {
  font-size: 2.125rem; line-height: 1.2;
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold-2) 22%, var(--gold-1) 38%, #fff 50%, var(--gold-1) 62%, var(--gold-2) 78%, var(--gold-3) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 0.5px rgba(120, 70, 0, 0.5);
  animation: shine 5s linear infinite;
}
@keyframes shine { from { background-position: 110% 0; } to { background-position: -110% 0; } }
.tagline { flex-basis: 100%; color: var(--gold-1); }
.gems { display: inline-flex; gap: 6px; margin-left: auto; }
.gems i, .jewel::before, .side h2::before, .list > h1::before, .bg h2::before, .kanri h2::before, .related h2::before {
  content: ""; display: inline-block; width: 14px; height: 14px; flex: none; transform: rotate(45deg);
  background: linear-gradient(135deg, #fff 0 18%, var(--gem, var(--ruby)) 19% 55%, color-mix(in srgb, var(--gem, var(--ruby)) 55%, #000) 56%);
  box-shadow: 0 0 6px color-mix(in srgb, var(--gem, var(--ruby)) 70%, #fff);
}
.gems i { width: 18px; height: 18px; animation: twinkle 2.4s ease-in-out infinite; }
.gems .g-ruby { --gem: var(--ruby); } .gems .g-sapphire { --gem: var(--sapphire); animation-delay: .4s; } .gems .g-emerald { --gem: var(--emerald); animation-delay: .8s; }
.gems .g-amethyst { --gem: var(--amethyst); animation-delay: 1.2s; } .gems .g-topaz { --gem: var(--topaz); animation-delay: 1.6s; }
@keyframes twinkle { 50% { filter: brightness(1.6); } }

nav.cats { background: var(--night); border-bottom: 2px solid var(--gold-2); }
nav.cats a { border-right: 1px solid rgba(245, 197, 66, 0.5); background: linear-gradient(180deg, color-mix(in srgb, var(--gem) 80%, #fff) 0, var(--gem) 45%, color-mix(in srgb, var(--gem) 60%, #000) 100%); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); }
nav.cats a .cnt { color: #fff; opacity: 0.85; }
nav.cats a:hover { background: var(--gold-grad); color: #3a2500; text-shadow: none; }
.gem-top { --gem: #8a6a12; } .gem-arab { --gem: var(--ruby); } .gem-west-africa { --gem: var(--emerald); } .gem-east-africa { --gem: var(--sapphire); } .gem-south-africa { --gem: var(--amethyst); } .gem-africa { --gem: var(--topaz); }
nav.cats a[href="/feed.xml"] { --gem: #555e6b; }

.ticker { background: linear-gradient(90deg, #fff1b8, #fffbe6 40%, #ffe9a0); border-bottom: 2px solid var(--gold-2); }
.ticker b { background: var(--gold-grad); color: #3a2500; border: 1px solid var(--gold-3); }

main { border: 2px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3), 0 0 14px rgba(245, 197, 66, 0.35); }
.side { border: 1px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3); }
.side h2 { display: flex; align-items: center; gap: var(--s2); background: linear-gradient(135deg, var(--night), var(--night-2)); color: var(--gold-1); border-bottom: 2px solid var(--gold-2); padding-block: 6px; }
.side h2::before, .jewel::before, .list > h1::before, .bg h2::before, .kanri h2::before, .related h2::before { width: 9px; height: 9px; margin: 0 4px 0 3px; }
.side:nth-of-type(5n+1) { --gem: var(--ruby); } .side:nth-of-type(5n+2) { --gem: var(--sapphire); } .side:nth-of-type(5n+3) { --gem: var(--emerald); } .side:nth-of-type(5n+4) { --gem: var(--amethyst); } .side:nth-of-type(5n) { --gem: var(--topaz); }
.jewel::before { width: 7px; height: 7px; vertical-align: 2px; margin-right: 6px; }
.jewel:nth-child(5n+1) { --gem: var(--ruby); } .jewel:nth-child(5n+2) { --gem: var(--sapphire); } .jewel:nth-child(5n+3) { --gem: var(--emerald); } .jewel:nth-child(5n+4) { --gem: var(--amethyst); } .jewel:nth-child(5n) { --gem: var(--topaz); }

.list > h1, .bg h2, .kanri h2, .related h2 { background: linear-gradient(90deg, #fff1b8, #fffdf2); border-left: 0; border-bottom: 2px solid var(--gold-2); border-top: 1px solid var(--gold-2); color: #3a2500; }
.bg h2 { --gem: var(--sapphire); } .kanri h2 { --gem: var(--emerald); } .related h2 { --gem: var(--amethyst); }
.article h1 { background: linear-gradient(90deg, #fff1b8, #fffdf2 70%); border-left: 0; border-block: 3px double var(--gold-3); box-shadow: inset 8px 0 0 var(--gold-2); padding-left: calc(var(--s3) + 8px); }
.entry { border-bottom: 1px solid var(--gold-2); }
.thumb img { border: 2px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3); }
.facts th { background: linear-gradient(180deg, #fff6d0, #f6dc8a); color: #3a2500; }
.facts th, .facts td { border-color: #d9b860; }
.thread { border-top: 3px double var(--gold-3); }
.rescount { background: var(--gold-grad); color: #5a1500; padding: 0 6px; border: 1px solid var(--gold-3); border-radius: 2px; }

/* 金・銀・銅 */
.medal { display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em; margin: 0 4px; border-radius: 50%; font-size: var(--f-xs); font-weight: 900; vertical-align: middle; flex: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 5px rgba(245, 197, 66, 0.6); }
.medal-1 { background: radial-gradient(circle at 30% 25%, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: #4a2e00; border: 1px solid var(--gold-3); }
.medal-2 { background: radial-gradient(circle at 30% 25%, var(--silver-1), var(--silver-2) 55%, var(--silver-3)); color: #2c333d; border: 1px solid var(--silver-3); box-shadow: inset 0 1px 0 #fff, 0 0 5px rgba(201, 209, 220, 0.8); }
.medal-3 { background: radial-gradient(circle at 30% 25%, var(--bronze-1), var(--bronze-2) 55%, var(--bronze-3)); color: #3d1f00; border: 1px solid var(--bronze-3); box-shadow: inset 0 1px 0 #ffe6cc, 0 0 5px rgba(205, 127, 50, 0.6); }
.medal-n { background: #eee; color: var(--fg-2); border: 1px solid var(--rule); box-shadow: none; }
.res:has(.medal-1) { background: linear-gradient(90deg, #fff7d6, transparent 70%); box-shadow: inset 4px 0 0 var(--gold-2); padding-left: var(--s2); }
.res:has(.medal-2) { background: linear-gradient(90deg, #eef1f5, transparent 70%); box-shadow: inset 4px 0 0 var(--silver-2); padding-left: var(--s2); }
.res:has(.medal-3) { background: linear-gradient(90deg, #fbe9d8, transparent 70%); box-shadow: inset 4px 0 0 var(--bronze-2); padding-left: var(--s2); }
.res-body.m-red { text-shadow: 0 0 1px rgba(224, 0, 0, 0.25); }

footer.site { color: var(--gold-1); border-top: 3px double var(--gold-2); }
footer.site a { color: #ffe9a0; }
@media (max-width: 560px) { .logo-t { font-size: 1.625rem; } .lamp { width: 48px; height: 33px; } .gems { display: none; } }
@media (prefers-reduced-motion: reduce) { .logo-t, .gems i { animation: none; } }
html { background: var(--night); }

/* ===== 大手まとめの看板ふう（2026-11-12 本人の指示「バカみたいに」） ===== */
header.site { padding: var(--s2) var(--s4) calc(var(--s2) + 8px); gap: 0 var(--s3); overflow: hidden; }
.logo { gap: 2px; font-size: 2.875rem; font-weight: 900; line-height: 1.1; }
.logo-t { font-size: 1em; line-height: 1.1; letter-spacing: -0.02em; -webkit-text-stroke: 1.5px #5a3200; filter: drop-shadow(3px 3px 0 #000) drop-shadow(0 0 10px rgba(245, 197, 66, 0.6)); transform: skewX(-6deg); }
.logo-k { font-style: normal; display: inline-block; font-size: 0.62em; color: #ff2a2a; -webkit-text-stroke: 1px #fff; paint-order: stroke fill; margin-right: 2px; filter: drop-shadow(2px 2px 0 #000); transform: rotate(-8deg); }
.logo-n { font-style: normal; display: inline-block; font-size: 1.35em; color: #ff2a2a; -webkit-text-stroke: 2px #fff; paint-order: stroke fill; filter: drop-shadow(3px 3px 0 #000); transform: rotate(-10deg) translateY(4px); margin: 0 2px; animation: boing 1.6s ease-in-out infinite; }
.logo-s { display: inline-block; font-size: 0.5em; margin-left: 4px; padding: 2px 8px; background: #ff2a2a; color: #fff; box-shadow: 3px 3px 0 #000; border: 3px solid #fff; border-radius: 6px; transform: rotate(4deg); letter-spacing: 0.05em; }
@keyframes boing { 50% { transform: rotate(8deg) translateY(-3px) scale(1.12); } }
.lamp { width: 86px; height: 59px; animation: rub 0.5s ease-in-out infinite; }
@keyframes rub { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.meat { transform: rotate(-18deg); filter: drop-shadow(2px 2px 0 #000); }
.aa { margin: 0; font-size: var(--f-md) !important; font-family: "MS PGothic", "Hiragino Kaku Gothic ProN", sans-serif; font-size: var(--f-lg); font-weight: 700; color: #fff; text-shadow: 2px 2px 0 #000; white-space: nowrap; }
.burst { position: absolute; right: 8px; top: 4px; margin: 0; width: 76px; height: 76px; flex: none; display: grid; place-items: center; text-align: center; font-size: var(--f-sm); font-weight: 900; line-height: 1.1; color: #fff; background: #ff2a2a; transform: rotate(12deg); text-shadow: 1px 1px 0 #000;
  clip-path: polygon(50% 0, 61% 14%, 79% 7%, 80% 26%, 98% 30%, 88% 46%, 100% 62%, 82% 67%, 82% 86%, 64% 82%, 53% 100%, 41% 84%, 22% 91%, 21% 71%, 2% 67%, 13% 50%, 0 34%, 19% 29%, 19% 9%, 37% 15%); }
.tagline { font-size: var(--f-md); font-weight: 700; color: #fff; text-shadow: 1px 1px 0 #000; }
.tagline b { color: #ffe14d; font-size: 1.15em; }
.stats { flex-basis: 100%; margin: 2px 0 0; font-size: var(--f-xs); color: var(--gold-1); }
.stats b { color: #fff; font-size: 1.2em; }
.gems { position: absolute; right: var(--s3); bottom: 14px; margin: 0; }
.marquee { max-width: 1120px; margin-inline: auto; overflow: hidden; background: #ff2a2a; color: #fff; font-size: var(--f-sm); font-weight: 700; border-block: 2px solid #ffe14d; }
.marquee p { margin: 0; display: inline-flex; white-space: nowrap; padding-block: 3px; animation: flow 40s linear infinite; }
.marquee span { padding-right: 3em; }
@keyframes flow { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .logo { font-size: 2.5rem; } .aa { display: none; } }
@media (max-width: 560px) {
  .logo { font-size: 1.375rem; flex-wrap: nowrap; } .logo-t { -webkit-text-stroke: 1px #5a3200; } .logo-s { border-width: 2px; padding: 1px 4px; } .lamp { width: 44px; height: 30px; } .meat { display: none; }
  .burst { width: 56px; height: 56px; font-size: 0.6875rem; position: absolute; right: 2px; top: 50px; }
  .tagline { font-size: var(--f-sm); padding-right: 56px; }
}
@media (prefers-reduced-motion: reduce) { .logo-n, .lamp, .marquee p { animation: none; } }
@media (max-width: 1100px) { .aa { display: none; } }

/* ===== 看板のお宝の山（2026-11-12 本人の指示「たくさんのお宝を」） ===== */
header.site { padding-bottom: 100px; }
.treasure { position: absolute; left: 0; right: 0; bottom: 6px; width: 100%; height: 96px; object-fit: cover; object-position: center bottom; pointer-events: none; filter: drop-shadow(0 -2px 6px rgba(245, 197, 66, 0.45)); }
.treasure .tw { animation: twinkle 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 50% { filter: brightness(1.7); opacity: 0.35; } }
.stats { position: relative; z-index: 1; text-shadow: 1px 1px 0 #000; }
@media (max-width: 560px) { header.site { padding-bottom: 74px; } .treasure { height: 70px; } }
@media (prefers-reduced-motion: reduce) { .treasure .tw { animation: none; } }

/* ===== 看板を低く（2026-11-12 本人の指示）。お宝は横に並べて敷く ===== */
header.site { padding: 2px var(--s4) 60px; }
.logo { font-size: 2.5rem; min-height: 0; }
.lamp { width: 68px; height: 47px; }
.meat { width: 48px; height: 32px; }
.burst { width: 64px; height: 64px; font-size: var(--f-xs); top: 2px; }
.tagline { font-size: var(--f-sm); }
.stats { margin: 0; }
.treasure { height: 58px; bottom: 5px; background: url(/treasure.svg) center bottom / auto 100% repeat-x; }
@media (max-width: 900px) { .logo { font-size: 2rem; } }
@media (max-width: 560px) {
  header.site { padding-bottom: 48px; } .treasure { height: 46px; }
  .logo { font-size: 1.375rem; min-height: 44px; } .lamp { width: 44px; height: 30px; }
  .burst { width: 52px; height: 52px; font-size: 0.625rem; top: 44px; }
}

/* ===== 見た人のいいね・コメント ===== */
.res-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin: var(--s1) 0 0 var(--s4); }
.res-act button, #c-form button { font: inherit; font-size: var(--f-sm); font-weight: 700; min-height: 32px; padding: 0 var(--s3); border: 1px solid var(--gold-3); border-radius: 4px; background: linear-gradient(180deg, #fffdf2, #f6dc8a); color: #3a2500; cursor: pointer; }
.res-act button:hover, #c-form button:hover { filter: brightness(1.06); }
.res-act button:focus-visible, #c-form button:focus-visible, #c-form input:focus-visible, #c-form textarea:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 1px; }
.like b { margin-left: 4px; }
.like.on { background: linear-gradient(180deg, #ff6a7f, #c2123f); color: #fff; border-color: #7a0a26; }
.rcount { font-size: var(--f-sm); }
.comments h2 { margin: var(--s4) 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: linear-gradient(90deg, #fff1b8, #fffdf2); border-block: 1px solid var(--gold-2); border-bottom-width: 2px; color: #3a2500; }
#c-list { list-style: none; margin: 0; padding: 0; }
.cm { padding: var(--s2) 0; border-bottom: 1px dotted var(--rule); }
.cm:target { background: #fff8d6; }
.cm-body { margin: var(--s1) 0 0 var(--s4); }
#c-form { display: grid; gap: var(--s2); margin-top: var(--s3); padding: var(--s3); background: #fffbe8; border: 1px solid var(--gold-2); }
#c-form label { display: grid; gap: 2px; font-size: var(--f-sm); font-weight: 700; }
#c-form input, #c-form textarea { font: inherit; font-size: 1rem; padding: var(--s2); border: 1px solid #b99a3c; border-radius: 3px; background: #fff; width: 100%; min-height: 44px; }
#c-form input { max-width: 16rem; }
#c-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#c-form button { min-height: 44px; padding-inline: var(--s5); font-size: var(--f-md); }
.c-row { margin: 0; display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
#c-status { font-size: var(--f-sm); color: var(--emerald); font-weight: 700; }
#c-status.bad { color: var(--red); }
@media (max-width: 560px) { .res-act, .cm-body { margin-left: var(--s2); } }
@media (pointer: coarse) { .res-act button { min-height: 44px; padding-inline: var(--s4); } .rcount { display: inline-flex; align-items: center; min-height: 44px; } .cm-body a { display: inline-flex; align-items: center; min-height: 44px; } }
.rcount[hidden] { display: none; }
@media (max-width: 560px) { .burst { top: 2px; right: 0; width: 46px; height: 46px; font-size: 0.5625rem; } }

/* ===== 一覧はサムネと題だけ。先頭だけ大きく（2026-11-12 本人） ===== */
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
.entry { padding: 0; border: 0; min-width: 0; }
.entry a { display: block; color: var(--link); text-decoration: none; }
.entry a:visited { color: var(--visited); }
.entry img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #ddd; border: 2px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3); }
.e-t { display: block; margin-top: var(--s1); font-size: 1.0625rem; font-weight: 900; line-height: 1.35; word-break: auto-phrase; }
.entry a:hover .e-t { text-decoration: underline; color: var(--red); }
.entry .e-meta { margin: 2px 0 0; }
.entry.top { grid-column: 1 / -1; padding-bottom: var(--s3); border-bottom: 2px solid var(--gold-2); }
.entry.top a { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: var(--s4); align-items: center; }
.entry.top .e-t { margin: 0; font-size: 2rem; line-height: 1.25; color: var(--red); }
.entry.top a:visited .e-t { color: var(--red); }
.entry.top .e-meta { margin-top: var(--s2); }
@media (max-width: 900px) { .entries { grid-template-columns: repeat(2, minmax(0, 1fr)); } .entry.top .e-t { font-size: 1.5rem; } }
@media (max-width: 560px) {
  .entries { gap: var(--s3) var(--s2); }
  .e-t { font-size: 0.9375rem; }
  .entry.top a { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .entry.top .e-t { font-size: 1.375rem; }
}
@media (pointer: coarse) { .entry h2 a, .entry a { padding-block: 0; } }

/* ===== 大手まとめ（ネギ速など）の作りに寄せる（2026-11-12 本人が参考を提示） ===== */
.list-h { margin: var(--s4) 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: linear-gradient(90deg, #fff1b8, #fffdf2); border-block: 1px solid var(--gold-2); border-bottom-width: 2px; color: #3a2500; }
.list > h1 { display: none; }
/* 人気記事の順位 */
.rank { border: 2px solid var(--sapphire); background: var(--paper); margin-bottom: var(--s3); }
.rank h2 { margin: 0; padding: var(--s2) var(--s3); font-size: var(--f-lg); color: var(--sapphire); }
.rank-scroll { display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--s3) var(--s3); -webkit-overflow-scrolling: touch; }
.rank-card { list-style: none; margin: 0; padding: 0 var(--s3); flex: 0 0 min(100%, 26rem); scroll-snap-align: start; border: 1px solid var(--rule); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); }
.rank > .rank-card { border: 0; box-shadow: none; padding: 0; }
.rank-card li { border-top: 1px solid var(--rule); }
.rank-card li:first-child { border-top: 0; }
.rank > .rank-card li { border-top: 1px solid var(--sapphire); }
.rank-card a { display: grid; grid-template-columns: 2rem 5.5rem minmax(0, 1fr); gap: var(--s2); align-items: center; min-height: 56px; padding: var(--s1) 0; color: var(--link); text-decoration: none; font-size: var(--f-md); line-height: 1.4; }
.rank > .rank-card a { padding-right: var(--s2); }
.rank-card img { width: 100%; height: 56px; object-fit: cover; display: block; }
.rk { align-self: stretch; display: grid; place-items: center; background: var(--sapphire); color: #fff; font-size: var(--f-lg); font-weight: 400; }
.rk-1 { background: radial-gradient(circle at 30% 25%, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: #4a2e00; font-weight: 900; }
.rk-2 { background: radial-gradient(circle at 30% 25%, var(--silver-1), var(--silver-2) 55%, var(--silver-3)); color: #2c333d; font-weight: 900; }
.rk-3 { background: radial-gradient(circle at 30% 25%, var(--bronze-1), var(--bronze-2) 55%, var(--bronze-3)); color: #3d1f00; font-weight: 900; }
/* 記事の頭 */
.a-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s3); border: 2px solid var(--sapphire); margin: var(--s1) 0 var(--s2); }
.cal { width: 3.4rem; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); background: #fff; }
.cal b { display: block; background: var(--sapphire); color: #fff; font-size: var(--f-sm); font-weight: 400; }
.cal span { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.5; }
.article .a-head h1 { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; font-size: 1.5rem; line-height: 1.35; }
.a-where { margin: 0 0 var(--s1); font-size: var(--f-sm); font-weight: 700; }
.a-where a { color: var(--sapphire); }
.a-by { margin: var(--s1) 0 0; font-size: var(--f-sm); color: var(--fg-2); }
/* レス: 大きく太く、間をあける */
.thread { border-top: 0; }
.res { padding: var(--s3) 0 var(--s5); border-bottom: 0; }
.res:has(.medal-1), .res:has(.medal-2), .res:has(.medal-3) { padding-left: var(--s2); }
.res-head { font-size: var(--f-sm); color: var(--fg-3); }
.res-name { color: #2e8b2e; font-size: 1.0625rem; }
.res-body { margin: var(--s2) 0 0 var(--s2); font-size: 1.25rem; font-weight: 700; line-height: 1.7; }
.res-body.m-big { font-size: 1.625rem; line-height: 1.5; }
.res-body.m-red { font-size: 1.75rem; line-height: 1.5; }
.res-body.m-blue { font-size: 1.625rem; color: #1414d2; line-height: 1.5; }
.res-body.m-orange { font-size: 1.75rem; color: #f08200; line-height: 1.5; }
.res-act { margin: var(--s2) 0 0 var(--s2); }
.res-act button { font-weight: 400; background: #f4f4f4; border-color: #ccc; color: var(--fg-2); min-height: 28px; }
details.res-orig { margin: var(--s1) 0 0 var(--s2); font-size: var(--f-xs); color: var(--fg-3); }
details.res-orig summary { cursor: pointer; display: inline-block; padding: 2px 0; }
details.res-orig p { margin: 2px 0 0; font-size: var(--f-sm); line-height: 1.6; }
/* レスの間に挟む札 */
.promo { position: relative; margin: var(--s5) 0 var(--s4); padding-top: 1.4rem; }
.promo-tag { position: absolute; top: 0; left: var(--s4); background: #2e7d32; color: #fff; font-size: var(--f-sm); padding: 2px var(--s3) 0; border-radius: 6px 6px 0 0; line-height: 1.5; }
.promo a { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: var(--s3); align-items: center; padding: var(--s2); border: 1px solid var(--rule); border-radius: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15); color: var(--fg); text-decoration: none; }
.promo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; }
.promo-t { display: block; font-weight: 900; font-size: 1.0625rem; line-height: 1.4; }
.promo-go { display: inline-block; margin-top: var(--s1); color: #2e7d32; font-weight: 700; font-size: var(--f-sm); }
.promo-go::before { content: "▶"; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: 6px; border-radius: 50%; background: #2e7d32; color: #fff; font-size: 0.75em; }
/* レスの後ろ */
.cite { margin: var(--s3) 0; font-size: var(--f-xs); color: var(--fg-3); text-align: right; }
.cite a { color: var(--fg-3); }
.share-x { display: grid; place-items: center; margin: var(--s4) auto; max-width: 26rem; min-height: 84px; padding: var(--s2); background: #111; color: #fff; text-decoration: none; border: 3px solid var(--gold-2); border-radius: 16px; box-shadow: 0 0 0 2px var(--gold-3), 0 3px 0 #000; text-align: center; }
.share-x:visited { color: #fff; }
.share-x small { font-size: var(--f-sm); color: var(--gold-1); }
.share-x b { font-size: 1.625rem; line-height: 1.2; }
.c-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin: var(--s3) 0; }
.c-btns a, .pager3 a { display: grid; place-items: center; min-height: 48px; background: #f1f1f1; border: 1px solid #ccc; border-radius: 4px; color: var(--sapphire); text-decoration: none; font-size: var(--f-md); }
.pager3 { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s2); margin: var(--s4) 0; }
.pager3 a[aria-label] { padding-inline: var(--s4); }
.mini h2 { margin: var(--s4) 0 var(--s2); font-size: var(--f-md); }
.mini ul { list-style: none; margin: 0; padding: 0; }
.mini a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--s3); align-items: center; padding: var(--s2) 0; color: var(--sapphire); text-decoration: none; min-height: 56px; }
.mini img { width: 100%; height: 3.4rem; object-fit: cover; display: block; border: 1px solid var(--sapphire); }
.mini-t { display: block; line-height: 1.4; }
.mini time { font-size: var(--f-xs); color: #6aa0e0; }
.share { display: none; }
@media (max-width: 560px) {
  .article .a-head h1 { font-size: 1.1875rem; }
  .res-body { font-size: 1.125rem; margin-left: var(--s1); }
  .res-body.m-big, .res-body.m-blue { font-size: 1.375rem; }
  .res-body.m-red, .res-body.m-orange { font-size: 1.5rem; }
  .share-x b { font-size: 1.375rem; }
  .rank h2 { font-size: var(--f-md); }
}
@media (pointer: coarse) { .res-act button { min-height: 44px; } details.res-orig summary { min-height: 44px; display: inline-flex; align-items: center; } .cite a { display: inline; } }
@media (pointer: coarse) { .cite { line-height: 3.2; } .cite a { padding-block: 15px; } }
.c-btns a { display: flex; align-items: center; justify-content: center; }
@media (pointer: coarse) { .cite a { padding-block: 18px; } }

/* ===== 広告の枠（中身は見本。本番のビルドでは出ない） ===== */
.ad { position: relative; margin: var(--s3) auto; line-height: 0; }
.ad svg { display: block; width: 100%; height: auto; }
.ad-l { display: block; font-size: 10px; line-height: 1.4; color: #888; text-align: left; }
.ad-top { max-width: 1120px; margin-inline: auto; }
.ad-top .ad { margin-block: var(--s2); }
.ad-top .ad-l { color: #cfc6ee; }
.ad-wide { max-width: 728px; }
.ad-mobile { display: none; max-width: 480px; }
.ad-rect { max-width: 300px; }
.ad-tall { max-width: 300px; }
.sidebar .ad { margin-top: 0; }
.ad-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.ad-pair .ad { margin: var(--s3) 0; flex: 0 1 300px; }
.thread .ad-rect { margin-block: var(--s4); }
.ad-native svg { display: block; width: 100%; height: auto; border: 2px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3); }
.ad-native .e-t { color: var(--fg); }
.ad-anchor { display: none; }
@media (max-width: 760px) {
  .ad-wide { display: none; }
  .ad-mobile { display: block; }
  .ad-tall { display: none; }
  .ad-pair .ad + .ad { display: none; }
  .ad-anchor { display: block; position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 20; background: rgba(18, 11, 58, 0.96); padding: 0 52px 0 var(--s2); border-top: 2px solid var(--gold-2); }
  .ad-anchor svg { max-width: 320px; margin-inline: auto; }
  .ad-anchor .ad-l { color: #cfc6ee; position: absolute; left: 4px; top: -16px; background: rgba(18, 11, 58, 0.9); padding: 0 4px; }
  .ad-x { position: absolute; right: 0; top: 0; width: 48px; height: 100%; min-height: 44px; border: 0; background: #000; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
  body:has(.ad-anchor) { padding-bottom: 60px; }
}
@media (max-width: 560px) { .burst { right: 8px; font-size: 0.625rem; width: 48px; height: 48px; transform: rotate(8deg); } }
@media (max-width: 370px) { .logo { font-size: 1.125rem; } .lamp { width: 38px; height: 26px; } .burst { width: 44px; height: 44px; right: 6px; } }
@media (max-width: 370px) { .logo-s { font-size: 0.625rem; } }
.rescount { white-space: nowrap; display: inline-block; }
/* GA の Cookie の同意 */
.consent { position: fixed; left: var(--s2); right: var(--s2); bottom: 72px; z-index: 30; max-width: 30rem; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); padding: var(--s3); background: #fff; border: 2px solid var(--gold-2); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); font-size: var(--f-sm); }
.consent p { margin: 0; flex: 1 1 100%; }
.consent button { min-height: 44px; padding: 0 var(--s4); font: inherit; font-weight: 700; border: 1px solid var(--gold-3); border-radius: 4px; background: linear-gradient(180deg, #fffdf2, #f6dc8a); cursor: pointer; }
.consent[hidden] { display: none; }
/* 運営者情報・規約・プライバシー */
.legal h1 { margin: 0 0 var(--s3); font-size: var(--f-xl); }
.legal h2 { margin: var(--s5) 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: linear-gradient(90deg, #fff1b8, #fffdf2); border-bottom: 2px solid var(--gold-2); }
.legal p, .legal li { line-height: 1.8; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--f-sm); }
.legal th, .legal td { border: 1px solid #d9b860; padding: var(--s2); text-align: left; vertical-align: top; }
.legal th { background: #fff6d0; width: 14em; }
.legal .upd { margin-top: var(--s5); color: var(--fg-3); font-size: var(--f-sm); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s2); }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 560px) { .legal th { width: 7em; } }
@media (pointer: coarse) { .legal a { display: inline-flex; align-items: center; min-height: 44px; } }
/* ショートまとめ */
.sh-toc { list-style: none; margin: var(--s2) 0 var(--s3); padding: var(--s2) var(--s3); border: 2px solid var(--gold-2); background: #fffbe8; }
.sh-toc a { display: flex; align-items: center; min-height: 44px; font-weight: 700; }
.sh { margin: var(--s4) 0 var(--s5); }
.sh-h { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s2); padding: var(--s2) var(--s3); font-size: 1.375rem; line-height: 1.35; background: linear-gradient(90deg, #fff1b8, #fffdf2); border-block: 3px double var(--gold-3); word-break: auto-phrase; }
.sh-h b { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--gold-1), var(--gold-2) 55%, var(--gold-3)); color: #4a2e00; font-size: 1.25rem; }
.sh-v { position: relative; width: min(100%, 340px); aspect-ratio: 9 / 16; margin: 0 auto; background: #000; border: 3px solid var(--gold-2); box-shadow: 0 0 0 1px var(--gold-3); }
.sh-v iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sh-n { margin: var(--s2) 0 0; font-weight: 700; color: var(--brand-2); text-align: center; }
@media (max-width: 560px) { .sh-h { font-size: 1.125rem; } .sh-v { width: min(100%, 300px); } }

/* ===== 記事の頭はシンプルに・レスの操作は右下に小さく（2026-11-15 本人） ===== */
.a-tags { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); margin: var(--s2) 0; }
.a-tags a { font-size: var(--f-sm); padding: 2px var(--s2); border: 1px solid var(--gold-2); border-radius: 3px; background: #fffbe8; text-decoration: none; color: #6b4a00; }
.a-tags a::before { content: "#"; opacity: 0.6; }
.a-media .video { margin-bottom: var(--s2); }
.lk { color: var(--brand-2); font-weight: 700; font-size: var(--f-sm); margin-left: 4px; }
.lk b { margin-left: 2px; }
.res-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); margin-top: var(--s1); }
.res-foot .res-act { display: inline-flex; align-items: center; gap: var(--s3); margin: 0; }
.res-foot .res-act button { min-height: 0; padding: 2px 4px; border: 0; background: none; color: var(--fg-3); font-size: var(--f-xs); font-weight: 400; box-shadow: none; }
.res-foot .res-act button:hover { color: var(--brand-2); text-decoration: underline; }
.res-foot .like.on { background: none; color: var(--brand-2); font-weight: 700; border: 0; }
.res-foot .rcount { font-size: var(--f-xs); }
.res-foot details.res-orig { margin: 0; }
.info h2 { margin: var(--s4) 0 var(--s2); font-size: var(--f-md); padding: var(--s1) var(--s2); background: linear-gradient(90deg, #fff1b8, #fffdf2); border-bottom: 2px solid var(--gold-2); color: #3a2500; }
.info .lead { font-weight: 400; color: var(--fg-2); }
@media (pointer: coarse) {
  .res-foot .res-act button { min-height: 44px; padding: 0 var(--s2); }
  .a-tags a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* 他サイトのおすすめ（画像が無い相手は色の札） */
.mini.ext .noimg { display: block; width: 100%; height: 3.4rem; background: linear-gradient(135deg, var(--night), var(--night-2)); border: 1px solid var(--sapphire); }
