﻿:root { color-scheme: light; font-family: 'Malgun Gothic','Apple SD Gothic Neo',system-ui,sans-serif; color: #203b34; background: #f6f4eb; line-height: 1.6; font-synthesis: none; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible, [tabindex='-1']:focus-visible { outline: 3px solid #af562f; outline-offset: 4px; }
button:disabled { opacity: .55; cursor: default; }
.skip-link { position: absolute; top: -100px; left: 12px; z-index: 10; padding: 12px; color: #183d31; background: #fff; }
.skip-link:focus { top: 12px; }
.topbar { max-width: 1350px; height: 76px; margin: auto; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dee4d8; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.brand-icon { width: 25px; height: 25px; border: 6px solid #386b5b; border-radius: 50%; }
.topbar p, .footer { font-size: 13px; font-weight: 600; color: #4c685a; }
.page { max-width: 1200px; min-height: calc(100vh - 145px); margin: auto; padding: 50px 30px 70px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7%; }
.intro-copy { padding: 10px 0 20px 28px; }
.eyebrow, .panel-kicker { color: #3d6c57; font-size: 12px; font-weight: 800; letter-spacing: .07em; margin: 0 0 16px; }
h1, h2, p { overflow-wrap: break-word; }
h1 { margin: 0; font-size: clamp(36px, 4.8vw, 62px); letter-spacing: -.055em; line-height: 1.22; }
h1 span { color: #aa7b42; }
.lead { color: #4c6558; line-height: 1.9; font-size: 17px; margin: 22px 0 0; }
.intro-note { border-left: 3px solid #bc9960; padding-left: 14px; margin: 22px 0; color: #4c6558; font-size: 14px; }
fieldset { border: 0; padding: 0; margin: 18px 0; min-width: 0; }
legend { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.settings { display: flex; flex-wrap: wrap; gap: 8px; }
.settings label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 9px 12px; background: #fffefa; border: 1px solid #c7d6c8; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; }
.settings input { width: 18px; height: 18px; margin: 0; accent-color: #32634f; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 10px; padding: 12px 20px; font-weight: 800; transition: background-color .15s; }
.primary { background: #305f4c; color: #fff; }
.primary:hover { background: #224b3b; }
.outline, .secondary { background: #fffefa; color: #315747; border-color: #a7bbad; }
.outline:hover, .secondary:hover { background: #edf5ec; }
.arrow { position: relative; width: 15px; height: 10px; display: inline-block; }
.arrow::before { content: ''; position: absolute; width: 13px; height: 2px; background: currentColor; top: 4px; left: 0; }
.arrow::after { content: ''; position: absolute; width: 6px; height: 6px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); top: 1px; right: 1px; }
.intro-art { min-height: 490px; position: relative; border-radius: 28px; display: flex; align-items: center; justify-content: center; background: #edf3e9; overflow: hidden; }
.intro-art svg { display: block; width: min(100%, 500px); }
.intro-art > span { position: absolute; bottom: 24px; color: #4c685a; font-size: 12px; letter-spacing: .05em; }
.game-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.game-heading .eyebrow { margin-bottom: 10px; }
.game-heading h1 { font-size: clamp(28px, 3.5vw, 42px); }
.separator { color: #657a6c; padding: 0 7px; }
.subtitle { color: #4c6558; margin: 7px 0 0; }
.layout { display: grid; grid-template-columns: minmax(220px, .85fr) minmax(0, 1.8fr); gap: 20px; align-items: start; }
.dictionary { background: #eaf2e8; border: 1px solid #d4e3d3; border-radius: 17px; padding: 25px; }
.panel-kicker { margin: 0 0 5px; }
.dictionary h2, .work-card h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; }
.dictionary-intro { margin: 8px 0 20px; color: #4b6555; font-size: 13px; }
.dictionary-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.dictionary-list li { display: flex; align-items: center; gap: 14px; background: #fffefa; border: 1px solid #d8e5d6; border-radius: 10px; min-height: 72px; padding: 12px 16px; }
.dictionary-list strong, .dictionary-list small { display: block; }
.dictionary-list strong { font-size: 14px; }
.dictionary-list small { color: #4c6656; font-size: 13px; }
.dictionary-note { color: #4c6656; border-top: 1px solid #cfddcf; padding-top: 18px; margin: 19px 0 0; font-size: 13px; }
.glyph { display: inline-block; width: 36px; height: 36px; background: #3c7060; flex: none; }
.glyph.circle { border-radius: 50%; }
.glyph.star { clip-path: polygon(50% 1%,61% 35%,97% 35%,68% 56%,79% 94%,50% 72%,21% 94%,32% 56%,3% 35%,39% 35%); }
.glyph.triangle { clip-path: polygon(50% 2%,98% 93%,2% 93%); }
.glyph.square { border-radius: 5px; }
.glyph.diamond { clip-path: polygon(50% 2%,98% 50%,50% 98%,2% 50%); }
.practice { margin: 18px 0; }
.practice summary { min-height: 48px; display: flex; align-items: center; font-size: 14px; font-weight: 800; cursor: pointer; }
.work-area { display: grid; gap: 14px; }
.work-card { border: 1px solid #dfe6dc; border-radius: 16px; padding: 24px 27px; background: #fffefa; }
.card-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.badge { padding: 5px 10px; border-radius: 18px; background: #edf4ea; color: #355f4a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 8px; }
.slot { min-width: 118px; min-height: 86px; padding: 12px; border: 1.5px dashed #9ab4a0; border-radius: 11px; display: flex; align-items: center; justify-content: center; gap: 10px; background: #f6faf4; color: #365747; font-size: 14px; font-weight: 800; }
.slot .glyph { width: 30px; height: 30px; }
.hint { margin: 8px 0 0; color: #4d6658; font-size: 13px; }
.place-buttons { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; margin-top: 17px; }
.place { min-height: 62px; border: 1px solid #bbcebd; border-radius: 10px; padding: 10px; background: #fffefa; color: #244d3d; font-weight: 800; display: flex; gap: 9px; align-items: center; }
.place:hover { border-color: #4e8066; background: #f4faf2; }
.place-index { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: #edf4ea; color: #4a6b55; font-size: 11px; }
.answer-label { margin: 18px 0 0; font-weight: 800; font-size: 13px; }
.answers { margin-top: 8px; }
.answers .slot { min-height: 55px; border-style: solid; background: #fffefa; }
.reveal, .finish { background: #edf5eb; }
.reveal p:last-child, .finish p:not(.panel-kicker) { color: #365c48; margin: 12px 0 0; }
.reveal p:last-child { font-size: 20px; font-weight: 800; }
.finish .button { margin-top: 22px; }
.status { min-height: 1.6em; margin: 0; padding: 0 4px; color: #315a45; font-size: 14px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.text-button { min-height: 48px; border: 0; padding: 10px; background: transparent; color: #486658; text-decoration: underline; text-underline-offset: 4px; font-weight: 700; }
.footer { max-width: 1200px; margin: auto; padding: 20px 30px 28px; border-top: 1px solid #e0e6dc; display: flex; justify-content: space-between; gap: 10px; }
dialog { width: min(420px, calc(100vw - 32px)); border: 0; padding: 0; border-radius: 18px; color: #203b34; box-shadow: 0 24px 80px #182c2460; }
dialog::backdrop { background: #15271dbc; }
.dialog-content { padding: 35px; }
.dialog-content h2 { margin: 0; font-size: 25px; }
.dialog-content p:not(.eyebrow) { color: #4c6558; margin: 14px 0 24px; }
@media (max-width: 760px) { .topbar { padding: 0 18px; height: 64px; } .topbar p { font-size: 11px; } .page { padding: 34px 18px 48px; } .intro, .layout { grid-template-columns: 1fr; } .intro { gap: 28px; } .intro-copy { padding: 0 4px; } .intro-art { min-height: 300px; } .intro-art svg { max-height: 340px; } .game-heading { flex-direction: column; align-items: start; } .dictionary { padding: 20px; } .dictionary-list { grid-template-columns: repeat(3,minmax(0,1fr)); } .dictionary-list li { flex-direction: column; align-items: start; padding: 10px; } .dictionary-note { margin-top: 14px; padding-top: 12px; } .work-card { padding: 20px; } .footer { padding: 18px; } }
@media (max-width: 430px) { .dictionary-list li { gap: 8px; } .glyph { width: 30px; height: 30px; } .dictionary-list strong { font-size: 12px; } .dictionary-list small { font-size: 12px; } .place-buttons { grid-template-columns: 1fr; } .place { min-height: 52px; } .slot { flex: 1; min-width: 95px; } .actions .primary { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
