/* Eikenhaven: a clear, thumb-friendly interface with the existing gold and leather palette. */
.partyRoster{display:grid;gap:9px;margin:16px 0}
.partyPlayer,.partyRally{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #b2986355;border-radius:9px;background:#211d1777}
.partyPlayer>div,.partyRally>div{flex:1;min-width:0}
.partyPlayer b,.partyRally b{display:block;font:700 14px/1.4 system-ui,sans-serif;color:#f2dfb6;overflow-wrap:anywhere}
.partyPlayer small,.partyRally small{display:block;font:12px/1.5 system-ui,sans-serif;color:#d1c4aa;margin-top:4px}
.partyPortrait{display:flex;align-items:center;justify-content:center;flex:none;width:35px;height:42px;border-radius:8px;border:1px solid var(--party-color,#b8c591);background:#151b1680;color:var(--party-color,#b8c591);font-size:28px}
.comfortUi .partyPlayer button,.comfortUi .partyRally button{flex:none;min-width:65px;padding:10px}
.partyRally{margin:9px 0;border-color:#d7b36780}
.rallyChoices{display:grid;gap:7px;margin:10px 0}
.comfortUi .rallyChoices button{text-align:left;padding:11px 13px;background:#3b352780}
.comfortUi .groupEncounter>.secondary{width:100%;margin-top:8px;padding:10px 8px}
.craftQuantity{padding:13px;margin:15px 0;border:1px solid #b3976455;border-radius:9px;background:#24201780}
.craftQuantity>b{font:700 14px system-ui;color:#f1ddad}
.craftQuantity>.menuTabs{margin:10px 0}
.craftQuantity small{font:12px/1.6 system-ui;color:#d5c8ad}
.comfortUi .recipe .supplyYield{color:#d8e1b3;font-weight:600}
#hud.comfortHud .onlineStatus[data-rally=true]{box-shadow:inset 0 0 0 1px #e6c06e,0 0 10px #edc37335!important}
@media(max-width:370px){.partyPlayer,.partyRally{padding:11px 9px;gap:8px}.partyPortrait{width:27px;height:35px;font-size:23px}.comfortUi .partyPlayer button,.comfortUi .partyRally button{min-width:56px;padding:8px}.comfortUi .recipe{gap:8px}.comfortUi .recipe>div{min-width:0}}
[hidden]{display:none!important}
.comfortUi button:focus-visible{outline:3px solid #ffe3a2;outline-offset:3px}
.comfortUi button:disabled{cursor:default;opacity:.48}
.comfortUi .panel{border:1px solid #aa8856;border-radius:12px;background:linear-gradient(150deg,#493e30,#29241d);box-shadow:inset 0 0 0 3px #211b1366,0 20px 70px #0008;max-width:calc(100vw - 28px)}
.comfortUi .panel h2{font-size:27px;line-height:1.3;color:#f2d89b}
.comfortUi .panel p{font:14px/1.75 system-ui,sans-serif;color:#eee3cd}
.comfortUi .panel .muted{font:12px/1.6 system-ui,sans-serif!important;color:#d4c6ad!important}
.comfortUi .panel button{min-height:44px;font:600 13px/1.35 system-ui,sans-serif;border-radius:7px;touch-action:manipulation}
.comfortUi .panel .close{width:44px;height:44px;border-radius:8px;font-size:27px;top:10px;right:10px}
.comfortUi .panel h2{margin-right:40px}
.comfortUi .panel h3{color:#eed09b}
.comfortUi #modalFeedback:not(:empty){border:1px solid #c8ae6b80;border-radius:7px;background:#273825;color:#eef1ca;padding:11px 13px;font:14px/1.5 system-ui,sans-serif;margin:3px 45px 12px 0}
.comfortUi .menuTabs{flex-wrap:wrap}
.comfortUi .menuTabs button[aria-pressed=true]{background:linear-gradient(#897043,#604c2f);border-color:#e4c381;color:#fff4dc}
.comfortUi .recipe small,.comfortUi .atlasCard small{font:13px/1.6 system-ui,sans-serif;color:#ded0b6}
.comfortUi .recipe b,.comfortUi .atlasCard b{font-size:17px}
.comfortUi .welcome{border-radius:14px;border:1px solid #b59964;background:linear-gradient(145deg,#4e422fe8,#231f19f7)}
.comfortUi .welcome p{color:#f2e7d2;line-height:1.6}
.comfortUi .welcome .note{font:12px/1.6 system-ui,sans-serif;color:#d5c7ae}
.comfortUi .playerField{font:14px/1.5 system-ui,sans-serif;color:#efdfbf}
.comfortUi .playerField input{font-size:16px;border-radius:7px;min-height:48px}
.comfortUi .welcome .primary{min-height:50px;font-size:15px;border-radius:8px}

#hud.comfortHud nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(420px,calc(100% - 32px));gap:5px;padding:5px;border:1px solid #b0966577;border-radius:13px;background:linear-gradient(#433a2eef,#29251ef5);box-shadow:0 6px 22px #0004}
#hud.comfortHud nav .secondaryNav{display:none}
#hud.comfortHud nav button{height:56px;min-width:0;border-radius:8px;background:linear-gradient(#5d503933,#322c2255);border-color:#b596632a;gap:4px}
#hud.comfortHud nav small{font:600 12px/1.2 system-ui,sans-serif;color:#f4ead4}
#hud.comfortHud nav .classicIcon{width:24px;height:26px;color:#e9d39d}
#hud.comfortHud .stats{border:1px solid #b0966566;border-radius:9px;background:#302c22e8;box-shadow:inset 0 1px #ffffff0d,0 3px 12px #0002}
#hud.comfortHud .stats small{font:11px/1.4 system-ui,sans-serif;color:#e3d9c4}
#hud.comfortHud .headerActions .square{width:44px;height:44px;min-width:44px;border-radius:9px;font-size:21px;border:1px solid #b69b6477}
#hud.comfortHud #cameraControls button{width:44px;height:44px;border-radius:8px}
#hud.comfortHud #resources{border-radius:9px;border-color:#a38a5c55;background:#302b22d9;font:12px/1.4 system-ui,sans-serif}
#hud.comfortHud #target{display:none}
#hud.comfortHud #actions{width:148px;height:152px;right:max(20px,env(safe-area-inset-right));bottom:max(130px,calc(env(safe-area-inset-bottom) + 118px))}
#hud.comfortHud #actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid #b5a07699;background:linear-gradient(#594b36ef,#332d24f5);box-shadow:0 3px 12px #0004!important;touch-action:none}
#hud.comfortHud #actions small{font:600 11px/1.2 system-ui,sans-serif;color:#f4ead4;margin:0}
#hud.comfortHud #actions #act{right:0;bottom:0;top:auto;left:auto;width:84px;height:84px;border:2px solid #dbc086;border-radius:50%!important;background:linear-gradient(135deg,#9c8150,#4c563b)}
#hud.comfortHud #actions #act.hasTarget{background:linear-gradient(135deg,#ba9b5e,#596d43);box-shadow:0 0 0 4px #e7cf9520,0 4px 16px #0004!important}
#hud.comfortHud #actions #actGlyph .classicIcon{width:32px;height:35px}
#hud.comfortHud #actions #bowShot{display:none}
#hud.comfortHud #actions #weaponCycle{left:0;top:0;right:auto;bottom:auto;width:55px;height:55px;border-radius:50%;color:#e9d39d}
#hud.comfortHud #actions #weaponCycle .classicIcon{width:24px;height:25px}
#hud.comfortHud #actions #dodge{left:0;top:auto;right:auto;bottom:9px;width:55px;height:55px;font-size:24px}
#hud.comfortHud #actions #magic{right:0;left:auto;top:0;bottom:auto;width:55px;height:55px}
#hud.comfortHud #actions #bowAuto{right:0;left:auto;top:3px;bottom:auto;width:80px;height:47px;font:600 12px/1.2 system-ui,sans-serif!important;border-radius:10px}
#hud.comfortHud #actions #bowAuto[aria-pressed=true]{color:#fff2c7;background:linear-gradient(#7b8247,#465432);border-color:#ced491}
#hud.comfortHud .quickEat{width:54px;height:54px;border-radius:50%;left:43px;bottom:max(253px,calc(env(safe-area-inset-bottom) + 241px));border-color:#b9a379;background:linear-gradient(#554b33,#303322)}
#hud.comfortHud .quickEat small{font:600 11px/1.2 system-ui,sans-serif;color:#f4ead4}
#hud.comfortHud #targetMeter{left:21px;transform:none;width:104px;bottom:max(318px,calc(env(safe-area-inset-bottom) + 306px));padding:5px 7px;border-radius:7px}
#hud.comfortHud #targetMeter.enemy{display:none}
#hud.comfortHud #joystick{left:20px;bottom:max(130px,calc(env(safe-area-inset-bottom) + 118px));width:104px;height:104px}
#hud.comfortHud #stick{width:42px;height:42px;left:29px;top:29px}
#hud.comfortHud #targetCount{font:11px/1.4 system-ui,sans-serif}
#hud.comfortHud #waypoint{top:196px;max-width:min(360px,calc(100% - 32px));min-height:44px;padding:4px 5px 4px 12px;gap:8px;border-radius:10px;border:1px solid #c9b27a9c;background:#302d22ee;font:600 13px/1.4 system-ui,sans-serif;color:#f4e3b5;box-shadow:0 4px 16px #0003;pointer-events:auto}
#hud.comfortHud #waypointText{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#hud.comfortHud #waypointArrow{color:#f4d17c;font-size:19px}
#hud.comfortHud #stopRoute{flex:none;width:40px;height:40px;min-width:40px;padding:0;font-size:22px;border:0;background:transparent;border-radius:7px;color:#ecdfc4}
#hud.comfortHud #lockedTarget{position:absolute;top:140px;left:50%;transform:translateX(-50%);width:min(330px,calc(100% - 32px));display:flex;gap:10px;align-items:center;padding:8px 6px 8px 12px;pointer-events:auto;border:1px solid #e8b78599;border-radius:11px;background:#3d3028f2;box-shadow:0 4px 14px #0003;color:#f8e4c5}
#lockedTarget>div{flex:1;min-width:0}
#lockedTarget b{font:700 14px/1.35 system-ui,sans-serif;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#lockedTarget small{font:12px/1.5 system-ui,sans-serif;display:block;color:#e3c5a5}
#lockedTarget .track{height:4px;background:#1d1814;margin-top:4px}
#lockedTarget .track i{background:linear-gradient(90deg,#ca7454,#efbf82)}
#lockedTarget #clearTarget{flex:none;width:44px;height:44px;font-size:24px;background:transparent;border:0;color:#eddec6;border-radius:8px}
#hud.comfortHud.hasCombatTarget #waypoint{top:223px}
.adventureMenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.comfortUi .adventureMenu button{display:grid;grid-template-columns:32px 1fr;align-items:center;column-gap:10px;text-align:left;min-height:82px;padding:13px;background:linear-gradient(#5a4c3555,#2c261d99);border:1px solid #b4986155}
.adventureMenu .classicIcon{width:28px;height:30px;grid-row:1/3;color:#e2c587}
.adventureMenu b{font:700 15px/1.35 system-ui,sans-serif;color:#f3e3c1}
.adventureMenu small{font:12px/1.5 system-ui,sans-serif;color:#d4c6ad}
.helpSteps{list-style:none;counter-reset:step;padding:0;margin:16px 0;display:grid;gap:12px}
.helpSteps li{counter-increment:step;display:grid;grid-template-columns:30px 1fr;column-gap:10px;padding:14px;border-radius:9px;background:#211e1899;border:1px solid #b79c5e40}
.helpSteps li:before{content:counter(step);grid-row:1/3;display:flex;align-items:center;justify-content:center;width:27px;height:27px;border:1px solid #b99b64;border-radius:50%;font:600 13px system-ui;color:#e9ce8b}
.helpSteps b{font:700 15px/1.4 system-ui,sans-serif;color:#f2dcaf}
.helpSteps span{font:14px/1.6 system-ui,sans-serif;color:#e0d4be;margin-top:4px}
.comfortUi .bagTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:3px 0 13px;font:13px/1.5 system-ui,sans-serif;color:#e2d1aa}
.bagTop .classicIcon{width:18px;height:20px;vertical-align:middle;color:#edcf6f;margin-right:4px}
.comfortUi .bagTabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:14px 0}
.comfortUi .bagTabs button{min-width:0;padding:8px 3px;font-size:12px}
.comfortUi .bagSearch{display:flex;flex-direction:column;gap:6px;font:12px/1.5 system-ui,sans-serif;color:#ded0b6;margin:15px 0 10px}
.comfortUi .bagSearch input{width:100%;min-height:46px;border:1px solid #b098625c;border-radius:8px;background:#201d17;color:#f7ecd6;font:16px/1.4 system-ui,sans-serif;padding:10px 12px}
.comfortUi .bagSearch input:focus{outline:2px solid #e4c381;outline-offset:2px}
.comfortUi .bagSearch input::placeholder{color:#b9ac92}
.comfortUi .inventoryHeading{margin-top:15px}
.comfortUi .inventoryHeading>span,.comfortUi .inventoryHeading small{font:12px/1.5 system-ui,sans-serif;color:#ddceae;letter-spacing:0}
.comfortUi .classicInventory{border:1px solid #9b825657;border-radius:10px;background:#231f1899;box-shadow:none;padding:7px;gap:6px}
.comfortUi .panel .inventorySlot{min-height:91px;border:1px solid #9b82564d;border-radius:8px;background:radial-gradient(circle at 50% 25%,#62553833,#29241b99);padding:20px 5px 8px}
.comfortUi .inventorySlot>small{font:12px/1.3 system-ui,sans-serif;color:#efdfc0;overflow-wrap:anywhere}
.comfortUi .inventorySlot>b{font:700 12px/1.4 system-ui,sans-serif;color:#f1d18b;top:3px;left:6px}
.comfortUi .inventoryDetail{padding:14px;margin:12px 0 5px;border:1px solid #b6976355;border-radius:9px;background:#211d1788}
.comfortUi .inventoryDetail b{font:700 16px/1.4 system-ui,sans-serif;color:#f1d6a0}
.comfortUi .inventoryDetail span{font:14px/1.6 system-ui,sans-serif;color:#e2d4b9}
.comfortUi .inventoryDetail .menuTabs{margin-top:12px}
.comfortUi .emptyInventory{grid-column:1/-1;padding:15px 5px;text-align:center}
.comfortUi .quickOutfits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:15px 0}
.comfortUi .quickOutfits button{padding:13px;text-align:left;background:#322c2299;border:1px solid #a88e5e55}
.quickOutfits b,.quickOutfits small{display:block;font:600 14px/1.5 system-ui,sans-serif;color:#efdfc1}
.quickOutfits small{font-weight:400;color:#d8c8ac;margin-top:4px}
.quickOutfits .classicIcon{width:23px;height:25px;color:#e3c789;margin-bottom:5px}
.quickOutfits button[aria-pressed=true]{border-color:#e5cb87;background:#6b623740}
.comfortUi .equipmentStats{padding:12px 15px;background:#241f1888;border:1px solid #ab8d5455;border-radius:9px}

@media(orientation:portrait) and (max-width:900px){
  #hud.comfortHud{padding:12px 14px}
  #hud.comfortHud #settings,#hud.comfortHud #fullscreen,#hud.comfortHud #pause{display:none}
  #hud.comfortHud .brand{max-width:calc(100% - 139px);min-width:0;gap:7px}
  #hud.comfortHud .brand .crest{display:none}
  #hud.comfortHud .brand b{font-size:18px;letter-spacing:1.4px}
  #hud.comfortHud .brand small{font:10px/1.5 system-ui,sans-serif;letter-spacing:.4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #hud.comfortHud .headerActions{gap:6px}
  #hud.comfortHud .onlineStatus{max-width:90px;min-height:44px;padding:6px 9px!important;font:600 11px/1.2 system-ui,sans-serif!important;overflow:hidden}
  #hud.comfortHud .stats{top:76px;left:14px;width:166px;padding:9px 10px}
  #hud.comfortHud .stats>div{margin-bottom:5px}
  #hud.comfortHud .stats b{font:600 13px/1.3 system-ui,sans-serif}
  #hud.comfortHud #classicStatus{display:none}
  #hud.comfortHud #miniMapButton{top:76px;right:16px;width:90px;height:90px;border-width:4px}
  #hud.comfortHud #cameraControls{display:none}
  #hud.comfortHud nav{bottom:max(13px,env(safe-area-inset-bottom))}
  #hud.comfortHud #joystick{left:20px;bottom:max(130px,calc(env(safe-area-inset-bottom) + 118px));width:104px;height:104px}
  #hud.comfortHud #stick{width:42px;height:42px;left:29px;top:29px}
  #hud.comfortHud #resources{bottom:max(88px,calc(env(safe-area-inset-bottom) + 76px));top:auto;left:50%;right:auto;transform:translateX(-50%);display:flex;gap:11px;padding:6px 12px}
  #hud.comfortHud #waypoint{top:179px;font-size:12px}
  #hud.comfortHud #lockedTarget{top:177px}
  #hud.comfortHud.hasCombatTarget #waypoint{top:260px}
  #hud.comfortHud .quest{top:176px;width:calc(100% - 32px);left:16px}
  #hud.comfortHud.hasCombatTarget .quest,#hud.comfortHud.hasRoute .quest{display:none}
  #hud.comfortHud #boss{top:179px;font-size:14px}
  #hud.comfortHud.hasCombatTarget #boss,#hud.comfortHud.hasRoute #boss{display:none}
  #hud.comfortHud #toast{top:237px}
  #hud.comfortHud #skillNotice{top:276px}
  .comfortUi .panel{padding:21px 16px;max-height:calc(100dvh - 28px)}
  .comfortUi .panel h2{font-size:25px}
}
@media(orientation:portrait) and (max-height:660px){
  #hud.comfortHud #joystick,#hud.comfortHud #actions{bottom:max(113px,calc(env(safe-area-inset-bottom) + 101px))}
  #hud.comfortHud .quickEat{bottom:max(237px,calc(env(safe-area-inset-bottom) + 225px))}
  #hud.comfortHud #targetMeter{bottom:300px}
  #hud.comfortHud #resources{bottom:82px}
  #hud.comfortHud #lockedTarget{padding-top:5px;padding-bottom:5px}
  #hud.comfortHud.hasCombatTarget #waypoint{top:247px;left:auto;right:14px;transform:none;max-width:calc(100% - 126px);min-height:36px;padding-top:1px;padding-bottom:1px}
  #hud.comfortHud .welcome{padding:20px 22px}
}
@media(orientation:portrait) and (max-width:370px){
  #hud.comfortHud .brand b{font-size:16px;letter-spacing:1px}
  #hud.comfortHud .stats{width:151px}
  #hud.comfortHud #joystick{left:14px;width:94px;height:94px}
  #hud.comfortHud #stick{left:24px;top:24px}
  #hud.comfortHud #actions{right:14px;width:142px}
  #hud.comfortHud #targetMeter{left:14px;width:94px}
  #hud.comfortHud nav small{font-size:11px}
  .comfortUi .classicInventory{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(orientation:landscape) and (max-height:650px){
  #hud.comfortHud #settings,#hud.comfortHud #fullscreen,#hud.comfortHud #pause{display:none}
  #hud.comfortHud .brand{max-width:calc(100% - 150px)}
  #hud.comfortHud .brand small{font-size:10px}
  #hud.comfortHud .onlineStatus{min-height:44px;max-width:100px}
  #hud.comfortHud .stats{top:66px;left:max(16px,env(safe-area-inset-left));width:153px;padding:7px 10px}
  #hud.comfortHud .stats small{font-size:10px}
  #hud.comfortHud #classicStatus,#hud.comfortHud #cameraControls{display:none}
  #hud.comfortHud #miniMapButton{top:65px;width:88px;height:88px;right:max(20px,env(safe-area-inset-right));border-width:4px}
  #hud.comfortHud nav{width:min(370px,calc(100% - 302px));bottom:max(12px,env(safe-area-inset-bottom))}
  #hud.comfortHud nav button{height:53px}
  #hud.comfortHud nav small{font-size:11px}
  #hud.comfortHud #actions{bottom:max(18px,env(safe-area-inset-bottom));right:max(20px,env(safe-area-inset-right));height:140px}
  #hud.comfortHud #actions #act{width:80px;height:80px}
  #hud.comfortHud #actions #dodge{bottom:4px}
  #hud.comfortHud #joystick{left:max(23px,env(safe-area-inset-left));bottom:max(18px,env(safe-area-inset-bottom));width:96px;height:96px}
  #hud.comfortHud #stick{left:25px;top:25px}
  #hud.comfortHud .quickEat{left:44px;bottom:133px;width:50px;height:50px}
  #hud.comfortHud #targetMeter{left:20px;width:100px;bottom:189px}
  #hud.comfortHud #waypoint{top:70px;width:max-content;max-width:calc(100% - 370px);font-size:12px}
  #hud.comfortHud #lockedTarget{top:65px;width:calc(100% - 370px);max-width:330px}
  #hud.comfortHud.hasCombatTarget #waypoint{top:147px}
  #hud.comfortHud .quest{top:65px;right:135px;width:220px}
  #hud.comfortHud.hasCombatTarget .quest,#hud.comfortHud.hasRoute .quest{display:none}
  #hud.comfortHud #boss{top:70px;max-width:calc(100% - 380px)}
  #hud.comfortHud.hasCombatTarget #boss,#hud.comfortHud.hasRoute #boss{display:none}
  #hud.comfortHud #resources{bottom:83px;font-size:11px}
  #hud.comfortHud #toast{top:205px}
  #hud.comfortHud #skillNotice{top:246px}
  .comfortUi .panel{max-height:calc(100dvh - 24px)}
}
@media(orientation:landscape) and (max-width:660px){
  #hud.comfortHud nav{width:calc(100% - 240px);gap:2px;padding:4px}
  #hud.comfortHud nav .classicIcon{width:19px;height:22px}
  #hud.comfortHud nav small{font-size:10px}
  #hud.comfortHud #actions{right:12px;width:128px;height:135px}
  #hud.comfortHud #actions #act{width:71px;height:71px}
  #hud.comfortHud #actions #weaponCycle,#hud.comfortHud #actions #dodge,#hud.comfortHud #actions #magic{width:49px;height:49px}
  #hud.comfortHud #actions #bowAuto{width:72px;height:44px}
  #hud.comfortHud #joystick{left:14px;width:82px;height:82px}
  #hud.comfortHud #stick{width:36px;height:36px;left:21px;top:21px}
  #hud.comfortHud #lockedTarget{width:calc(100% - 360px);top:64px}
  #hud.comfortHud #waypoint{max-width:calc(100% - 360px);width:calc(100% - 360px)}
  #hud.comfortHud .quickEat{left:29px;bottom:112px}
}
@media(orientation:landscape) and (max-height:360px){#hud.comfortHud #targetMeter{display:none!important}}
@media(prefers-reduced-motion:reduce){.comfortUi button,.comfortUi .panel{transition:none!important;animation:none!important}}

/* Keep active gathering and low health readable without extra popup panels. */
#hud.comfortHud #actions #act.taskActive{
  border:3px solid transparent;
  background:linear-gradient(135deg,#695b37,#374c39) padding-box,
    conic-gradient(#ffe1a0 calc(var(--gather-progress,0)*1turn),#71836b 0) border-box;
  box-shadow:0 0 0 3px #f2ce8033,0 4px 16px #0004!important;
}
#hud.comfortHud #actions #act.taskActive small{color:#ffe5ad}
#hud.comfortHud #actions #act.taskActive #actGlyph{font-size:23px;color:#ffedbb}
#hud.comfortHud.lowHealth .stats{border-color:#e59779;box-shadow:0 0 0 2px #c2624426,0 4px 14px #0004}
#hud.comfortHud.lowHealth .quickEat:not(:disabled){border:2px solid #efb183;background:linear-gradient(#825336,#47372b)}
#hud.comfortHud #weaponCycle[data-weapon=staff]{border-color:#a3d4d5;color:#d0f0ed}

/* Shared adventures keep the four main navigation buttons. */
.groupEncounters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.groupEncounter{border:1px solid var(--encounter);border-radius:14px;padding:16px;background:linear-gradient(150deg,#333329,#23271f)}.groupEncounter>small{color:var(--encounter)}.groupEncounter h3{margin:8px 0}.groupEncounter p{line-height:1.5}.secretProgress{display:flex;gap:18px;justify-content:center;font-size:30px;color:#d9c28b;margin:20px 0}.talkHold{touch-action:none;user-select:none;-webkit-user-select:none}.talkHold[aria-pressed=true]{background:#6c8249}.fieldTalk{position:fixed;left:max(16px,env(safe-area-inset-left));bottom:220px;z-index:8;min-height:44px;padding:10px 14px;border-radius:12px;border:1px solid #b8a16c;background:#3b4431;color:#f2e6cb}.fieldTalk[hidden]{display:none}.talkHold:active{background:#72865a}.groupEncounter button{width:100%}
@media(max-width:740px){.groupEncounters{grid-template-columns:1fr}.groupEncounter{padding:14px}.fieldTalk{bottom:220px;max-width:160px;font-size:13px}}
@media(orientation:landscape) and (max-height:560px){.fieldTalk{bottom:145px;left:18px;max-width:140px}}

/* Entry to the optional wilderness adventure. */
.comfortUi .welcome .wildernessLink{display:block;margin:12px 0 0;padding:12px 14px;border:1px solid #b4986177;border-radius:10px;background:#322b2099;color:#f3dfb4;text-decoration:none;font:600 14px/1.4 system-ui,sans-serif;text-align:center;touch-action:manipulation}
.comfortUi .welcome .wildernessLink small{display:block;margin-top:3px;color:#d4c6ad;font-size:11px;font-weight:400}
.comfortUi .welcome .wildernessLink:focus-visible{outline:2px solid #e4c381;outline-offset:3px}
