.daily-hunt { position: relative; margin: 12px 16px 8px; padding: 8px 12px 12px; border-radius: 18px; background: #171b24; color: #eceef4; }
.hunt-heading { display: flex; align-items: center; gap: 8px; min-height: 24px; height: 24px; }
.hunt-heading h2 { margin: 0 auto 0 0; font: 700 16px/22px system-ui, sans-serif; }
.hunt-heading > b { color: #e6b54a; font-size: 16px; }
.hunt-effects { position: absolute; top: 0; right: 56px; width: 44px; height: 44px; padding: 12px; border: 0; color: #e6b54a; background: none; }
.hunt-effects[aria-pressed="false"] { color: #767e8d; }
.hunt-effects svg { width: 18px; height: 18px; }
.hunt-progress { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 8px; }
.hunt-progress progress { appearance: none; flex: 1; min-width: 0; height: 8px; border: 0; border-radius: 5px; overflow: hidden; background: #2a303c; accent-color: #e6b54a; }
.hunt-progress progress::-webkit-progress-bar { background: #2a303c; }
.hunt-progress progress::-webkit-progress-value { background: #e6b54a; border-radius: 5px; }
.hunt-chest { width: 44px; height: 44px; min-height: 44px; box-sizing: border-box; padding: 10px; border: 0; background: none; color: #e6b54a; }
.hunt-chest svg { width: 24px; height: 24px; }
.hunt-chest:disabled { opacity: .7; cursor: default; }
.hunt-chest.is-open { filter: drop-shadow(0 0 3px #e6b54a55); }
.hunt-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hunt-slot { position: relative; display: grid; place-items: center; height: 44px; min-width: 0; padding: 0; border: 2px solid transparent; border-radius: 10px; background: #222733; overflow: hidden; color: #707887; font: 700 20px/1 system-ui, sans-serif; }
.hunt-slot img { width: 100%; height: 100%; object-fit: cover; }
.hunt-slot.is-current { border-color: #e6b54a; }
.hunt-slot i { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #e6b54a; color: #13151a; }
.hunt-slot i svg { width: 12px; height: 12px; }
.hunt-check, .hunt-reward { box-sizing: border-box; width: min(390px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; border: 1px solid #70603c; border-radius: 18px; background: #171b24; color: #eceef4; font-family: system-ui, sans-serif; }
.hunt-check::backdrop, .hunt-reward::backdrop { background: #000b; }
.hunt-check h2, .hunt-reward h2 { margin: 0 0 12px; font-size: 20px; }
.hunt-check p { font-size: 14px; line-height: 1.5; }
.hunt-check input { box-sizing: border-box; width: 100%; min-height: 44px; margin: 8px 0; padding: 8px; font-size: 16px; border: 1px solid #59616f; border-radius: 5px; background: #10131a; color: #eceef4; }
.hunt-check button, .hunt-reward button { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 6px; background: #e6b54a; color: #10131a; }
.hunt-check [data-check-later] { margin-top: 10px; background: none; color: #b5bcc7; }
.hunt-check-status { color: #e6b54a; }
.hunt-reward { position: relative; text-align: center; }
.hunt-reward [data-reward-close] { position: absolute; right: 4px; top: 4px; width: 44px; color: #c4cbd5; background: none; font-size: 24px; }
.hunt-reward .reward-chest svg { width: 30px; height: 30px; margin-bottom: 8px; color: #e6b54a; }
.hunt-reward > img { display: block; width: 100%; max-height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.hunt-reward > strong { display: block; font: 700 18px/24px Georgia, serif; overflow-wrap: anywhere; }
.hunt-reward > p { color: #a4adbb; font-size: 13px; }
.hunt-reward[data-animate="true"] { animation: hunt-card-in .8s ease-out; }
@keyframes hunt-card-in { 0% { opacity: 0; transform: translateY(12px) scale(.94); } 40%,100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hunt-reward { animation: none !important; } }

/* Root-family B v2: header/tabs alone remain sticky. */

.daily-hunt { padding: 12px 16px; }
.hunt-heading h2 { font-size: 16px; }
.hunt-heading > b { margin-left: auto; }
.hunt-root { display:flex; align-items:baseline; gap:10px; min-height:36px; padding-right:25px; }
.hunt-root strong { color:#e6b54a; font:700 30px/36px Georgia,serif; overflow-wrap:anywhere; }
.hunt-root > span { color:#eceef4; font-size:17px; }
.hunt-subtitle { color:#8d95a3; font-size:12px; line-height:20px; }
.hunt-effects { top:36px; right:4px; }
.hunt-progress { height:30px; margin:0 0 6px; }
.hunt-slots { grid-template-columns:repeat(var(--hunt-target,5),minmax(0,1fr)); gap:6px; }
.hunt-slot { height:44px; font:700 12px/15px Georgia,serif; overflow-wrap:anywhere; color:#d3d7df; padding:3px; }
.hunt-slot.is-remaining { color:#737b89; font-size:18px; }
.hunt-slot-label { display:block; width:100%; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; overflow-wrap:normal; word-break:normal; line-height:16px; }
.hunt-slot i { right:1px; top:1px; width:13px; height:13px; }
.hunt-slot i svg { width:10px; height:10px; }
.hunt-meaning-options { display:grid; gap:8px; }
.hunt-meaning-options button { min-height:44px; height:auto; text-align:left; font:14px/1.4 system-ui,sans-serif; padding:12px; background:#292f3c; color:#eef0f5; }
.hunt-check-status:empty { margin:0; }
.hunt-retry { min-height:44px; background:none; border:0; color:#e6b54a; }
.home-channel.collection-home[data-root-families-ready="true"] .home-channel-grid { display:none; }
.collection-home[data-root-families-ready="true"] .collection-heading { min-height:44px; padding-block:0; gap:6px; }
.collection-home[data-root-families-ready="true"] .collection-heading > span { margin-right:auto; font-size:11px; }
.family-map-link { min-height:44px; min-width:44px; padding:0; background:none; border:0; color:#e6b54a; font-size:12px; white-space:nowrap; }
.root-family-rows { padding:0 16px 24px; }
.root-family { min-width:0; margin-bottom:14px; }
.family-heading { display:flex; align-items:center; gap:8px; height:32px; }
.family-heading h3 { font:600 15px/20px system-ui,sans-serif; margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.family-heading h3 strong { font:700 20px/24px Georgia,serif; color:#e6b54a; }
.family-today { padding:2px 7px; border-radius:14px; color:#e6b54a; background:#3a301b; font-size:11px; flex-shrink:0; }
.family-count { margin-left:auto; font-size:12px; color:#8d95a3; white-space:nowrap; }
.family-track { display:flex; gap:10px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; scrollbar-width:none; padding-bottom:2px; }
.family-track::-webkit-scrollbar { display:none; }
.family-card { position:relative; flex:0 0 calc((100% - 22px)/2); min-width:0; border-radius:16px; overflow:hidden; background:#171b24; scroll-snap-align:start; }
.family-card > button { display:block; position:relative; width:100%; height:100%; padding:0; border:0; color:#eceef4; background:none; text-align:left; }
.family-art { display:flex; position:relative; align-items:center; justify-content:center; height:90px; background:#1e232e; overflow:hidden; }
.family-art img { width:100%; height:100%; object-fit:cover; }
.family-root-art { padding:8px; font:700 24px/28px Georgia,serif; color:#e6b54a; overflow-wrap:anywhere; text-align:center; }
.family-split { display:block; padding:4px 8px; min-height:24px; box-sizing:border-box; font:11px/16px system-ui,sans-serif; color:#8d95a3; overflow-wrap:anywhere; }
.family-meta { display:block; padding:4px 10px 10px; }
.family-card .collection-word { font:700 18px/22px Georgia,serif; white-space:normal; overflow-wrap:anywhere; }
.family-card .collection-ipa { min-height:16px; margin-top:3px; }
.family-definition { display:block; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font:12px/16px system-ui,sans-serif; min-height:16px; margin-top:3px; color:#b0b7c4; }
.family-definition:empty { display:none; }
.hunt-effects-help { position:absolute; z-index:5; top:72px; right:8px; box-sizing:border-box; max-width:calc(100% - 16px); width:260px; padding:10px 12px; border-radius:8px; background:#292f3c; box-shadow:0 5px 18px #0006; color:#eceef4; font:12px/18px system-ui,sans-serif; pointer-events:none; }
.hunt-effects-help[hidden] { display:none; }
.family-card[data-locked="true"] .family-art { background:#11151d; }
.family-card[data-locked="true"] .family-root-art { opacity:.55; }
.family-card[data-locked="true"] .collection-word { color:#7b8391; }
.family-lock,.family-check { position:absolute; top:8px; right:8px; width:15px; height:16px; color:#b3bbc8; }
.family-check { background:#e6b54a; color:#14171c; border-radius:50%; padding:1px; }
.family-lock svg,.family-check svg { width:100%; height:100%; }
.family-more { min-height:44px; padding:8px; background:none; color:#e6b54a; border:0; }
.collection-home[data-root-families-ready="true"] .home-offer-strip { gap:4px; }
.collection-home[data-root-families-ready="true"] .home-offer-strip .free-video-notice { font-size:12px; }
.collection-home[data-root-families-ready="true"] #homeTrialButton::after { font-size:13px; }
@media(min-width:700px) { .family-card { flex-basis:180px; } .family-art { height:120px; } }

.daily-hunt { padding:8px 14px; }
.hunt-root { min-height:32px; }
.hunt-root strong { font-size:28px; line-height:32px; }
.hunt-subtitle { line-height:18px; }
.hunt-progress { height:24px; margin:0; }
.collection-home[data-root-families-ready="true"] .collection-heading > span::before { content:"어원 가족별 · "; }
html[lang="en"] .collection-home[data-root-families-ready="true"] .collection-heading > span::before { content:"Root families · "; }

.family-card[data-locked="true"] .family-art img { filter:brightness(.3); }
.family-todo { position:absolute; top:8px; right:8px; width:12px; height:12px; border:1.5px solid #8d95a3; border-radius:50%; box-sizing:border-box; }
