@font-face{font-family:AdventureTitle;src:url('/fonts/cormorant-garamond-600.ttf') format('truetype');font-weight:600;font-display:swap}
.adventure{--av-gold:#d3b676;--av-ink:#d9e1d8;--av-muted:#99a79c;--av-line:#34483f;--av-surface:#172921;--av-ground:#101e1a;color:var(--av-ink);font-size:14px;max-width:1440px;margin:auto;padding-bottom:30px;font-variant-numeric:tabular-nums}.adventure *{box-sizing:border-box}.adventure ::selection{background:#a3864d;color:#fff}.adventure svg{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.adventure button,.adventure select,.adventure input{font:inherit}.adventure button{cursor:pointer}.adventure button:disabled{cursor:default;opacity:.42}.adventure :focus-visible{outline:2px solid var(--av-gold);outline-offset:4px}.adventure h1{font-size:36px;font-weight:650;letter-spacing:-.025em;color:#f0ead8;margin:0}.adventure h2{font-size:21px;line-height:1.35;font-weight:600;color:#e7e6d7;margin:0 0 12px}.adventure h3{font-size:15px;color:#e3dfcd;margin:14px 0 8px}.adventure p{line-height:1.6}.av-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:20px}.av-heading p{color:var(--av-muted);margin:6px 0 0}.av-heading p span{margin:0 8px;color:#6b7f70}.av-level{width:180px;display:grid;grid-template-columns:1fr;gap:5px}.av-level strong{color:var(--av-gold);font-weight:550}.av-level>span{font-size:12px;color:var(--av-muted)}.adventure progress{width:100%;height:5px;border:0;background:#2c4035;appearance:none}.adventure progress::-webkit-progress-bar{background:#2c4035}.adventure progress::-webkit-progress-value{background:var(--av-gold)}.adventure progress::-moz-progress-bar{background:var(--av-gold)}.av-status{display:flex;flex-wrap:wrap;gap:24px;padding:15px 0;border-top:1px solid var(--av-line);border-bottom:1px solid var(--av-line);margin-bottom:18px;color:var(--av-muted)}.av-status>span{display:flex;align-items:center;gap:8px}.av-status b{color:#e6e5d9;font-size:16px;font-weight:550}.av-status svg{color:var(--av-gold)}.av-real-life{display:flex;align-items:center;gap:28px;justify-content:space-between;padding:15px 18px;background:#1a2c24;margin-bottom:23px;border-radius:10px}.av-real-life form{flex:1;display:flex;align-items:center;gap:12px;min-width:0}.av-real-life label{font-size:12px;font-weight:600;color:var(--av-gold);white-space:nowrap}.adventure select,.adventure input{background:#12221b;border:1px solid #3a5041;color:#d5e1d6;border-radius:6px;padding:9px 10px;min-width:0;max-width:100%;color-scheme:dark}.av-real-life select{flex:1;min-width:90px}.av-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;background:#c2a66d;border:1px solid transparent;color:#18281d;border-radius:6px;padding:9px 13px;font-size:12px;font-weight:600;transition:background .15s;white-space:normal}.av-button:hover:not(:disabled){background:#e1c58c}.av-button.quiet{background:transparent;border-color:#405340;color:#b8c6b8}.av-button.quiet:hover:not(:disabled){background:#263a2b}.av-button.active{background:#344b37;color:#e4d8b6;border-color:#6d7550}.av-call{text-align:center;flex-shrink:0}.av-call small{display:block;font-size:10px;color:var(--av-muted);margin-top:5px}.av-tabs{display:flex;gap:26px;margin:0 0 20px;border-bottom:1px solid var(--av-line)}.av-tabs button{padding:0 0 13px;font-size:14px;color:var(--av-muted);border:0;border-bottom:2px solid transparent;background:transparent}.av-tabs button[aria-current=page]{color:var(--av-gold);border-color:var(--av-gold)}.av-world-layout,.av-assets{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:23px}.av-world{min-width:0;background:#14251e;border-radius:12px;overflow:hidden}.av-map-toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;gap:12px;border-bottom:1px solid var(--av-line)}.av-view-switch,.av-camera{display:flex;gap:6px}.av-view-switch .av-button{padding:7px 11px;min-height:33px}.av-camera .av-button{width:30px;min-height:30px;padding:0;font-size:17px}.av-map-surface{position:relative;aspect-ratio:800/460;overflow:hidden;background:#1a292b}.av-map-surface canvas{width:100%;height:100%;display:block;image-rendering:auto}.av-map-points{position:absolute;inset:0;pointer-events:none}.av-map-point{position:absolute;left:var(--point-x);top:var(--point-y);transform:translate(-50%,-7px);padding:0;background:none;border:0;color:#eef1df;text-shadow:0 1px 3px #152319;display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:auto;min-width:35px;font-size:10px;font-weight:550;white-space:nowrap}.av-map-point>span:last-child{background:#1c2d25ed;border:1px solid #6475606e;padding:4px 6px;border-radius:4px}.av-map-point:hover>span:last-child,.av-map-point.here>span:last-child{color:#f2d697;border-color:#ac985d;background:#223326}.av-marker{width:8px;height:8px;background:#d1c89f;border:2px solid #203125;transform:rotate(45deg)}.av-map-point.here .av-marker,.av-map-point.owned .av-marker{background:#f3c264}.av-map-caption{position:absolute;left:20px;bottom:20px;pointer-events:none;color:#e5e2cc;text-shadow:0 2px 4px #0b171a}.av-map-caption>span{display:block;font-size:8px;letter-spacing:.16em;margin-bottom:5px;color:#bec7b7}.av-map-caption strong{font-size:22px;font-weight:550}.av-map-foot{padding:12px 15px;display:flex;justify-content:space-between;gap:15px;color:var(--av-muted);font-size:10px;border-top:1px solid var(--av-line)}.av-map-foot span:first-child{display:flex;align-items:center;gap:6px}.av-map-foot svg{width:14px;height:14px}.av-local-actions{padding:5px 14px 14px;display:flex;gap:6px;flex-wrap:wrap}.av-local-actions .av-button{font-size:11px;padding:7px 9px;min-height:32px}.av-local-actions p{color:var(--av-muted);font-size:11px;margin:5px 0}.av-inspector{min-width:0;padding:8px 0}.av-inspector>.av-button{margin:8px 5px 4px 0;max-width:100%}.av-copy{color:var(--av-muted);font-size:12px;margin:0 0 15px;line-height:1.65}.av-hint{color:#8f9f90;font-size:10px;line-height:1.6;margin:9px 0}.av-contract{padding:18px;background:#1c3026;border-radius:9px}.av-contract h3{margin-top:0;font-size:16px}.av-contract p{font-size:12px;color:#b9c8b7;margin:0 0 16px}.av-contract small{display:block;margin-top:12px;font-size:10px;color:var(--av-muted)}.av-divider{height:1px;background:var(--av-line);margin:26px 0}.av-details{margin:15px 0}.av-details>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding:8px 0;border-bottom:1px solid #304138}.av-details dt{color:var(--av-muted)}.av-details dd{margin:0;text-align:right;color:#d2ddcb}.av-city-index{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:15px}.av-city-index button{border:0;background:#1b2b24;color:#b4c3b4;padding:8px 6px;text-align:left;font-size:11px;border-radius:4px}.av-city-index button[aria-pressed=true]{color:var(--av-gold);background:#2c3d2d}.av-price{display:inline-flex;align-items:center;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap}.av-price svg{width:14px;height:14px}.av-list>div,.av-class-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--av-line)}.av-list>div>span,.av-class-list>div>span{min-width:0;display:block}.av-list b,.av-class-list strong{font-size:12px;font-weight:550;display:block}.av-list small,.av-class-list small{font-size:10px;color:var(--av-muted);line-height:1.6;display:block;margin-top:3px}.av-list .av-button,.av-class-list .av-button{padding:8px 10px;font-size:11px;flex-shrink:0}.av-form{display:grid;gap:12px;margin:20px 0}.av-form label{display:grid;gap:7px;color:#aabcaa;font-size:11px}.av-form .av-button{justify-self:start}.av-market{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.av-market th{font-weight:500}.av-market thead th{color:var(--av-muted);font-size:10px;padding:8px 0}.av-market td,.av-market tbody th{padding:11px 2px;border-top:1px solid var(--av-line)}.av-market small{display:block;color:#8c9e8d;font-size:9px;margin-top:5px}.av-market .av-button{min-height:29px;padding:6px 8px;font-size:11px}.av-property-list button{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;border:0;border-bottom:1px solid var(--av-line);padding:16px 0;color:#d5decc;text-align:left}.av-property-list button.selected{color:var(--av-gold)}.av-property-list small{display:block;color:var(--av-muted);font-size:11px;margin-top:5px}.av-property-list strong{font-weight:500}.av-route-list article{padding:12px 0;border-bottom:1px solid var(--av-line)}.av-route-list article p{font-size:11px;color:var(--av-muted);margin:6px 0}.av-route-form{max-width:400px}.av-hero-columns{display:grid;grid-template-columns:1fr 1fr;gap:55px}.av-skill-levels{display:flex;gap:20px;margin:18px 0}.av-skill-levels>span{font-size:12px;color:var(--av-gold)}.av-skill-levels small{display:block;font-size:10px;color:var(--av-muted);margin-top:4px}.av-chests{padding:15px;background:#283627;border-radius:8px;margin:20px 0}.av-chests h3{margin:0 0 12px;color:var(--av-gold)}.av-chests .av-button{margin:3px}.av-battle-health span{font-size:12px;display:block;margin:15px 0 7px}.av-battle-health progress{height:8px}.av-battle-health .enemy::-webkit-progress-value{background:#b37565}.av-combat-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.av-combat-actions .av-button{font-size:11px}.av-battle-log{padding-left:17px;font-size:11px;line-height:1.8;color:#b4c0ac}.av-history>ol{list-style:none;padding:0;margin:0}.av-history>ol>li{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid var(--av-line)}.av-history strong{font-size:13px;font-weight:500}.av-history p{font-size:11px;color:var(--av-muted);margin:6px 0 0}.av-history time{font-size:10px;color:var(--av-muted);white-space:nowrap}.av-history details{margin-top:30px;color:var(--av-muted);font-size:12px}.av-history details summary{cursor:pointer}.av-footer{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:30px;border-top:1px solid var(--av-line);padding:22px 0}.av-footer strong{color:#c8c8a7;font-size:12px;font-weight:500}.av-footer strong svg{margin-right:5px;color:var(--av-gold)}.av-footer p{color:var(--av-muted);font-size:10px;margin:7px 0 0}.av-wake-settings{margin-left:auto;font-size:10px;color:var(--av-muted)}.av-wake-settings summary{cursor:pointer}.av-wake-settings .av-form{grid-template-columns:1fr 1fr;max-width:250px}.av-wake-settings .av-form button{grid-column:span 2}.av-integration{font-size:10px;color:#849785;margin-top:0}.av-error{background:#382a23;color:#e7b9a4;padding:12px;border-radius:5px;font-size:12px}.av-busy{position:fixed;bottom:90px;right:25px;background:#244331;padding:12px 20px;border-radius:8px;color:var(--av-gold);z-index:100;font-size:12px}@media(min-width:1600px){.av-world-layout,.av-assets{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:1200px){.av-world-layout,.av-assets{grid-template-columns:minmax(0,1fr) 265px;gap:18px}.av-real-life{gap:14px;padding:12px}.av-real-life form{flex-wrap:wrap}.av-real-life form label{width:100%}.av-map-caption strong{font-size:19px}.av-map-foot{font-size:9px}.av-map-foot>span:last-child{display:none}.av-hero-columns{gap:30px}}@media(max-width:950px){.av-world-layout,.av-assets{grid-template-columns:1fr}.av-inspector{padding-top:18px;border-top:1px solid var(--av-line)}.av-world{max-width:100%}.av-map-surface{min-height:270px}.av-market{max-width:550px}.av-real-life{align-items:stretch}.av-hero-columns{gap:24px}.av-map-point{font-size:9px}}@media(max-width:600px){.adventure h1{font-size:28px}.av-heading{gap:12px;margin-bottom:16px}.av-level{width:118px;flex-shrink:0}.av-level strong{font-size:12px}.av-level>span{font-size:10px}.av-heading p{font-size:11px}.av-status{gap:12px 18px;font-size:10px}.av-status b{font-size:12px}.av-status svg{width:15px;height:15px}.av-real-life{display:block;padding:12px}.av-real-life form{gap:8px}.av-real-life form select{width:calc(100% - 80px);font-size:11px}.av-call{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding-top:12px;border-top:1px solid var(--av-line);text-align:left}.av-call .av-button{font-size:11px;min-height:34px}.av-call small{font-size:9px;max-width:105px}.av-tabs{gap:24px;margin-bottom:15px}.av-tabs button{font-size:12px}.av-map-toolbar{padding:10px 8px;gap:8px}.av-view-switch .av-button{font-size:10px;padding:6px 8px;min-height:29px}.av-camera{gap:3px}.av-camera .av-button{width:24px;min-height:26px;font-size:14px}.av-map-surface{min-height:0;aspect-ratio:800/600}.av-map-surface canvas{height:100%;object-fit:fill}.av-map-caption{left:14px;bottom:12px}.av-map-caption strong{font-size:16px}.av-map-caption>span{font-size:7px}.av-map-point{font-size:8px;gap:3px;transform:translate(-50%,-5px)}.av-map-point>span:last-child{padding:3px 4px;max-width:75px;overflow:hidden;text-overflow:ellipsis}.av-map-foot{padding:10px;font-size:9px}.av-local-actions{padding:3px 9px 11px;gap:4px}.av-local-actions .av-button{font-size:9px;min-height:29px;padding:5px 7px}.av-hero-columns{grid-template-columns:1fr;gap:30px}.av-footer{gap:14px;margin-top:22px}.av-wake-settings{margin-left:0;width:100%}.av-history time{font-size:9px}.av-history>ol>li{gap:10px}.av-skill-levels{gap:15px}.av-details{max-width:550px}.av-property-list small{font-size:10px}}@media(prefers-reduced-motion:reduce){.adventure *{transition:none!important;animation:none!important}}

.adventure h1{font-family:AdventureTitle,serif;font-weight:600;font-size:44px;line-height:1.1}.av-map-caption strong{font-family:AdventureTitle,serif;font-size:26px}.av-map-point>span:last-child{line-height:1.3}@media(max-width:600px){.adventure h1{font-size:34px}.av-map-caption strong{font-size:21px}.av-map-point[data-city=riverwood]>span:last-child{transform:translate(-14px,4px)}.av-map-point[data-city=falkreath]>span:last-child{transform:translate(-8px,9px)}}
/* Northern landscape rendering: detailed materials and generated atmospheric environment. */
.av-map-surface{aspect-ratio:16/10;background:#8b9a95 url('/assets/adventure/northern-valley-v2.png') center/cover no-repeat;isolation:isolate}.av-map-surface canvas{image-rendering:auto;transition:opacity .2s}.av-map-surface canvas[data-textures=loading]{opacity:0}.av-map-caption{bottom:22px;left:22px}.av-map-caption strong{font-size:30px;color:#f2ecd9;text-shadow:0 2px 7px #12231c}.av-map-point{gap:5px;font-size:11px;text-shadow:0 1px 3px #17261f}.av-map-point>span:last-child{padding:5px 8px;background:#17291fdd;border-color:#8b978158;box-shadow:0 2px 7px #11241e30}.av-marker{width:9px;height:9px;background:#e0d0a5;border:1px solid #4b5543;box-shadow:0 1px 4px #163025}.av-map-toolbar{background:#1d2e27}.av-world{background:#172820}.av-map-foot{background:#172820}.av-map-surface::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 -70px 65px -55px #10221dc2;z-index:1}.av-map-points{z-index:2}.av-map-caption{z-index:2}.av-map-point.owned>span:last-child{border-color:#b99e61;color:#ead39b}@media(max-width:600px){.av-map-surface{aspect-ratio:4/3;min-height:290px}.av-map-caption{left:13px;bottom:14px}.av-map-caption strong{font-size:24px}.av-map-point{font-size:8px;gap:3px}.av-map-point>span:last-child{padding:3px 5px;max-width:88px}.av-map-point[data-city=riverwood]>span:last-child{transform:translate(-18px,9px)}.av-map-point[data-city=falkreath]>span:last-child{transform:translate(-5px,10px)}}
/* Living world and next-step guide inherit the northern game surface. */
.av-next-goal{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;align-items:center;gap:22px;border-bottom:1px solid var(--av-line);padding:0 0 18px;margin:0 0 22px}.av-next-goal h2{font-size:17px;margin:0 0 6px;color:#e6d7b6}.av-next-goal p{font-size:11px;color:#a6b6a5;line-height:1.55;margin:0;max-width:760px}.av-goal-progress{font-size:10px;color:var(--av-gold);display:grid;gap:7px;text-align:right}.av-next-goal>.av-button{font-size:11px;max-width:185px}.av-hero-marker{position:absolute;left:var(--hero-x,50%);top:var(--hero-y,70%);transform:translate(-50%,-25px);font-size:10px;font-weight:600;line-height:1.3;padding:3px 8px;border-radius:5px;color:#ffdf9b;background:#203329e8;border:1px solid #a68f59;pointer-events:none;text-shadow:0 1px 2px #1b281d;white-space:nowrap}.av-hero-marker[data-moving=true]{background:#3a4329}.av-map-caption p{font-size:10px;margin:4px 0 0;max-width:320px;color:#e0e6d7;text-shadow:0 1px 3px #0c1815;line-height:1.45}.av-map-caption{max-width:70%}@media(max-width:950px){.av-next-goal{gap:15px;grid-template-columns:1fr auto}.av-goal-progress{display:none}.av-next-goal>.av-button{max-width:165px}}@media(max-width:600px){.av-next-goal{display:flex;flex-wrap:wrap;gap:12px;padding-bottom:16px;margin-bottom:18px}.av-next-goal>div:first-child{width:100%}.av-next-goal h2{font-size:16px}.av-next-goal p{font-size:10px}.av-next-goal>.av-button{min-height:33px;font-size:10px;max-width:100%}.av-goal-progress{display:grid;margin-left:auto;order:3;width:90px}.av-hero-marker{font-size:8px;padding:2px 5px;transform:translate(-50%,-15px)}.av-map-caption p{font-size:8px;max-width:225px}.av-map-caption{max-width:80%}}
.av-map-point.near-right>span:last-child{transform:translateX(-35%)}.av-map-point.near-left>span:last-child{transform:translateX(35%)}
.av-contract-types{display:grid;gap:4px;margin:15px 0}.av-contract-types button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#1b2b24;border:1px solid transparent;padding:9px 10px;border-radius:5px;color:#c1d0bf;font-size:11px}.av-contract-types button[aria-pressed=true]{border-color:#6e7953;background:#2a3b2b;color:#e5d3a6}.av-contract-types small{font-size:9px;color:#94a48f;white-space:nowrap}.av-contract .av-details{margin:12px 0}.av-business-accounts{margin:23px 0;padding-top:8px;border-top:1px solid var(--av-line)}.av-positive{color:#bdd0ac!important}.av-negative{color:#d9a58b!important}.av-startup{display:block;color:#9eae95;font-size:9px;margin:6px 0}.av-chain-guide{color:#b6c6a9;font-size:11px;line-height:1.8;margin:16px 0}.av-depots,.av-economy-total{border-top:1px solid var(--av-line);padding-top:18px;margin-top:25px}.av-depots .av-market .av-button{font-size:9px;padding:5px 7px;min-height:29px;margin:2px}.av-route-quote{border-top:1px solid var(--av-line);padding-top:10px;margin-top:5px}.av-route-quote h3{margin-top:0}.av-route-quote .av-details{margin:10px 0}.av-business-accounts h3{font-size:14px}.av-business-accounts .av-details dd{max-width:165px}.av-business-accounts .av-details{font-size:11px}@media(max-width:600px){.av-contract-types button{font-size:10px;min-height:35px}.av-contract-types small{font-size:8px}.av-depots .av-market th{font-size:10px}.av-depots .av-market .av-button{font-size:8px;padding:5px}.av-chain-guide{font-size:10px}}
.av-network-help{padding-left:18px;color:#aabd9f;font-size:11px;line-height:1.85}.av-network-help li{margin-bottom:10px}
.av-list.av-business-options>.av-business-option{display:grid;grid-template-columns:1fr;gap:8px;padding:16px 0}.av-business-option .av-startup{line-height:1.6;margin:0}.av-business-option .av-button{width:100%;white-space:normal;justify-content:center}.av-business-option b{font-size:13px}

.av-crm-status{margin:-6px 0 22px;padding:14px 16px;border:1px solid var(--av-line);border-radius:8px;background:rgba(49,79,54,.12)}.av-crm-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:12px}.av-crm-summary strong{color:var(--av-gold)}.av-crm-summary small{margin-left:auto;color:var(--av-muted)}.av-crm-status p{margin:9px 0 0;color:var(--av-muted);font-size:11px;line-height:1.6}.av-crm-status .av-crm-warning{color:#dfb879}.av-loot-rules{margin:16px 0;color:var(--av-muted);font-size:12px}.av-loot-rules summary{cursor:pointer;color:var(--av-text)}.av-loot-rules p{line-height:1.6}.av-loot-rules dl>div{padding:9px 0;border-bottom:1px solid var(--av-line)}.av-loot-rules dt{color:var(--av-text);font-weight:600}.av-loot-rules dd{margin:5px 0 0}.av-chests [data-chest-type=artisan]{border-color:#719178}.av-chests [data-chest-type=equipment]{border-color:#a48aad;background:rgba(125,91,143,.18)}@media(max-width:600px){.av-crm-status{padding:12px}.av-crm-summary{display:grid;gap:7px;font-size:11px}.av-crm-summary small{margin-left:0}.av-crm-status p{font-size:10px}.av-chests .av-button{width:100%;white-space:normal}}

.av-painted-world{display:block}.av-painted-world .av-world{position:relative;background:#1c3438;border-color:#627e77}.av-painted-world .av-map-toolbar{background:#183034;flex-wrap:wrap}.av-painted-world .av-map-surface{aspect-ratio:16/9;min-height:0}.av-painted-world .av-map-surface canvas{width:100%;height:100%;object-fit:fill;image-rendering:auto;touch-action:none;cursor:grab}.av-painted-world .av-map-surface canvas.dragging{cursor:grabbing}.av-painted-world .av-map-caption{pointer-events:none;bottom:15px;left:20px}.av-painted-world .av-map-caption p{background:#15302acc;padding:4px 7px;border-radius:4px;display:inline-block}.av-painted-world .av-map-point{font-size:11px;transform:translate(-50%,-100%);padding:7px 4px}.av-map-point[hidden],.av-map-error[hidden],.av-painted-inspector[hidden]{display:none}.av-painted-world .av-map-point>span:last-child{background:#173432e8;border:1px solid #b6b69299;padding:6px 9px;border-radius:6px;max-width:160px;white-space:normal;text-align:center}.av-painted-world .av-map-point.owned>span:last-child{border-color:#dcc48d}.av-painted-world .av-map-point small{display:block;color:#d6c494;font-size:9px;margin-top:2px}.av-painted-world .av-marker{width:7px;height:7px;box-shadow:none;background:#e7c98c;border-color:#294535}.av-painted-world .av-hero-marker{font-size:10px;background:#12372dcc;border:1px solid #ead39b}.av-painted-world .av-map-foot{background:#1b3537}.av-painted-world .av-local-actions{background:#1b3537;padding-top:4px}.av-painted-world .av-expand-button{width:auto;min-width:90px;font-size:11px}.av-painted-world .av-painted-inspector{position:absolute;z-index:8;right:16px;top:65px;width:300px;max-width:calc(100% - 32px);max-height:calc(100% - 150px);overflow:auto;background:#12292bf5;border:1px solid #8ba092;border-radius:12px;padding:18px;box-sizing:border-box}.av-painted-inspector h2{padding-right:28px;font-size:19px}.av-inspector-close{position:absolute;right:8px;top:8px;width:30px;font-size:20px;min-height:30px}.av-painted-world .av-camera{gap:5px}.av-painted-world .av-camera>.av-button:not(.av-expand-button){width:30px;min-height:30px}.av-map-error{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:14px;background:#173435;color:#e9edda;z-index:5;padding:20px}.av-map-expanded-active{overflow:hidden}.av-painted-world .av-world.av-map-expanded{position:fixed;inset:12px;z-index:100;width:auto;height:auto;display:flex;flex-direction:column;margin:0}.av-map-expanded .av-map-surface{flex:1;aspect-ratio:auto;min-height:200px}.av-map-expanded .av-local-actions{flex-shrink:0}.av-map-expanded .av-map-foot{flex-shrink:0}.av-painted-world .av-world.av-map-expanded .av-painted-inspector{max-height:calc(100% - 180px)}@media(max-width:950px){.av-painted-world .av-painted-inspector{position:relative;right:auto;top:auto;width:100%;max-width:100%;max-height:460px;margin-top:0;border-radius:0;box-shadow:none;border-top:1px solid #758a7b}.av-painted-world .av-world.av-map-expanded .av-painted-inspector{position:absolute;bottom:78px;right:10px;top:auto;width:320px;max-width:calc(100% - 20px);max-height:55%;border-radius:12px}}@media(max-width:600px){.av-painted-world .av-map-toolbar{padding:10px}.av-painted-world .av-camera{width:100%;justify-content:space-between;gap:4px}.av-painted-world .av-map-surface{aspect-ratio:4/3}.av-painted-world .av-map-point{font-size:9px;padding:8px 4px}.av-painted-world .av-map-point>span:last-child{padding:5px 7px;max-width:102px}.av-painted-world .av-map-caption{left:12px;bottom:10px;max-width:78%}.av-painted-world .av-map-caption strong{font-size:22px}.av-painted-world .av-map-caption p{font-size:8px;line-height:1.35}.av-painted-world .av-local-actions{justify-content:space-between}.av-painted-world .av-local-actions .av-button{font-size:10px}.av-painted-world .av-world.av-map-expanded{inset:0;border-radius:0}.av-painted-world .av-world.av-map-expanded .av-map-surface{aspect-ratio:auto}}

.av-painted-world .av-map-caption strong{display:block}.av-painted-world .av-map-caption p{margin-top:6px}

/* True 3D Riverwood inherits the selected painterly world's quiet frame. */
.av-painted-world canvas{cursor:grab;touch-action:none}.av-painted-world canvas.av-dragging{cursor:grabbing}
.av-painted-world .av-camera{flex-wrap:wrap;justify-content:flex-end;gap:4px}.av-painted-world .av-camera button{font-size:11px;min-height:32px}
.av-painted-world .av-map-points{pointer-events:none}.av-painted-world .av-map-point{pointer-events:auto}
@media(max-width:700px){.av-painted-world .av-map-toolbar{gap:8px}.av-painted-world .av-camera{justify-content:flex-start}.av-painted-world .av-camera button{min-height:34px}.av-painted-world .av-map-caption p{max-width:260px}.av-painted-world .av-map-surface{aspect-ratio:4/3}.av-map-expanded .av-map-toolbar{flex-shrink:0}}

.av-painted-world .av-camera>.av-button[data-av=tilt],.av-painted-world .av-camera>.av-button[data-av=camera-home]{width:auto;min-width:56px;padding:5px 8px;white-space:nowrap;line-height:1.2}
.av-painted-world .av-map-surface{background:#99b4b6}.av-painted-world canvas[data-renderer=webgl-3d]{transition:none;opacity:1}

/* Expanded connected kingdom systems, scoped to the game. */
.adventure .av-tabs{overflow-x:auto;white-space:nowrap;gap:22px;scrollbar-width:thin}
.adventure .av-panel{padding:24px 0;border-bottom:1px solid #32494b}.adventure .av-panel:first-child{padding-top:0}
.adventure .av-panel h2{margin:0 0 12px}.adventure .av-panel .av-card{display:inline-flex;flex-direction:column;vertical-align:top;width:calc(33.333% - 16px);margin:8px 16px 8px 0;padding:18px;background:#14292b;border:1px solid #32494b;border-radius:8px;white-space:normal;gap:10px}
.adventure .av-panel .av-card p{margin:0;font-size:13px;line-height:1.6;color:#b7c6bd}.adventure .av-panel .av-card .av-button{align-self:flex-start;margin-top:auto}
.adventure .av-panel ol{padding-left:24px;line-height:1.8}.adventure .av-panel ol li{padding:8px 0;border-bottom:1px solid #243b3e}
.adventure .av-staffing{margin:22px 0;padding-top:18px;border-top:1px solid #31484b}.adventure .av-action-row{display:flex;flex-wrap:wrap;gap:8px}
.adventure .av-lighting{display:flex;align-items:center;gap:8px;font-size:12px}.adventure .av-lighting label{display:flex;align-items:center;gap:6px}.adventure .av-lighting select{background:#172f32;color:#eee4ca;border:1px solid #3c5453;border-radius:6px;padding:7px}
.adventure .av-map-toolbar{flex-wrap:wrap;gap:8px}.adventure .av-history+.av-history{margin-top:28px;padding-top:22px;border-top:1px solid #32494b}
@media(max-width:700px){.adventure .av-panel .av-card{width:100%;margin-right:0}.adventure .av-tabs{gap:18px}.adventure .av-lighting{width:100%;justify-content:flex-start}.adventure .av-panel{padding:20px 0}.adventure .av-staffing .av-action-row{flex-direction:column}}

.adventure .av-tactics-map{width:100%;height:auto;display:block;background:#233f36;border-radius:8px}.adventure canvas#adventure-tactics-map{width:100%;height:auto;display:block;image-rendering:auto;border:1px solid #3b5651;border-radius:8px}.adventure .av-tactics-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px}.adventure .av-tactics-units{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.adventure .av-tactics-layout{grid-template-columns:1fr}}
.adventure .av-battle-frame{position:relative;isolation:isolate;aspect-ratio:3/2;min-height:300px;background:#5f756f;border:1px solid #526d60;border-radius:12px;overflow:hidden}
.adventure .av-battle-frame canvas#adventure-tactics-map{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;touch-action:none;cursor:grab}
.adventure .av-battle-frame canvas:active{cursor:grabbing}
.adventure .av-battle-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.adventure .av-battle-toolbar button{min-width:44px;min-height:44px}
.adventure .av-battle-markers{position:absolute;inset:0;pointer-events:none}
.adventure .av-battle-marker{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;background:#173b38ed;color:#e4f1dc;border:1px solid #86b4a5;border-radius:5px;font-family:inherit;font-size:10px;line-height:1.2;padding:4px 6px;white-space:nowrap;cursor:pointer;max-width:145px}
.adventure .av-battle-marker[data-side=enemy]{background:#563d33ee;border-color:#c99175;color:#ffe1cf}
.adventure .av-battle-marker[data-selected=true]{outline:2px solid #f1d08b;outline-offset:2px}
.adventure .av-battle-marker[data-acted=true]{opacity:.68}
.adventure .av-battle-compact-label{display:none}
.av-ux .av-dialog-status{padding:12px 24px;background:#23433c;color:#e0edcf;font-size:12px;line-height:1.5;flex-shrink:0}
.av-ux .av-button.active{background:#d8bb79;color:#182b2a}.av-ux .av-tutorial-launcher button{color:#d8c395}.av-ux .av-dialog-body:has(.av-context-tabs)>h2{display:none}
.av-ux .av-heading{margin-bottom:14px}.av-ux .av-heading h1{font-size:24px}.av-ux .av-heading p{margin:5px 0 0}.av-ux .av-level{min-width:140px}
.av-ux .av-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 10px}.av-ux .av-status .av-button{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;padding:8px 12px;font-size:13px;background:#132933;border-color:transparent}.av-ux .av-status b{color:#f0e0b4;font-size:15px;white-space:nowrap}.av-ux .av-status span{font-size:11px;color:#c1d0d1}.av-ux .av-status svg{width:18px;height:18px;flex-shrink:0}
.av-ux .av-activity-link{display:flex;align-items:center;gap:16px;color:#c1d0d1;font-size:12px;margin-bottom:12px}.av-ux .av-activity-link .av-button{font-size:12px;padding:4px 0;border:0;min-height:36px;color:#b3d6b9}.av-ux .av-activity-link>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.av-ux .av-navigation{display:flex;align-items:center;gap:10px;position:relative;z-index:30;margin-bottom:16px}.av-ux .av-primary-nav{display:flex;gap:6px;flex:1}.av-ux .av-navigation .av-button{min-height:42px}.av-ux .av-more{position:relative}.av-ux .av-more summary,.av-ux .av-camera-menu summary{cursor:pointer;padding:10px 14px;min-height:42px;color:#e3ede7;background:#203944;border-radius:8px;font-size:13px}.av-ux .av-more>div{position:absolute;right:0;top:calc(100% + 6px);display:grid;min-width:210px;padding:8px;background:#1b333d;box-shadow:0 8px 24px #0006;border-radius:12px;z-index:35}.av-ux .av-more>div button{text-align:left}.av-ux .av-more[open]>summary{color:#efd499}
.av-ux .av-next-goal{margin:0 0 12px;padding:14px 18px;gap:16px}.av-ux .av-next-goal h2{font-size:17px;margin:0 0 5px}.av-ux .av-next-goal p{font-size:12px;line-height:1.45;margin:0;max-width:65ch;color:#bfcecf}.av-ux .av-goal-progress{min-width:80px}.av-ux .av-tutorial-launcher{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#bfcecf;margin-bottom:12px}.av-ux .av-tutorial-launcher button{padding:4px 9px;min-height:32px;background:transparent;border-color:transparent;font-size:12px}
.av-ux .av-world-layout{grid-template-columns:minmax(0,1fr)}.av-ux .av-world{overflow:visible}.av-ux .av-map-surface{border-radius:12px;overflow:hidden}.av-ux .av-map-toolbar{align-items:flex-start;flex-wrap:wrap;justify-content:space-between}.av-ux .av-camera-menu[open]{flex-basis:100%;order:2}.av-ux .av-camera-menu .av-camera{justify-content:flex-start;margin:10px 0;gap:6px}.av-ux .av-lighting{justify-content:flex-start;margin-bottom:12px}.av-ux .av-local-actions{display:flex;gap:8px;flex-wrap:wrap}.av-ux .av-local-actions button{min-height:42px}
body.av-dialog-active{overflow:hidden}.av-ux .av-dialog{position:fixed;inset:0 0 0 auto;width:min(660px,calc(100vw - 40px));max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#162e38;color:#e9f0eb;box-shadow:-10px 0 32px #0007;overscroll-behavior:contain}.av-ux .av-dialog::backdrop{background:#0713198c}.av-ux .av-dialog-shell{display:flex;flex-direction:column;height:100%;min-height:0}.av-ux .av-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;background:#1b3641;flex-shrink:0}.av-ux .av-dialog-heading h2{margin:0;font-size:21px;line-height:1.3}.av-ux .av-dialog-close{width:44px;min-width:44px;height:44px;padding:10px}.av-ux .av-dialog-close svg{width:22px;height:22px}.av-ux .av-dialog-body{overflow:auto;padding:24px;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#64827f #162e38;overscroll-behavior:contain}.av-ux .av-dialog-body>h2:first-child,.av-ux .av-dialog-body>.av-history>h2:first-child{display:none}.av-ux .av-dialog-body h3{font-size:17px;margin:22px 0 12px}.av-ux .av-dialog-body p{max-width:68ch;line-height:1.6}.av-ux .av-dialog-body details{margin:20px 0;padding-top:14px;border-top:1px solid #59756f55}.av-ux .av-dialog-body details>summary{cursor:pointer;color:#e4d7b1;font-size:14px;padding:8px 0;min-height:40px}.av-ux .av-dialog-body .av-form{display:flex;flex-direction:column;align-items:stretch;gap:14px}.av-ux .av-dialog-body .av-form label{display:flex;flex-direction:column;gap:7px;min-width:0;max-width:100%;font-size:12px}.av-ux .av-dialog-body .av-form input,.av-ux .av-dialog-body .av-form select{width:100%;min-width:0;max-width:100%;min-height:44px}.av-ux .av-dialog-body .av-form>button{align-self:flex-start}.av-ux .av-dialog-body .av-history,.av-ux .av-dialog-body .av-economy-total{padding:0;background:transparent;border:0}.av-ux .av-dialog-body .av-list>div{align-items:flex-start;gap:14px}.av-ux .av-dialog-body .av-list>div>span{min-width:0}.av-ux .av-dialog-body .av-list small{line-height:1.5}
.av-ux .av-context-tabs{display:flex;gap:6px;overflow-x:auto;margin:0 0 18px;padding-bottom:10px;border-bottom:1px solid #55706966;scrollbar-width:thin}.av-ux .av-context-tabs button{white-space:nowrap;flex-shrink:0;min-height:42px;font-size:12px}.av-ux .av-object-location{margin:0 0 16px;color:#c3d3d1}.av-ux .av-property-list{margin:16px 0}.av-ux .av-property-list button{min-height:64px}.av-ux .av-action-control{display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%}.av-ux .av-action-requirement{font-size:11px;color:#e0ca9e;max-width:230px;line-height:1.45}.av-ux .av-action-feedback{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#1c3c39;color:#e2f0dc;padding:12px 16px;margin-top:14px;border-radius:8px;font-size:13px}.av-ux .av-tutorial-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#bfd1ce}.av-ux .av-tutorial-heading button{font-size:11px;padding:6px}.av-ux .av-tutorial h2{font-size:23px;margin:22px 0 12px}.av-ux .av-tutorial-status{color:#c7d9b1;font-size:12px;margin:14px 0}.av-ux .av-tutorial-actions{display:flex;gap:8px;flex-wrap:wrap}.av-ux .av-workspace-content{min-width:0}.av-ux .av-dialog-body .av-market{width:100%;table-layout:fixed}.av-ux .av-dialog-body .av-market th,.av-ux .av-dialog-body .av-market td{word-break:normal;overflow-wrap:anywhere}.av-ux .av-dialog-body .av-market .av-button{padding:6px 8px;font-size:12px}.av-ux .av-dialog-body .av-action-row{gap:12px;flex-wrap:wrap}.av-ux .av-real-explanation p{font-size:14px}
@media(max-width:600px){.av-ux .av-heading h1{font-size:21px}.av-ux .av-level{min-width:105px}.av-ux .av-level strong{font-size:15px}.av-ux .av-status{gap:4px}.av-ux .av-status .av-button{padding:7px 5px;gap:4px;flex-wrap:wrap}.av-ux .av-status span{width:100%;font-size:10px}.av-ux .av-status b{font-size:12px}.av-ux .av-status svg{width:14px;height:14px}.av-ux .av-activity-link{gap:10px}.av-ux .av-navigation{gap:5px}.av-ux .av-primary-nav{gap:3px}.av-ux .av-primary-nav .av-button{padding:8px 10px;font-size:12px}.av-ux .av-help-launch{display:none}.av-ux .av-more summary{padding:10px;font-size:12px}.av-ux .av-next-goal{display:flex;flex-wrap:wrap;padding:12px;gap:10px}.av-ux .av-next-goal>div:first-child{flex-basis:100%}.av-ux .av-next-goal .av-goal-progress{flex:1}.av-ux .av-next-goal>.av-button{font-size:12px;min-height:40px}.av-ux .av-tutorial-launcher span{font-size:11px}.av-ux .av-map-caption p{display:none}.av-ux .av-map-foot{font-size:10px}.av-ux .av-dialog{inset:48px 0 0;width:100vw;height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);border-radius:16px 16px 0 0}.av-ux .av-dialog-heading{padding:14px 18px}.av-ux .av-dialog-heading h2{font-size:19px}.av-ux .av-dialog-body{padding:18px 18px 36px}.av-ux .av-context-tabs{gap:4px}.av-ux .av-context-tabs button{padding:8px;font-size:11px}.av-ux .av-dialog-body .av-details{grid-template-columns:repeat(2,minmax(0,1fr))}.av-ux .av-dialog-body .av-list>div{flex-wrap:wrap}.av-ux .av-dialog-body .av-list>div>span:first-child{flex:1;min-width:160px}.av-ux .av-dialog-body .av-market td,.av-ux .av-dialog-body .av-market th{padding:8px 4px}.av-ux .av-dialog-body .av-market .av-button{min-height:40px;max-width:100%}.av-ux .av-dialog-body .av-market small{font-size:10px}.av-ux .av-tutorial-heading{flex-wrap:wrap}.av-ux .av-tutorial h2{font-size:21px}}
.adventure .av-battle-marker[hidden],.adventure .av-battle-error[hidden]{display:none}
.adventure .av-battle-error{position:absolute;inset:auto 12px 12px;background:#162d29ed;border:1px solid #c7af7d;border-radius:8px;padding:14px;color:#f0e4c8}
.adventure .av-battle-error p{margin:0 0 8px}
@media(max-width:600px){.adventure .av-battle-frame{aspect-ratio:1.1;min-height:300px;scroll-margin-block:100px}.adventure .av-battle-marker{font-size:9px;padding:3px;max-width:45px}.adventure .av-battle-full-label{display:none}.adventure .av-battle-compact-label{display:inline}.adventure .av-battle-toolbar{gap:5px}}

.adventure .av-world.av-map-expanded{z-index:2000}
