/* Pixel Motion Studio の案内ページ（更新のまとめ・機能の説明）だけで使う追加。
   土台はフォースプレイスのサイト共通の site.css（build.py が正本から fp/site.css へ写す）。
   ここには site.css に無いもの（ドット絵の表示・コード・結果の欄）だけを書く。 */

.topbar .lang { font-family: var(--f-en); font-size: .8rem; font-weight: 700; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.topbar .lang:hover { text-decoration: none; border-color: var(--acc); color: var(--acc-ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.page-hero { padding-bottom: 36px; }

/* 機能ごとの折りたたみ */
.feat-list { display: grid; gap: 14px; }
details.feat > summary { align-items: baseline; flex-wrap: wrap; }
details.feat > summary .lbl { font-family: var(--f-en); }
details.feat > summary small { flex-basis: 100%; margin-left: 0; font-weight: 400; font-size: .88rem; color: var(--ink-3); }
@media (min-width: 821px) { details.feat > summary small { flex-basis: auto; margin-left: 6px; } }
details.feat:target, details.feat.flash { border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft), var(--shadow-1); }
details.feat .more-body { padding: 6px 22px 24px; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.prose.wide { max-width: none; }
.feat h3 { font-size: 1rem; margin: 18px 0 6px; color: var(--ink); }
.feat .prose > :first-child, .feat .result > h3:first-child { margin-top: 0; }
.feat .prose ol, .feat .prose ul { padding-left: 1.3em; }
.feat .result { padding: 18px 20px 20px; background: var(--panel); border-color: var(--line); }
.feat .result h3 { color: var(--acc-ink); }
.feat .result p { color: var(--ink-2); line-height: 1.85; margin: 8px 0; }
.feat > .more-body > .result { margin-top: 18px; }

/* コード・出力 */
.code { position: relative; margin: 10px 0 14px; }
.code pre { margin: 0; padding: 14px 16px; padding-right: 74px; border-radius: var(--r-s); background: var(--ink); color: #eef1f8; font: .82rem/1.75 ui-monospace, Consolas, "Cascadia Mono", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.code.out pre { background: #fff; color: var(--ink); border: 1px solid var(--line-2); padding-right: 16px; }
.code .copy { position: absolute; top: 8px; right: 8px; padding: 3px 10px; border: 1px solid #5a6072; border-radius: 999px; background: #262a36; color: #eef1f8; font-size: .74rem; }
.code .copy:hover { background: #343a4a; }
.feat code, .page code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; background: var(--acc-soft); color: var(--acc-ink); padding: 1px 6px; border-radius: 6px; }
.code pre code { background: none; color: inherit; padding: 0; }

/* 表・数字 */
table.mini { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .88rem; background: #fff; border-radius: var(--r-s); overflow: hidden; }
table.mini th, table.mini td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
table.mini tr:last-child th, table.mini tr:last-child td { border-bottom: 0; }
table.mini th { font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: .82rem; white-space: nowrap; color: var(--ink); }
.nums { list-style: none; margin: 12px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nums li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 10px 8px; font-size: .78rem; color: var(--ink-3); line-height: 1.5; }
.nums b { display: block; font-family: var(--f-en); font-size: 1.15rem; color: var(--ink); }

/* 画面写真・ドット絵 */
figure { margin: 0; }
.shot { margin: 10px 0 12px; }
.shot img { width: 100%; border-radius: var(--r-s); border: 1px solid var(--line-2); }
.shot figcaption, .sizes figcaption, .drift figcaption { font-size: .82rem; color: var(--ink-3); margin-top: 6px; line-height: 1.6; }
.px { display: inline-block; line-height: 0; }
.px img { zoom: var(--s, 3); image-rendering: pixelated; max-width: none; }
.check .px, .sizes .px, .drift .px { padding: 10px; border-radius: var(--r-s); background: conic-gradient(#eef0f6 25%, #fff 0 50%, #eef0f6 0 75%, #fff 0) 0 0 / 14px 14px; border: 1px solid var(--line); }
.sizes, .drift { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; margin: 12px 0; }
.sizes figcaption b { display: block; font-family: var(--f-en); color: var(--ink); font-size: .95rem; }
.sizes figcaption code { font-size: .78rem; }
/* 足元の基準線（コマの一番下の線）。ずれたコマだけ浮いて見える */
.px.base { position: relative; }
.px.base::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 10px; border-top: 2px dashed var(--c-pink); }
.drift .bad figcaption { color: #BE185D; font-weight: 700; }

.checks { list-style: none; padding: 0 !important; }
.intro-note { margin-top: 14px; padding: 16px 20px; display: grid; gap: 6px; background: var(--acc-soft); border-color: transparent; }
.intro-note p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.8; }
.intro-note b { color: var(--ink); margin-right: .8em; }

/* 更新のまとめ */
.page .points .point { display: flex; flex-direction: column; }
.page .points .point .go { margin-top: auto; padding-top: 12px; }
.page .points .point .ic { font-family: var(--f-en); font-weight: 700; font-size: .78rem; color: var(--acc-ink); background: var(--acc-soft); border-radius: 999px; padding: 2px 10px; align-self: flex-start; }
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; }
.next h2 { margin: 0 0 6px; font-size: 1.25rem; }
.next p { margin: 0; color: var(--ink-2); }
.next .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pms-foot { grid-template-columns: 1.6fr 1fr 1fr; }

@media (max-width: 1180px) { .pms-foot { grid-template-columns: 1fr 1fr; } .pms-foot > .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 820px) {
  .feat-grid { grid-template-columns: minmax(0, 1fr); }
  details.feat .more-body { padding: 4px 16px 20px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar .top-right .btn { display: none; }
}
@media (max-width: 560px) { .pms-foot { grid-template-columns: minmax(0, 1fr); } }
