/* Season guides: tables, checklists and answers to check quickly on a phone. */
.guide-section { margin-top: 32px; scroll-margin-top: 90px; }
.guide-section h2 { margin: 0 0 10px; font-size: 1.4rem; word-break: keep-all; }
.guide-section h3 { margin: 18px 0 8px; font-size: 1.05rem; }
.guide-intro, .guide-note { margin: 0 0 12px; line-height: 1.7; word-break: keep-all; }
.guide-note { margin: 12px 0 0; font-size: .9375rem; color: var(--ink-soft, #686a70); }
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); }
.guide-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.guide-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guide-table th, .guide-table td { padding: 10px 12px; border-bottom: 1px solid var(--line, #e7e3d9); text-align: left; word-break: keep-all; overflow-wrap: normal; }
.guide-table thead th { background: var(--card-tint, var(--surface-soft, #f4f1ea)); font-weight: 800; white-space: nowrap; }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.guide-table tbody th { font-weight: 800; }
.guide-table-muted > * { color: var(--ink-soft, #686a70); background: var(--surface-soft, #f4f1ea); font-weight: 600; }
.guide-bullets { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.guide-bullets li { padding: 12px 14px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); line-height: 1.65; word-break: keep-all; }
.guide-check-progress { margin: 0 0 8px; font-weight: 800; }
.guide-check-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.guide-check-list label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 14px; background: var(--paper, #fff); line-height: 1.55; word-break: keep-all; cursor: pointer; }
.guide-check-list input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink, #202124); }
.guide-check-list input:checked + span { color: var(--ink-soft, #686a70); text-decoration: line-through; }
.guide-check-list label:focus-within { outline: 3px solid var(--ink, #202124); outline-offset: 2px; }
.guide-faq { display: grid; gap: 10px; }
.guide-faq article { padding: 14px 16px; border-radius: var(--r-md, 16px); background: var(--surface-soft, #f4f1ea); }
.guide-faq h3 { margin: 0 0 6px; font-size: 1.02rem; word-break: keep-all; }
.guide-faq p { margin: 0; line-height: 1.7; word-break: keep-all; }
.guide-share-status { margin: 10px 0 0; font-size: .9375rem; font-weight: 750; overflow-wrap: anywhere; }
.guide-sources { margin: 0; padding-left: 1.2em; line-height: 1.8; font-size: .9375rem; }
.guide-table-compact { font-size: .8125rem; }
.guide-table-compact th, .guide-table-compact td { padding: 8px 5px; white-space: nowrap; }
.guide-months { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-month { padding: 14px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); }
.guide-month h3 { margin: 0 0 8px; font-size: 1.05rem; }
.guide-cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9375rem; text-align: center; font-variant-numeric: tabular-nums; }
.guide-cal th { padding: 4px 0; font-size: .8125rem; font-weight: 800; color: var(--ink-soft, #686a70); }
.guide-cal th:first-child { color: #c62828; }
.guide-cal th:last-child { color: #1c5fb8; }
.guide-cal td { padding: 6px 0; line-height: 1.2; }
.guide-cal .is-sun { color: #c62828; }
.guide-cal .is-sat { color: #1c5fb8; }
.guide-cal .is-holiday { color: #c62828; font-weight: 800; background: rgba(198, 40, 40, .1); border-radius: 8px; }
.guide-month-note { margin: 8px 0 0; font-size: .875rem; line-height: 1.55; color: var(--ink-soft, #686a70); word-break: keep-all; }
.guide-downloads { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide-downloads a { display: grid; gap: 2px; min-height: 44px; padding: 12px 14px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); color: inherit; text-decoration: none; }
.guide-downloads a:hover { background: var(--surface-soft, #f4f1ea); }
.guide-downloads small { color: var(--ink-soft, #686a70); font-size: .875rem; }
.guide-section .message-related-list { margin-top: 12px; }
.guide-games { display: grid; gap: 10px; }
.guide-game { padding: 14px 16px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); }
.guide-section .guide-game h3 { margin: 0 0 2px; font-size: 1.08rem; word-break: keep-all; }
.guide-game-meta { margin: 0 0 8px; font-size: .875rem; line-height: 1.5; color: var(--ink-soft, #686a70); word-break: keep-all; }
.guide-game ol { margin: 0; padding-left: 1.3em; line-height: 1.7; word-break: keep-all; }
.guide-game-tip { margin: 8px 0 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-soft, #686a70); word-break: keep-all; }
.guide-game-link { margin: 8px 0 0; font-weight: 800; }
.guide-words { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.guide-words li { padding: 4px 10px; border-radius: 999px; background: var(--surface-soft, #f4f1ea); font-size: .9375rem; line-height: 1.5; }
.liar-tool { padding: 16px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); }
.liar-tool [hidden] { display: none !important; }
.liar-tool .guide-intro { margin: 0; }
.liar-setup { display: grid; gap: 12px; }
.liar-setup label { display: grid; gap: 4px; font-weight: 800; }
.liar-setup select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; font: inherit; font-weight: 500; }
.liar-stage { padding: 8px 0; text-align: center; }
.guide-section .liar-stage h3 { margin: 0 0 8px; font-size: 1.25rem; word-break: keep-all; }
.liar-stage h3:focus, .liar-word:focus { outline: none; }
.liar-progress { margin: 0 0 6px; font-weight: 800; color: var(--ink-soft, #686a70); }
.liar-word { margin: 14px 0; font-size: 2rem; font-weight: 900; line-height: 1.3; word-break: keep-all; }
.liar-help { margin: 0; line-height: 1.6; word-break: keep-all; }
.liar-timer { margin: 12px 0 0; font-size: 2.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.liar-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 0; }
.message-hero + .guide-section { margin-top: 16px; }
.calc-share { margin: 12px 0 8px; }
.calc-tool, .calc-stack { display: grid; gap: 14px; min-width: 0; }
.calc-tool { padding: 16px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); }
.calc-tool [hidden] { display: none !important; }
.calc-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.calc-row-three { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.calc-field { display: grid; gap: 4px; min-width: 0; font-weight: 800; }
.calc-field input, .calc-field select, .calc-field textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: 1rem; font-weight: 500; }
.calc-field textarea { display: block; resize: vertical; line-height: 1.6; }
@supports (-webkit-touch-callout: none) { .calc-field input[type="date"] { -webkit-appearance: none; display: block; } }
.calc-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; word-break: keep-all; }
.calc-check input { flex: none; width: 20px; height: 20px; margin: 0; }
.calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.calc-results > div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.calc-results dt { font-size: .8125rem; font-weight: 700; color: var(--ink-soft, #686a70); }
.calc-results dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; word-break: keep-all; }
.calc-results .calc-main dd { font-size: 1.375rem; font-weight: 900; }
.calc-results .calc-wide { grid-column: 1 / -1; }
.calc-card { display: grid; gap: 10px; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line, #e7e3d9); }
.calc-card:first-child { padding-top: 0; border-top: 0; }
.guide-section .calc-card h3 { margin: 0; font-size: 1.0625rem; word-break: keep-all; }
.calc-answer { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); font-weight: 800; line-height: 1.5; word-break: keep-all; }
.calc-note { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--ink-soft, #686a70); word-break: keep-all; }
.calc-note:empty, .calc-answer:empty { display: none; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.calc-progress { display: block; width: 100%; height: 12px; accent-color: var(--ink, #202124); }
.calc-tool .guide-table-compact td, .calc-tool .guide-table-compact th { white-space: normal; word-break: keep-all; }
.calc-past th, .calc-past td { color: var(--ink-soft, #686a70); }
.fortune-date { margin: 0; font-weight: 800; color: var(--ink-soft, #686a70); }
.fortune-animals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fortune-animal { display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 0; min-height: 64px; padding: 6px 2px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: .875rem; font-weight: 800; word-break: keep-all; cursor: pointer; }
.fortune-animal span { font-size: 1.5rem; line-height: 1.2; }
.fortune-animal[aria-pressed="true"] { border-color: var(--ink, #202124); background: var(--surface-soft, #f4f1ea); box-shadow: inset 0 0 0 1px var(--ink, #202124); }
.fortune-result { display: grid; gap: 12px; min-width: 0; scroll-margin-top: 70px; }
.guide-section .fortune-tool h3 { margin: 0; font-size: 1.125rem; word-break: keep-all; }
.fortune-score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.fortune-stars { font-size: 1.375rem; line-height: 1; letter-spacing: 2px; color: #9a6400; }
.fortune-place { font-weight: 800; color: var(--ink-soft, #686a70); }
.guide-section .fortune-cohort-box h4 { margin: 0 0 8px; font-size: 1rem; }
.guide-section .fortune-cohorts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; line-height: 1.55; word-break: keep-all; }
.fortune-rank { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line, #e7e3d9); }
.guide-section .fortune-ranking { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fortune-ranking button { display: grid; grid-template-columns: 2.5em minmax(0, 1fr) auto; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fortune-ranking button[aria-current="true"] { border-color: var(--ink, #202124); background: var(--surface-soft, #f4f1ea); box-shadow: inset 0 0 0 1px var(--ink, #202124); }
.fortune-stars-small { letter-spacing: 1px; white-space: nowrap; color: #9a6400; }
.dream-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dream-chip { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 999px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.dream-count { scroll-margin-top: 70px; }
.guide-section .dream-results { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dream-results a { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; text-decoration: none; }
.dream-results strong { line-height: 1.45; word-break: keep-all; }
.dream-results small { font-size: .875rem; line-height: 1.6; color: var(--ink-soft, #55575c); word-break: keep-all; }
.dream-mark { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
.dream-mark-good { background: #dff0e3; color: #1d5c32; }
.dream-mark-mid { background: #e8e5dc; color: #4d4f54; }
.dream-mark-warn { background: #f8e4d0; color: #7d4200; }
.dream-case { scroll-margin-top: 70px; }
.dream-case:target { box-shadow: inset 0 0 0 2px var(--ink, #202124); }
.symbol-tool { gap: 18px; }
.symbol-group { display: grid; gap: 8px; min-width: 0; scroll-margin-top: 70px; }
.guide-section .symbol-group h3 { margin: 0; font-size: 1rem; word-break: keep-all; }
.symbol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.symbol-grid button, .symbol-recent button, .symbol-lines button { min-height: 44px; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); color: inherit; font: inherit; cursor: pointer; }
.symbol-grid button { padding: 0; font-size: 1.25rem; line-height: 1; }
.symbol-recent { display: flex; flex-wrap: wrap; gap: 6px; }
.symbol-recent button { min-width: 44px; padding: 0 10px; font-size: 1.125rem; line-height: 1.2; }
.guide-section .symbol-lines { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.guide-section .symbol-lines-compact { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.symbol-lines li { min-width: 0; }
.symbol-lines button { display: block; width: 100%; padding: 8px 12px; line-height: 1.4; text-align: left; overflow-wrap: anywhere; }
.symbol-grid button:hover, .symbol-recent button:hover, .symbol-lines button:hover { border-color: var(--ink, #202124); }
.symbol-grid button:active, .symbol-recent button:active, .symbol-lines button:active { background: var(--surface-soft, #f4f1ea); }
.symbol-tray { display: grid; gap: 8px; }
.symbol-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.symbol-more { display: grid; gap: 10px; min-width: 0; }
.guide-section .symbol-more > h3 { margin: 0; font-size: 1rem; word-break: keep-all; }
.symbol-fold { min-width: 0; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); }
.symbol-fold summary { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; font-weight: 800; line-height: 1.35; word-break: keep-all; list-style: none; cursor: pointer; }
.symbol-fold summary::-webkit-details-marker { display: none; }
.symbol-fold summary::after { content: "▾"; flex: none; color: #55575c; font-weight: 400; }
.symbol-fold[open] summary::after { transform: rotate(180deg); }
.symbol-fold summary small { flex: 1 1 0; min-width: 0; overflow: hidden; color: #55575c; font-size: .9375rem; font-weight: 400; text-align: right; white-space: nowrap; }
.guide-section .symbol-fold > .symbol-grid, .guide-section .symbol-fold > .symbol-lines { padding: 2px 10px 10px; }
.symbol-toast { position: fixed; left: 50%; bottom: 20px; z-index: 50; box-sizing: border-box; width: max-content; max-width: calc(100vw - 32px); margin: 0; padding: 10px 16px; border-radius: 999px; background: #202124; color: #fff; font-weight: 800; line-height: 1.4; text-align: center; overflow-wrap: anywhere; transform: translateX(-50%); pointer-events: none; }
.story-tool [data-story-title] { margin: 0; font-size: 1.25rem; word-break: keep-all; }
.story-tool [data-story-teaser] { min-height: 5.1em; margin: 0; line-height: 1.7; word-break: keep-all; }
.story-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.story-case { scroll-margin-top: 70px; }
.story-case:target { box-shadow: inset 0 0 0 2px var(--ink, #202124); }
.guide-faq .story-case p + p { margin-top: 8px; }
.story-reveal { margin-top: 10px; }
.story-reveal summary { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line, #e7e3d9); border-radius: 999px; background: var(--paper, #fff); font-weight: 800; cursor: pointer; list-style: none; }
.story-reveal summary::-webkit-details-marker { display: none; }
.guide-faq .story-reveal p { margin: 10px 0; }
.story-reveal [hidden] { display: none !important; }
.guide-faq .story-share-link { margin-top: 8px; overflow-wrap: anywhere; font-size: .9375rem; }
.calc-here th, .calc-here td { background: var(--surface-soft, #f4f1ea); font-weight: 900; }
.round-tool, .word-pick { padding: 16px; border: 1px solid var(--line, #e7e3d9); border-radius: var(--r-md, 16px); background: var(--paper, #fff); scroll-margin-top: 84px; }
.round-tool [hidden], .word-pick [hidden], .round-sheet[hidden], .round-sheet [hidden], .round-print-title, .round-print-name { display: none !important; }
.round-lead, .word-pick-help, .round-grade, .round-compare { margin: 0; line-height: 1.6; word-break: keep-all; }
.round-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.round-actions .message-button { flex: 1 1 200px; }
.round-actions-pair .message-button { flex-basis: 120px; min-height: 60px; }
.round-challenge { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--t1, #fff0bd); font-weight: 800; line-height: 1.5; word-break: keep-all; }
.round-progress { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 10px; font-weight: 800; color: var(--ink-soft, #686a70); font-variant-numeric: tabular-nums; }
.round-question { min-height: 4.5em; margin: 0 0 14px; font-size: 1.25rem; font-weight: 800; line-height: 1.5; word-break: keep-all; }
.round-question:focus, .round-final:focus, .word-pick-word:focus { outline: none; }
.round-tool[data-round-mode="host"] .round-question { font-size: 1.625rem; line-height: 1.45; }
.round-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.round-choice { min-height: 84px; border: 2px solid; border-radius: 16px; font: inherit; font-size: 2.5rem; font-weight: 900; line-height: 1; cursor: pointer; }
.round-choice-o { border-color: #0b57d0; background: #e8f0fe; color: #0b57d0; }
.round-choice-x { border-color: #b3261e; background: #fce8e6; color: #b3261e; }
.round-choice:focus-visible { outline: 3px solid var(--ink, #202124); outline-offset: 3px; }
.round-result { padding: 12px 14px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.round-verdict { margin: 0 0 4px; font-size: 1.125rem; font-weight: 900; }
.round-answer { margin: 0 0 4px; font-size: 1.125rem; font-weight: 800; word-break: keep-all; }
.round-why { margin: 0; line-height: 1.6; word-break: keep-all; }
.round-final { margin: 0 0 6px; font-size: 1.5rem; font-weight: 900; line-height: 1.4; word-break: keep-all; }
.round-compare { margin-bottom: 4px; font-weight: 800; }
.round-link { margin: 10px 0 0; overflow-wrap: anywhere; font-size: .9375rem; line-height: 1.5; }
.round-missed { margin: 12px 0 0; }
.round-missed summary { min-height: 44px; padding: 10px 0; font-weight: 800; cursor: pointer; }
.round-missed ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; line-height: 1.6; word-break: keep-all; }
.round-more { margin: 12px 0 0; line-height: 1.5; word-break: keep-all; }
.round-more a { font-weight: 800; }
.round-sheet { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.word-pick-label { margin: 12px 0 6px; font-weight: 800; }
.word-pick-label:first-of-type { margin-top: 0; }
.word-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.word-chip { min-height: 44px; padding: 6px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 999px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: .9375rem; font-weight: 700; cursor: pointer; }
.word-chip[aria-pressed="true"] { border-color: var(--ink, #202124); background: var(--ink, #202124); color: var(--paper, #fff); }
.word-chip:focus-visible { outline: 3px solid var(--ink, #202124); outline-offset: 2px; }
.word-pick-help { margin-top: 10px; color: var(--ink-soft, #686a70); font-size: .9375rem; }
.word-pick-word { display: flex; align-items: center; justify-content: center; min-height: 3.2em; margin: 0; font-size: 2.25rem; font-weight: 900; line-height: 1.25; text-align: center; word-break: keep-all; }
.word-pick [data-word-clock] { color: var(--ink, #202124); font-size: 1.5rem; }
.handy-clock { margin: 0; font-size: clamp(3.5rem, 22vw, 7rem); font-weight: 900; line-height: 1.1; text-align: center; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.handy-clock-fine { font-size: clamp(2.5rem, 13vw, 5rem); }
.handy-tool.is-done .handy-clock { color: #b3261e; }
.handy-main .message-button { flex: 1 1 96px; min-height: 56px; font-size: 1.0625rem; }
.handy-presets .message-button { flex: 1 1 72px; }
.handy-manual { box-sizing: border-box; width: 100%; padding: 8px 10px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: 1rem; line-height: 1.6; resize: vertical; }
.handy-dice { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-height: 84px; }
.handy-die { display: grid; place-items: center; box-sizing: border-box; width: 84px; height: 84px; border: 2px solid var(--ink, #202124); border-radius: 16px; background: var(--paper, #fff); font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.handy-die-pips { grid-template: repeat(3, 1fr) / repeat(3, 1fr); padding: 10px; }
.handy-die-pips span { width: 14px; height: 14px; border-radius: 50%; }
.handy-die-pips .is-on { background: var(--ink, #202124); }
.handy-past { margin: 0; padding: 0; list-style: none; line-height: 1.7; font-variant-numeric: tabular-nums; }
.handy-past:empty, .handy-trail:empty, .handy-tiles:empty { display: none; }
.handy-coin { display: grid; place-items: center; width: 132px; height: 132px; margin: 4px auto; border: 4px solid #a8832b; border-radius: 50%; background: #f5d77a; color: #4a3a0c; font-size: 2rem; font-weight: 900; line-height: 1; }
.handy-coin.is-tails { border-color: #8f8b80; background: #e6e3da; color: #33322e; }
@media (prefers-reduced-motion: no-preference) { .handy-coin.is-flipping { animation: handy-coin-flip .6s ease-out; } }
@keyframes handy-coin-flip { from { transform: rotateX(0); } to { transform: rotateX(1080deg); } }
.handy-trail { margin: 0; text-align: center; font-weight: 800; letter-spacing: .2em; }
.handy-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.handy-tile { display: grid; place-items: center; box-sizing: border-box; min-width: 64px; min-height: 64px; padding: 6px 12px; border-radius: 14px; background: var(--t1, #fff0bd); font-size: 1.625rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.handy-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); gap: 10px; }
.handy-team { display: grid; gap: 8px; min-width: 0; padding: 12px; border-radius: 14px; background: var(--surface-soft, #f4f1ea); }
.handy-team input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: 1rem; font-weight: 800; text-align: center; }
.handy-score { margin: 0; font-size: clamp(2.75rem, 14vw, 4.5rem); font-weight: 900; line-height: 1.1; text-align: center; font-variant-numeric: tabular-nums; }
.handy-score-buttons { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6px; }
.handy-score-buttons .message-button { min-height: 56px; padding: 6px; font-size: 1.125rem; }
.handy-tool:fullscreen { align-content: center; padding: 5vmin; overflow: auto; background: var(--paper, #fff); }
.handy-tool:fullscreen .calc-card, .handy-tool:fullscreen .calc-note, .handy-tool:fullscreen .calc-row { display: none; }
.handy-tool:fullscreen .handy-clock { font-size: min(22vw, 50vh); }
.handy-tool:fullscreen .handy-clock-fine { font-size: min(14vw, 40vh); }
.handy-tool:fullscreen .handy-score { font-size: min(14vw, 24vh); }
.money-tool { display: grid; gap: 12px; }
.money-tool .calc-stack { display: grid; gap: 12px; }
.money-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.money-presets .message-button { min-height: 44px; padding: 6px 2px; font-size: .875rem; }
.money-scroll { max-height: 420px; overflow: auto; }
.money-scroll thead th { position: sticky; top: 0; }
.money-schedule { font-variant-numeric: tabular-nums; }
.money-schedule th, .money-schedule td { padding: 8px 3px; }
.money-schedule tbody th { font-weight: 700; white-space: nowrap; }
.guide-table-wrap + .guide-bullets { margin-top: 12px; }
.file-tool { display: grid; gap: 12px; }
.file-tool .calc-stack { display: grid; gap: 12px; }
.file-tool input[type="range"] { padding: 0; accent-color: var(--ink, #202124); }
.file-tool input[type="color"] { padding: 4px; }
.file-code { display: grid; justify-items: center; min-width: 0; }
.file-code img { display: block; width: min(100%, 280px); height: auto; image-rendering: pixelated; }
.file-sign { display: grid; justify-items: center; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--line, #e7e3d9); border-radius: 14px; text-align: center; }
.file-sign-title { margin: 0; font-weight: 800; line-height: 1.5; word-break: keep-all; }
.file-sign-info { display: grid; gap: 8px; width: 100%; margin: 0; }
.file-sign-info dt { font-size: .8125rem; font-weight: 700; color: var(--ink-soft, #686a70); }
.file-sign-info dd { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.message-page .file-pick { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 1.0625rem; cursor: pointer; }
.file-pick input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-pick:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }
.file-photos { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.file-photos li { display: grid; gap: 8px; min-width: 0; padding: 12px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.file-photos img { display: block; max-width: 100%; max-height: 240px; margin: 0 auto; border-radius: 8px; }
.file-photos p { margin: 0; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; word-break: keep-all; }
.file-checks { display: grid; gap: 0; }
.file-strength { margin: 0; font-weight: 800; }
.file-passwords { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.file-passwords li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.file-passwords code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9375rem; line-height: 1.4; overflow-wrap: anywhere; }
.manito-tool { scroll-margin-top: 72px; }
.manito-tool .calc-stack { display: grid; gap: 12px; }
.manito-tool h3 { margin: 6px 0 0; font-size: 1.0625rem; }
.manito-more { padding: 0 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; }
.manito-more > summary { padding: 12px 0; font-weight: 700; line-height: 1.5; word-break: keep-all; cursor: pointer; }
.manito-more[open] { padding-bottom: 12px; }
.manito-card { display: grid; justify-items: center; gap: 8px; padding: 16px 14px; border-radius: 14px; background: var(--surface-soft, #f4f1ea); text-align: center; }
.manito-title { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.manito-lead { margin: 0; font-weight: 700; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.manito-to { margin: 0; font-size: 1.875rem; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.manito-to:focus { outline: none; }
.manito-mission { margin: 0; line-height: 1.6; word-break: keep-all; }
.manito-info { display: grid; gap: 6px; width: 100%; margin: 4px 0 0; }
.manito-info:empty { display: none; }
.manito-info div { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .875rem; }
.manito-info dt { color: var(--ink-soft, #686a70); }
.manito-info dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.manito-names { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.manito-names .message-button { width: 100%; padding-right: 8px; padding-left: 8px; overflow-wrap: anywhere; }
.manito-links { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.manito-links li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); overflow-wrap: anywhere; }
.manito-chain { display: grid; gap: 4px; margin: 10px 0 0; padding-left: 22px; line-height: 1.6; overflow-wrap: anywhere; }
.manito-opened .message-hero, .manito-opened #make > h2 { display: none; }
.unit-tool { display: grid; gap: 12px; }
.unit-tool h3 { margin: 8px 0 0; font-size: 1rem; }
.unit-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; }
.unit-words { margin: 0; font-size: 1.25rem; font-weight: 900; line-height: 1.4; overflow-wrap: anywhere; }
.unit-words:empty { display: none; }
.unit-tool .guide-table td { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.unit-more { padding: 0 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; }
.unit-more > summary { padding: 12px 0; font-weight: 700; line-height: 1.5; word-break: keep-all; cursor: pointer; }
.unit-more[open] { padding-bottom: 12px; }
.grade-head, .grade-courses li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px; }
.grade-head { margin-bottom: -6px; font-weight: 800; }
.grade-courses { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.form-sheet { padding: 24px 18px; border: 1px solid var(--line, #e7e3d9); border-radius: 4px; background: #fff; color: #111; line-height: 1.9; }
.form-sheet-title { margin: 0 0 16px; font-size: 1.5rem; letter-spacing: .3em; text-align: center; }
.form-sheet p { margin: 0 0 .75em; word-break: keep-all; overflow-wrap: anywhere; }
.form-sheet .form-center { text-align: center; }
.form-sheet .form-right { text-align: right; }
.form-sheet .form-tight { margin-bottom: 0; }
.form-sheet .form-gap { margin: 0 0 .25em; }
.form-blank { padding: 0 .25em; border-bottom: 1px solid currentColor; white-space: pre-wrap; }
.form-blank:empty { display: inline-block; min-width: 6em; }
.form-sheet .form-head { margin: 1em 0 .25em; font-weight: 800; }
.form-table { width: 100%; margin: 0 0 .75em; border-collapse: collapse; table-layout: fixed; }
.form-table th, .form-table td { padding: 6px 8px; border: 1px solid #111; font-size: .9375rem; line-height: 1.5; text-align: left; vertical-align: top; word-break: keep-all; overflow-wrap: anywhere; break-inside: avoid; }
.form-table th { background: #f4f4f4; font-weight: 700; }
.form-table th:first-child { width: 36%; }
.form-table td { height: 2.4em; }
.form-table .form-blank { display: inline; min-width: 0; padding: 0; border: 0; }
.form-photo { float: right; display: grid; place-items: center; width: 3cm; height: 4cm; margin: 0 0 8px 12px; border: 1px solid #111; font-size: .8125rem; color: #555; }
.form-photo[hidden] { display: none; }
@media (max-width: 480px) {
  .form-table th:first-child { width: 47%; }
  .form-table th, .form-table td { padding: 6px; font-size: .8125rem; }
}
@media (min-width: 768px) {
  .round-tool[data-round-mode="host"] .round-question { font-size: 2.25rem; }
}
.calc-keys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.calc-keys button { min-width: 0; min-height: 46px; padding: 4px 0; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); color: inherit; font: inherit; font-weight: 800; cursor: pointer; touch-action: manipulation; }
.calc-keys .key-fn { background: var(--surface-soft, #f4f1ea); font-size: .875rem; font-weight: 700; }
.calc-keys .key-do { border-color: var(--ink, #202124); background: var(--ink, #202124); color: var(--paper, #fff); }
.calc-history { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.calc-history button { width: 100%; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); color: inherit; font: inherit; font-size: .875rem; text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.calc-result-long dd { overflow-wrap: anywhere; }
.calc-result-long .calc-main dd { font-size: 1.1875rem; line-height: 1.4; }
.work-days { display: grid; gap: 6px; }
.work-day { display: grid; grid-template-columns: 1.25em minmax(0, 1fr) minmax(0, 1fr) 3.4em; align-items: center; gap: 6px; font-weight: 800; }
.work-head { font-size: .8125rem; font-weight: 700; color: var(--ink-soft, #686a70); }
.work-day input { padding: 6px 4px; }
@media (max-width: 480px) { .work-day input[type="time"]::-webkit-calendar-picker-indicator { display: none; } }
@supports (-webkit-touch-callout: none) { .calc-field input[type="time"] { -webkit-appearance: none; display: block; } }
.photo-stage { overflow: hidden; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.photo-stage canvas { display: block; margin: 0 auto; max-width: 100%; max-height: 70vh; touch-action: none; cursor: crosshair; }
.photo-result img { display: block; margin: 0 auto; max-width: 100%; max-height: 70vh; border-radius: 8px; }
.photo-order li { grid-template-columns: 64px minmax(0, 1fr); align-items: center; }
.photo-order img { width: 64px; height: 64px; margin: 0; object-fit: cover; }
.photo-order .calc-actions { grid-column: 1 / -1; }
.photo-order .message-button, .photo-scale .message-button { flex: 1 1 0; min-height: 44px; padding: 6px 2px; font-size: .875rem; }
.math-steps { display: grid; gap: 6px; margin: 0; padding-left: 20px; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.math-steps:empty { display: none; }
.math-question { margin: 0; font-size: 1.75rem; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
.times-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.times-block { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.times-block h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.times-block ol { margin: 0; padding: 0; list-style: none; line-height: 1.7; font-variant-numeric: tabular-nums; }
.times-tool .calc-actions { margin-top: 12px; }
@media (min-width: 600px) { .times-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.device-tool input[type="range"] { padding: 0; accent-color: var(--ink, #202124); }
.device-tool .key-done { background-color: #bfe8d4; color: #123527; }
.device-tool .key-held { background-color: var(--ink, #202124); color: #fff; }
.key-board-wrap { overflow-x: auto; }
.key-board { display: grid; gap: 2px; min-width: 760px; padding-bottom: 4px; }
.key-row { display: flex; }
.key-gap { min-width: 0; }
.key-cell { box-sizing: border-box; min-width: 0; padding: 8px 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background-clip: padding-box; background-color: var(--surface-soft, #f4f1ea); font-size: .6875rem; font-weight: 800; line-height: 1.2; text-align: center; white-space: nowrap; }
.mouse-pad { display: grid; gap: 12px; padding: 18px 12px; border: 2px dashed var(--line, #e7e3d9); border-radius: 14px; text-align: center; cursor: crosshair; -webkit-user-select: none; user-select: none; }
.mouse-pad p { margin: 0; font-weight: 800; word-break: keep-all; }
.mouse-buttons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mouse-buttons > div { display: grid; gap: 2px; min-width: 0; padding: 10px 2px; border-radius: 10px; background-color: var(--surface-soft, #f4f1ea); font-size: .8125rem; font-weight: 700; word-break: keep-all; }
.mouse-buttons strong { font-variant-numeric: tabular-nums; }
.pixel-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pixel-picks .message-button { justify-content: center; }
.pixel-chip { display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 6px; border: 1px solid #8b8b8b; border-radius: 4px; vertical-align: -2px; }
.pixel-chip-black { background: #000; }
.pixel-chip-white { background: #fff; }
.pixel-chip-red { background: #f00; }
.pixel-chip-green { background: #0f0; }
.pixel-chip-blue { background: #00f; }
.pixel-chip-gray { background: #808080; }
.device-full { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 10000; box-sizing: border-box; width: 100%; height: 100%; margin: 0; }
html.device-locked, html.device-locked body { overflow: hidden; }
.pixel-stage { cursor: pointer; outline: 0; }
.pixel-hint, .pixel-close { border-radius: 12px; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 1px rgba(0, 0, 0, .45); color: #111; font-weight: 800; transition: opacity .3s; }
.pixel-hint { position: absolute; left: 50%; bottom: 28px; box-sizing: border-box; width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 10px 14px; font-size: .9375rem; line-height: 1.5; text-align: center; word-break: keep-all; transform: translateX(-50%); }
.pixel-close { position: absolute; top: 16px; right: 16px; min-width: 56px; min-height: 44px; padding: 8px 14px; border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; }
.pixel-quiet { cursor: none; }
.pixel-quiet .pixel-hint, .pixel-quiet .pixel-close { opacity: 0; pointer-events: none; }
.refresh-lanes { display: grid; gap: 4px; }
.refresh-lane { height: 28px; overflow: hidden; border-radius: 8px; background: var(--surface-soft, #f4f1ea); }
.refresh-lane span { display: block; width: 28px; height: 28px; border-radius: 8px; background: var(--ink, #202124); }
.refresh-lanes .calc-note { margin-bottom: 6px; }
.speaker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.speaker-grid .message-button { justify-content: center; padding-right: 4px; padding-left: 4px; }
.touch-stage { background: var(--paper, #fff); }
.touch-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); height: 50vh; min-height: 300px; max-height: 480px; overflow: hidden; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; cursor: crosshair; touch-action: none; -webkit-user-select: none; user-select: none; }
.touch-cell { border: 1px solid var(--line, #e7e3d9); }
.touch-done { background: #7fd3ab; }
.device-full .touch-grid { height: 100%; max-height: none; border: 0; border-radius: 0; }
.touch-close { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.touch-close .message-button { pointer-events: auto; }
.touching .touch-close { opacity: 0; }
.touching .touch-close .message-button { pointer-events: none; }
.code-font, .diff-view, .code-value.code-font, .color-chip small { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-rows { display: grid; gap: 8px; min-width: 0; }
.code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name copy" "value value"; align-items: center; gap: 4px 8px; min-width: 0; padding: 8px 12px 10px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.code-name { grid-area: name; min-width: 0; font-size: .8125rem; font-weight: 700; color: var(--ink-soft, #686a70); word-break: keep-all; }
.code-copy { min-height: 40px; padding: 4px 12px; font-size: .875rem; }
.code-row .code-copy { grid-area: copy; background: var(--paper, #fff); }
.code-value { grid-area: value; min-width: 0; margin: 0; font-family: inherit; font-weight: 700; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.code-manual { box-sizing: border-box; width: 100%; padding: 8px 10px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; font: inherit; line-height: 1.5; }
.code-checks { display: grid; min-width: 0; }
.code-pair { display: grid; gap: 14px; min-width: 0; }
.code-picture { min-width: 0; overflow: hidden; border-radius: 12px; }
.code-picture img { display: block; max-width: 100%; height: auto; }
.code-file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.calc-card.code-problem { padding: 12px; border: 1px solid #efb7b7; border-radius: 12px; background: #fdf0f0; }
.code-problem p { margin: 0; word-break: keep-all; }
.code-snippet { grid-area: auto; padding: 8px 10px; overflow-x: auto; border-radius: 8px; background: var(--paper, #fff); font-weight: 500; white-space: pre; overflow-wrap: normal; }
.code-gap { visibility: hidden; }
.calc-note.code-warn { padding: 10px 12px; border-radius: 12px; background: #fff5d9; color: var(--ink, #202124); overflow-wrap: anywhere; }
.diff-view { max-height: 70vh; overflow-y: auto; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; font-size: .875rem; line-height: 1.55; }
.diff-row { display: grid; grid-template-columns: 2.4em 1.1em minmax(0, 1fr); gap: 0 4px; padding: 2px 8px; }
.diff-number { color: var(--ink-soft, #686a70); font-size: .8125rem; text-align: right; -webkit-user-select: none; user-select: none; }
.diff-sign { font-weight: 800; text-align: center; -webkit-user-select: none; user-select: none; }
.diff-text { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff-add { background: #e3f6ea; }
.diff-del { background: #fdeaea; }
.diff-text mark { color: inherit; font-weight: 800; }
.diff-add mark { background: #a9e3bf; }
.diff-del mark { background: #f6c0c0; }
.color-swatch { height: 96px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; }
.color-input { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: end; gap: 10px; min-width: 0; }
.color-input input[type="color"] { padding: 2px; cursor: pointer; }
.color-steps { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 2px; overflow: hidden; border-radius: 8px; }
.color-step { min-width: 0; height: 44px; padding: 0; border: 0; cursor: pointer; }
.color-sample { margin: 0; padding: 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; font-weight: 700; word-break: keep-all; }
.color-canvas { display: block; max-width: 100%; height: auto; cursor: crosshair; }
.color-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.color-chip { display: grid; gap: 2px; min-width: 0; padding: 6px; border: 1px solid var(--line, #e7e3d9); border-radius: 10px; background: var(--paper, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.color-chip span { display: block; height: 28px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 6px; }
.color-chip b { font-size: .8125rem; word-break: keep-all; }
.color-chip small { font-size: .6875rem; color: var(--ink-soft, #686a70); }
@media (min-width: 640px) {
  .code-pair, .code-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.guide-section .find-results { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.find-results:empty { display: none; }
.guide-section .find-results li { display: grid; gap: 6px; min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); }
.find-results strong { font-size: 1.0625rem; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.guide-section .find-results p { margin: 0; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.find-where { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line, #e7e3d9); border-radius: 999px; background: var(--paper, #fff); color: inherit; font-size: .875rem; font-weight: 800; text-decoration: none; word-break: keep-all; }
.find-where:hover { border-color: var(--ink, #202124); }
.find-where:focus-visible { outline: 3px solid var(--ink, #202124); outline-offset: 2px; }
.kin-chain { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface-soft, #f4f1ea); font-size: 1.125rem; font-weight: 800; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.kin-steps .word-chip:disabled { opacity: .38; cursor: default; }
.kin-tool .message-button:disabled { opacity: .45; cursor: default; }
.jibang-tool .calc-field input:disabled, .jibang-tool .calc-field select:disabled { opacity: .55; cursor: not-allowed; }
.jibang-paper { display: flex; justify-content: center; gap: 20px; min-height: 260px; padding: 20px 12px; border: 1px solid var(--line, #e7e3d9); border-radius: 12px; background: var(--paper, #fff); overflow-x: auto; }
.jibang-paper:empty { display: none; }
.jibang-line { writing-mode: vertical-rl; text-orientation: upright; font-size: 1.375rem; font-weight: 700; letter-spacing: .12em; line-height: 1; white-space: nowrap; }
@media print {
  @page { size: A4 portrait; margin: 8mm; }
  html, body { background: #fff !important; }
  body > *:not(main), main > *:not(.guide-print), .guide-print > h2, .guide-print > .guide-intro { display: none !important; }
  main.tteok-page { max-width: none; margin: 0; padding: 0; }
  .guide-section { margin: 0; }
  .form-tool { display: block; padding: 0; border: 0; }
  .form-tool > *:not(.form-sheet) { display: none !important; }
  .form-sheet { padding: 12mm 14mm; border: 0; font-size: 12pt; line-height: 2; }
  .form-sheet-title { margin-bottom: 10mm; font-size: 22pt; }
  .file-tool { padding: 0; border: 0; }
  .file-tool > *:not(.calc-stack), .file-tool .calc-stack > *:not(.file-sign) { display: none !important; }
  .file-sign { gap: 8mm; padding: 12mm 0; border: 0; }
  .file-sign-title { font-size: 20pt; }
  .file-code img { width: 110mm; }
  .file-sign-info { gap: 5mm; }
  .file-sign-info dt { font-size: 13pt; color: #333; }
  .file-sign-info dd { font-size: 24pt; }
  .guide-months { grid-template-columns: repeat(3, 1fr); gap: 3mm; margin-bottom: 3mm; }
  .guide-month { padding: 2mm; break-inside: avoid; border-radius: 0; }
  .guide-month h3 { margin-bottom: 1mm; font-size: 12pt; }
  .guide-cal { font-size: 10pt; }
  .guide-cal th { padding: 0 0 1mm; font-size: 8pt; }
  .guide-cal td { padding: .8mm 0; }
  .guide-month-note { margin-top: 1mm; font-size: 6.5pt; line-height: 1.3; color: #333; }
  .guide-print-sheet > h2 { display: block !important; margin: 4mm 0 2mm; font-size: 13pt; break-after: avoid; }
  .guide-print-sheet .round-print-title { display: block !important; margin: 0 0 1mm; font-size: 12pt; font-weight: 800; }
  .guide-print-sheet .round-print-name { display: block !important; margin: 0 0 3mm; font-size: 11pt; }
  html[data-round-printing="answers"] .guide-print-sheet .round-print-name { display: none !important; }
  .guide-print-sheet .message-list { display: block; }
  .guide-print-sheet .message-list li { display: block; padding: 1.2mm 0; border: 0; border-radius: 0; background: none; box-shadow: none; break-inside: avoid; }
  .guide-print-sheet .message-list .quiz-q { font-size: 11pt; font-weight: 600; line-height: 1.45; }
  .guide-print-sheet summary { display: none !important; }
  .guide-print-sheet .message-list .quiz-answer { margin: .5mm 0 0; padding: 0; background: none; font-size: 9.5pt; line-height: 1.4; }
  .guide-print-sheet .quiz-answer strong { display: inline; margin: 0 1mm 0 0; font-size: 10pt; }
  html[data-round-large] .guide-print-sheet .message-list li { padding: 2mm 0; }
  html[data-round-large] .guide-print-sheet .message-list .quiz-q { font-size: 15pt; line-height: 1.5; }
  html[data-round-large] .guide-print-sheet .message-list .quiz-answer { font-size: 13pt; line-height: 1.45; }
  html[data-round-large] .guide-print-sheet .quiz-answer strong { font-size: 13pt; }
  .times-tool .calc-actions { display: none !important; }
  .times-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4mm; }
  .times-block { padding: 3mm 3.5mm; break-inside: avoid; }
  .times-block h3 { margin: 0 0 2mm; font-size: 22pt; }
  .times-block ol { font-size: 19pt; line-height: 1.6; }
  body { min-height: 0; }
  .message-hero + .guide-section { margin-top: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
