/* AMIX GAME PORT — 記録の書き出し・読み込み（白い空の世界・固定配色） */
:root {
  --f-en: 'Outfit', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --f-ja: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;
  --bg: #f3f5f9;
  --ink: #12141a;
  --ink-2: #5b6170;
  --line: rgba(18, 20, 26, .12);
  --glass: rgba(255, 255, 255, .8);
  --c-sun: #ff7a45;
  --c-cyan: #22b8f0;
  --c-pink: #ff5c9a;
  --c-lemon: #ffc928;
  --c-cobalt: #4b63ff;
  --c-warn: #e5484d;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --col-w: 560px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100svh;
  font-family: var(--f-ja); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: 'palt' 1;
}
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* 押す所はダブルタップでの拡大だけを抑える（スクロールとピンチは残す・GAME_TOUCH_RULES 4節） */
a, label, summary, input[type=checkbox] { touch-action: manipulation; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--c-cobalt); outline-offset: 3px; border-radius: 8px; }

.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* ---- 見出し ---- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(14px, env(safe-area-inset-top)) clamp(16px, 3.4vw, 44px) 10px;
  pointer-events: none;
}
.top > * { pointer-events: auto; }
/* 下へ送ったら、見出しの下に薄い下地を敷く（中身の文字と重ならないように） */
.top { transition: background .3s, box-shadow .3s; }
html.is-scrolled .top { background: rgba(243, 245, 249, .84); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }
.brand-txt { display: grid; line-height: 1.05; }
.brand-txt b { font: 700 14px/1.1 var(--f-en); letter-spacing: .08em; white-space: nowrap; }
.brand-txt i { font: 400 9.5px/1.2 var(--f-mono); letter-spacing: .26em; color: var(--ink-2); font-style: normal; }
.top-r { display: inline-flex; align-items: center; gap: 18px; }
/* 音の ON/OFF（主操作より控えめに） */
.snd-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--ink-2); padding: 10px 4px; }
.snd-toggle:hover, .snd-toggle:focus-visible { color: var(--ink); }
.snd-toggle svg { width: 16px; height: 16px; }
.snd-toggle .snd-x { display: none; }
.snd-toggle[aria-pressed="false"] .snd-wave { display: none; }
.snd-toggle[aria-pressed="false"] .snd-x { display: inline; }
.top-link { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-2); text-decoration: none; padding: 10px 2px; border-bottom: 1px solid currentColor; }

/* ---- 読み込み（GAME PORT の入口と同じ天球儀） ---- */
.loader {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center; align-content: center; gap: 14px;
  background: var(--bg);
  transition: opacity .9s cubic-bezier(.7, 0, .2, 1), visibility 0s .9s;
}
.loader.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.ld-stage { position: relative; display: grid; place-items: center; width: 260px; height: 260px; }
.ld-stage > * { grid-area: 1 / 1; }
.ld-ring { width: 112px; height: 112px; transform: rotate(-90deg); }
.ld-ring circle { fill: none; stroke-width: 1.2; }
.ld-ring .track { stroke: var(--line); }
.ld-ring .bar { stroke: var(--ink); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .3s; stroke-linecap: round; }
.ld-num { font: 400 15px/1 var(--f-mono); letter-spacing: .12em; transition: opacity .3s, transform .5s var(--ease-out); }
.ld-label { margin: 6px 0 0; font: 400 10px/1 var(--f-mono); letter-spacing: .32em; color: var(--ink-2); }
.ld-orbits { width: 260px; height: 260px; overflow: visible; opacity: 0; animation: ldIn 1s .15s var(--ease-out) forwards, ldTurn 40s linear infinite; }
.ld-orb ellipse { fill: none; stroke-width: .7; stroke-opacity: .55; }
.ld-orb.o1 ellipse { stroke: var(--c-sun); } .ld-orb.o1 .ld-sat { fill: var(--c-sun); }
.ld-orb.o2 ellipse { stroke: var(--c-cyan); } .ld-orb.o2 .ld-sat { fill: var(--c-cyan); }
.ld-orb.o3 ellipse { stroke: var(--c-pink); } .ld-orb.o3 .ld-sat { fill: var(--c-pink); }
@keyframes ldTurn { to { rotate: 360deg; } }
@keyframes ldIn { from { opacity: 0; scale: .82; } to { opacity: 1; scale: 1; } }
.ld-ripple { width: 112px; height: 112px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; pointer-events: none; }
.ld-enter { width: 112px; height: 112px; border-radius: 50%; opacity: 0; pointer-events: none; font: 500 13px/1 var(--f-mono); letter-spacing: .28em; padding-left: .28em; }
.ld-hint { margin: 0; font-size: 12px; letter-spacing: .12em; color: var(--ink-2); opacity: 0; transform: translateY(6px); transition: opacity .5s .2s, transform .5s .2s var(--ease-out); }
.ld-snd { opacity: 0; transition: opacity .5s .35s; pointer-events: none; }
.loader.is-tap { cursor: pointer; }
.loader.is-tap .ld-num { opacity: 0; transform: scale(.6); }
.loader.is-tap .ld-enter { opacity: 1; pointer-events: auto; transition: opacity .4s .15s; }
.loader.is-tap .ld-ring { animation: ldBreath 2.4s cubic-bezier(.7, 0, .2, 1) infinite; }
.loader.is-tap .ld-ripple { animation: ldRipple 2.4s var(--ease-out) infinite; }
.loader.is-tap .ld-ripple.r2 { animation-delay: 1.2s; }
.loader.is-tap .ld-orbits { animation: ldTurn 12s linear infinite; opacity: 1; }
.loader.is-tap .ld-hint { opacity: 1; transform: none; }
.loader.is-tap .ld-snd { opacity: 1; pointer-events: auto; }
.ld-enter:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
@keyframes ldBreath { 0%, 100% { transform: rotate(-90deg) scale(1); } 50% { transform: rotate(-90deg) scale(1.06); } }
@keyframes ldRipple { from { opacity: .5; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
/* 押したら：輪が一気に開いて世界へ */
.loader.is-out .ld-orbits { animation: ldOut 1s cubic-bezier(.7, 0, .2, 1) forwards; opacity: 1; }
.loader.is-out .ld-ring { transform: rotate(-90deg) scale(5); opacity: 0; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .8s; }
@keyframes ldOut { to { opacity: 0; scale: 2.6; } }
html.reduce .ld-ring, html.reduce .ld-ripple, html.reduce .ld-orbits { animation: none !important; opacity: 1; }
html.reduce .ld-ripple { display: none; }
@media (max-width: 480px) { .ld-stage, .ld-orbits { width: 220px; height: 220px; } }

/* ---- 右の列（縦長では全幅） ---- */
.col {
  position: relative; z-index: 2;
  width: min(var(--col-w), calc(100vw - 32px));
  margin: 0 clamp(16px, 5vw, 80px) 0 auto;
  padding: calc(max(14px, env(safe-area-inset-top)) + 72px) 0 calc(28px + env(safe-area-inset-bottom));
  display: grid; gap: 14px;
}
.hero-gap { display: none; }
.card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 26px;
  box-shadow: 0 26px 70px -40px rgba(110, 80, 170, .45);
  padding: 22px 22px 20px;
}
.card h2 { margin: 0 0 12px; font-size: 15px; letter-spacing: .02em; }
.sp { display: none; }

/* ピアのことば（ピアのいる側へ、しっぽを向ける） */
.talk { position: relative; padding: 18px 22px; }
.talk::before { content: ''; position: absolute; left: -9px; top: 30px; width: 18px; height: 18px; background: inherit; border-left: 1px solid rgba(255, 255, 255, .95); border-bottom: 1px solid rgba(255, 255, 255, .95); transform: rotate(45deg); border-radius: 0 0 0 4px; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* 頭の上の吹き出し（ひとことだけ。ピアについていく） */
.bubble {
  position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none;
  padding: 9px 15px 10px; border-radius: 16px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 14.5px; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 10px 26px -12px rgba(110, 80, 170, .55);
  transform: translate(-50%, calc(-100% - 12px)) scale(.6); transform-origin: 50% 100%;
  opacity: 0; transition: opacity .25s, transform .45s var(--ease-out);
}
.bubble::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.bubble.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) scale(1); }
.who { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.who small { font-size: 11px; font-weight: 500; color: var(--ink-2); }
.who-dot { width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(var(--c-sun), var(--c-lemon), #2ed3a5, var(--c-cyan), var(--c-pink), var(--c-sun)); }
.talk-text { margin: 0; font-size: clamp(15.5px, 1.5vw, 17px); line-height: 1.8; font-weight: 700; min-height: 3.6em; word-break: auto-phrase; }
.caret { display: inline-block; width: .5em; height: 1em; margin-left: 2px; vertical-align: -.12em; border-radius: 2px; background: var(--c-pink); animation: blink .7s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* まとめ */
.sum-h { margin: 0 0 14px; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; letter-spacing: .01em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { border-radius: 16px; padding: 12px 12px 10px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); }
.stat b { display: block; font: 600 26px/1 var(--f-en); letter-spacing: .02em; }
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.stat:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat:first-child span { color: rgba(255, 255, 255, .7); }
.last { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.last.is-old { color: #b4461b; }
.acts { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(18, 20, 26, .7); }
.btn-sub { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn-main:hover { background: #262a36; } .btn-sub:hover { border-color: rgba(18, 20, 26, .3); } }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.undo-line { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.link { color: var(--c-cobalt); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; padding: 12px 4px; }

/* ゲームごと */
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.list-head h2 { margin: 0; }
.tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(18, 20, 26, .06); }
.tabs button { min-height: 40px; font-size: 12.5px; font-weight: 700; padding: 8px 13px; border-radius: 999px; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(18, 20, 26, .4); }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.g { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid transparent; text-decoration: none; }
.g:hover { border-color: var(--line); }
.g-img { width: 72px; height: 47px; border-radius: 10px; object-fit: cover; background: #e8eaf0; }
.g.is-none .g-img { filter: grayscale(.85) opacity(.7); }
.g-t { min-width: 0; }
.g-t b { display: block; font: 600 13.5px/1.3 var(--f-en); letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-t small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--ink-2); }
.kids { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 6px; font: 700 9.5px/1.2 var(--f-mono); letter-spacing: .1em; color: #fff; background: var(--c-pink); vertical-align: 2px; }
.chip { font-size: 11.5px; font-weight: 700; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.chip-rec { background: var(--ink); color: #fff; }
.chip-trace { background: #fff; border: 1px solid rgba(18, 20, 26, .25); }
.chip-none { color: var(--ink-2); }
.chip-off { color: var(--ink-2); font-weight: 500; }
.list-note { margin: 12px 2px 0; font-size: 12px; line-height: 1.7; color: var(--ink-2); }

/* 知っておいてほしいこと */
/* 天球儀の色を1つずつ割り当てた札。アイコンの丸に色を持たせ、枠は四辺同じ細さ */
.notes { position: relative; overflow: hidden; }
.notes::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 201, 40, .22), rgba(255, 92, 154, .12) 55%, transparent 72%); }
.notes-k { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .26em; color: var(--ink-2); }
.notes-orb { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--c-sun); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 10px var(--c-sun); }
.notes h2 { position: relative; z-index: 1; margin-bottom: 14px; }
.note-list { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.note { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px 14px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .78); border: 1px solid var(--line); }
.note-ic { --c: var(--c-sun); width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.note-ic svg { width: 22px; height: 22px; }
.n1 .note-ic { --c: var(--c-cobalt); } .n2 .note-ic { --c: var(--c-sun); } .n3 .note-ic { --c: var(--c-cyan); }
.n4 .note-ic { --c: #9b5cff; } .n5 .note-ic { --c: #1fae86; }
.note b { display: block; padding-top: 2px; color: var(--ink); font-size: 13.5px; line-height: 1.6; }
.note p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.75; color: #3a3f4c; }
.note-tag { display: inline-block; margin-left: 6px; padding: 3px 7px 2px; border-radius: 999px; vertical-align: 1px;
  font: 600 9.5px/1.2 var(--f-mono); letter-spacing: .12em; color: #fff; background: var(--c-sun); white-space: nowrap; }
/* 最後の札（送らない）は、約束として少し強く */
.note.n5 { background: var(--ink); border-color: var(--ink); }
.note.n5 b { color: #fff; }
.note.n5 p { color: rgba(255, 255, 255, .72); }
.note.n5 .note-ic { background: rgba(31, 174, 134, .18); border-color: rgba(31, 174, 134, .5); color: #4fe0b6; }

.foot { padding: 10px 4px 0; font-size: 12px; color: var(--ink-2); }
.foot p { margin: 0 0 6px; display: flex; gap: 18px; flex-wrap: wrap; }
.foot-c { gap: 0 !important; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---- シート（書き出し・読み込み） ---- */
.sheet {
  border: 0; padding: 0; margin: auto; background: transparent; color: var(--ink);
  width: min(520px, calc(100vw - 24px)); max-height: calc(100svh - 32px);
}
.sheet::backdrop { background: rgba(243, 245, 249, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .4s var(--ease-out); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px); } }
.sheet-in {
  position: relative; padding: 24px 22px 20px; border-radius: 26px;
  background: rgba(255, 255, 255, .96); border: 1px solid #fff;
  box-shadow: 0 30px 80px -30px rgba(110, 80, 170, .5);
  max-height: calc(100svh - 32px); overflow-y: auto;
}
.sheet-k { margin: 0 0 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .26em; color: var(--c-sun); }
.sheet h2 { margin: 0 0 16px; font-size: 18px; line-height: 1.5; padding-right: 56px; }
.sheet-x { position: absolute; top: 12px; right: 12px; min-height: 40px; font-size: 12.5px; color: var(--ink-2); padding: 10px 8px; text-decoration: underline; text-underline-offset: 4px; }
.file { margin: 0 0 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(18, 20, 26, .04); }
.file-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--c-lemon); font: 600 14px/1 var(--f-mono); }
.file b { display: block; font: 500 13px/1.4 var(--f-mono); word-break: break-all; }
.file small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-2); }
.sheet-acts { display: grid; gap: 8px; }
.sheet-hint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--ink-2); }
.sheet-hint:empty { display: none; }
.pick { position: relative; overflow: hidden; width: 100%; }
.pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.paste { margin-top: 14px; font-size: 13px; }
.paste summary { cursor: pointer; color: var(--ink-2); padding: 12px 0; }
.paste textarea { display: block; width: 100%; margin: 8px 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font: 16px/1.5 var(--f-mono); resize: vertical; background: #fff; color: var(--ink); }
.paste textarea:focus { outline: 2px solid var(--c-cobalt); outline-offset: 0; }
.paste .btn { width: 100%; min-height: 46px; }
.sheet-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(229, 72, 77, .08); color: #b0262b; font-size: 13px; line-height: 1.7; }
.pick-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; max-height: 44svh; overflow-y: auto; }
.pk { display: grid; grid-template-columns: 22px 60px 1fr; align-items: center; gap: 10px; padding: 7px 10px 7px 8px; border-radius: 14px; background: rgba(18, 20, 26, .035); cursor: pointer; }
.pk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.pk img { width: 60px; height: 39px; border-radius: 8px; object-fit: cover; }
.pk b { display: block; font: 600 13px/1.3 var(--f-en); }
.pk small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-2); line-height: 1.5; }
.pk small.is-over { color: #b4461b; }
.pk-skip { margin: 0 0 12px; font-size: 12px; color: var(--ink-2); }
.warn { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 154, 61, .12); font-size: 13px; line-height: 1.75; }
.warn b { display: block; }

.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 95;
  transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  font-size: 13px; padding: 11px 18px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-out); max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.nojs { position: relative; z-index: 3; text-align: center; padding: 40px 16px; }

/* ---- 縦長・狭い画面：ピアを上の空きに、列は全幅 ---- */
@media (max-width: 759px), (max-aspect-ratio: 105/100) {
  .col { margin: 0 auto; width: calc(100vw - 32px); padding-top: calc(max(14px, env(safe-area-inset-top)) + 56px); }
  .hero-gap { display: block; height: clamp(170px, 30svh, 300px); }
  .sp { display: inline; }
  .top-r { gap: 12px; }
  .top .snd-word { display: none; }
  .brand-txt b { font-size: 13px; letter-spacing: .05em; }
  .brand-txt i { display: none; }
  .card { padding: 18px 16px 16px; border-radius: 22px; }
  .talk { padding: 14px 16px; }
  .talk::before { left: 50%; top: -9px; margin-left: -9px; border-left: 1px solid rgba(255, 255, 255, .95); border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .95); border-radius: 4px 0 0 0; }
  .acts { grid-template-columns: 1fr; }
  .stat b { font-size: 23px; }
  .g { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .g-img { width: 60px; height: 39px; }
}
/* ---- OGP の撮影用（?ogp=1） ---- */
.ogp-card { display: none; }
html.is-ogp .col, html.is-ogp .top, html.is-ogp .bubble, html.is-ogp .toast { display: none !important; }
html.is-ogp .ogp-card { display: block; position: fixed; z-index: 3; left: 52%; top: 50%; transform: translateY(-50%); width: 42%; }
.ogp-k { margin: 0 0 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .3em; color: var(--ink-2); }
.ogp-t { margin: 0; font: 700 64px/1 var(--f-en); letter-spacing: .02em; color: var(--ink); }
.ogp-s { margin: 22px 0 0; font-size: 26px; line-height: 1.55; font-weight: 700; color: var(--ink); }
.ogp-f { margin: 26px 0 0; display: flex; gap: 10px; }
.ogp-pill { padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; }
.ogp-pill.is-sub { background: #fff; color: var(--ink); border: 1px solid var(--line); }
html.reduce *, html.reduce *::before, html.reduce *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
