#hunt-game-container {
    display: none;
    position: fixed;
    inset: 0 0 84px 0;
    z-index: 5000;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #050709;
    color: #f3ead8;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.hunt-open {
    overflow: hidden;
}

.hunt-shell {
    width: 100%;
    max-width: 620px;
    min-height: 100%;
    margin: 0 auto;
    background: #050709;
}

.hunt-scene {
    position: relative;
    min-height: clamp(680px, calc(100svh - 84px), 820px);
    overflow: hidden;
    isolation: isolate;
    background: #080b0d url("/assets/ru-odyssey/ru-odyssey-citadel-background-v1.webp") center / cover no-repeat;
}

.hunt-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(3, 5, 7, .86) 0%, rgba(3, 5, 7, .18) 31%, rgba(3, 5, 7, .1) 55%, rgba(3, 5, 7, .94) 100%),
        radial-gradient(circle at 78% 45%, rgba(23, 164, 139, .14), transparent 38%);
}

.hunt-scene::after {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 58%, transparent 44%, rgba(0, 0, 0, .62) 100%);
}

.hunt-top,
.hunt-status-grid,
.hunt-info-row {
    position: relative;
    z-index: 4;
}

.hunt-top {
    padding: max(14px, env(safe-area-inset-top)) 12px 0;
}

.hunt-title {
    margin: 0 0 2px;
    text-align: center;
    color: #d8bf8a;
    font-family: Georgia, serif;
    font-size: 26px;
    letter-spacing: 2px;
    text-shadow: 0 2px 14px #000;
}

.hunt-subtitle {
    margin-bottom: 10px;
    text-align: center;
    color: #9f8963;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hunt-economy,
.hunt-status-grid {
    display: grid;
    gap: 6px;
}

.hunt-economy {
    grid-template-columns: repeat(3, 1fr);
}

.hunt-status-grid {
    grid-template-columns: repeat(4, 1fr);
    margin: 7px 12px 0;
}

.hunt-stat,
.hunt-status,
.hunt-card {
    border: 1px solid rgba(190, 156, 96, .38);
    background: linear-gradient(180deg, rgba(12, 16, 18, .9), rgba(5, 8, 10, .82));
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .55), 0 5px 18px rgba(0, 0, 0, .34);
    backdrop-filter: blur(8px);
}

.hunt-stat {
    min-width: 0;
    padding: 8px 5px;
    border-radius: 8px;
    text-align: center;
}

.hunt-stat span,
.hunt-status span {
    display: block;
    overflow: hidden;
    color: #9f927b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .3px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hunt-stat strong {
    display: block;
    margin-top: 2px;
    color: #eee0c3;
    font-family: Georgia, serif;
    font-size: 17px;
}

.hunt-status {
    min-width: 0;
    padding: 6px 3px;
    border-radius: 7px;
    text-align: center;
}

.hunt-status strong {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: #d6c4a3;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hunt-hero-art,
.hunt-pet-art {
    position: absolute;
    z-index: 2;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .74));
    transform-origin: center bottom;
}

.hunt-hero-art {
    top: 178px;
    left: -8%;
    width: min(75%, 450px);
    animation: hunt-breathe 5.5s ease-in-out infinite;
}

.hunt-pet-art {
    top: 455px;
    right: -1%;
    width: min(40%, 235px);
    animation: hunt-pet-idle 4.2s ease-in-out infinite;
}

.hunt-info-row {
    position: absolute;
    right: 10px;
    bottom: 14px;
    left: 10px;
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 8px;
}

.hunt-card {
    min-width: 0;
    padding: 10px;
    border-radius: 10px;
}

.hunt-card-title {
    overflow: hidden;
    color: #dfc99e;
    font-family: Georgia, serif;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hunt-card-meta,
.hunt-card-stats {
    color: #a99c85;
    font-size: 10px;
}

.hunt-card-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.hunt-xp-track {
    height: 5px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.hunt-xp-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #167d6d, #4bd2ad);
    transition: width .35s ease;
}

.hunt-actions {
    position: relative;
    z-index: 5;
    display: grid;
    gap: 8px;
    padding: 10px 12px 18px;
    background: linear-gradient(180deg, #080b0d, #050709);
}

.hunt-button {
    min-height: 48px;
    border: 1px solid rgba(195, 161, 96, .62);
    border-radius: 10px;
    background: linear-gradient(180deg, #176357, #0b3f39);
    color: #f1e6cf;
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .7px;
    box-shadow: inset 0 0 15px rgba(38, 195, 157, .12), 0 5px 14px rgba(0, 0, 0, .45);
}

.hunt-button.secondary {
    background: linear-gradient(180deg, #24211d, #111210);
}

.hunt-button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.hunt-message {
    min-height: 16px;
    color: #b7aa93;
    font-size: 10px;
    text-align: center;
}

@keyframes hunt-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.006); }
}

@keyframes hunt-pet-idle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 380px) {
    .hunt-title { font-size: 22px; }
    .hunt-hero-art { top: 190px; width: 78%; }
    .hunt-pet-art { top: 475px; width: 39%; }
    .hunt-status strong { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .hunt-hero-art,
    .hunt-pet-art { animation: none; }
}

#hunt-pet-name{white-space:normal!important;line-height:1.2!important;font-size:11px!important;overflow:visible!important;text-overflow:clip!important}


/* RU ODYSSEY INVENTORY V1 */
.hunt-inventory{padding:10px 12px;border:1px solid rgba(190,155,91,.28);border-radius:12px;background:rgba(5,8,8,.78);text-align:left}
.hunt-inventory-title{margin-bottom:7px;color:#cdb98e;font-size:11px;font-weight:900;letter-spacing:1.2px}
.hunt-inventory-list{display:grid;gap:6px;max-height:125px;overflow-y:auto}
.hunt-inventory-item{display:flex;justify-content:space-between;align-items:center;padding:7px 9px;border-radius:8px;background:rgba(255,255,255,.035);font-size:11px;color:#d9d5c9}
.hunt-inventory-item b{color:#fff}
.hunt-inventory-item.rarity-uncommon{border-left:3px solid #50c878}
.hunt-inventory-item.rarity-rare{border-left:3px solid #4fa3ff}
.hunt-inventory-item.rarity-epic{border-left:3px solid #b86cff}
.hunt-inventory-item.rarity-legendary{border-left:3px solid #ffb52e}


/* RU ODYSSEY EXPEDITION MAP V2 */
.expedition-hub{margin-top:6px;padding:14px 11px 16px;border:1px solid rgba(190,155,91,.3);border-radius:17px;background:radial-gradient(circle at 80% 0,rgba(83,121,92,.13),transparent 32%),linear-gradient(180deg,rgba(10,17,15,.96),rgba(5,8,8,.98));box-shadow:0 16px 34px rgba(0,0,0,.32);text-align:left}
.expedition-hub-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:2px 3px 10px}
.expedition-hub-head span{color:#7e9d86;font-size:8px;font-weight:900;letter-spacing:1.7px}
.expedition-hub-head h2{margin:2px 0 0;color:#e8d5a7;font-family:Georgia,"Times New Roman",serif;font-size:19px;letter-spacing:1.2px}
.expedition-wallet{display:flex;flex-direction:column;align-items:flex-end;gap:3px;padding:6px 9px;border:1px solid rgba(185,153,88,.22);border-radius:10px;background:rgba(0,0,0,.25)}
.expedition-wallet b{color:#ffcf62;font-size:11px}.expedition-wallet span{color:#9edbc2;font-size:10px;font-weight:800}
.expedition-energy-note{min-height:14px;margin:-2px 3px 10px;color:#8f978e;font-size:9px}
.expedition-section-title{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:15px 2px 8px;color:#cdb98e;font-size:9px;font-weight:900;letter-spacing:1px}
.expedition-section-title small{color:#68736d;font-size:8px;font-weight:600;letter-spacing:0;text-align:right}
.expedition-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.expedition-loading{grid-column:1/-1;padding:24px;text-align:center;color:#77817a;font-size:10px}
.expedition-route-card{min-width:0;overflow:hidden;border:1px solid rgba(183,150,87,.28);border-radius:14px;background:#090e0c;box-shadow:0 9px 24px rgba(0,0,0,.3)}
.expedition-route-card.locked{filter:saturate(.52)}
.expedition-route-art,.expedition-active-art{position:relative;overflow:hidden;background-color:#15231d;background-image:linear-gradient(145deg,rgba(7,12,10,.08),rgba(2,5,4,.82)),radial-gradient(circle at 68% 36%,rgba(109,168,113,.55),transparent 28%),linear-gradient(135deg,#253f32,#0a1310);isolation:isolate}
.expedition-route-art{height:122px}
.expedition-route-art::after,.expedition-active-art::after{position:absolute;inset:auto -8% -24% -8%;z-index:-1;height:70%;content:"";background:linear-gradient(155deg,transparent 35%,rgba(0,0,0,.8) 36%),linear-gradient(25deg,rgba(20,32,25,.8) 40%,transparent 41%);transform:skewY(-4deg)}
.art-training::before,.art-training_grounds::before,.art-wall::before,.art-wall_trail::before,.art-wolf::before,.art-wolf_ravine::before,.art-watchtower::before,.art-abandoned_watchtower::before,.art-catacombs::before,.art-rune_catacombs::before,.art-citadel::before,.art-citadel_trial::before{position:absolute;right:12px;top:22px;color:rgba(233,211,154,.74);font-size:45px;filter:drop-shadow(0 8px 8px rgba(0,0,0,.65))}
.art-training::before,.art-training_grounds::before{content:"🌲"}.art-wall::before,.art-wall_trail::before{content:"🏰"}.art-wolf::before,.art-wolf_ravine::before{content:"🌘"}.art-watchtower::before,.art-abandoned_watchtower::before{content:"🗼"}.art-catacombs::before,.art-rune_catacombs::before{content:"🔮"}.art-citadel::before,.art-citadel_trial::before{content:"⚜️"}
.art-wall,.art-wall_trail{background-image:linear-gradient(145deg,rgba(7,12,10,.05),rgba(2,5,4,.84)),radial-gradient(circle at 68% 30%,rgba(177,145,83,.55),transparent 25%),linear-gradient(135deg,#403a28,#11130e)}
.art-wolf,.art-wolf_ravine{background-image:linear-gradient(145deg,rgba(6,8,14,.08),rgba(2,4,7,.86)),radial-gradient(circle at 72% 22%,rgba(103,137,184,.65),transparent 24%),linear-gradient(135deg,#243044,#090d14)}
.art-watchtower,.art-abandoned_watchtower{background-image:linear-gradient(145deg,rgba(12,8,4,.08),rgba(4,3,2,.85)),radial-gradient(circle at 68% 28%,rgba(206,129,62,.58),transparent 25%),linear-gradient(135deg,#49301e,#100b08)}
.art-catacombs,.art-rune_catacombs{background-image:linear-gradient(145deg,rgba(10,5,15,.08),rgba(3,2,6,.88)),radial-gradient(circle at 68% 30%,rgba(147,82,193,.72),transparent 25%),linear-gradient(135deg,#30203e,#0b0710)}
.art-citadel,.art-citadel_trial{background-image:linear-gradient(145deg,rgba(15,9,2,.05),rgba(4,3,1,.86)),radial-gradient(circle at 68% 28%,rgba(238,181,66,.72),transparent 24%),linear-gradient(135deg,#57401d,#120e08)}
.expedition-route-level{position:absolute;left:8px;top:8px;padding:4px 6px;border:1px solid rgba(240,208,137,.25);border-radius:7px;background:rgba(2,5,4,.72);color:#ddc58e;font-size:7px;font-weight:900;letter-spacing:.6px}
.expedition-route-title{position:absolute;inset:auto 9px 9px;display:flex;flex-direction:column;gap:2px}.expedition-route-title strong{color:#f4e5c4;font-family:Georgia,"Times New Roman",serif;font-size:13px;text-shadow:0 2px 6px #000}.expedition-route-title span{display:-webkit-box;overflow:hidden;color:rgba(255,255,255,.68);font-size:8px;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.expedition-route-body{display:flex;min-height:185px;flex-direction:column;padding:9px}
.expedition-route-stats{display:flex;justify-content:space-between;gap:4px;color:#8f9c94;font-size:8px}.expedition-route-stats b{color:#ddd0b3}
.expedition-loot-title{margin:10px 0 5px;color:#67756d;font-size:7px;font-weight:900;letter-spacing:.7px}
.expedition-loot-list{display:grid;gap:4px}.expedition-loot{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:4px;padding:3px 5px;border-left:2px solid #78847c;border-radius:5px;background:rgba(255,255,255,.035)}.expedition-loot i{font-size:12px;font-style:normal}.expedition-loot b{overflow:hidden;color:#b9bdb8;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.expedition-loot em{color:#89948e;font-size:7px;font-style:normal}.expedition-loot.rarity-uncommon{border-color:#50c878}.expedition-loot.rarity-rare{border-color:#4fa3ff}.expedition-loot.rarity-epic{border-color:#b86cff}.expedition-loot.rarity-legendary{border-color:#ffb52e}.expedition-no-loot{color:#7c6962;font-size:8px}
.expedition-start-button{width:100%;margin-top:auto;padding:8px 6px;border:1px solid rgba(206,164,84,.46);border-radius:8px;background:linear-gradient(180deg,rgba(78,117,82,.65),rgba(30,62,44,.78));color:#e5d6ae;font-size:8px;font-weight:900;letter-spacing:.5px}.expedition-start-button:disabled{opacity:.4;filter:grayscale(1)}
.expedition-active-card{overflow:hidden;margin:3px 0 14px;border:1px solid rgba(222,177,80,.45);border-radius:14px;background:#080d0b;box-shadow:0 0 24px rgba(178,132,47,.1)}.expedition-active-card[hidden]{display:none!important}.expedition-active-art{height:145px}.expedition-active-kicker{position:absolute;left:11px;top:10px;color:#ddbe78;font-size:8px;font-weight:900;letter-spacing:1.2px}.expedition-active-art>strong{position:absolute;left:11px;bottom:30px;color:#fff0c9;font-family:Georgia,"Times New Roman",serif;font-size:18px;text-shadow:0 2px 7px #000}.expedition-progress{position:absolute;right:11px;bottom:13px;left:11px;height:5px;overflow:hidden;border-radius:8px;background:rgba(0,0,0,.55)}.expedition-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#5cc78c,#e1bd63);box-shadow:0 0 8px rgba(108,224,151,.45);transition:width .6s ease}.expedition-active-body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px}.expedition-active-body>span{color:#9da8a1;font-size:9px}.expedition-active-body .hunt-button{width:auto;margin:0;padding:8px 10px;font-size:8px}
@media(max-width:430px){.expedition-route-grid{grid-template-columns:1fr}.expedition-route-art{height:145px}.expedition-route-body{min-height:0}.expedition-loot-list{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* RU ODYSSEY EXPEDITION PANORAMAS V1 */
.expedition-route-art,.expedition-active-art{background-size:cover;background-position:center;background-repeat:no-repeat}
.art-training,.art-training_grounds{background-image:linear-gradient(180deg,rgba(2,6,4,.05) 32%,rgba(1,4,3,.9) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-training-v1.webp')}
.art-wall,.art-wall_trail{background-image:linear-gradient(180deg,rgba(2,4,3,.04) 32%,rgba(1,3,2,.9) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-wall-v1.webp')}
.art-wolf,.art-wolf_ravine{background-image:linear-gradient(180deg,rgba(2,4,8,.03) 32%,rgba(1,3,7,.92) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-wolf-v1.webp')}
.art-watchtower,.art-abandoned_watchtower{background-image:linear-gradient(180deg,rgba(7,3,1,.03) 32%,rgba(4,2,1,.91) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-watchtower-v1.webp')}
.art-catacombs,.art-rune_catacombs{background-image:linear-gradient(180deg,rgba(4,2,8,.03) 32%,rgba(3,1,7,.92) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-catacombs-v1.webp')}
.art-citadel,.art-citadel_trial{background-image:linear-gradient(180deg,rgba(8,5,1,.02) 32%,rgba(5,3,1,.92) 100%),url('/assets/ru-odyssey/ru-odyssey-expedition-citadel-v1.webp')}
.art-training::before,.art-training_grounds::before,.art-wall::before,.art-wall_trail::before,.art-wolf::before,.art-wolf_ravine::before,.art-watchtower::before,.art-abandoned_watchtower::before,.art-catacombs::before,.art-rune_catacombs::before,.art-citadel::before,.art-citadel_trial::before{display:none}
.expedition-route-title strong{font-size:15px;line-height:1.15}.expedition-route-title span{font-size:9.5px;line-height:1.35}.expedition-route-stats{font-size:9.5px}.expedition-loot-title{font-size:8px}.expedition-loot b,.expedition-loot em{font-size:8.5px}.expedition-start-button{font-size:9px}.expedition-route-level{font-size:8px}
@media(max-width:430px){.expedition-route-art{height:172px}.expedition-route-body{padding:11px}.expedition-loot{padding:5px 6px}.expedition-route-title{inset:auto 11px 11px}}


/* RU ODYSSEY CONSUMABLE V1 */
.hunt-inventory-controls{display:flex;align-items:center;gap:7px}
.hunt-item-use{padding:5px 7px;border:1px solid rgba(56,189,125,.42);border-radius:7px;background:rgba(16,120,82,.18);color:#65e5ad;font-size:8px;font-weight:900;letter-spacing:.35px}
.hunt-item-use:disabled{opacity:.35;filter:grayscale(1)}


/* RU ODYSSEY FORGE SCREEN V1 */
#forge-game-container{display:none;position:fixed;inset:0 0 84px 0;z-index:5000;overflow-y:auto;overscroll-behavior:contain;background:#090705;color:#f3ead8;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body.forge-open{overflow:hidden}
.forge-shell{width:100%;max-width:620px;min-height:100%;margin:0 auto;padding:18px 12px 40px;box-sizing:border-box;background:radial-gradient(circle at 50% 0,rgba(197,111,34,.2),transparent 34%),linear-gradient(180deg,#120d08,#070707 45%,#050607)}
.forge-header{padding:20px 14px;margin-bottom:14px;text-align:center;border:1px solid rgba(210,153,77,.35);border-radius:16px;background:linear-gradient(145deg,rgba(69,38,15,.72),rgba(8,10,10,.92));box-shadow:0 10px 32px rgba(0,0,0,.5),inset 0 0 28px rgba(222,116,34,.08)}
.forge-title{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:900;letter-spacing:1.4px;color:#f0d39d;text-shadow:0 0 16px rgba(239,151,55,.35)}
.forge-subtitle{margin-top:4px;font-size:9px;font-weight:800;letter-spacing:2px;color:#9c8061}
.forge-stats{display:flex;justify-content:center;gap:24px;margin-top:14px;font-size:10px;color:#bbaa90}
.forge-stats b{color:#f0d39d}
.forge-section{margin:12px 0;padding:11px;border:1px solid rgba(205,160,92,.28);border-radius:14px;background:rgba(6,8,8,.86)}
.forge-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:11px;font-weight:900;color:#d9c39a;letter-spacing:.6px}
.forge-section-head b{color:#8f877b;font-size:10px}
.forge-items{display:grid;gap:8px}
.forge-item-card{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.035)}
.forge-item-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:rgba(255,255,255,.06);font-size:23px}
.forge-item-info{display:flex;min-width:0;flex-direction:column;gap:3px}
.forge-item-info b{overflow:hidden;color:#ece2d0;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.forge-item-info span{color:#847f76;font-size:9px;text-transform:uppercase}
.forge-transfer-button{padding:7px 8px;border:1px solid rgba(211,153,76,.4);border-radius:8px;background:rgba(139,77,25,.18);color:#e5c58e;font-size:8px;font-weight:900}
.forge-transfer-hint{text-align:center;color:#6f6252;font-size:9px;font-weight:900;letter-spacing:1.3px}
.forge-empty{padding:13px;text-align:center;color:#777169;font-size:10px;line-height:1.5}
.forge-crafting-locked{opacity:.74}
.forge-message{min-height:18px;padding:4px;text-align:center;font-size:10px}
.forge-item-card.rarity-uncommon{border-left:3px solid #4bc77a}
.forge-item-card.rarity-rare{border-left:3px solid #4f9fff}
.forge-item-card.rarity-epic{border-left:3px solid #b86cff}
.forge-item-card.rarity-legendary{border-color:#f1b743;box-shadow:0 0 18px rgba(241,183,67,.16)}


/* RU ODYSSEY FORGE RECIPES V1 */
.forge-recipes{display:grid;gap:10px}
.forge-recipe-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:11px;padding:10px;border:1px solid rgba(205,160,92,.28);border-radius:13px;background:linear-gradient(145deg,rgba(44,28,14,.48),rgba(8,10,10,.92));overflow:hidden}
.forge-recipe-art{width:90px;height:116px;object-fit:contain;border-radius:10px;background:radial-gradient(circle,rgba(169,111,51,.16),rgba(0,0,0,.18));filter:drop-shadow(0 7px 8px rgba(0,0,0,.62))}
.forge-recipe-content{display:flex;min-width:0;flex-direction:column;gap:6px}
.forge-recipe-content>b{color:#ecd7ac;font-family:Georgia,"Times New Roman",serif;font-size:13px}
.forge-recipe-stats{color:#998f7e;font-size:9px;line-height:1.4}
.forge-recipe-materials{display:grid;gap:3px;font-size:9px}
.forge-recipe-materials span.ready{color:#64d99d}
.forge-recipe-materials span.missing{color:#d08275}
.forge-recipe-materials span.protected-input{color:#d8c778;font-weight:700;text-shadow:0 0 8px rgba(90,210,150,.22)}
.forge-craft-button{margin-top:auto;padding:8px;border:1px solid rgba(222,155,70,.55);border-radius:8px;background:linear-gradient(180deg,rgba(145,78,23,.75),rgba(76,40,15,.82));color:#ffe2a7;font-size:9px;font-weight:900;letter-spacing:.55px}
.forge-craft-button:disabled{opacity:.38;filter:grayscale(1)}
.forge-recipe-card.rarity-uncommon{border-color:rgba(75,199,122,.5)}
.forge-recipe-card.rarity-rare{border-color:rgba(79,159,255,.55)}
.forge-recipe-card.rarity-epic{border-color:rgba(184,108,255,.58)}
.forge-recipe-card.rarity-legendary{border-color:#f1b743;box-shadow:0 0 24px rgba(241,183,67,.18)}

.forge-item-card img.forge-item-icon{object-fit:contain;padding:3px;box-sizing:border-box}


/* RU ODYSSEY EQUIPMENT V1 */
.forge-item-controls{display:flex;flex-direction:column;gap:5px;align-items:stretch}
.forge-equip-button,.forge-unequip-button{padding:7px 8px;border:1px solid rgba(68,205,143,.48);border-radius:8px;background:rgba(22,119,82,.2);color:#75e6b1;font-size:8px;font-weight:900;letter-spacing:.4px}
.forge-equip-button:disabled{border-color:rgba(150,150,150,.28);background:rgba(90,90,90,.16);color:#8e8e8e;opacity:.72;filter:grayscale(1)}
.forge-equip-button:active,.forge-unequip-button:active{transform:scale(.97)}
.forge-equipment-slots{display:grid;gap:8px}
.forge-equipment-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border:1px solid rgba(205,160,92,.3);border-radius:12px;background:linear-gradient(145deg,rgba(43,28,14,.46),rgba(7,10,10,.92))}
.forge-equipment-art{display:grid;place-items:center;width:52px;height:52px;object-fit:contain;padding:3px;box-sizing:border-box;border-radius:10px;background:radial-gradient(circle,rgba(176,116,48,.18),rgba(255,255,255,.035));font-size:25px;filter:drop-shadow(0 6px 7px rgba(0,0,0,.55))}
.forge-equipment-info{display:flex;min-width:0;flex-direction:column;gap:4px}
.forge-equipment-info b{overflow:hidden;color:#f0dfbe;font-family:Georgia,"Times New Roman",serif;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.forge-equipment-info span{color:#8e887e;font-size:9px;text-transform:uppercase}
.forge-equipment-card.rarity-uncommon{border-left:3px solid #4bc77a}
.forge-equipment-card.rarity-rare{border-left:3px solid #4f9fff}
.forge-equipment-card.rarity-epic{border-left:3px solid #b86cff}
.forge-equipment-card.rarity-legendary{border-color:#f1b743;box-shadow:0 0 22px rgba(241,183,67,.18)}


/* RU ODYSSEY HERO EQUIPMENT LAYERS V1 */
.hunt-weapon-overlay{
    position:absolute;
    z-index:1;
    top:178px;
    left:-8%;
    width:min(75%,450px);
    height:auto;
    pointer-events:none;
    transform-origin:center bottom;
    filter:drop-shadow(0 18px 24px rgba(0,0,0,.74));
    animation:hunt-breathe 5.5s ease-in-out infinite;
}
@media (max-width:380px){
    .hunt-weapon-overlay{top:190px;width:78%}
}
@media (prefers-reduced-motion:reduce){
    .hunt-weapon-overlay{animation:none}
}


/* RU ODYSSEY WEAPON RARITY EFFECTS V1 */
.hunt-weapon-overlay.rarity-uncommon{
    filter:drop-shadow(0 18px 24px rgba(0,0,0,.74)) drop-shadow(0 0 8px rgba(63,210,126,.58));
}

.hunt-weapon-overlay.rarity-rare{
    filter:
        drop-shadow(0 18px 24px rgba(0,0,0,.74))
        drop-shadow(0 0 7px rgba(72,153,255,.95))
        drop-shadow(0 0 15px rgba(44,113,255,.62));
}

.hunt-weapon-overlay.rarity-epic{
    filter:
        drop-shadow(0 18px 24px rgba(0,0,0,.74))
        drop-shadow(0 0 8px rgba(190,103,255,.98))
        drop-shadow(0 0 19px rgba(138,56,255,.72));
}

.hunt-weapon-overlay.rarity-legendary{
    filter:
        drop-shadow(0 18px 24px rgba(0,0,0,.74))
        drop-shadow(0 0 8px rgba(255,213,91,1))
        drop-shadow(0 0 20px rgba(241,164,38,.88))
        drop-shadow(0 0 34px rgba(255,119,20,.46));
}


/* RU ODYSSEY FORGE LEVEL V1 */
.forge-level-button{width:100%;margin-top:13px;padding:9px 12px;border:1px solid rgba(229,157,66,.55);border-radius:9px;background:linear-gradient(180deg,rgba(151,79,23,.8),rgba(75,39,14,.86));color:#ffe0a3;font-family:Georgia,"Times New Roman",serif;font-size:10px;font-weight:900;letter-spacing:.7px}
.forge-level-button:disabled{opacity:.38;filter:grayscale(1)}
.forge-level-button:not(:disabled):active{transform:scale(.98)}
.forge-level-requirement{min-height:15px;margin-top:7px;color:#d2bd94;font-size:10px;font-weight:700;line-height:1.45;letter-spacing:.12px;text-align:center;text-shadow:0 1px 5px rgba(0,0,0,.9)}

/* RU ODYSSEY LEGENDARY GEM SOCKETS V1 */
.forge-item-sockets{display:flex;align-items:center;gap:5px;margin-top:3px}
.forge-item-socket{display:grid;place-items:center;width:18px;height:18px;box-sizing:border-box;border:1px solid rgba(242,185,67,.72);border-radius:4px;background:radial-gradient(circle,rgba(255,208,91,.16),rgba(22,13,4,.82));color:#ffd66e;font-size:14px;font-weight:900;line-height:1;box-shadow:0 0 8px rgba(241,183,67,.22),inset 0 0 5px rgba(255,219,121,.1)}
.forge-item-socket.empty{color:#cfa64e}
.forge-item-socket.filled{border-color:rgba(255,255,255,.72);font-size:11px;filter:saturate(1.15);transform:scale(1.06)}
.forge-item-socket.gem-power{background:radial-gradient(circle,rgba(255,77,77,.4),rgba(38,5,5,.9));box-shadow:0 0 9px rgba(255,74,74,.55)}
.forge-item-socket.gem-precision{background:radial-gradient(circle,rgba(255,220,56,.45),rgba(45,31,3,.92));box-shadow:0 0 9px rgba(255,213,55,.55)}
.forge-item-socket.gem-echo{background:radial-gradient(circle,rgba(60,153,255,.46),rgba(3,19,48,.92));box-shadow:0 0 9px rgba(63,151,255,.55)}
.forge-item-card.rarity-legendary{border-color:rgba(241,183,67,.78);box-shadow:0 0 18px rgba(241,183,67,.14)}
.forge-transfer-button:disabled{opacity:.48;filter:grayscale(.65)}

/* Expedition panorama mask hotfix */
.expedition-route-art::after,
.expedition-active-art::after {
    display: none !important;
}

/* Hard expedition panorama override */
.expedition-route-art,
.expedition-active-art {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.expedition-route-art::before,
.expedition-route-art::after,
.expedition-active-art::before,
.expedition-active-art::after {
    display: none !important;
}

/* Expedition panoramas rendered as real IMG elements */
.expedition-route-art,
.expedition-active-art {
    position: relative !important;
    background: #0b1511 !important;
}

.expedition-panorama {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.expedition-route-level,
.expedition-route-title,
.expedition-active-kicker,
.expedition-active-art > strong,
.expedition-progress {
    z-index: 3;
}

.expedition-route-art::before,
.expedition-route-art::after,
.expedition-active-art::before,
.expedition-active-art::after {
    display: none !important;
}

.expedition-route-art::marker,
.expedition-active-art::marker {
    display: none !important;
}

.expedition-route-art {
    min-height: 172px;
}

.expedition-route-title {
    padding-top: 36px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(2, 5, 4, .88) 55%,
        rgba(2, 5, 4, .96) 100%
    );
}
#hunt-pet-upgrade-button{display:grid;gap:6px;width:100%;min-height:58px;margin-top:10px;padding:10px 14px;line-height:1.2}
.forge-craft-hub{margin:12px 0;padding:11px;border:1px solid rgba(205,160,92,.32);border-radius:15px;background:linear-gradient(145deg,rgba(36,23,12,.52),rgba(5,8,8,.94));box-shadow:inset 0 0 24px rgba(211,133,47,.05)}
.forge-craft-hub-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.forge-craft-hub-head div{display:grid;gap:2px}.forge-craft-hub-head span{color:#9c8061;font-size:8px;font-weight:900;letter-spacing:1.5px}.forge-craft-hub-head b{color:#ead7af;font:700 14px Georgia,serif}.forge-craft-hub-head>strong{color:#d5b77f;font-size:9px;text-align:right}
.forge-craft-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:11px}.forge-craft-tab{display:grid;place-items:center;gap:2px;min-width:0;padding:8px 4px;border:1px solid rgba(205,160,92,.2);border-radius:10px;background:rgba(255,255,255,.025);color:#8d877d}.forge-craft-tab>span{font-size:19px}.forge-craft-tab>b{font-size:9px;letter-spacing:.55px}.forge-craft-tab>small{font-size:7px;text-transform:uppercase}.forge-craft-tab.is-active{border-color:rgba(229,157,66,.7);background:linear-gradient(180deg,rgba(143,76,25,.48),rgba(50,29,14,.7));color:#ffe1a7;box-shadow:0 0 15px rgba(211,130,42,.12)}
.forge-craft-panel[hidden]{display:none}.forge-craft-panel.is-active{display:block}.forge-craft-panel>.forge-section-head{margin:0 0 9px}.forge-future-card{display:grid;grid-template-columns:48px 1fr;gap:11px;align-items:start;padding:13px;border:1px dashed rgba(205,160,92,.32);border-radius:12px;background:rgba(2,5,5,.38)}.forge-future-card>span{display:grid;width:46px;height:46px;place-items:center;border-radius:11px;background:radial-gradient(circle,rgba(177,108,220,.2),rgba(255,255,255,.03));font-size:25px}.forge-future-card div{display:grid;gap:5px}.forge-future-card b{color:#e4cfaa;font:700 13px Georgia,serif}.forge-future-card p{margin:0;color:#aaa093;font-size:10px;line-height:1.45}.forge-future-card small{color:#756f67;font-size:8px;line-height:1.4}
.gem-workshop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid rgba(126,197,221,.28);border-radius:12px;background:linear-gradient(145deg,rgba(20,57,65,.46),rgba(8,12,13,.92))}.gem-workshop-head>div{display:flex;align-items:center;gap:9px}.gem-workshop-head>div>span{font-size:27px}.gem-workshop-head>div>div{display:grid;gap:2px}.gem-workshop-head b{color:#bcdde2;font-size:9px;letter-spacing:.7px}.gem-workshop-head strong{color:#fff0bd;font:700 18px Georgia,serif}.gem-workshop-head button{padding:9px 10px;border:1px solid rgba(91,211,177,.55);border-radius:9px;background:#126650;color:#fff;font-size:9px;font-weight:900}.gem-workshop-head button:disabled{opacity:.42;filter:grayscale(.65)}
.gem-workshop-note{margin:9px 2px;color:#918b82;font-size:9px;line-height:1.45}.gem-list{display:grid;gap:8px}.gem-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.025)}.gem-card-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:10px;background:rgba(255,255,255,.045);font-size:22px}.gem-card>div{display:grid;gap:2px}.gem-card>div small{color:#837c72;font-size:7px;text-transform:uppercase}.gem-card>div b{color:#ecddbd;font:700 11px Georgia,serif}.gem-card>div p{margin:0;color:#a69d91;font-size:9px}.gem-card>strong{color:#f2d38f;font-size:12px}.gem-card>button,.gem-max-tier{grid-column:2/4;padding:7px;border:1px solid rgba(211,153,76,.38);border-radius:8px;background:rgba(116,67,27,.22);color:#e9c88f;font-size:8px;font-weight:900;text-align:center}.gem-card>button:disabled{opacity:.35}.gem-max-tier{color:#b495d4;border-color:rgba(171,112,216,.34)}.gem-card.rarity-rare{border-left:3px solid #4f9fff}.gem-card.rarity-epic{border-left:3px solid #b86cff}.gem-card.rarity-legendary{border-color:#f1b743;box-shadow:0 0 16px rgba(241,183,67,.12)}.gem-empty{padding:16px;border:1px dashed rgba(205,160,92,.24);border-radius:11px;color:#827b71;font-size:10px;line-height:1.45;text-align:center}.gem-message{min-height:17px;padding-top:7px;color:#71d8b8;font-size:9px;text-align:center}.gem-message.is-error{color:#e69586}
.gem-socket-title{display:flex;justify-content:space-between;gap:10px;margin:15px 2px 8px;color:#b9a278;font-size:8px;font-weight:900}.gem-socket-title b{color:#857d70;font-size:8px}.gem-weapons{display:grid;gap:9px}.gem-weapon{padding:10px;border:1px solid rgba(241,183,67,.34);border-radius:12px;background:linear-gradient(145deg,rgba(42,29,14,.45),rgba(5,8,8,.92))}.gem-weapon>header>div{display:flex;justify-content:space-between;gap:8px}.gem-weapon>header b{color:#f0d59b;font:700 12px Georgia,serif}.gem-weapon>header small{color:#8d8374;font-size:8px}.gem-slots{display:grid;gap:6px;margin-top:9px}.gem-slot{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(0,0,0,.24)}.gem-slot>span{display:grid;width:28px;height:28px;place-items:center;border:1px solid rgba(222,174,77,.38);border-radius:7px;color:#d8ae57;font-size:18px}.gem-slot select{min-width:0;padding:7px;border:1px solid rgba(255,255,255,.12);border-radius:7px;background:#101514;color:#d8d1c5;font-size:8px}.gem-slot button{padding:7px;border:1px solid rgba(71,202,154,.4);border-radius:7px;background:rgba(19,104,79,.42);color:#9ee5c9;font-size:7px;font-weight:900}.gem-slot button:disabled{opacity:.35}.gem-slot.is-filled>div{display:grid;gap:2px}.gem-slot.is-filled>div b{color:#e6d4ae;font-size:9px}.gem-slot.is-filled>div small{color:#918a7f;font-size:8px}
#hunt-pet-upgrade-button strong{font:900 11px/1.25 inherit;letter-spacing:.25px}
#hunt-pet-upgrade-button small{color:#d7e4df;font-size:10px;font-weight:800}
#hunt-pet-upgrade-button.needs-xp:disabled{opacity:1;border-color:rgba(211,174,91,.45);background:linear-gradient(180deg,rgba(73,65,39,.58),rgba(25,31,26,.94));color:#f0dfb5}
.pet-xp-track{display:block;width:100%;height:7px;overflow:hidden;border:1px solid rgba(238,216,159,.28);border-radius:999px;background:#07100f}
.pet-xp-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2dbb91,#d6b35d);box-shadow:0 0 8px rgba(67,213,169,.32)}
.hunt-pet-card{display:block;width:100%;box-sizing:border-box;text-align:left;font:inherit;cursor:pointer}.hunt-pet-card-hint{margin-top:7px;color:#6ed7ba;font-size:7px;font-weight:900}.hunt-pet-symbol{position:absolute;z-index:2;top:455px;right:3%;font-size:clamp(72px,25vw,132px)}
.menagerie-modal,.expedition-confirm-modal{position:fixed;z-index:100002;inset:0;display:grid;align-items:end}.menagerie-modal[hidden],.expedition-confirm-modal[hidden]{display:none}.menagerie-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.78);backdrop-filter:blur(6px)}.menagerie-panel,.expedition-confirm-panel{position:relative;z-index:1;width:min(100%,620px);max-height:calc(100dvh - 12px);margin:auto 0 0;overflow-y:auto;box-sizing:border-box;padding:17px 14px calc(24px + env(safe-area-inset-bottom));border:1px solid rgba(101,218,180,.34);border-radius:22px 22px 0 0;background:#07100f;color:#eef5f1}.menagerie-panel>header{display:flex;justify-content:space-between}.menagerie-panel h2,.expedition-confirm-panel h2{margin:2px 0;color:#f3d89f;font:700 26px Georgia,serif}.menagerie-panel>header>button{width:36px;height:36px;border-radius:50%;border:0;background:#14201d;color:#fff;font-size:24px}.menagerie-intro{color:#a8b9b3;font-size:12px;line-height:1.45}.menagerie-grid{display:grid;gap:10px}.menagerie-pet{display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:#0b1412}.menagerie-pet.is-active{border-color:#4ce2b2}.menagerie-pet-art{position:relative;display:grid;width:78px;height:78px;place-items:center;overflow:hidden;border-radius:15px;background:#111b18;font-size:34px;box-shadow:inset 0 0 0 1px rgba(238,216,159,.12)}.menagerie-pet-art img{display:block;width:100%;height:100%;object-fit:cover}.menagerie-pet-art i{position:absolute;right:4px;bottom:4px;display:grid;width:21px;height:21px;place-items:center;border-radius:50%;background:rgba(4,10,9,.9);font-style:normal;font-size:13px}.menagerie-pet-copy>span{color:#65c9aa;font-size:9px;font-weight:800}.menagerie-pet-copy h3{margin:3px 0;color:#f0e0bd;font:700 16px Georgia,serif}.menagerie-pet-copy p{margin:4px 0;color:#b2c0bb;font-size:11px;line-height:1.35}.menagerie-pet-copy small{display:block;color:#82968f;font-size:9px;line-height:1.35}.menagerie-pet>button{min-width:70px;padding:10px 8px;border:1px solid #3cab8a;border-radius:9px;background:#115d4c;color:#fff;font-size:9px;font-weight:900}.menagerie-pet>button:disabled{opacity:.55}.menagerie-message{min-height:18px;color:#71d8b8;font-size:11px;text-align:center}.menagerie-message.is-error{color:#e69586}.expedition-confirm-panel #expedition-confirm-pet{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:11px;margin:13px 0;padding:13px;border:1px solid #295b4b;border-radius:13px}.expedition-confirm-pet-art{width:64px;height:64px;overflow:hidden;border-radius:13px;background:#111b18}.expedition-confirm-pet-art img{display:block;width:100%;height:100%;object-fit:cover}.expedition-confirm-panel #expedition-confirm-pet b{display:block;color:#f0e0bd;font:700 16px Georgia,serif}.expedition-confirm-panel #expedition-confirm-pet span{display:block;margin-top:4px;color:#aebdb8;font-size:11px;line-height:1.4}.expedition-confirm-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:8px}.expedition-confirm-actions button{padding:12px;border:1px solid #41504b;border-radius:10px;background:#111a17;color:#fff}.expedition-confirm-actions #expedition-confirm-start{background:#126650}body.menagerie-open .bottom-nav,body.expedition-confirm-open .bottom-nav{visibility:hidden!important}@media(max-width:380px){.menagerie-pet{grid-template-columns:70px minmax(0,1fr)}.menagerie-pet-art{width:70px;height:70px}.menagerie-pet>button{grid-column:2;width:100%;margin-top:2px}}
.rune-workshop-head{display:flex;gap:12px;padding:14px;border:1px solid rgba(169,114,255,.34);border-radius:14px;background:rgba(52,26,73,.28);margin-bottom:12px}.rune-workshop-head>span{font-size:30px}.rune-workshop-head b{display:block;color:#ead8ff;font-family:Georgia,serif;font-size:15px}.rune-workshop-head p{margin:5px 0;color:#c8bdce;font-size:12px;line-height:1.35}.rune-workshop-head small{color:#a994b8}.rune-list{display:grid;gap:9px}.rune-card{display:flex;gap:11px;padding:12px;border:1px solid rgba(123,102,139,.28);border-radius:13px;background:rgba(8,12,15,.55);opacity:.72}.rune-card.is-owned{opacity:1;border-color:rgba(169,114,255,.68);box-shadow:inset 0 0 22px rgba(122,61,180,.12)}.rune-card>span{font-size:27px}.rune-card small,.rune-card b,.rune-card p,.rune-card em{display:block}.rune-card small{color:#b68adb;font-size:9px;text-transform:uppercase}.rune-card b{color:#f0dfc0;font:700 15px Georgia,serif;margin:2px 0 4px}.rune-card p{color:#b8b1bb;font-size:11px;line-height:1.35;margin:0 0 6px}.rune-card em{color:#a77bd0;font-size:10px;font-style:normal}.rune-rule{padding:10px;color:#aa9eb0;font-size:10px;text-align:center}
.menagerie-pet .pet-source-button{font-size:8px;line-height:1.15;white-space:normal;max-width:82px;padding:10px 7px;color:#b7a8c3;border-color:rgba(166,118,199,.28);background:rgba(79,48,96,.22)}.menagerie-pet-copy .pet-source-label{color:#c49ce0;font-size:10px}
