@charset "UTF-8";
.puzzle-page { --puzzle-edge: #cfd8c0; }
.puzzle-page .site-header { gap: 20px; }
.puzzle-page .site-header nav { gap: 27px; }
.puzzle-main { padding-top: 43px; padding-bottom: 62px; }
.puzzle-intro { margin-bottom: 32px; }
.puzzle-intro .eyebrow { margin-bottom: 13px; }
.puzzle-intro h1 { font: 400 clamp(35px, 4.3vw, 53px)/1.4 var(--art-title); letter-spacing: 1px; margin-bottom: 12px; }
.puzzle-intro h1 > span { display: inline-block; margin-left: 12px; color: #9aab80; font-size: .65em; }
.puzzle-intro > p:last-child { color: #6e7768; margin: 0; font-size: 13px; }
.puzzle-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 42px; }
.puzzle-play-area { min-width: 0; }
.puzzle-photo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; color: #6e7768; font-size: 11px; }
.puzzle-photo-heading .micro-label { font-size: 9px; letter-spacing: 1.6px; }
.puzzle-stage { position: relative; margin-inline: auto; padding: 8px; border: 1px solid var(--puzzle-edge); border-radius: 12px; background: #fffdf7; box-shadow: 0 15px 40px -28px #425b3a80; }
.puzzle-board { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #e8ecdf; border-radius: 6px; isolation: isolate; touch-action: none; }
.puzzle-board:focus-visible { outline: 3px solid #84986b; outline-offset: 4px; }
.puzzle-tile, .puzzle-blank { position: absolute; width: calc(100% / var(--puzzle-size, 3)); height: calc(100% / var(--puzzle-size, 3)); }
.puzzle-tile { padding: 0; border: 0; border-radius: 2px; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px #fffdf76b; transition: left 145ms var(--gentle-ease), top 145ms var(--gentle-ease); color: #fff; user-select: none; -webkit-user-select: none; touch-action: none; }
.puzzle-tile[aria-disabled="true"] { cursor: default; }
.puzzle-tile[aria-disabled="false"] { cursor: pointer; }
.puzzle-tile[aria-disabled="false"]::after { content: ""; position: absolute; inset: 2px; border: 1px solid #fff9; border-radius: 2px; pointer-events: none; }
.puzzle-tile > span { position: absolute; top: 5px; left: 5px; display: grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 4px; border-radius: 5px; background: #263a2bb3; font: 11px/1 var(--sans); box-shadow: 0 1px 3px #0002; }
.puzzle-tile:focus-visible { z-index: 2; outline-offset: -4px; outline-color: #f5e8bc; outline-width: 4px; }
.puzzle-blank { display: grid; place-items: center; color: #899b72; background: #e8ecdf; box-shadow: inset 0 0 0 1px #d4dcc7; font-size: clamp(18px, 4vw, 35px); pointer-events: none; border-radius: 2px; }
.puzzle-reference { position: absolute; inset: 8px; z-index: 4; overflow: hidden; border-radius: 6px; background: #e8ecdf; pointer-events: none; }
.puzzle-reference img { display: block; width: 100%; height: 100%; object-fit: contain; }
.puzzle-reference p { position: absolute; left: 8px; right: 8px; bottom: 10px; margin: 0; padding: 9px 12px; border: 1px solid #fff7; border-radius: 999px; background: #fffdf7ed; color: var(--meadow-deep); text-align: center; font-size: 12px; }
.puzzle-loading { position: absolute; inset: 8px; z-index: 5; min-height: 150px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 6px; background: #eef0e4; color: #62764f; }
.puzzle-loading > span { font-size: 35px; }
.puzzle-loading > p { margin: 6px 10px; text-align: center; }
.puzzle-status { min-height: 26px; margin: 14px 0 0; font-size: 12px; color: #65735c; }
.puzzle-panel { padding: 27px 25px; border: 1px solid #dce1d1; border-radius: 14px; background: #fbfaf4; }
.puzzle-panel .eyebrow { font-size: 8px; letter-spacing: 1.8px; margin-bottom: 8px; }
.puzzle-panel h2 { margin: 0 0 20px; font: 400 35px/1.4 var(--art-title); color: var(--meadow-deep); }
.puzzle-stats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 22px; padding-block: 15px; border-block: 1px solid #e1e5d8; gap: 10px; font-variant-numeric: tabular-nums; }
.puzzle-stats > div > span { display: block; font-size: 11px; color: #727c68; }
.puzzle-stats strong { display: block; font-size: 22px; font-weight: 500; color: var(--meadow-deep); line-height: 1.5; }
.puzzle-stats small { font-size: 10px; }
.puzzle-size-label { display: block; margin-bottom: 7px; font-size: 12px; }
#puzzle-size { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #cfd8c0; border-radius: 7px; background: #fffdf7; color: var(--ink); font: 12px var(--sans); }
#puzzle-size:focus-visible { outline: 3px solid #84986b; outline-offset: 3px; }
.puzzle-actions { display: grid; gap: 9px; margin-top: 15px; }
.puzzle-button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 9px 16px; border: 1px solid #cbd5bd; border-radius: 7px; background: #f1f3e9; color: var(--meadow-deep); font-size: 12px; transition: background-color 150ms, transform 150ms; }
.puzzle-primary { background: var(--green); border-color: var(--green); color: #fffdf7; }
.puzzle-button:disabled { opacity: .55; }
.puzzle-button:active:not(:disabled) { transform: translateY(1px); }
.puzzle-instructions { margin-top: 25px; padding-top: 18px; border-top: 1px solid #e1e5d8; color: #68725f; font-size: 11px; }
.puzzle-instructions h3 { margin: 0 0 8px; color: var(--ink); font-size: 12px; font-weight: 500; }
.puzzle-instructions ul { padding-left: 17px; margin: 0; }
.puzzle-instructions li + li { margin-top: 7px; }
.puzzle-instructions strong { font-weight: 600; }
.puzzle-note { margin: 18px 0 0; color: #79816f; font-size: 10px; }
.puzzle-complete { position: relative; overflow: hidden; margin-top: 12px; border: 1px solid #d5dcc4; border-radius: 12px; background: #edf0df; padding: 20px; text-align: center; animation: puzzle-bloom 600ms ease both; }
.puzzle-complete > span { display: block; font-size: 28px; color: #91a271; letter-spacing: 9px; }
.puzzle-complete h2 { margin: 5px 0 8px; font: 400 30px/1.4 var(--art-title); }
.puzzle-complete p { margin: 4px 0; color: #637354; font-size: 12px; }
@keyframes puzzle-bloom { from { opacity: .5; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) { .puzzle-button:not(:disabled):hover { background: #e4ead8; } .puzzle-primary:not(:disabled):hover { background: #425b3a; } .puzzle-tile[aria-disabled="false"]:hover { box-shadow: inset 0 0 0 3px #f5e8bc; } }
@media (max-width: 1000px) { .puzzle-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; } .puzzle-panel { padding: 22px 18px; } }
@media (max-width: 760px) {
  .puzzle-main { padding-top: 30px; padding-bottom: 40px; }
  .puzzle-page .site-header { height: auto; min-height: 88px; flex-wrap: wrap; padding-block: 16px; gap: 10px 18px; }
  .puzzle-page .site-header nav { gap: 18px; font-size: 11px; }
  .puzzle-intro { margin-bottom: 25px; }
  .puzzle-intro .eyebrow { justify-content: flex-start; font-size: 8px; }
  .puzzle-intro h1 { font-size: clamp(30px, 7vw, 45px); }
  .puzzle-intro > p:last-child { font-size: 12px; }
  .puzzle-layout { grid-template-columns: 1fr; gap: 22px; }
  .puzzle-panel { padding: 22px; }
  .puzzle-panel h2 { font-size: 31px; margin-bottom: 12px; }
  .puzzle-stats { margin-bottom: 17px; }
  .puzzle-actions { grid-template-columns: 1fr 1fr; }
  .puzzle-actions > :first-child { grid-column: 1 / -1; }
  .puzzle-instructions { margin-top: 20px; }
}
@media (max-width: 380px) { .puzzle-panel { padding: 17px; } .puzzle-page .site-header nav { gap: 13px; } .puzzle-tile > span { min-width: 17px; height: 17px; top: 3px; left: 3px; font-size: 10px; } .puzzle-reference p { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) { .puzzle-page *, .puzzle-page *::before, .puzzle-page *::after { animation: none !important; transition: none !important; } }
