.hunt-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.hunt-page .scene-image { --active-scene: url('../images/worlds/verdantis-river-valley-1600.webp'); }
.hunt-topbar { position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 25px 0; display: flex; align-items: center; gap: 28px; }
.hunt-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.hunt-brand .brand-mark { width: 42px; height: 42px; border-radius: 14px 8px 14px 8px; }
.hunt-brand .brand-mark i { font-size: 20px; }
.hunt-brand > span:last-child { display: grid; gap: 2px; }
.hunt-brand strong { font: 700 18px Georgia, serif; letter-spacing: .06em; }
.hunt-brand small { color: var(--muted); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.hunt-nav { display: flex; gap: 8px; margin-left: auto; }
.hunt-nav a, .hunt-footer a { color: rgba(237,246,255,.74); text-decoration: none; }
.hunt-nav a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(5,28,24,.46); font-size: 10px; transition: .2s ease; }
.hunt-nav a:hover { color: #fff; border-color: rgba(91,231,182,.52); background: rgba(63,190,145,.1); }
.hunt-player { display: flex; gap: 8px; }
.hunt-player > span { min-width: 76px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; display: grid; gap: 2px; text-align: center; background: rgba(5,28,24,.5); backdrop-filter: blur(14px); }
.hunt-player small { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.hunt-player strong { color: #72efc1; font-size: 14px; }
.hunt-main { position: relative; z-index: 1; width: min(1030px, calc(100% - 34px)); margin: auto; padding: 20px 0 38px; }
.hunt-intro { max-width: 710px; margin: 0 auto 25px; text-align: center; text-shadow: 0 3px 20px rgba(0,0,0,.42); }
.hunt-eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 11px; color: #72efc1; font-size: 9px; font-weight: 800; letter-spacing: .24em; }
.hunt-eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, #72efc1); }
.hunt-eyebrow span:last-child { transform: rotate(180deg); }
.hunt-intro h1 { margin: 0; font: 500 clamp(38px, 5vw, 60px)/1.05 Georgia, serif; letter-spacing: -.025em; }
.hunt-intro h1 em { color: #72efc1; font-style: normal; }
.hunt-intro > p:last-child { max-width: 610px; margin: 14px auto 0; color: rgba(230,241,244,.78); font: 14px/1.6 Georgia, serif; }
.hunt-layout { display: grid; grid-template-columns: 1fr; align-items: start; gap: 18px; }
.hunt-layout.has-result { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .72fr); }
.hunt-card, .hunt-learning { border: 1px solid rgba(255,255,255,.17); border-radius: 27px; background: linear-gradient(145deg, rgba(7,42,38,.9), rgba(4,18,32,.86)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(24px) saturate(1.15); }
.hunt-card { width: min(700px, 100%); margin-inline: auto; padding: clamp(20px, 4vw, 34px); text-align: center; }
.hunt-layout.has-result .hunt-card { width: auto; margin-inline: 0; }
.hunt-card-top, .hunt-meta, .hunt-progress-copy { display: flex; align-items: center; justify-content: space-between; }
.hunt-kicker { color: rgba(230,245,241,.66); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hunt-kicker i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #72efc1; box-shadow: 0 0 10px #43dba5; }
.hunt-badge { padding: 6px 10px; border: 1px solid rgba(114,239,193,.38); border-radius: 999px; color: #baffdf; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hunt-meta { margin-top: 23px; color: rgba(230,241,255,.55); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hunt-meta span:nth-child(2) { color: var(--gold); }
.hunt-meta span:last-child { color: #85f2c9; }
.source-word { margin-top: 18px; color: #f6fffb; font: 500 clamp(27px, 5vw, 42px)/1 Georgia, serif; letter-spacing: .18em; text-indent: .18em; text-shadow: 0 0 24px rgba(78,229,177,.2); }
.source-tiles { min-height: 72px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(6px, 1.2vw, 9px); }
.source-tiles button { appearance: none; width: clamp(43px, 6.4vw, 57px); height: clamp(51px, 7vw, 65px); padding: 0; border: 1px solid rgba(201,255,236,.48); border-radius: 15px; color: #08251c; background: linear-gradient(145deg, #effff9, #75e9c0); box-shadow: 0 10px 22px rgba(0,0,0,.24), inset 0 1px #fff; cursor: pointer; font: 900 clamp(21px, 3vw, 29px)/1 system-ui, sans-serif; transition: transform .14s ease, opacity .14s ease, filter .14s ease; animation: huntTileIn .38s ease both; }
.source-tiles button:not(:disabled):hover { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.05); }
.source-tiles button.is-used { opacity: .34; transform: translateY(4px) scale(.94); filter: saturate(.55); }
.source-tiles button:focus-visible { outline: 3px solid rgba(247,199,107,.55); outline-offset: 3px; }
.source-note { margin: 10px 0 0; color: rgba(224,239,235,.63); font-size: 10px; line-height: 1.45; }
.hunt-target { width: min(340px, 100%); margin: 18px auto 20px; padding: 12px 18px; border: 1px solid rgba(114,239,193,.23); border-radius: 17px; display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; gap: 15px; background: rgba(37,150,112,.09); }
.hunt-target span { display: grid; gap: 2px; }
.hunt-target small { color: rgba(224,239,235,.63); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hunt-target strong { color: #fff; font: 600 28px Georgia, serif; }
.hunt-target span:first-child strong { color: var(--gold); }
.hunt-target > div { height: 32px; background: rgba(255,255,255,.14); }
.hunt-timer { width: min(270px, 100%); margin: -5px auto 15px; padding: 9px 14px; border: 1px solid rgba(114,239,193,.28); border-radius: 14px; display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,.17); }
.hunt-timer span { color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }.hunt-timer span b { font: inherit; }.hunt-timer i { margin-right: 5px; color: #72efc1; font-style: normal; }.hunt-timer strong { color: #9effdc; font: 700 20px Georgia, serif; letter-spacing: .06em; }
.hunt-timer.is-warning { border-color: rgba(255,174,76,.55); box-shadow: 0 0 20px rgba(255,155,50,.1); }.hunt-timer.is-warning strong, .hunt-timer.is-warning i { color: var(--gold); }
.hunt-timer.is-critical { border-color: rgba(255,113,135,.65); animation: huntTimerPulse .8s ease-in-out infinite alternate; }.hunt-timer.is-critical strong, .hunt-timer.is-critical i { color: #ff8da0; }
.hunt-time-track { width: min(270px, 100%); height: 3px; margin: -8px auto 17px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }
.hunt-time-track i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--danger), var(--gold), #72efc1); box-shadow: 0 0 8px rgba(78,229,177,.5); transition: width .1s linear; }
#answerForm { width: min(500px, 100%); margin: 0 auto; }
#answerForm > label { display: block; margin-bottom: 7px; color: rgba(225,241,236,.66); font-size: 8px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.answer-console { display: grid; grid-template-columns: 1fr 45px; gap: 7px; }
.answer-console input { width: 100%; height: 58px; padding: 0 16px; border: 1px solid rgba(114,239,193,.36); border-radius: 15px; outline: 0; color: #f7fffc; background: rgba(3,18,29,.68); box-shadow: inset 0 1px rgba(255,255,255,.06); font: 900 25px/1 system-ui, sans-serif; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.answer-console input:focus { border-color: #72efc1; box-shadow: 0 0 0 4px rgba(78,229,177,.11), 0 0 24px rgba(78,229,177,.08); }
.answer-console button { border: 1px solid rgba(247,199,107,.28); border-radius: 13px; color: var(--gold); background: rgba(83,57,22,.34); cursor: pointer; font-size: 24px; }
#answerRule { margin: 8px 0 0; color: rgba(224,239,235,.62); font-size: 10px; line-height: 1.45; }
.hunt-keyboard { width: min(450px, 100%); margin: 13px auto 0; padding: 11px 9px; border: 1px solid rgba(114,239,193,.14); border-radius: 15px; display: grid; gap: 5px; background: rgba(3,20,27,.3); }
.hunt-keyboard .keyboard-label { margin-bottom: 3px; color: rgba(224,239,235,.54); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hunt-keyboard-row { display: flex; justify-content: center; gap: 5px; }
.hunt-keyboard-key { appearance: none; width: clamp(28px, 4vw, 35px); height: 32px; padding: 0; border: 1px solid rgba(114,239,193,.27); border-radius: 8px; color: #dffdf2; background: linear-gradient(145deg, rgba(31,103,78,.82), rgba(11,58,48,.84)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 4px 9px rgba(0,0,0,.14); cursor: pointer; font-size: 11px; font-weight: 900; transition: transform .12s ease, border-color .12s ease, opacity .12s ease; }
.hunt-keyboard-key:not(:disabled):hover { border-color: rgba(142,255,214,.65); color: #fff; transform: translateY(-1px); }.hunt-keyboard-key:not(:disabled):active { transform: translateY(1px) scale(.97); }
.hunt-keyboard-key.is-unavailable { opacity: .18; }.hunt-keyboard-key.is-spent { opacity: .34; }.hunt-keyboard-key:disabled { cursor: not-allowed; }
.hunt-keyboard-key.is-delete { width: 52px; border-color: rgba(247,199,107,.3); color: var(--gold); background: rgba(83,57,22,.36); font-size: 14px; }
.hunt-submit, .next-hunt { border-radius: 15px; cursor: pointer; font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.hunt-submit { width: min(260px, 100%); min-height: 42px; margin-top: 11px; border: 1px solid rgba(114,239,193,.25); color: #cffff0; background: rgba(44,175,129,.1); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.next-hunt { width: 100%; min-height: 53px; border: 1px solid rgba(255,255,255,.3); color: #06251c; background: linear-gradient(135deg, #78efc7, #28b987); box-shadow: 0 12px 25px rgba(10,150,115,.28), inset 0 1px rgba(255,255,255,.55); }
.hunt-submit i, .next-hunt i { margin-left: 8px; font-size: 20px; font-style: normal; vertical-align: -2px; }
.hunt-submit:disabled, .answer-console button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.hunt-submit:not(:disabled):hover, .next-hunt:hover { filter: brightness(1.08); transform: translateY(-1px); }
#answerForm.is-disabled { opacity: .58; }
.hunt-feedback { min-height: 23px; margin: 13px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hunt-feedback.success { color: var(--mint); }.hunt-feedback.error { color: var(--danger); animation: shake .35s ease; }.hunt-feedback.notice { color: var(--gold); }
.hunt-progress-copy { max-width: 500px; margin: 4px auto 7px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hunt-progress-copy b { color: #83f2ca; }.hunt-progress-copy em { color: rgba(255,174,191,.82); font-style: normal; }.hunt-progress-copy em b { color: #ff9caf; }
.hunt-progress { width: min(500px, 100%); height: 4px; margin: 0 auto; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.1); }
.hunt-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #39c993, var(--gold)); box-shadow: 0 0 9px rgba(78,229,177,.45); transition: width .35s ease; }
.hunt-found { min-height: 34px; margin: 13px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.hunt-found span { padding: 7px 10px; border: 1px solid rgba(76,224,186,.27); border-radius: 10px; color: #cefff3; background: rgba(76,224,186,.08); font-size: 10px; font-weight: 800; letter-spacing: .08em; animation: huntChipIn .3s ease both; }
.hunt-found span.is-revealed { border-color: rgba(255,142,160,.28); color: #ffc0ca; background: rgba(255,113,135,.08); }.hunt-found span.is-revealed::before { content: "Revealed · "; font-size: 7px; letter-spacing: .05em; text-transform: uppercase; opacity: .78; }
.next-hunt { width: min(500px, 100%); margin-top: 14px; }
.hunt-learning { padding: 24px; animation: fadeUp .45s ease both; }
.hunt-learning.is-reveal { border-color: rgba(255,113,135,.38); background: linear-gradient(145deg, rgba(55,25,50,.86), rgba(4,16,38,.84)); }
.hunt-learning .learning-eyebrow { margin: 0 0 15px; color: #82f0c8; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }.hunt-learning .learning-eyebrow b { font: inherit; }.hunt-learning .learning-eyebrow span { margin-right: 6px; color: var(--gold); }
.hunt-learning h2 { margin: 0; color: #fff; font: 500 clamp(30px, 4vw, 42px) Georgia, serif; letter-spacing: .04em; }.hunt-learning > em { display: block; margin-top: 5px; color: var(--gold); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hunt-learning > p:not(.learning-eyebrow):not(.completion-note) { margin: 19px 0 9px; color: rgba(238,247,255,.88); font: 17px/1.45 Georgia, serif; }.hunt-learning > small { display: block; color: var(--muted); font: italic 12px/1.5 Georgia, serif; }
.hunt-learning .reward-strip { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }.hunt-learning .reward-strip span { display: grid; gap: 4px; text-align: center; }.hunt-learning .reward-strip strong { color: var(--gold); font-size: 17px; }.hunt-learning .reward-strip small { color: var(--muted); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.hunt-learning .completion-note { margin: 17px 0 0; padding: 11px; border: 1px solid rgba(76,224,186,.25); border-radius: 12px; color: var(--mint); background: rgba(76,224,186,.07); font: 800 10px/1.4 system-ui, sans-serif; text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.hunt-footnote { margin: 20px 0 0; color: rgba(224,235,255,.57); text-align: center; font-size: 10px; letter-spacing: .04em; }
.hunt-duel-launch { max-width: 800px; margin: 17px auto 0; padding: 16px 18px; border: 1px solid rgba(132,191,255,.25); border-radius: 19px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; color: inherit; background: linear-gradient(135deg, rgba(22,70,112,.44), rgba(5,27,43,.7)); box-shadow: inset 0 1px rgba(255,255,255,.07); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.hunt-duel-launch:hover { transform: translateY(-2px); border-color: rgba(132,191,255,.54); }.hunt-duel-icon { width: 45px; height: 45px; border: 1px solid rgba(132,191,255,.35); border-radius: 14px; display: grid; place-items: center; color: #a8d4ff; background: rgba(61,139,214,.12); font-size: 21px; }.hunt-duel-launch > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }.hunt-duel-launch small { color: #8dc6ff; font-size: 7px; font-weight: 900; letter-spacing: .16em; }.hunt-duel-launch strong { color: #f5faff; font: 500 18px Georgia, serif; }.hunt-duel-launch em { color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.4; }.hunt-duel-launch > b { color: #b9dcff; font-size: 10px; letter-spacing: .04em; white-space: nowrap; }
.hunt-rules { max-width: 800px; margin: 24px auto 0; padding: 21px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: var(--muted); background: rgba(4,25,27,.62); backdrop-filter: blur(18px); }
.hunt-rules h2 { margin: 0 0 10px; color: #f8fbff; font: 500 22px/1.25 Georgia, serif; }.hunt-rules p { margin: 0; font-size: 12px; line-height: 1.65; }.hunt-rules p strong { color: #c8ffeb; }
.hunt-rules > div { margin-top: 15px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }.hunt-rules > div span { padding: 10px; border: 1px solid rgba(114,239,193,.16); border-radius: 12px; color: #dbfff2; background: rgba(56,189,143,.05); font-size: 10px; text-align: center; }.hunt-rules b { margin-right: 5px; color: var(--gold); }
.hunt-seo-grid { margin: 18px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.hunt-seo-grid article { padding: 23px; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(4,25,27,.58); backdrop-filter: blur(16px); }.hunt-seo-grid span, .hunt-section-kicker { color: #72efc1; font-size: 8px; font-weight: 900; letter-spacing: .17em; }.hunt-seo-grid h2 { margin: 9px 0; color: #f8fbff; font: 500 21px/1.25 Georgia, serif; }.hunt-seo-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.hunt-faq { max-width: 800px; margin: 30px auto 0; }.hunt-faq > h2 { margin: 8px 0 15px; font: 500 27px Georgia, serif; }.hunt-faq details { border-top: 1px solid rgba(255,255,255,.12); }.hunt-faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }.hunt-faq summary { padding: 15px 2px; color: rgba(244,250,255,.9); cursor: pointer; font-size: 12px; font-weight: 700; }.hunt-faq details p { margin: -2px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.hunt-footer { position: relative; z-index: 1; margin-top: auto; padding: 20px; display: flex; justify-content: center; gap: 10px; color: rgba(237,246,255,.45); font-size: 10px; }.hunt-footer a:hover { color: #72efc1; }
@keyframes huntTileIn { from { opacity: 0; transform: translateY(12px) rotate(4deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes huntChipIn { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes huntTimerPulse { from { box-shadow: 0 0 0 rgba(255,113,135,0); } to { box-shadow: 0 0 22px rgba(255,113,135,.2); } }

@media (max-width: 820px) {
    .hunt-topbar { width: min(100% - 28px, 720px); padding: 16px 0; }.hunt-nav { display: none; }.hunt-player { margin-left: auto; }.hunt-main { padding-top: 8px; }
    .hunt-layout.has-result { grid-template-columns: 1fr; }.hunt-layout.has-result .hunt-card { width: min(700px, 100%); margin-inline: auto; }.hunt-learning { width: min(700px, 100%); margin-inline: auto; }
}
@media (max-width: 620px) {
    .hunt-topbar { gap: 10px; }.hunt-brand > span:last-child { display: none; }.hunt-brand .brand-mark { width: 38px; height: 38px; }.hunt-player > span { min-width: 65px; padding: 7px 8px; }.hunt-player small { font-size: 7px; }
    .hunt-main { width: min(100% - 18px, 560px); }.hunt-intro { margin-bottom: 17px; }.hunt-intro h1 { font-size: clamp(33px, 10vw, 46px); }.hunt-intro > p:last-child { margin-top: 10px; font-size: 12px; }.hunt-eyebrow { gap: 8px; font-size: 7px; letter-spacing: .17em; }
    .hunt-card { padding: 18px 12px; border-radius: 22px; }.hunt-card-top { padding-inline: 3px; }.hunt-meta { margin-top: 18px; font-size: 7px; letter-spacing: .08em; }.source-word { margin-top: 15px; font-size: clamp(25px, 8vw, 35px); }.source-tiles { gap: 6px; }.source-tiles button { width: clamp(38px, 11vw, 49px); height: clamp(47px, 13vw, 57px); border-radius: 12px; font-size: 22px; }.source-note { padding-inline: 8px; font-size: 9px; }
    .hunt-target { margin: 15px auto 18px; }.answer-console input { height: 54px; font-size: 22px; }.hunt-progress-copy { padding-inline: 3px; }.hunt-found span { padding: 6px 8px; font-size: 9px; }
    .hunt-learning { padding: 20px; border-radius: 22px; }.hunt-duel-launch { grid-template-columns: auto 1fr; padding: 14px; }.hunt-duel-launch > b { grid-column: 2; }.hunt-rules { padding: 18px; }.hunt-rules > div, .hunt-seo-grid { grid-template-columns: 1fr; }.hunt-faq { padding-inline: 7px; }.hunt-footer { flex-wrap: wrap; }
}
@media (max-width: 390px) {
    .hunt-player > span:last-child { display: none; }.hunt-card { padding-inline: 9px; }.hunt-kicker { font-size: 8px; }.hunt-badge { font-size: 7px; }.source-tiles { gap: 4px; }.source-tiles button { width: 36px; height: 46px; font-size: 20px; }.hunt-target { width: min(300px, 100%); padding-inline: 12px; }.hunt-timer { width: min(250px, 100%); }.hunt-time-track { width: min(250px, 100%); }
}
@media (prefers-reduced-motion: reduce) { .source-tiles button, .hunt-found span, .hunt-learning { animation: none; }.hunt-timer.is-critical { animation: none; } }
