/* 恐竜ぬりえ一覧（/nurie/）の 見た目。ふだんの 見た目は ../zukan/zukan.css（ずかん一覧と 同じ）に 足す。印刷の 1枚は nurie-print.css */
html { scroll-padding-top: 8px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* エリアの ボタン（押すと その エリアの 見出しまで スクロール。トップページの ジャンルの ボタンと 同じ 形） */
.area-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; line-height: 1.6; }
.area-nav a {
  padding: 6px 14px; border-radius: 999px; font-family: var(--fd); font-size: .95rem; font-weight: 800; text-decoration: none;
  background: #fff; color: #6b4a22; border: 2px solid #e6d6b8; box-shadow: 0 2px 0 #e6d6b8;
}
.area-nav a:active { transform: translateY(2px); box-shadow: none; }
.box[id] { scroll-margin-top: 8px; }
/* カード：番号・名前・線画の 見本（押すと プレビュー） */
.nurie-card { font: inherit; font-size: .85rem; cursor: pointer; }
.nurie-card img { width: 80px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.nurie-card:active { background: #fff3e2; }
.nurie-card.err img { background: #f6e6e0; }
/* 大きい プレビュー */
#preview { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 16px; border: 0; border-radius: 24px; background: #fffdf6; box-shadow: 0 8px 32px rgba(40, 90, 70, .3); color: #3a4a44; font-family: var(--fb); }
#preview::backdrop { background: rgba(30, 50, 40, .45); }
.pv-head { text-align: center; }
.pv-head h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.8; }
.pv-head rt { font-size: .5em; }
#pv-art { display: block; width: 100%; height: auto; aspect-ratio: 1; max-height: calc(100dvh - 260px); object-fit: contain; background: #fff; border: 2px solid #e6d6b8; border-radius: 12px; }
.pv-msg { color: #c0392b; font-weight: 700; }
.pv-btns { display: flex; justify-content: center; gap: 12px; margin: 12px 0 4px; }
.pv-btns button { font: 800 1.15rem var(--fd); padding: 10px 24px; border: 0; border-radius: 999px; cursor: pointer; }
.pv-print { background: #b8561a; color: #fff; box-shadow: 0 3px 0 #8a4012; }  /* 白い 字が 読める こさ（トップの「▶ あそぶ」と 同じ 色） */
.pv-print:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a4012; }
.pv-print:disabled { opacity: .5; cursor: wait; }
.pv-close { background: #fff; color: #6b4a22; border: 2px solid #e6d6b8 !important; }
.pv-zukan { margin: 4px 0 0; text-align: center; font-size: .9rem; }
