/* がんばりカードメーカー */
.od-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 14px; }
.od-type { display: grid; justify-items: center; gap: 2px; padding: 8px 6px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--sh-sm); font-size: 13px; transition: transform .1s; }
.od-type:hover { transform: translate(-1px, -1px) rotate(-1deg); }
.od-type.on { background: var(--yellow); color: #1d2433; }
.od-ti { width: 44px; height: 44px; }
.od-wrap { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 960px) { .od-wrap { grid-template-columns: minmax(0, 1fr); } }
.od-side { display: grid; gap: 12px; min-width: 0; }
.od-card { display: grid; gap: 10px; padding: 14px; }
.od-h { font-size: 15.5px; margin: 0; }
.od-themes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 420px) { .od-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.od-theme { display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 2px solid var(--line-soft); border-radius: 12px; background: var(--card); font-size: 12px; font-weight: 800; }
.od-theme svg { width: 38px; height: 38px; }
.od-theme.on { border-color: var(--line); background: color-mix(in srgb, var(--yellow) 40%, var(--card)); box-shadow: var(--sh-sm); }
.od-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.od-sw { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line-soft); background: linear-gradient(135deg, var(--c) 50%, var(--lc) 50%); }
.od-sw.on { border: 3px solid var(--line); box-shadow: var(--sh-sm); transform: scale(1.08); }
.od-pvcol { position: sticky; top: 74px; min-width: 0; display: grid; gap: 8px; }
@media (max-width: 960px) { .od-pvcol { position: static; } }
.od-tb { margin-bottom: 0; }
.od-info { color: var(--ink2); font-weight: 700; }
.od-pv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: repeating-linear-gradient(45deg, var(--bg2), var(--bg2) 10px, var(--bg) 10px, var(--bg) 20px); }
.od-sheet { position: relative; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .2); line-height: 0; }
.od-sheet:first-child { grid-column: 1 / -1; }
.od-sheet::after { content: attr(data-n); position: absolute; right: 6px; top: 6px; font-size: 11px; line-height: 1; padding: 3px 7px; border-radius: 99px; background: #1d2433; color: #fff; font-weight: 800; }
.od-svg { width: 100%; height: auto; display: block; }
.od-pg { width: 210mm; height: 296mm; overflow: hidden; }

/* 長いページで「なめらかスクロール」中に押すとボタンの位置がずれるため、このアプリのページだけ即時スクロールにする */
html { scroll-behavior: auto; }
