/* Blackgate: a working port, recorded in ink. Shared type and colour authority. */
@font-face{font-family:Alegreya;src:url('/assets/fonts/alegreya.ttf') format('truetype');font-weight:400 900;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('/assets/fonts/source-sans-3.ttf') format('truetype');font-weight:200 900;font-display:swap}
:root{--ink:#202722;--muted:#586058;--green:#243f36;--deep:#182c26;--gold:#96733d;--paper:#fcf9f1;--border:#d8d3c5;--radius:6px;--district:#596957;--rarity-common:#687267;--rarity-uncommon:#397044;--rarity-rare:#376d96;--rarity-epic:#77599b;--rarity-legendary:#a76b22;font-size:16px}
html{color-scheme:light;scroll-padding-top:110px}body{font-family:'Source Sans 3','Segoe UI',sans-serif;font-size:16px;line-height:1.5;background:#eee9df;color:var(--ink)}
button,input,select,textarea{font:inherit}button{font-weight:600}h1,h2,h3,h4,.item-title{font-family:Alegreya,Georgia,serif;line-height:1.16;letter-spacing:0;font-weight:600;color:var(--ink)}h1{font-size:36px}h2{font-size:28px}h3{font-size:24px}h4{font-size:21px}p{margin:10px 0 16px}small,.small{font-size:14px;line-height:1.5}strong{font-weight:650}a{color:var(--green)}
.shell p,.shell .paper p,dialog p{font-size:16px;line-height:1.5;color:var(--muted)}.shell small,.shell .small,dialog small,dialog .small{font-size:14px;line-height:1.5}.shell .muted,dialog .muted{color:var(--muted)}
.shell .eyebrow,dialog .eyebrow,.eyebrow{font-family:'Source Sans 3',sans-serif;font-size:12px;font-weight:650;letter-spacing:.09em;line-height:1.4;text-transform:uppercase;color:#71603f}.shell .paper .eyebrow{color:#71603f}
.shell .button,.shell .button.small,dialog .button,dialog .button.small,.button{font-size:15px;line-height:1.35;min-height:44px;padding:10px 15px;border-radius:4px;border-color:#c8c4b5;color:var(--green);background:#f9f6ec;box-shadow:none}
.shell .button.primary,dialog .button.primary,.button.primary{background:var(--green);border-color:var(--green);color:#fffdf4}.shell .button.danger,dialog .button.danger{color:#fff;background:#873f36;border-color:#873f36}.button:hover:not(:disabled){filter:brightness(.95);transform:none}.button:disabled{opacity:.58;cursor:not-allowed}
.shell .text-link,dialog .text-link,.text-link{font-size:15px;line-height:1.4;min-height:40px;color:#285447}.shell .icon-button,dialog .icon-button{min-width:44px;min-height:44px}.shell .badge,dialog .badge,.badge{font-size:12px;line-height:1.4;letter-spacing:.015em;border-radius:3px;padding:4px 7px}.badge.positive{background:#e3eadc;color:#315038}
.shell label,.shell .action-form label,dialog label{font-size:15px;line-height:1.5;color:#485346}.shell input,.shell select,dialog input,dialog select{font-size:16px;min-height:44px;border-radius:4px;border-color:#bfc1b4;color:var(--ink);background:#fffdf7}.shell label small{font-size:13px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #977139;outline-offset:3px}::selection{color:#14281f;background:#e1c894}summary{font-size:15px;line-height:1.5;min-height:44px;cursor:pointer}button,input,select{scroll-margin-block:120px}
.shell{grid-template-columns:236px minmax(0,1fr)}.shell .sidebar{background:#202e28;border-color:#414a3e;padding:26px 15px 16px}.brand{gap:12px;padding-bottom:24px}.brand>img{width:44px;height:53px}.brand>span{font-family:Alegreya,Georgia,serif;font-size:24px;letter-spacing:.035em}.brand small{font-family:'Source Sans 3',sans-serif;font-size:11px;letter-spacing:.12em;color:#c4bea5}
.side-character{border-block-color:#465044;padding:15px 7px}.side-character strong{font-size:16px;color:#f8f3e4}.side-character span{font-size:13px;color:#cbcdbf}.avatar{background:#34453a;color:#e6d1a0}.sidebar .nav-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#bfb9a4;padding-left:12px;margin-bottom:5px}.nav-group{margin-top:20px}.sidebar .nav-item{font-size:15px;line-height:1.4;color:#e5e6d8;min-height:43px;border-radius:4px}.sidebar .nav-item .icon{color:#b9bda5}.sidebar .nav-item.active{background:#394d3d;border-color:#607157;color:#fff9e8;box-shadow:inset 3px 0 #b69b61}.sidebar .nav-item:hover{background:#304238}.nav-count{font-size:12px;background:#5c6449;color:#fff4d0}.side-bottom{font-size:12px;color:#c6c9b8}
.topbar{background:#f8f4e9;border-bottom:1px solid #cac7b7;padding:17px 32px;gap:24px;min-height:96px}.topbar .resource>div:first-child{font-size:14px;color:#485346}.topbar .resource strong{font-size:17px;color:var(--ink);font-variant-numeric:tabular-nums}.topbar .resource strong small{font-size:14px}.topbar .resource>small{font-size:12px;line-height:1.45;color:#606756}.topbar .resource .meter{height:4px;background:#dddcd0;margin-block:7px}.topbar .purse{border-color:#d7d0ba}.purse .silver{font-family:Alegreya,Georgia,serif;font-size:28px;color:#75603b;line-height:1.2;font-variant-numeric:tabular-nums}.purse .eyebrow{font-size:11px;letter-spacing:.09em}.meter{border-radius:2px;background:#e6e6d9}.meter i{border-radius:2px}.main-shell main{max-width:1440px;padding:28px 32px 44px}
.area-heading{display:flex;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid #c8c4b7;margin-bottom:24px}.area-heading>div{min-width:0}.area-heading h1{margin:5px 0 8px;font-size:36px}.shell .area-heading p{max-width:68ch;font-size:16px;margin:0;color:#50594e}.area-heading .eyebrow{color:#6b614a}.area-seal{flex:none!important;width:68px;height:76px;display:grid;place-items:center;color:var(--district);background:#e4dfd0;border:1px solid #c4bea8;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)}.faction-mark{display:block;width:42px;height:42px;flex:none}.area-seal .faction-mark{width:44px;height:44px}
.shell[data-area=training],.shell[data-area=missions],.shell[data-area=arena]{--district:#465f68}.shell[data-area=crimes],.shell[data-area=attacks]{--district:#79483e}.shell[data-area=market]{--district:#816637}.shell[data-area=professions]{--district:#63564b}.shell[data-area=dungeons]{--district:#665b72}.shell[data-area=journal]{--district:#625e4a}
.paper{background:#fcf9f1;border:1px solid var(--border);border-radius:6px;box-shadow:0 2px 3px #20272204}.section-title{border-color:var(--border)}.section-title h2{font-size:27px}.shell .row.spread{gap:12px}.shell .notice,.shell .notice p,.shell .notice span{font-size:15px;line-height:1.5}.notice{background:#e8eade;border-color:#c4cfb6;border-radius:4px}.notice.amber{background:#f4ecda;border-color:#d8cba9}.shell .tabs button,.shell .mission-filters button{font-size:15px;line-height:1.4;min-height:44px;padding:10px 14px;color:#526051;border-radius:3px}.shell .tabs button.selected,.shell .mission-filters button.selected{color:#203e31;background:#e0e6d6;box-shadow:inset 0 -2px #587054}.tabs{border-color:var(--border);gap:5px;flex-wrap:wrap}.mission-filters{margin-bottom:20px}
.register-masthead{height:238px;position:relative;isolation:isolate;overflow:hidden;background:#223b32;margin:0 0 24px;border:1px solid #bbb69f;border-radius:6px}.register-masthead>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 54%;inset:0;z-index:-2}.register-masthead:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#15271fee,#17291dbb 46%,#16251e10 85%);z-index:-1}.register-masthead>div{height:100%;display:flex;flex-direction:column;justify-content:center;padding:30px 36px;max-width:80%}.shell .register-masthead .eyebrow{color:#e3d7b6}.register-masthead h1{font-size:38px;max-width:21ch;color:#fff6df;margin:12px 0}.register-address{font-size:15px;color:#d6dccc}.register-stamp{position:absolute;bottom:20px;right:26px;width:65px;height:65px;color:#f1e2b0;filter:drop-shadow(0 1px 2px #19281b)}
.paper.overview-chapter{background:#243d33;border-color:#42574a;grid-template-columns:minmax(160px,.65fr) minmax(0,1.4fr);border-radius:5px}.overview-chapter>.scene-art{object-position:center;min-height:262px}.overview-chapter>div{padding:25px}.shell .overview-chapter h2{font-size:29px;color:#fff1d7;margin:8px 0 10px}.shell .overview-chapter p{font-size:16px;color:#d7ddcd}.shell .overview-chapter .eyebrow{color:#e2c891}.shell .overview-chapter .button{color:#223e2d;background:#eee1b9;border-color:#eee1b9;margin-top:12px}.ledger-character{background:#f8f4e8;border-top:3px solid #9a8556}.ledger-character h2{font-size:27px}.ledger-character dt{font-size:15px}.ledger-character dd{font-size:17px}.ledger-character p{font-size:15px}.ledger-character dl>div{border-color:#d8d3c1}
.ledger-action-list h3{font-family:'Source Sans 3',sans-serif;font-size:17px;font-weight:650}.ledger-action-list article{border-color:#d8d3c5;padding:16px 0}.ledger-next>details{border-top:1px solid var(--border);padding-top:10px}.ledger-project strong{font-size:17px}.ledger-disclosure{background:#f6f2e6;border-radius:4px;border-color:#d2cdbb}.ledger-disclosure>summary{font-size:16px;line-height:1.5;color:#394c38;padding-block:14px}.ledger-contacts .contact-portrait{width:74px;height:88px;flex:none}.ledger-contacts>article{border-left:3px solid #b3a077}.ledger-contacts h3{font-size:25px}.ledger-contacts .badge{white-space:normal}
.contact-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.contact-record{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;padding:15px 13px;background:#f6f1e5;border:1px solid #d0c8b7;border-top:3px solid var(--contact-colour,#637260);border-radius:4px;align-items:start}.faction-watch{--contact-colour:#526a73}.faction-thieves{--contact-colour:#925949}.faction-merchants{--contact-colour:#9b7e42}.contact-portrait{display:block;width:76px;height:96px;border:1px solid #b0a78d;border-radius:3px;background:#313b2f}.contact-record h3{font-size:24px;margin:4px 0 7px}.contact-record p{font-size:14px!important;line-height:1.45!important;margin:0 0 10px}.contact-record .eyebrow{font-size:10px;letter-spacing:.055em}.contact-record small{font-size:13px}.contact-record>.button{grid-column:1/-1;justify-self:start;min-height:40px}.contact-record>.faction-mark{grid-column:1;grid-row:2;color:var(--contact-colour)}.contact-board:has(.contact-record:only-child){grid-template-columns:1fr}.contact-record:only-child{grid-template-columns:82px minmax(0,1fr) auto;padding:16px 20px;align-items:center}.contact-record:only-child>.faction-mark{grid-column:3;grid-row:1}
.shell .mission-grid{grid-template-columns:1fr;gap:14px}.mission-card{display:grid;grid-template-columns:210px minmax(0,1fr);border-left:3px solid var(--contact-colour,#626c54);overflow:hidden;box-shadow:none}.shell .mission-art{height:100%;min-height:196px;align-self:stretch;border-radius:0}.mission-art .location-art{height:100%;object-fit:cover}.mission-art .mission-emblem{color:#f5e2b1;background:#223027a8;border-color:#bfb3916b;width:48px;height:48px;top:14px;left:14px}.mission-emblem .faction-mark{width:31px;height:31px}.shell .mission-art>span{font-size:13px;line-height:1.4;right:12px;bottom:12px;top:auto;left:12px;max-width:none;padding:7px 10px;background:#19281cd9;color:#f7f2df;border-radius:3px;white-space:normal;text-align:left}.shell .mission-body{padding:20px 24px}.shell .mission-body h3{font-size:29px;margin:7px 0 10px}.shell .mission-body>p{font-size:16px;margin:8px 0 14px;min-height:0}.shell .mission-meta{font-size:14px;color:#5c6654}.mission-card .badge{font-size:12px}.mission-body>.row:last-child{border-top:1px solid #e0d9c8;padding-top:13px;margin-top:14px}
.training-grid{gap:16px}.train-card{border-top:3px solid #526a73}.train-card h3{font-size:26px}.train-card .stat-value{font-family:Alegreya,Georgia,serif;font-size:42px;line-height:1.1;color:#31463b}.train-card p{font-size:15px!important;min-height:0}.train-controls{border-color:#d8d3c5}.train-card label{font-size:14px}.crime-list{gap:0}.crime-card{border-left:3px solid #8d5a46;background:#f9f5e9}.crime-card h3{font-size:27px}.shell .crime-preview,.shell .crime-preview small,.shell .enemy-stats,.shell .class-skill p,.shell .class-skill small,.shell .recipe-cost{font-size:14px;line-height:1.5}.shell .crime-preview strong,.shell .class-skill strong{font-size:16px}.crime-preview{background:#eeeadc;border-color:#d8d0bb}
.shell .gear-slot strong{font-size:15px}.shell .gear-slot span{font-size:13px}.gear-slot{border-color:#d6d0bf;background:#f9f5e9;border-radius:4px}.shell .item-title{font-size:25px;line-height:1.14}.shell .item-base{font-size:15px}.shell .affix-list,.shell .affix-list li{font-size:14px;line-height:1.5}.shell .item-card small{font-size:14px}.item-card{border-radius:5px}.shell .inventory-stack .item-title,.shell .inventory-row .item-title{color:var(--ink)}.shell .inventory-row .item-title{font-family:'Source Sans 3',sans-serif;font-size:17px;font-weight:650}.inventory-row{border-radius:3px;background:#faf7ef}.inventory-row .quantity-tag{font-size:14px;background:#e4e7d6;border-radius:3px}.inventory-tools{border-top:3px solid #607058;background:#f7f3e7}.catalogue-controls label{font-size:14px}.inventory-count{font-size:15px}.slot-tabs button{font-size:14px}.rarity-legendary .item-title,.rarity-epic .item-title{color:#243d30}.item-footer{border-top-color:#ded8c5}.shell .stat-source-table{font-size:14px;line-height:1.5}
.gathering-skill{background:#f9f5e9}.gathering-skill-body{padding:24px}.gathering-skill-header h2{font-size:30px}.gather-destinations h3,.gather-trip h3{font-size:25px}.destination-choice{border-radius:4px;background:#f7f3e7}.destination-choice strong{font-size:16px}.destination-choice small{font-size:14px}.destination-choice.selected{background:#e4e8d6;border-color:#81966f;box-shadow:inset 3px 0 #385739}.gathering-tools>summary{font-size:16px}.gathering-tool-row small{font-size:14px}.expedition-header h1{font-size:36px}.expedition-header p{font-size:16px}.expedition-clock{font-family:Alegreya,Georgia,serif;font-size:42px;font-variant-numeric:tabular-nums;line-height:1.2}.expedition-location{font-size:13px;letter-spacing:.08em}.expedition-progress strong{font-size:18px}.expedition-loot-list strong{font-size:15px}.expedition-loot-list small{font-size:14px}.expedition-page .eyebrow{font-size:12px}
.home-overview{border-top:3px solid #b49b64}.home-overview h2{font-size:34px}.home-illustration>span{font-family:Alegreya,Georgia,serif;font-size:29px}.home-bonuses span{font-size:14px}.home-roadmap{background:#e5dfcf;border:1px solid #d1c7af;border-radius:4px;padding:16px;margin:24px 0}.home-roadmap strong{font-family:Alegreya,Georgia,serif;font-size:22px}.home-roadmap small{font-size:13px}.home-next{border-left:3px solid #a8905b}.home-gates{font-size:15px}.construction-cost{font-size:14px;line-height:1.45;gap:10px;border-color:#dcd5c2}.construction-cost .short{color:#984638}.construction-cost .enough{color:#425c37}.room-card{border-top:3px solid #a3946e}.room-card h3{font-size:26px}.room-card .room-symbol{border-color:#c9bb92;background:#f7efdc;color:#83703c}.room-card p{font-size:15px!important}.room-card small{font-size:14px}
.profession-book{position:relative;overflow:hidden;border-top:3px solid #887151;padding:24px;margin-bottom:24px}.profession-scene{max-height:120px;opacity:.75;object-position:center 60%}.profession-heading{position:relative}.profession-heading h2{font-size:31px}.profession-heading p{font-size:15px!important}.skill-progress{font-size:14px;color:#5b6553;border-bottom:1px solid #d2c9b3;padding-bottom:18px;margin-bottom:6px}.profession-recipe{border-bottom:1px solid #dcd4c1;border-radius:0;padding:18px 0;align-items:start;gap:20px;background:transparent}.profession-recipe>.tiny-art{width:58px;height:58px;border-radius:3px;background:#e4dfcf}.profession-recipe h3{font-size:24px;margin-bottom:5px}.profession-recipe p{font-size:15px!important;margin:5px 0}.profession-recipe p.small{font-size:14px!important}.profession-recipe .construction-cost{background:#eee9dc;padding:8px 10px;border:0}.profession-recipe .row.wrap{margin-top:12px}.future-recipe{border-bottom:1px solid #dcd4c1;background:#f3efe3}.future-recipe>summary{font-size:15px;padding:12px 14px}.future-recipe>.profession-recipe{padding:16px 14px}.recipe-lock{font-size:14px;color:#7c5238}.profession-tabs{margin-bottom:20px}
.shop-grid,.recipe-grid{gap:14px}.shop-card,.recipe-card{border-left:3px solid #a28c59}.shop-card h3,.recipe-card h3{font-size:25px}.shop-card p,.recipe-card p{font-size:15px!important}.shop-card .price{font-size:22px;font-family:Alegreya,Georgia,serif}.order-row,.market-row{border-radius:3px;border-color:#d6ceba}.market-row h3,.order-row h3{font-size:23px}.trading-tabs{margin-bottom:24px}.workshop-grid{gap:14px}.repair-card{border-top:2px solid #9c8a5b}
.class-card,.merit-card{border-top:3px solid #8f865b}.class-card h3,.merit-card h3{font-size:28px}.class-card p,.merit-card p{font-size:15px!important}.class-skill{background:#eeedde;border-color:#d2ceb9}.merit-card .rank-track{gap:5px}.character-hero h2{font-size:32px}.character-hero .stat-value{font-size:28px}.pursuit-card h3,.ambition-card h3{font-size:25px}.pursuit-card p,.ambition-card p{font-size:15px!important}.ambition-grid{gap:14px}.pursuit-progress{font-size:14px}.pursuit-reward{font-size:14px}.pursuit-label{font-size:12px;letter-spacing:.06em}
.dungeon-card{border-top:3px solid #7b6e80}.dungeon-card h3{font-size:28px}.allowance-grid strong{font-family:Alegreya,Georgia,serif;font-size:27px}.allowance-grid small{font-family:'Source Sans 3',sans-serif;font-size:14px}.entry-calendar p{font-size:15px!important}.calendar-window{font-size:15px;border-radius:3px}.party-roster h3{font-size:23px}.party-member strong{font-size:16px}.party-member small{font-size:14px}.opponent h3,.opponent-card h3{font-size:25px}.opponent-stats{font-size:14px}.attack-clock strong{font-family:Alegreya,Georgia,serif;font-size:28px}
.tactical-panel{border-top:3px solid #8e7452;padding:24px}.tactical-panel h2{font-size:30px}.combat-scene{border-radius:4px;border:1px solid #766948;max-height:350px}.scene-fighter>span{font-size:15px;line-height:1.4}.scene-versus{font-size:12px;letter-spacing:.09em}.combat-health{font-size:15px;border-bottom:1px solid var(--border);padding-bottom:16px}.enemy-intention{background:#f0e8d4;border:1px solid #c9b992;border-left:4px solid #96733d;border-radius:4px;padding:14px 18px}.enemy-intention>strong{font-size:19px;color:#3a3e2b}.enemy-intention p{font-size:15px!important;margin:6px 0 0}.tactical-actions{gap:10px;padding:18px 0}.tactical-actions small{font-size:14px}.tactical-actions .button{width:100%}.combat-rules{border-block:1px solid #ded5bf;padding:6px 0}.turn-events{border-radius:3px;background:#e6e8db;padding:10px 16px}.turn-events p{font-size:15px!important;margin:5px 0}.combat-log{font-size:14px;line-height:1.55}.guild-stat strong{font-size:27px;font-family:Alegreya,Georgia,serif}.guild-stat small{font-size:14px}.journal-entry{font-size:15px;line-height:1.5;border-color:#d7ceba}.journal-entry time{font-size:13px;color:#716449}.journal-entry:before{border-color:#9c8860}.collection-card h3{font-size:24px}.achievement-row h3{font-family:'Source Sans 3',sans-serif;font-size:17px}
dialog{background:#fcf9f1;font:16px/1.5 'Source Sans 3',sans-serif;border:1px solid #a8ad9b;border-radius:7px;padding:26px;box-shadow:0 14px 60px #15291d38}dialog::backdrop{background:#18291eb0;backdrop-filter:blur(3px)}dialog .modal-head{border-color:#d2cbb8}dialog .modal-head h2{font-size:31px}dialog>p{font-size:16px;line-height:1.5}dialog .tier-preview,dialog .tier-preview strong,dialog .tier-preview p,dialog .tier-preview>.row,dialog .odds-grid{font-size:15px}dialog .reveal-caption{font-size:15px;letter-spacing:.015em}dialog .reveal-card{border-radius:5px}dialog .reveal-card h3{font-size:27px}dialog .reward-gains{font-size:15px;line-height:1.5}dialog .reveal-quality{font-size:12px;letter-spacing:.07em}dialog .result-message{font-size:15px}dialog .result-status{font-size:13px}.shell .footer{font-size:12px;color:#63664f;border-color:#d2c9b4}#toast{font-size:15px;line-height:1.4;border-radius:4px}
.auth-card h1{font-size:36px}.auth-card p{font-size:16px}.auth-card label{font-size:15px}.auth-card input{font-size:16px}.auth-card .eyebrow{font-size:12px}.auth-banner h2{font-size:32px}.auth-error{font-size:15px}.loading{font-size:17px}
.recipe-list{display:block}.profession-recipe{display:grid;grid-template-columns:58px minmax(0,1fr);border:0;border-bottom:1px solid #dcd4c1}.profession-recipe.known{border-bottom-color:#c6cbb5}.construction-cost>span{font-size:14px}.skill-progress>span{font-size:14px}.calendar-window span{font-size:14px}.allowance-grid>div>small{font-size:14px}.reward-tile strong{font-family:Alegreya,Georgia,serif;font-size:25px;line-height:1.15}.reward-tile>span{font-size:14px;line-height:1.45}.reveal-caption{font-size:15px}.scene-versus{font-family:'Source Sans 3',sans-serif}.welcome-art{background-image:url('/assets/port-v18/blackgate-harbour.png');background-position:62% center}.welcome-copy h1{font-size:68px;color:#f9f0d8}.welcome-copy .eyebrow{font-size:12px;color:#d4c399}.welcome-sub{font-size:14px;letter-spacing:.12em;color:#d8cfb5}.welcome-copy>p{font-size:18px;line-height:1.55;color:#d7ddd0;max-width:32ch}.welcome-features{font-size:15px;color:#d0dac4}.welcome-card h2{font-size:32px}.welcome-card>p{font-size:16px}.welcome-card label{font-size:15px}.welcome-card input{font-size:16px;min-height:44px}.welcome-card .fine-print{font-size:14px;line-height:1.5;color:#626853}.welcome-foot{font-size:12px;letter-spacing:.09em;color:#d0c7aa}.welcome-card .tabs button{font-size:15px;min-height:44px}.npc-sell-grid{grid-template-columns:1fr}.npc-sell-card{border-radius:3px;box-shadow:none;padding:15px 18px;border-left:2px solid #a08e62}.npc-sell-card h3{font-family:'Source Sans 3',sans-serif;font-size:18px;font-weight:650}.npc-sell-card p{font-size:14px!important;margin:5px 0}.npc-stock strong{font-size:21px}.economy-grid strong{font-family:Alegreya,Georgia,serif;font-size:30px}.chronicle-entry h3{font-family:'Source Sans 3',sans-serif;font-size:18px;font-weight:650}.chronicle-entry .eyebrow{font-size:12px}.character-summary h2{font-size:32px}.stat-value{font-family:Alegreya,Georgia,serif;font-size:40px;line-height:1.15}.avatar{font-family:Alegreya,Georgia,serif;font-size:25px}.quality-common{--common:#626b60}.quality-uncommon{--uncommon:#347040}.quality-rare{--rare:#356995}.quality-epic{--epic:#775293}.quality-legendary{--legendary:#97611a}.badge.amber{color:#785523}.badge.danger{color:#913b2d}
.badge{color:#565b4e}.shell .silver,dialog .silver{color:#80602d}.shell .tier-note span,.shell .tier-note small,.shell .combat-log li,.shell .enemy-stats span,.shell .class-skill small,.shell .stat-source-table>.row:first-child,.shell .stat-source-table>.row:first-child span{color:#586058}.shell .class-skill strong{color:#3c563b}.shell .reward-line>span,dialog .reward-line>span{color:#405a35}.result-panel summary>span{color:#61694f}.home-roadmap>div>span{color:#53603c}.home-illustration>span{background:#18281ddb;border:1px solid #bdab7955;border-radius:3px;padding:4px 10px;line-height:1.25}.large-avatar{font-family:Alegreya,Georgia,serif;font-size:44px;color:#4e6040}.contract-outcomes{font-size:15px;color:#6b5939}.shell .badge.positive{color:#315038}.shell .badge.danger{color:#913b2d}.shell .badge.amber{color:#785523}.shell .preset-row small{font-size:14px;color:#5c6253}.shell .item-footer small{color:#5c6253}.shell .crime-preview small{color:#536744}
.trip-hero{border-radius:5px}.shell .trip-hero h1{font-size:36px;line-height:1.16}.trip-time strong{font-family:Alegreya,Georgia,serif;font-size:35px;line-height:1.2;font-variant-numeric:tabular-nums}.trip-time>span,.trip-loot small,.trip-gem-find small{font-size:14px}.trip-layout>.paper{border-radius:5px}.trip-layout h2{font-size:28px}.trip-tool-stats>div{font-size:15px}.shell .nav-away-note{font-size:14px;line-height:1.5}.rarity-label{font-size:12px;line-height:1.5;letter-spacing:.015em}.trip-hero .eyebrow{color:#ead6a4}.shell .trip-hero .badge{background:#1b332beb;color:#e2ebde}
.shell .stat-source-table>div:first-child span{color:#586058}.profession-tabs small{display:block;font-size:14px;font-weight:400;margin-top:4px}.profession-tabs button{min-width:0}.result-panel>p,.result-panel small,dialog .result-panel>p,dialog .result-panel small{color:#586058}.shell .text-link,dialog .text-link,.contact-record>.button,.shell .shop-item-info summary{min-height:44px}.topbar{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.npc-search{display:grid;grid-template-columns:minmax(200px,520px) auto;gap:20px;align-items:end;padding:16px 0;border-bottom:1px solid #cbc4b2}.npc-search label{display:grid;gap:7px}.npc-search p{margin:0 0 10px}.npc-buy-grid{grid-template-columns:1fr;gap:10px}.npc-shop-item{display:grid;grid-template-columns:64px minmax(0,1fr) 185px;gap:20px;align-items:start;padding:17px 20px}.npc-shop-item>.item-art{width:64px;height:64px;flex:none}.npc-item-copy{min-width:0}.npc-item-copy h3{font-size:25px}.npc-item-copy>.row{flex-wrap:wrap;gap:10px}.npc-item-copy strong{font-size:16px;color:#795b2e}.npc-item-copy p{margin:5px 0}.npc-shop-item .npc-buy-form{display:grid;grid-template-columns:1fr;gap:8px}.npc-shop-item label{font-size:14px}.shop-item-info summary{font-size:14px;color:#415a3b;min-height:34px;padding-top:5px}.npc-sell-card[hidden],.npc-shop-item[hidden]{display:none!important}
@media(max-width:560px){.topbar{grid-template-columns:repeat(2,minmax(0,1fr))}.npc-search{grid-template-columns:1fr;gap:4px}.npc-search p{margin:6px 0 0}.npc-shop-item{grid-template-columns:52px minmax(0,1fr);padding:16px;gap:12px}.npc-shop-item>.item-art{width:52px;height:52px}.npc-item-copy h3{font-size:25px}.npc-shop-item .npc-buy-form{grid-column:1/-1;grid-template-columns:minmax(60px,.7fr) minmax(100px,1fr);align-items:end;gap:12px}.npc-item-copy>.row{display:block}.npc-item-copy strong{display:block;margin-top:6px}}
@media(max-width:560px){.profession-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.shell .profession-tabs button{font-size:14px;padding-inline:4px}.profession-tabs small{font-size:14px}.loot-award{flex-wrap:wrap;gap:12px}.loot-award>div{flex:1;min-width:0}.loot-award strong{font-size:17px;overflow-wrap:anywhere}.loot-award>.button{margin-left:0;max-width:100%;flex:1;white-space:normal}}
@media(max-width:1200px){.contact-board{grid-template-columns:1fr}.contact-record{grid-template-columns:76px minmax(0,1fr) auto;align-items:center}.contact-record>.button{grid-column:3;grid-row:1}.contact-record p{max-width:70ch}.contact-record h3{font-size:25px}.ledger-overview-top{grid-template-columns:1fr}.register-masthead h1{font-size:36px}}
@media(max-width:860px){.shell{display:block}.main-shell main{padding:24px 20px 36px}.topbar{padding:15px 20px;gap:14px}.topbar .resource strong{font-size:16px}.topbar .purse .silver{font-size:25px}.mobile-navigation{background:#202e28;border-top-color:#54604d}.mobile-navigation button{font-size:12px;line-height:1.3}.mobile-navigation button.active{background:#394d3d;color:#fff3d2;box-shadow:inset 0 2px #b39b63}.mission-card{grid-template-columns:175px minmax(0,1fr)}.shell .mission-body{padding:18px}.shell .mission-body h3{font-size:27px}.shell .footer{padding-inline:20px}.area-heading h1{font-size:33px}.tactical-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.profession-heading{flex-wrap:wrap}}
@media(max-width:560px){html{scroll-padding-top:20px}.main-shell main{padding:20px 14px 30px}.topbar{padding:14px 16px;gap:12px 20px}.shell .topbar .resource>div:first-child{font-size:14px}.topbar .resource strong{font-size:16px}.topbar .purse .eyebrow{font-size:12px}.topbar .purse .silver{font-size:24px}.topbar .resource>small{font-size:12px}.area-heading{gap:13px;padding-bottom:18px;align-items:start}.area-seal{width:48px;height:56px}.area-seal .faction-mark{width:33px;height:33px}.area-heading h1{font-size:30px;margin-top:6px}.area-heading .eyebrow{font-size:10px;letter-spacing:.06em}.shell .area-heading p{font-size:15px}.paper{padding:18px}.shell h2{font-size:27px}.shell h3{font-size:24px}.register-masthead{height:222px;margin-bottom:20px}.register-masthead>div{padding:24px 20px;max-width:100%}.register-masthead h1{font-size:33px;max-width:18ch;margin:10px 0}.register-masthead .eyebrow{font-size:11px}.register-masthead:after{background:linear-gradient(90deg,#172a22ee,#17291d88)}.register-stamp{width:39px;height:39px;right:16px;bottom:16px}.register-address{font-size:14px}.overview-chapter>.scene-art{height:170px;min-height:0;object-position:center 45%}.overview-chapter>div{padding:22px 20px}.shell .overview-chapter h2{font-size:28px}.contact-record,.contact-record:only-child{grid-template-columns:68px minmax(0,1fr);padding:14px;gap:12px;align-items:start}.contact-portrait{width:68px;height:86px}.contact-record .eyebrow{font-size:10px}.contact-record h3{font-size:24px}.contact-record>.button{grid-column:2;grid-row:2;justify-self:stretch}.contact-record:only-child>.faction-mark{display:none}.shell .mission-card{display:block}.shell .mission-art{height:150px;min-height:0}.shell .mission-body{padding:19px}.shell .mission-body h3{font-size:27px}.shell .mission-art>span{max-width:none;left:auto;right:12px;bottom:12px;font-size:13px;max-width:calc(100% - 86px)}.shell .mission-body>.row:last-child{align-items:start}.shell .mission-body>.row:last-child .button{max-width:100%;white-space:normal}.ledger-contacts article{display:grid;grid-template-columns:66px minmax(0,1fr);gap:12px}.ledger-contacts .contact-portrait{width:66px;height:82px}.ledger-contacts .button{grid-column:1/-1}.ledger-contacts h3{font-size:25px}.ledger-contacts .badge{grid-column:2}.shell .inventory-grid .item-title{font-size:25px}.shell .inventory-row .item-title{font-size:17px}.shell .inventory-tabs button{font-size:14px}.shell .inventory-tools .small{font-size:14px}.shell .gathering-tabs button{font-size:15px}.gathering-tabs span{font-size:12px}.shell .gathering-tools>summary{font-size:15px}.gathering-skill-body{padding:18px}.gathering-skill-header h2{font-size:28px}.expedition-header h1{font-size:31px}.expedition-clock{font-size:37px}.home-overview h2{font-size:31px}.home-roadmap{padding:12px;gap:9px}.home-roadmap strong{font-size:18px}.home-roadmap small{font-size:12px}.home-illustration>span{font-size:26px}.room-card h3{font-size:25px}.profession-book{padding:18px}.profession-heading{gap:12px}.profession-heading h2{font-size:29px}.profession-recipe{gap:12px;grid-template-columns:44px minmax(0,1fr)}.profession-recipe>.tiny-art{width:44px;height:44px}.profession-recipe h3{font-size:23px}.profession-recipe .row.spread{align-items:start}.profession-recipe .row.wrap .button{white-space:normal}.construction-cost{font-size:14px;gap:8px;flex-wrap:wrap}.tactical-panel{padding:18px}.combat-scene{height:240px}.combat-health{gap:12px;font-size:14px}.scene-fighter>span{font-size:13px;max-width:120px;text-align:center;white-space:normal}.scene-versus{font-size:10px;letter-spacing:.06em}.tactical-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.tactical-actions small{font-size:13px}.tactical-actions .button{font-size:15px}.enemy-intention{padding:13px 14px}.enemy-intention>strong{font-size:18px}.enemy-intention p{font-size:14px!important}.shell .footer{padding-inline:14px}.mobile-navigation button{font-size:11px}dialog{padding:21px 18px}dialog .modal-head h2{font-size:28px}dialog .reveal-card h3{font-size:24px}.odds-grid{font-size:14px}.item-modal h2{font-size:28px}}
@media(max-width:360px){.main-shell main{padding-inline:12px}.register-masthead>div{padding-inline:17px}.register-masthead h1{font-size:30px}.area-heading{gap:10px}.area-heading h1{font-size:28px}.area-seal{width:42px;height:50px}.contact-record>.button{grid-column:1/-1}.shell .tabs button,.shell .mission-filters button{padding-inline:10px;font-size:14px}.shell .mission-body{padding:16px}.shell .button,.shell .button.small{padding-inline:12px}.profession-recipe{grid-template-columns:1fr}.profession-recipe>.tiny-art{width:52px;height:52px}.home-roadmap strong{font-size:16px}.home-roadmap small{font-size:11px}}
.shell .gear-slot span{font-size:14px;color:#586058}.shell .affix-list .signature,dialog .affix-list .signature{color:#795b2e}.item-detail .affix-list small{color:#60674f;font-size:14px}.item-detail>strong{color:#795b2e}
@media(max-width:560px){.welcome-copy h1{font-size:48px}}
@media(max-width:360px){.welcome-copy h1{font-size:42px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Focused workspaces keep controls beside the selected record. */
[hidden]{display:none!important}
.workspace-tabs{margin:12px 0 18px;gap:6px;flex-wrap:wrap}
.workspace-tabs button,.record-choice,.record-pagination button{min-height:44px}
.record-search{display:block;max-width:420px;margin:12px 0;font-weight:600}
.record-search input{width:100%;margin-top:5px}
.record-workspace{display:grid;grid-template-columns:minmax(190px,250px) minmax(0,1fr);gap:20px;align-items:start;margin:16px 0 28px;width:100%}
.record-list{display:flex;flex-direction:column;gap:5px;min-width:0}
.record-choice{display:flex;align-items:center;gap:10px;text-align:left;padding:12px;background:var(--paper);border:1px solid var(--border);border-radius:4px;color:var(--ink);width:100%;line-height:1.3}
.record-choice span{min-width:0}.record-choice strong,.record-choice small{display:block;overflow-wrap:anywhere}.record-choice small{font-weight:400;color:var(--muted);margin-top:4px;font-size:14px}
.record-choice .tiny-art{width:42px;height:42px;flex:0 0 42px;margin:0}
.record-choice.selected{border-color:var(--green);box-shadow:inset 3px 0 var(--green);background:#e9eee4}
.record-detail{min-width:0}.record-detail article{width:100%}.record-detail .paper{margin-top:0}.record-detail .mission-card,.record-detail .dungeon-card,.record-detail .room-card{overflow:hidden}
.record-detail .scene-art{max-height:230px}.record-back{display:none}.record-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.opponent-grid:has(.record-workspace){display:block}
.filter-toolbar,.forge-toolbar,.school-strip{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}
.filter-toolbar label{flex:1 1 130px;min-width:0}.filter-toolbar select{display:block;width:100%;margin-top:4px}
.school-strip{align-items:center;justify-content:space-between;padding:14px;margin-bottom:12px}
.transaction-total{font-size:15px;grid-column:1/-1;white-space:normal;color:var(--green)}
.npc-stock{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--border);background:var(--paper);border-radius:4px;margin-bottom:16px}
.npc-stock p{margin:4px 0}.npc-item-copy{min-width:0}.npc-buy-grid,.npc-sell-grid{display:flex;flex-direction:column;gap:8px}
.npc-shop-item,.npc-sell-card,.forge-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px}
.npc-shop-item h3{margin:0 0 5px}.npc-shop-item p,.npc-sell-card p{margin:4px 0}.npc-buy-form{display:flex;flex-wrap:wrap;gap:8px;align-items:end;max-width:265px;margin:0}.npc-buy-form label{flex:0 1 78px}.npc-buy-form input{width:100%}.npc-buy-form .transaction-total{flex:1 1 100%;order:3}.npc-buy-form button{min-height:44px}
.availability-reason{color:#80431e;font-size:15px}.gear-selection{display:flex;gap:6px;align-items:center}.gear-selection input{width:18px;height:18px;flex:0 0 18px;margin:0}.gear-selection .tiny-art{width:40px;height:40px;margin:0}
.forge-row{border-bottom:1px solid var(--border);padding:14px 0}.forge-row small{display:block;color:var(--muted);font-size:14px}.forge-toolbar{position:sticky;top:0;background:var(--paper);padding:12px 0;z-index:1;justify-content:space-between;align-items:center}
.inspector-footer{border-top:1px solid var(--border);padding-top:16px;margin-top:20px}.current-commitment{margin-bottom:20px}.profession-scene{max-height:160px}.crafting-help{margin:12px 0}.record-detail .profession-recipe{grid-template-columns:64px minmax(0,1fr)}
@media(max-width:760px){
 .record-workspace{grid-template-columns:minmax(0,1fr);gap:12px}.record-detail{display:none}.record-workspace.detail-open .record-list{display:none}.record-workspace.detail-open .record-detail{display:block}.record-back{display:block;margin-bottom:12px}.record-search{max-width:none}
 .npc-shop-item,.npc-sell-card,.forge-row{grid-template-columns:48px minmax(0,1fr);gap:10px}.npc-shop-item>.npc-buy-form,.npc-sell-card>.npc-buy-form,.npc-sell-card>button,.forge-row>button{grid-column:2;justify-self:start}.npc-buy-form{max-width:100%;width:100%}.npc-stock{display:block}.npc-stock>p{margin-top:10px}.record-detail .profession-recipe{grid-template-columns:40px minmax(0,1fr)}.forge-toolbar button{flex:1 1 150px}
}
.trade-receipt{padding:12px 15px;margin:14px 0;background:#e7eddf;border-left:3px solid var(--green);color:#294837;font-size:15px}.trade-services{margin-top:24px;border-top:1px solid var(--border);padding-top:12px}.destination-entries{display:flex;flex-wrap:wrap;gap:8px 15px;padding:12px 0;margin-bottom:10px;border-bottom:1px solid var(--border);font-size:15px}.destination-entries p{flex:1 1 100%;margin:0}.entry-rules{margin:12px 0 20px}.section-menu>.nav-label{margin-top:12px}.record-detail .crime-card .row{flex-wrap:wrap}
