/* ── Shared Index / Navigation Styles ─────────────────────────────
   Used by reading/index.html and subdirectory index pages.
   Theme variables: --heading-color, --link-border, --num-bg,
   --title-color, --tip-bg, --tip-border
   ─────────────────────────────────────────────────────────────── */

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Comic Sans MS', 'Chalkboard SE', cursive; background: #fffdf5; color: #333; min-height: 100vh; }

/* Layout */
.container { max-width: 720px; margin: 0 auto; padding: 32px 20px; }
.breadcrumb { font-size: 12px; color: #aaa; margin-bottom: 16px; }
.breadcrumb a { color: #1a6fbd; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
h1 { font-size: 26px; text-align: center; color: var(--heading-color, #1a6fbd); margin-bottom: 4px; }
.subtitle { text-align: center; font-size: 13px; color: #888; margin-bottom: 28px; }

/* Sheet list (subdirectory index pages) */
.sheet-list { display: flex; flex-direction: column; gap: 10px; }
.sheet-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #fff; border: 2px solid var(--link-border, #f0c040); border-radius: 12px; text-decoration: none; color: #333; transition: transform .12s, box-shadow .12s; }
.sheet-link:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.sheet-num { width: 32px; height: 32px; background: var(--num-bg, #f0c040); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: bold; flex-shrink: 0; }
.sheet-title { font-size: 15px; font-weight: bold; color: var(--title-color, #e05c00); }
.sheet-pages { font-size: 11px; color: #aaa; margin-top: 1px; }
.sheet-arrow { margin-left: auto; font-size: 20px; color: #ccc; flex-shrink: 0; }
.print-tip { margin-top: 28px; padding: 12px 16px; background: var(--tip-bg, #fffef2); border: 1.5px dashed var(--tip-border, #f0c040); border-radius: 10px; font-size: 12px; color: #888; text-align: center; }
footer { text-align: center; margin-top: 30px; font-size: 11px; color: #bbb; }

/* Category cards (reading/index.html) */
.card-grid { display: flex; flex-direction: column; gap: 16px; }
.card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #fff; border: 2px solid #9ec9f0; border-radius: 14px; text-decoration: none; color: #333; transition: transform .12s, box-shadow .12s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.card-icon { font-size: 36px; flex-shrink: 0; }
.card-body { flex: 1; }
.card-title { font-size: 18px; font-weight: bold; color: #1a6fbd; }
.card-desc { font-size: 12px; color: #777; margin-top: 2px; }
.card-arrow { font-size: 22px; color: #ccc; flex-shrink: 0; }
