:root {
  color-scheme: light;
  --page: #f0f7fa;
  --ink: #183746;
  --green: #23617b;
  --green-dark: #17485f;
  --muted: #748891;
  --line: #d9e6ec;
  --sage: #deedf2;
  --gold: #f5d58f;
  --red: #aa493f;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-synthesis: none;
  font-weight: 400;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 3px solid #a4b870; outline-offset: 5px; }
h1:focus { outline: none; }
button svg { width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
.site-header { max-width: 1280px; margin: auto; height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.brand > svg { width: 39px; height: 39px; }
.brand > span { font-weight: 650; font-size: 26px; display: flex; align-items: center; gap: 22px; }
.brand-caption { font-size: 12px; font-weight: 400; color: #687665; padding-left: 22px; border-left: 1px solid #cbd7c5; letter-spacing: 1px; }
.text-button { border: none; padding: 8px 0; background: transparent; color: #667462; font-size: 12px; }
.text-button:hover { color: var(--green); }
.question-icon { display: inline-flex; align-items: center; justify-content: center; height: 16px; width: 16px; border: 1px solid currentColor; border-radius: 50%; margin-right: 5px; font-size: 11px; }
#app { max-width: 1280px; margin: auto; padding: 0 40px; min-height: calc(100svh - 198px); }
.home-hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; padding: 39px 0 69px; }
.hero-copy { padding-bottom: 16px; }
.intro-label { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #687c60; margin-bottom: 24px; }
.intro-label > span { width: 6px; height: 6px; border-radius: 50%; background: #829565; }
.hero-copy h1 { font-size: clamp(40px, 4.8vw, 61px); line-height: 1.32; font-weight: 650; letter-spacing: -2px; margin: 0 0 22px; color: var(--green-dark); }
.hero-description { color: #73806f; font-size: 15px; line-height: 1.95; margin: 0 0 31px; }
.primary-button { display: inline-flex; gap: 27px; align-items: center; justify-content: center; min-height: 52px; padding: 14px 27px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: white; font-size: 14px; font-weight: 500; transition: background .15s, transform .15s; }
.primary-button:not(:disabled):hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-button:disabled { background: #dce9f0; border-color: #dce9f0; color: #75816f; }
.start-button { min-width: 198px; }
.start-note { font-size: 11px; color: #879280; margin: 17px 0 0; }
.difficulty-picker { border: 0; padding: 0; margin: 0 0 21px; max-width: 370px; min-width: 0; }
.difficulty-picker legend { font-size: 12px; color: #687c60; padding: 0; margin-bottom: 11px; }
.difficulty-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.difficulty-options label { position: relative; cursor: pointer; }
.difficulty-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.difficulty-options span { display: block; text-align: center; padding: 10px 5px; font-size: 13px; color: #75846a; border: 1px solid #d7e5ec; border-radius: 6px; background: #ffffff88; }
.difficulty-options input:checked + span { background: #d9edf5; border-color: #5e91a6; color: var(--green-dark); font-weight: 600; }
.difficulty-options input:focus-visible + span { outline: 3px solid #a4b870; outline-offset: 3px; }
.difficulty-picker p { margin: 9px 0 0; font-size: 11px; color: #8b9781; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { height: 446px; position: relative; margin: 4px 0 0 10px; }
.field-photo { position: absolute; inset: 0 26px 10px 16px; overflow: hidden; border-radius: 112px 20px 20px 20px; background: var(--sage); }
.field-photo::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #14291477); }
.field-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.photo-caption { position: absolute; bottom: 22px; left: 24px; z-index: 1; font-size: 11px; color: white; display: flex; align-items: center; gap: 7px; }
.photo-dot { height: 5px; width: 5px; background: var(--gold); border-radius: 50%; }
.field-stamp { position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--gold); color: #526042; right: -9px; top: -21px; font-size: 15px; font-weight: 500; text-align: center; padding-top: 22px; transform: rotate(12deg); box-shadow: 0 0 0 6px var(--page); z-index: 2; }
.field-stamp > span { display: inline-block; margin-top: 3px; }
.field-stamp svg { width: 30px; height: 15px; display: block; margin: 1px auto 0; }
.little-photo { position: absolute; width: 182px; right: 0; bottom: -30px; padding: 8px 8px 12px; background: #fff; border-radius: 3px; transform: rotate(6deg); box-shadow: 0 8px 24px #30422512; z-index: 3; }
.little-photo img { display: block; width: 166px; height: 118px; object-fit: cover; }
.little-photo span { display: block; color: #6e7b67; text-align: center; font-size: 9px; margin-top: 11px; }
.field-sketch { width: 110px; position: absolute; left: -32px; bottom: -28px; color: #859b63; transform: rotate(-18deg); }
.home-bottom { display: grid; grid-template-columns: 1fr 1.12fr 1.12fr 1.12fr; gap: 26px; border-top: 1px solid var(--line); padding: 34px 0 37px; margin-top: 8px; align-items: center; }
.bottom-intro { color: #8b9483; font-size: 13px; line-height: 1.9; }
.bottom-intro strong { color: #566a4e; font-weight: 500; }
.feature { display: flex; align-items: center; gap: 15px; }
.feature strong { font-size: 13px; font-weight: 550; }
.feature p { margin: 7px 0 0; font-size: 11px; color: #87917f; }
.feature-icon { background: var(--sage); width: 46px; height: 46px; color: #708656; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.feature-icon svg { width: 28px; height: 28px; }
.grid-icon { padding: 13px; grid-template-columns: 1fr 1fr; gap: 3px; }
.grid-icon i { width: 8px; height: 8px; border: 1px solid #708656; border-radius: 2px; }
.check-icon { font-size: 25px; font-weight: 300; }
.site-footer { max-width: 1280px; margin: auto; padding: 22px 40px 25px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #8a9382; font-size: 11px; }
.site-footer .text-button { font-size: 11px; }
.quiz-section { padding: 19px 0 20px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; }
.quiz-label { color: #74856a; font-size: 12px; }
.quiz-top p { margin: 8px 0 15px; font-size: 20px; }
.quiz-top p > span { color: #a0aa97; font-size: 15px; padding-left: 3px; }
.live-score { display: flex; align-items: center; gap: 9px; color: #697d5d; font-size: 13px; }
.live-score svg { width: 26px; height: 26px; }
.live-score strong { color: var(--green); }
.progress-track { height: 4px; background: #dce9f0; border-radius: 3px; overflow: hidden; margin-bottom: 32px; }
.progress-track > div { height: 100%; background: #6fa1b7; transition: width .3s; }
.question-layout { display: grid; grid-template-columns: 1.18fr 1fr; gap: 55px; align-items: start; }
.question-photo { position: relative; height: 485px; border-radius: 15px; overflow: hidden; background: #e1edf2; }
.question-photo > img { height: 100%; width: 100%; object-fit: contain; }
.photo-label { position: absolute; bottom: 18px; left: 18px; font-size: 11px; border-radius: 5px; padding: 8px 12px; background: #ffffffde; color: #617253; }
.question-body { padding-top: 3px; }
.question-kicker { color: #849374; font-size: 12px; }
.question-body h1 { margin: 10px 0 12px; font-size: 29px; letter-spacing: -.5px; font-weight: 600; }
.question-description { color: #7e8975; font-size: 12px; margin: 0 0 22px; line-height: 1.8; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 65px; background: #fff; border: 1px solid #d7e5ec; border-radius: 9px; text-align: left; color: #4b5d40; font-size: 15px; transition: border-color .15s, background .15s; }
.option:not(:disabled):hover { border-color: #7c9666; background: #edf2e6; }
.option-letter { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e2e8dd; border-radius: 6px; font-size: 11px; color: #869779; flex-shrink: 0; }
.option-status { margin-left: auto; font-size: 15px; }
.option.is-correct { background: #e0f0ec; border-color: #8caa75; color: #23617b; }
.option.is-wrong { background: #fbefeb; border-color: #dca899; color: #a64d40; }
.option:disabled:not(.is-correct):not(.is-wrong) { opacity: .64; }
.feedback { min-height: 145px; padding: 21px 0 12px; font-size: 12px; }
.feedback strong { font-size: 14px; font-weight: 500; }
.feedback p { color: #6e7a65; line-height: 1.8; margin: 9px 0 4px; }
.feedback-correct strong { color: #476d38; }
.feedback-wrong strong { color: var(--red); }
.answer-hint { color: #8a9581; display: inline-block; margin-top: 15px; }
.source-link { color: #7c8b70; text-decoration: none; font-size: 10px; }
.source-link:hover { text-decoration: underline; color: var(--green); }
.next-button { width: 100%; justify-content: space-between; }
.keyboard-note { color: #909b85; font-size: 10px; text-align: center; margin-top: 12px; }
.question-dots { display: flex; justify-content: center; gap: 10px; padding-top: 28px; }
.question-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #9aa591; border: 1px solid #d7e5ec; font-size: 11px; }
.question-dot.current { box-shadow: 0 0 0 3px #e6ecdd; border-color: #859c6a; color: #526c3e; }
.question-dot.correct { background: #d7ebe6; border-color: #d7ebe6; color: #557841; }
.question-dot.wrong { background: #f5e2db; border-color: #f5e2db; color: #b26954; }
.image-error { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #e1edf2; font-size: 14px; z-index: 2; }
.image-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #e1edf2; color: #7e9071; font-size: 13px; }
.secondary-button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; border: 1px solid #cbd9bf; background: transparent; color: var(--green); border-radius: 7px; padding: 12px 20px; font-size: 13px; }
.secondary-button:hover { background: var(--sage); }
.results-section { padding-top: 20px; }
.result-summary { display: flex; gap: 44px; align-items: center; padding: 30px 0 45px; }
.score-circle { width: 174px; height: 174px; flex-shrink: 0; border-radius: 50%; padding: 8px; background: conic-gradient(#779356 var(--score-angle), #e0e8d7 0); transform: rotate(-90deg); }
.score-circle > div { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--page); transform: rotate(90deg); }
.score-circle strong { font-size: 56px; color: var(--green); font-weight: 550; letter-spacing: -3px; }
.score-circle strong > span { font-size: 14px; padding-left: 6px; letter-spacing: 0; }
.score-circle small { color: #87947b; font-size: 11px; margin-top: 2px; }
.result-copy h1 { font-size: 30px; font-weight: 600; letter-spacing: -.5px; margin: 12px 0 13px; }
.result-copy p { font-size: 13px; color: #7d8973; line-height: 1.8; margin: 0 0 22px; }
.result-copy p strong { color: var(--green); }
.review-heading { border-top: 1px solid var(--line); padding: 26px 0 20px; display: flex; align-items: center; justify-content: space-between; }
.review-heading h2 { font-size: 18px; margin: 0; font-weight: 550; }
.review-heading > span { font-size: 11px; color: #8e9985; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-item { display: flex; gap: 17px; background: #fff; border: 1px solid #e3e9dd; border-radius: 10px; padding: 17px; }
.review-item > img { width: 105px; height: 121px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.review-item > div { flex: 1; min-width: 0; }
.review-item-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.review-number, .review-outcome { font-size: 10px; }
.review-number { color: #919d86; }
.review-outcome { white-space: nowrap; }
.correct-text { color: #68844f; }
.wrong-text { color: var(--red); }
.review-item h3 { font-size: 17px; font-weight: 550; margin: 7px 0 6px; }
.review-item h3 small { color: #8e9a81; font-size: 9px; font-weight: 400; margin-left: 9px; }
.review-item p { font-size: 10px; color: #7f8b74; margin: 5px 0; line-height: 1.7; }
.review-item .review-fact { font-size: 10px; color: #909b85; }
.result-bottom { padding: 33px 0 20px; text-align: center; font-size: 12px; color: #8c9980; }
.result-bottom button { display: flex; width: fit-content; margin: 16px auto 0; }
dialog { color: var(--ink); border: 1px solid var(--line); border-radius: 15px; max-width: 620px; width: calc(100% - 36px); max-height: 80svh; padding: 28px; box-shadow: 0 20px 80px #1b361526; }
dialog::backdrop { background: #20371e66; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.dialog-heading h2 { font-size: 22px; margin: 0; font-weight: 550; }
.close-button { color: #849576; background: #eef3e8; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 23px; line-height: 1; }
#dialog-content > p, .rules-list { font-size: 13px; color: #738268; line-height: 1.95; }
.rules-list { padding-left: 19px; }
.rules-list li { margin: 9px 0; }
#dialog-content .dialog-note { border-top: 1px solid var(--line); padding-top: 15px; font-size: 11px; }
.source-list { display: grid; gap: 8px; }
.source-entry { background: #f6f8f2; border-radius: 6px; padding: 8px; }
.source-entry > a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.source-entry:hover { background: var(--sage); }
.source-list img { width: 54px; height: 43px; object-fit: cover; border-radius: 4px; }
.source-entry > a > span:nth-child(2) { flex: 1; font-size: 13px; }
.source-list small { display: block; font-size: 10px; color: #88977b; margin-top: 3px; line-height: 1.6; }
.license-note { color: #88977b; font-size: 10px; padding: 7px 0 0 68px; }
.license-note a { text-decoration: none; }.license-note a:hover { text-decoration: underline; }
.noscript { text-align: center; padding: 30px; }
@media (min-width: 1500px) { .home-hero { padding-top: 66px; padding-bottom: 91px; }.hero-visual { height: 490px; } }
@media (max-width: 1000px) {
  .site-header, #app, .site-footer { padding-left: 28px; padding-right: 28px; }
  .home-hero { gap: 24px; }.hero-visual { height: 390px; margin-left: 0; }.hero-copy h1 { font-size: 43px; }
  .home-bottom { gap: 16px; }.feature { gap: 10px; }.feature-icon { width: 38px; height: 38px; }.feature strong { font-size: 12px; }.feature p { font-size: 10px; }
  .question-layout { gap: 27px; }.question-photo { height: 460px; }.question-body h1 { font-size: 25px; }.option { gap: 8px; padding: 10px; font-size: 14px; }.option-letter { width: 25px; height: 25px; }
  .review-item { gap: 12px; padding: 13px; }.review-item > img { width: 85px; }
}
@media (max-width: 700px) {
  .result-actions { justify-content: center; }
  .site-header { height: 84px; padding: 0 22px; }.brand > svg { width: 30px; height: 30px; }.brand > span { font-size: 22px; gap: 12px; }.brand-caption { font-size: 10px; padding-left: 12px; letter-spacing: 0; }.text-button { font-size: 11px; }
  #app { padding: 0 22px; min-height: calc(100svh - 170px); }
  .home-hero { display: flex; flex-direction: column; gap: 27px; padding: 23px 0 44px; align-items: stretch; }.hero-copy { padding: 0; }.intro-label { font-size: 11px; margin-bottom: 17px; }.hero-copy h1 { font-size: 43px; margin-bottom: 17px; }.hero-description { font-size: 13px; margin-bottom: 23px; }.primary-button { min-height: 50px; }.start-note { font-size: 10px; margin-top: 12px; }
  .hero-visual { height: 310px; margin: 18px 0 0; }.field-photo { inset: 0 15px 5px 12px; border-radius: 82px 15px 15px 15px; }.field-stamp { width: 78px; height: 78px; right: 0; top: -15px; font-size: 12px; padding-top: 15px; }.field-stamp svg { height: 12px; }.little-photo { width: 140px; bottom: -22px; padding: 6px 6px 10px; }.little-photo img { width: 128px; height: 91px; }.little-photo span { font-size: 7px; margin-top: 9px; }.field-sketch { width: 86px; left: -14px; bottom: -19px; }
  .home-bottom { grid-template-columns: 1fr; gap: 22px; padding: 26px 0; margin-top: 6px; }.bottom-intro br { display: none; }.bottom-intro strong { margin-left: 6px; }.feature { gap: 15px; }.feature-icon { width: 40px; height: 40px; }.feature strong { font-size: 13px; }.feature p { font-size: 11px; margin-top: 5px; }
  .site-footer { padding: 18px 22px 23px; font-size: 10px; flex-wrap: wrap; gap: 7px; }.site-footer .text-button { font-size: 10px; }
  .quiz-section { padding-top: 9px; }.quiz-top p { font-size: 18px; }.live-score { font-size: 11px; }.progress-track { margin-bottom: 22px; }.question-layout { display: flex; flex-direction: column; gap: 23px; }.question-photo { width: 100%; height: 270px; border-radius: 10px; }.question-body { width: 100%; padding-top: 0; }.question-body h1 { font-size: 25px; margin-top: 8px; }.question-kicker { font-size: 11px; }.question-description { margin-bottom: 18px; font-size: 11px; }.option { min-height: 61px; padding: 12px; gap: 10px; }.feedback { min-height: 122px; padding-top: 18px; }.feedback strong { font-size: 13px; }.feedback p { font-size: 11px; }.keyboard-note { display: none; }.question-dots { gap: 7px; padding-top: 24px; }.question-dot { width: 25px; height: 25px; font-size: 10px; }
  .result-summary { flex-direction: column; gap: 22px; text-align: center; padding-top: 10px; padding-bottom: 31px; }.score-circle { width: 154px; height: 154px; }.score-circle strong { font-size: 51px; }.result-copy h1 { font-size: 25px; }.result-copy p { font-size: 12px; }.review-grid { grid-template-columns: 1fr; gap: 12px; }.review-heading h2 { font-size: 16px; }.review-heading > span { font-size: 10px; }.review-item > img { width: 89px; height: 119px; }.review-item h3 { font-size: 16px; }
  dialog { padding: 21px; }.dialog-heading h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

.field-photo { border-radius: 90px 18px 90px 18px; }
.field-sketch { color: #6898ae; }
.hero-copy h1 { letter-spacing: -1px; }
@media (max-width: 700px) { .field-photo { border-radius: 70px 14px 70px 14px; } .brand-caption { font-size: 10px; } }
