.hunt-page {
    --hunt-edge: #434b56;
    --hunt-panel: #242a32;
    --hunt-muted: #bdc6cf;
    --hunt-pad: clamp(18px, 2.2vw, 28px);
    padding-block: clamp(16px, 2.5vw, 32px) 12px;
}
.hunt-page [hidden] { display: none !important; }
.hunt-page :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hunt-icon { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hunt-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 44px);
    min-height: clamp(194px, 19vw, 245px);
    padding: clamp(24px, 3.5vw, 44px);
    border: 1px solid #485b63;
    border-radius: 15px;
    background: linear-gradient(90deg, #101e25ef 2%, #16262bc9 32%, #17263040 61%, transparent 84%),
        url("/art/alerts/field-radar.webp") 75% 59% / cover no-repeat, #192b33;
    color: #fff8ec;
}
.hunt-hero-copy { max-width: 31rem; min-width: 0; }
.hunt-hero h1 { font-size: clamp(3rem, 5.2vw, 4.4rem); line-height: .98; letter-spacing: -.035em; }
.hunt-hero-copy > p:not(.hunt-membership) { margin-top: 10px; color: #dce4e6; font-size: 1rem; line-height: 1.48; text-wrap: pretty; }
.hunt-membership {
    display: flex; align-items: center; gap: 7px; margin-bottom: 10px;
    color: #f6d898; font: 700 .78rem/1.2 Sans,sans-serif; text-transform: uppercase; letter-spacing: .1em;
}
.hunt-actions, .hunt-section-head, .alert-toolbar, .alert-filters, .hunt-public-feeds {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
}
.hunt-hero .hunt-actions { margin-top: 18px; }
.hunt-button, .hunt-hero-link, .hunt-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; font: 650 .92rem/1.25 Sans,sans-serif;
}
.hunt-button {
    padding: 9px 15px; text-align: center; color: #f3f2ed;
    background: #303744; border: 1px solid #59636f; border-radius: 7px;
    transition: background-color .16s, border-color .16s;
}
.hunt-button:hover { background: #414b57; border-color: #929daa; }
.hunt-button-gold { color: #2b2315; border-color: #f4cf83; background: var(--gold); }
.hunt-button-gold:hover { border-color: #ffedc4; background: #ffdf98; }
.hunt-button-discord { color: #fff; border-color: #7e89d9; background: #48549f; }
.hunt-button-discord:hover { background: #5968b9; border-color: #afb8fd; }
.hunt-hero-link, .hunt-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffce696b; }
.hunt-link { color: var(--gold); }
.hunt-hero-link { color: #f0f3f4; text-decoration-color: #e2e9ec77; }
.hunt-hero-link:hover, .hunt-link:hover { text-decoration-color: currentColor; }
.hunt-page h2 { font: 710 clamp(1.65rem, 2.5vw, 2.1rem)/1.08 Cond,sans-serif; letter-spacing: -.018em; }
.hunt-section-head { justify-content: space-between; }
.hunt-example {
    flex: 0 1 20rem; min-width: 0; margin: 0; padding: 14px;
    background: #1c2231f5; border: 1px solid #687283; border-radius: 12px;
    box-shadow: 0 10px 30px #080c1552, inset 0 1px #ffffff0b;
}
.hunt-example figcaption { display: flex; align-items: center; gap: 8px; color: #d3d9fb; font-size: .875rem; font-weight: 650; }
.hunt-example-message {
    display: grid; grid-template-columns: minmax(0, 1fr) 30%; align-items: center; column-gap: 6px;
    margin-top: 11px; padding: 12px 10px 12px 14px; background: #2c3342;
    border-left: 3px solid #a69be3; border-radius: 4px;
}
.hunt-example-message > img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 3px 3px #10172180); }
.hunt-example-message strong { font: 700 1.5rem/1 Cond,sans-serif; color: #f5f2ff; }
.hunt-example-message p { margin: 5px 0 10px; font-size: .8125rem; color: #d3d8e4; }
.hunt-example-message dl { display: flex; gap: 20px; font-size: .8125rem; }
.hunt-example-message dt { color: #bac1d0; }
.hunt-example-message dd { font-weight: 650; color: #f2f1ee; }

.alert-toolbar, .hunt-public-feeds {
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0;
    padding: 10px 12px;
    background: #22272e; border: 1px solid #3c454f; border-radius: 10px;
}
.alert-toolbar .board-search { order: 0; flex: 1 1 220px; max-width: 350px; margin: 0; background: #191e24; }
.alert-filters { gap: 4px; }
.alert-filters a {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 40px; padding: 6px 12px; border: 1px solid transparent; border-radius: 6px;
    color: #ced4dc; font-size: .92rem; font-weight: 620; line-height: 1.25; text-align: center;
}
.hunt-page [data-family="perfect"] { --signal: #f3cb7f; }
.hunt-page [data-family="zero"] { --signal: #89d4de; }
.hunt-page [data-family="rare"] { --signal: #cfafea; }
.alert-filters [data-family]:not([data-family=""])::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--signal); flex: none; }
.alert-filters a:hover { background: #303841; color: white; }
.alert-filters [aria-current] { background: #3b3931; border-color: #8d7958; color: #ffe1a6; }
.hunt-public-feeds { justify-content: flex-start; padding-inline: var(--hunt-pad); }
.hunt-public-feeds > strong { font-size: .95rem; }
.hunt-public-feeds .alert-filters { flex: 1; gap: 8px; padding-left: 14px; border-left: 1px solid var(--hunt-edge); }
.hunt-public-feeds .alert-filters a { background: #2a3038; border-color: #48515e; }
.hunt-public-feeds .alert-filters a:hover { border-color: var(--signal); }

.alert-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.alert-card {
    --signal: #b1dcc2;
    display: flex; flex-direction: column; min-width: 0; isolation: isolate; overflow: hidden;
    border: 1px solid var(--hunt-edge); border-radius: 12px; background: #252b33; color: #f5f3ee;
    transition: border-color .17s, box-shadow .17s;
}
.alert-card:is(:hover,:focus-visible) { border-color: var(--signal); box-shadow: 0 4px 15px #0c101633; }
.alert-meta, .alert-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.alert-meta { padding: 13px 15px 0; }
.alert-meta strong { border-left: 3px solid var(--signal); padding-left: 8px; color: var(--signal); font: 700 .85rem/1.25 Sans,sans-serif; }
.alert-deadline { flex: none; display: inline-flex; align-items: center; gap: 4px; color: #c7cfd8; font-size: .8125rem; }
.alert-deadline time { color: #f0efe9; font-weight: 650; font-variant-numeric: tabular-nums; }
.alert-encounter {
    flex: 1; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) 36%;
    gap: 6px; padding: 7px 12px 7px 18px;
    background: radial-gradient(ellipse at 90% 60%, color-mix(in srgb, var(--signal) 12%, transparent), transparent 60%);
}
.alert-encounter > div:first-child { position: relative; z-index: 1; }
.alert-encounter h2 { font-size: clamp(1.75rem, 2.5vw, 2.1rem); overflow-wrap: anywhere; }
.alert-variant { margin-top: 4px; color: #dce0e5; font-size: .9375rem; overflow-wrap: anywhere; }
.alert-location { display: flex; align-items: baseline; gap: 6px; margin: 7px 0 0; color: var(--hunt-muted); font-size: .875rem; }
.alert-portrait { display: grid; place-items: center; position: relative; isolation: isolate; height: 110px; color: var(--signal); }
.alert-portrait::before {
    position: absolute; z-index: -1; content: ""; width: min(105%, 120px); aspect-ratio: 1; border-radius: 50%;
    border: 1px solid color-mix(in srgb,var(--signal) 19%, transparent);
    background: repeating-radial-gradient(circle, transparent 0 21px, #ffffff0f 22px 23px, transparent 24px 34px);
}
.alert-portrait img { width: 100%; height: 108px; object-fit: contain; filter: drop-shadow(0 4px 3px #14182070); transition: transform .2s ease-out; }
@media (hover: hover) { .alert-card:hover .alert-portrait img { transform: translateY(-2px) scale(1.045); } }
.alert-checked { display: none; position: absolute; right: 0; bottom: 0; border-radius: 50%; padding: 1px 6px; background: #294438; color: #bbf1cf; }
.alert-card[data-checked] .alert-checked { display: block; }
.alert-foot { min-height: 43px; padding: 8px 15px; border-top: 1px solid #ffffff12; background: #1e242c; }
.alert-traits { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; font-size: .8125rem; color: #c3cbd3; }
.alert-spark, .alert-open { color: var(--signal); }
.alert-open { flex: none; font-size: .875rem; font-weight: 650; }
.alert-card:hover .alert-open { text-decoration: underline; text-underline-offset: 3px; }
.alert-empty { grid-column: 1/-1; border-style: dashed; padding: clamp(24px, 4vw, 52px) 18px; background: #20272c; }
.alert-empty > .hunt-icon { color: #95d6be; margin-bottom: 9px; }
.alert-empty .hunt-actions { justify-content: center; margin-top: 12px; }
.alert-empty > .hunt-button { margin-top: 10px; }
.alert-empty [data-live-status] { font-size: .875rem; margin-bottom: 0; }

.hunt-passes { margin-top: clamp(20px, 2.6vw, 32px); }
.hunt-passes > .hunt-section-head { margin-bottom: 10px; }
.hunt-pass-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hunt-pass {
    --stock: #add9c8; --light: #ddf2da; --print: #193c34; --map: url("/art/premium-map.webp");
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0,1fr) 31%; align-items: stretch;
    min-height: 170px; border: 1px solid color-mix(in srgb, var(--stock) 80%, white);
    border-radius: 12px; color: var(--print); background: linear-gradient(112deg, var(--light), var(--stock) 86%);
}
.hunt-pass-vip { --stock: #e7b76f; --light: #ffe9b9; --print: #48331e; --map: url("/art/vip-map.webp"); }
.hunt-pass::before, .hunt-pass::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hunt-pass::before { background: var(--map) center / cover; opacity: .38; mix-blend-mode: luminosity; mask-image: linear-gradient(105deg, transparent, #0003 42%, black 94%); }
.hunt-pass::after { inset: 6px; border: 1px solid color-mix(in srgb, var(--print) 24%, transparent); border-radius: 7px; }
.hunt-pass-art {
    grid-column: 2; grid-row: 1; position: relative; display: grid; place-items: center; margin: 7px 0;
    border-left: 1px dashed color-mix(in srgb, var(--print) 40%, transparent);
    background: repeating-radial-gradient(circle at 50% 53%, transparent 0 22px, #fff5 23px, transparent 24px 35px);
}
.hunt-pass-art img { position: absolute; width: 97%; height: 93%; object-fit: contain; filter: drop-shadow(0 4px 3px #31352a40); }
.hunt-pass:is(:hover,:focus-visible) h3 { text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 2px; }
.hunt-pass-copy { grid-column: 1; grid-row: 1; align-self: center; padding: 24px 12px 24px var(--hunt-pad); }
.hunt-pass-copy h3 { font: 750 clamp(2.15rem, 3.4vw, 3rem)/.98 Cond,sans-serif; margin-bottom: 8px; letter-spacing: -.025em; }
.hunt-pass-copy strong { font-size: 1rem; }
.hunt-pass-copy p { margin-top: 4px; line-height: 1.38; }
.hunt-workspace {
    display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.55fr);
    gap: clamp(14px, 2vw, 24px); align-items: start; margin-top: clamp(16px, 2vw, 24px);
}
.hunt-management { display: grid; gap: 16px; min-width: 0; }
.hunt-panel { min-width: 0; padding: var(--hunt-pad); border-radius: 12px; border: 1px solid var(--hunt-edge); background: linear-gradient(130deg, #292e38, #232830 70%); }
.hunt-panel > p, .hunt-disconnect p, .hunt-list p { margin-top: 9px; color: var(--hunt-muted); overflow-wrap: anywhere; }
.hunt-panel p strong { color: var(--ink); }
.hunt-connection h2 { display: flex; gap: 10px; align-items: center; }
.hunt-connection h2 img { flex: none; }
.hunt-connection form { margin-top: 14px; }
.hunt-connection .hunt-delivery-note { margin-top: 14px; padding-left: 10px; border-left: 2px solid var(--gold); }
.hunt-disconnect { border-top: 1px solid var(--hunt-edge); margin-top: 16px; padding-top: 8px; }
.hunt-disconnect summary { padding-block: 8px; cursor: pointer; font-size: .9rem; color: #d6dbe2; }
.hunt-disconnect summary:hover { color: white; }
.hunt-capacity { padding: 4px 9px; border-radius: 5px; border: 1px solid #4c5c5c; color: #c1e0d2; font-size: .8125rem; font-weight: 600; }
.hunt-list { margin: 14px 0 0; padding: 0; list-style: none; }
.hunt-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 13px; border-top: 1px solid var(--hunt-edge); }
.hunt-list li > div { min-width: 0; }
.hunt-list h3 { font: 680 1.25rem/1.25 Cond,sans-serif; overflow-wrap: anywhere; }
.hunt-list p, .hunt-list small { margin-top: 3px; font-size: .9rem; }
.hunt-list small { display: block; color: #ebcd94; }
.hunt-form { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: end; margin: 16px 0 0; }
.hunt-form .hunt-species, .hunt-form > button { grid-column: 1/-1; }
.hunt-form > label { min-width: 0; font-size: .9375rem; font-weight: 620; }
.hunt-form input:not([type="checkbox"]), .hunt-form select {
    min-width: 0; min-height: 43px; font-weight: 450; font-size: 1rem; background-color: #191f27;
}
.hunt-form select {
    appearance: none; padding-right: 30px;
    background-image: linear-gradient(45deg,transparent 50%,#b9c7cf 50%),linear-gradient(135deg,#b9c7cf 50%,transparent 50%);
    background-position: right 16px center,right 11px center; background-size: 5px 5px; background-repeat: no-repeat;
}
@media (max-width: 860px) {
    .alert-toolbar { flex-direction: column-reverse; align-items: stretch; }
    .alert-toolbar .board-search { flex-basis: auto; max-width: none; }
    .hunt-hero-preview { gap: 18px; }
    .hunt-example { flex: 0 0 265px; }
    .hunt-pass-pair { gap: 12px; }
}
@media (max-width: 660px) {
    .hunt-hero { padding: 22px 18px; background-position: center, 70% center; }
    .hunt-hero-copy { max-width: 27rem; }
    .hunt-hero-preview { display: grid; gap: 17px; }
    .hunt-example { width: min(100%, 320px); padding: 9px 11px; }
    .hunt-example-message { margin-top: 7px; padding-block: 8px; grid-template-columns: minmax(0,1fr) 64px; }
    .hunt-example-message p { margin: 3px 0 4px; }
    .hunt-example-message dl, .hunt-example-message dl div { display: flex; align-items: baseline; }
    .hunt-example-message dl div { gap: 4px; }
    .hunt-public-feeds { align-items: start; flex-direction: column; gap: 4px; }
    .hunt-public-feeds .alert-filters { width: 100%; border-left: 0; padding-left: 0; gap: 4px; }
    .hunt-public-feeds .alert-filters a { flex: 1 1 auto; padding-inline: 6px; font-size: .85rem; }
    .alert-filters a { padding-inline: 8px; }
    .hunt-pass-pair, .hunt-workspace { grid-template-columns: minmax(0,1fr); }
    .hunt-pass { min-height: 142px; }
    .hunt-pass-copy { padding-block: 18px; }
    .hunt-form { gap: 12px; }
}
@media (max-width: 420px) {
    .alert-toolbar .alert-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alert-toolbar .alert-filters a { justify-content: flex-start; }
    .hunt-hero .hunt-actions { gap: 3px 12px; }
    .hunt-hero .hunt-button { padding-inline: 10px; }
    .hunt-example-message dl { gap: 9px; }
    .hunt-pass { grid-template-columns: minmax(0, 1fr) 27%; }
    .hunt-form { grid-template-columns: minmax(0,1fr); }
}
