/* Social rooms, captain's cabin and battle records: wood, cloth and real paper. */
.community-atlas-icon{display:inline-block;flex:0 0 auto;width:70px;height:70px;background-image:url('/art/interface/navigation-atlas.webp');background-size:400% 400%;background-repeat:no-repeat;filter:drop-shadow(0 4px 3px #120a0680)}
.brotherhood-page,.tavern-page,.account-page,.battle-card,.report,.help-card{--community-ink:#3a2114;--community-muted:#765332;--community-gold:#e4b85f;--community-ivory:#fff2cf;--community-teal:#073b3e;font-family:var(--font-body);font-size:15px;line-height:1.65}
.brotherhood-page :is(h2,h3),.account-page :is(h2,h3),.battle-card h3,.report h3,.help-card h3{font-family:var(--font-display);font-weight:400;letter-spacing:.2px}
.brotherhood-page :is(button,input,select),.tavern-page :is(button,input,select,textarea),.account-page :is(button,input){font-size:15px;line-height:1.4}
.brotherhood-page :is(button,a,input,select):focus-visible,.tavern-page :is(button,a,input,select,textarea):focus-visible,.account-page :is(button,a,input):focus-visible{outline:3px solid #e4b85f;outline-offset:3px}

/* The tavern is a wooden table, with messages laid on parchment. */
.tavern-page{padding:24px;border:8px solid #41200f;border-radius:3px;background:#694021 url('/art/interface/wood.webp') center/700px;box-shadow:inset 0 0 0 1px #d8a96280,inset 0 0 40px #1c0d064d,0 12px 25px #130a064d;color:#fff2cf}
.tavern-page .chat-toolbar{margin:0 0 22px;gap:16px;align-items:end}
.tavern-page .chat-toolbar .tab-strip{gap:8px}
.tavern-page .chat-toolbar .tab-strip button{display:flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;min-height:65px;background:#073b3e;color:#fff2cf;border:2px solid #bc8c44;border-radius:3px;box-shadow:inset 0 0 0 1px #092d2e,0 3px 6px #160b0766;font-size:15px;font-family:var(--font-body)}
.tavern-page .chat-toolbar .tab-strip button.active{background:#e6c187 url('/art/interface/parchment.webp') center/500px;color:#3a2114;border-color:#f6d58d;box-shadow:inset 0 0 12px #9d602b38,0 3px 6px #160b0766}
.tavern-page .chat-toolbar .tab-strip button:disabled{opacity:.45}
.tavern-page .chat-toolbar .community-atlas-icon{width:42px;height:42px;filter:drop-shadow(0 3px 1px #160b0755)}
.tavern-page .chat-toolbar>label{min-width:180px;flex:1;max-width:300px;color:#fff2cf;font-size:13px;margin:0}
.tavern-page .chat-toolbar select{width:100%;margin-top:7px;min-height:45px;color:#3a2114;border:2px solid #ae7e43;background:#f3ddb0 url('/art/interface/parchment.webp') center/500px;padding:9px 12px}
.tavern-page .chat-toolbar>.secondary{min-height:45px;padding:10px 16px;background:#412719;color:#fff2cf;border:1px solid #d8ac67}
.tavern-page .chat-messages{height:450px;max-height:65vh;min-height:300px;padding:20px;border:3px solid #a97a3f;border-radius:2px;background-color:#e7c994;background-image:linear-gradient(#fff2cf26,#fff2cf26),url('/art/interface/parchment.webp');background-size:auto,700px;box-shadow:inset 0 0 28px #59361938,0 4px 8px #160a0755;scrollbar-color:#8a542e #ddbd83}
.tavern-page .chat-message{display:flex;gap:15px;max-width:92%;padding:16px 20px;margin:0 0 15px;color:#3a2114;background:#fff4d657;border:1px solid #a3713f42;border-left:4px solid #9d4b24;border-radius:2px;box-shadow:0 3px 8px #57381715}
.tavern-page .chat-message.own-message{background:#f6e5bdab;border-left:1px solid #a3713f42;border-right:4px solid #0a5256;margin-left:auto}
.tavern-page .chat-captain-portrait{display:block;flex:0 0 auto;width:58px;height:64px;border:2px solid #9d6b32;background:#273a2a;box-shadow:0 3px 5px #4b2c1944;overflow:hidden;border-radius:3px}
.tavern-page .chat-captain-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 22%}
.tavern-page .chat-message-body{min-width:0;flex:1}
.tavern-page .chat-message header{gap:8px 13px;font-size:14px;line-height:1.4;color:#3a2114}
.tavern-page .chat-message header b{color:#3a2114;font-family:var(--font-body);font-size:16px;overflow-wrap:anywhere}
.tavern-page .chat-message time{font-size:12px;color:#765332}
.tavern-page .chat-message .text-button{font-size:12px;line-height:1.5;min-height:27px;padding:0 2px;color:#075056}
.tavern-page .chat-message p{font:15px/1.8 var(--font-body);color:#3a2114;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0}
.tavern-page .chat-empty{margin:30px auto;color:#56351f;text-align:center;font-family:var(--font-body);max-width:450px}
.tavern-page .chat-empty-art{display:block;margin:0 auto 12px;width:130px;height:130px;filter:drop-shadow(0 5px 3px #6a3e2844)}
.tavern-page .chat-empty strong{display:block;font-family:var(--font-display);font-weight:400;font-size:31px;line-height:1.2;color:#4f2d18}
.tavern-page .chat-empty small{font:15px/1.6 var(--font-body);margin-top:10px;color:#78522e}
.tavern-page #chat-form{margin-top:22px}
.tavern-page #chat-form>label{color:#fff2cf;font-size:14px;font-family:var(--font-body);margin:0 0 10px}
.tavern-page .chat-compose{gap:12px;align-items:stretch}
.tavern-page .chat-compose textarea{min-height:96px;max-height:250px;min-width:0;width:100%;background:#f1dab0 url('/art/interface/parchment.webp') center/600px;color:#3a2114;border:2px solid #b08347;border-radius:2px;padding:14px;font:15px/1.7 var(--font-body);box-shadow:inset 0 2px 9px #7b4c2626}
.tavern-page .chat-compose textarea::placeholder{color:#85603a}
.tavern-page .chat-compose button{min-width:125px;font-family:var(--font-display);font-weight:400;font-size:25px;padding:12px 18px;background:#0a4a4d;color:#fff2cf;border:2px solid #dcad5c;border-radius:3px;box-shadow:inset 0 0 0 1px #062c2e,0 3px 8px #1c0c0766}
.tavern-page>.rule-note{display:block;color:#ecd3a2;font-size:12px;line-height:1.8;margin-top:16px}

/* A brotherhood's roster is a signed contract under its painted standard. */
.brotherhood-page .community-panel{background:#e6c99a url('/art/interface/parchment.webp') center/700px;color:#3a2114;border:2px solid #a46f34;border-radius:3px;box-shadow:0 7px 15px #1d0b063d}
.brotherhood-page .crew-contract{padding:0 20px 20px;overflow:hidden;background:#64391c url('/art/interface/wood.webp') center/800px;border:5px solid #3e210f}
.brotherhood-page .crew-contract-header{display:flex;align-items:center;gap:16px;margin:0 -20px 20px;padding:20px 25px;background:#073b3e;border-bottom:3px solid #c99a4d;box-shadow:0 4px 10px #1a0b0644}
.brotherhood-page .crew-standard{width:88px;height:88px}
.brotherhood-page .crew-contract-header>div{min-width:0;flex:1}
.brotherhood-page .crew-contract-header .eyebrow{color:#e4b85f;font-size:11px;letter-spacing:1.8px}
.brotherhood-page .crew-contract-header h3{font-size:38px;color:#fff2cf;margin:3px 0;line-height:1.1;overflow-wrap:anywhere}
.brotherhood-page .crew-contract-header .secondary{color:#fff2cf;font-size:13px;padding:11px 15px;background:#482919 url('/art/interface/wood.webp') center/400px;border:1px solid #d1a15b;flex-shrink:0;margin:0}
.brotherhood-page .member-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edd4a4 url('/art/interface/parchment.webp') center/650px;border:1px solid #a4753b;border-radius:1px;padding:15px 18px;margin-bottom:9px;box-shadow:0 3px 7px #1e0c063b}
.brotherhood-page .crew-member{display:flex;align-items:center;gap:15px;min-width:0;flex:1}
.brotherhood-page .crew-member-portrait{width:57px;height:63px;object-fit:cover;object-position:center 20%;border:2px solid #966832;border-radius:3px;background:#1c3b34;box-shadow:0 3px 5px #52331c38;flex-shrink:0}
.brotherhood-page .crew-member b{font-family:var(--font-body);font-size:17px;color:#3a2114;overflow-wrap:anywhere}
.brotherhood-page .crew-member small{display:block;font-size:12px;color:#79512f;margin-top:4px}
.brotherhood-page .crew-member-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.brotherhood-page .crew-member-actions .text-button{color:#075055;font-size:13px;padding:7px 4px;min-height:34px}
.brotherhood-page .community-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:20px -1px 0;padding:20px;background:#073b3e;border:1px solid #c09a52;border-radius:2px}
.brotherhood-page .community-controls>.secondary{min-height:46px;font-size:13px;background:#5e3a20 url('/art/interface/wood.webp') center/400px;border-color:#d4ad6c;color:#fff2cf}
.brotherhood-page .community-controls form{flex:1;max-width:450px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:end;margin:0}
.brotherhood-page .community-controls label{grid-column:1/-1;font-size:13px;color:#fff2cf;margin:0}
.brotherhood-page .community-controls select{width:100%;min-height:46px;color:#3a2114;background:#ecd2a0 url('/art/interface/parchment.webp') center/500px;border:1px solid #ad7b3f}
.brotherhood-page .community-controls .primary{min-height:46px;padding:10px 18px;font-size:14px;margin:0}
.brotherhood-page .crew-create{display:flex;align-items:center;gap:25px;max-width:none;padding:25px 30px;margin:0 0 25px;background:#e7c999 url('/art/interface/parchment.webp') center/650px;border:4px solid #67401f;box-shadow:0 6px 15px #1c0b064d}
.brotherhood-page .crew-create-standard{width:110px;height:110px}
.brotherhood-page .crew-create>div{flex:1;min-width:0}
.brotherhood-page .crew-create label{font-size:15px;color:#59351c;margin:0 0 9px;font-family:var(--font-body)}
.brotherhood-page .crew-create input{font-size:16px;min-height:48px;color:#3a2114;background:#fff2cf99;border:1px solid #a5753d}
.brotherhood-page .crew-create .primary{font-size:16px;min-height:48px;margin:0}
.brotherhood-page .brotherhood-rules{padding:13px 18px;background:#083b3e;border:1px solid #a77a38;margin:0 0 24px;color:#fff2cf}
.brotherhood-page .brotherhood-rules summary{font:16px var(--font-body);color:#e4b85f;cursor:pointer}
.brotherhood-page .brotherhood-rules .rule-note{font-size:14px;line-height:1.8;color:#fff2cf;margin:12px 0 0}
.brotherhood-page .brotherhood-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:25px;margin:0}
.brotherhood-page .brotherhood-card{padding:0;margin:0;position:relative;overflow:hidden}
.brotherhood-page .crew-banner{position:relative;display:flex;align-items:center;gap:15px;padding:18px 22px;background:#073b3e;border-bottom:3px solid #ad7b37;box-shadow:inset 0 -13px 20px #031e2033}
.brotherhood-page .crew-flag{position:static;float:none;display:block;flex-shrink:0;width:85px;height:85px;margin:0}
.brotherhood-page .crew-banner>span:last-child{font:12px/1.5 var(--font-body);letter-spacing:1.8px;color:#e4b85f}
.brotherhood-page .brotherhood-owned .crew-banner{background:#6a2d1a url('/art/interface/wood.webp') center/500px}
.brotherhood-page .crew-allied .crew-banner{background:#0c4c41}
.brotherhood-page .crew-card-content{padding:22px 25px 25px}
.brotherhood-page .brotherhood-card h3{color:#3a2114;font-size:35px;line-height:1.1;margin:0 0 18px;overflow-wrap:anywhere}
.brotherhood-page .crew-portrait-roster{display:flex;align-items:center;padding-left:5px;min-height:54px;margin:0 0 14px}
.brotherhood-page .crew-portrait-roster img{width:48px;height:54px;border:2px solid #b68a4a;border-radius:3px;object-fit:cover;object-position:center 20%;margin-left:-5px;box-shadow:0 2px 4px #4f2b1a55;background:#073b3e}
.brotherhood-page .crew-portrait-roster>span{display:grid;place-items:center;width:42px;height:46px;background:#073b3e;color:#fff2cf;border:1px solid #d0a65f;font:20px var(--font-body);margin-left:7px}
.brotherhood-page .brotherhood-card p{font-size:14px;color:#56361e;line-height:1.7;margin:10px 0}
.brotherhood-page .brotherhood-card small{font-size:13px;color:#79532f}
.brotherhood-page .brotherhood-card .community-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid #9e723845}
.brotherhood-page .brotherhood-card .secondary{background:#653d20 url('/art/interface/wood.webp') center/400px;border:1px solid #8a592d;color:#fff2cf;font-size:14px;padding:11px 16px}
.brotherhood-page .brotherhood-card .primary{font-size:14px;min-height:43px}
.brotherhood-page .brotherhood-card .text-button{font-size:13px;color:#7c301c;padding:9px 0;min-height:36px}
.brotherhood-page .brotherhood-card .tag{position:static;background:#0b4b44;color:#fff2cf;border:1px solid #d4ae69;padding:7px 12px;font:13px var(--font-body);border-radius:2px}

/* A physical cabin: dark timber frame, cream documents, brass fittings. */
.account-page{color:#3a2114;--account-cream:#fff2cf;--account-muted:#765332;--account-border:#90612e}
.account-page .account-profile{border:6px solid #4b2813;border-radius:3px;min-height:232px;background:#083b3e url('/art/legacy/forschung.webp') center 48%/cover;box-shadow:inset 0 0 0 1px #d2ab63,0 10px 22px #190a0655;padding:33px}
.account-page .account-profile:before{background:linear-gradient(90deg,#062f31c9 0%,#082e2f7d 50%,#351b0b38 100%)}
.account-page .account-profile:after{inset:5px;border-color:#e4b85f6b}
.account-page .account-seal{width:108px;height:118px;border-radius:3px;outline-offset:5px;outline-color:#a87536;border:3px solid #e4b85f;background:#422b18;box-shadow:0 6px 12px #061c1c99;overflow:hidden}
.account-page .account-seal img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}
.account-page .account-profile h2{font-size:48px;color:#fff2cf;text-shadow:0 3px 3px #06191bcc}
.account-page .account-profile .account-eyebrow{font-size:11px;color:#e4b85f}
.account-page .account-profile p{font-size:15px;color:#fff2cf;text-shadow:0 1px 2px #052022}
.account-page .account-profile-actions .secondary{background:#5a351d url('/art/interface/wood.webp') center/400px;border:1px solid #deb565;color:#fff2cf;font-size:14px;min-height:44px;padding:10px 17px}
.account-page .account-signed-in{font-size:13px;color:#fff2cf}
.account-page .account-signed-in i{background:#d4d494;box-shadow:0 0 9px #dfd98a66}
.account-page .account-stat-strip{gap:14px;margin:23px 0 26px}
.account-page .account-stat-strip>div{background:#dfc18b url('/art/interface/parchment.webp') center/500px;border:2px solid #90612e;border-radius:2px;padding:20px 18px;box-shadow:0 4px 9px #1d0b063d;color:#3a2114}
.account-page .account-stat-icon{width:43px;height:43px;border:1px solid #a47136;color:#6f421f;background:#c2964b33}
.account-page .account-stat-icon svg{width:24px;height:24px}
.account-page .account-stat-strip strong{color:#3a2114;font:27px/1.2 var(--font-body)}
.account-page .account-stat-strip small{color:#6d4828;font-size:12px;line-height:1.5}
.account-page .account-card{padding:28px;background:#e7c99a url('/art/interface/parchment.webp') center/700px;border:2px solid #90612e;border-radius:3px;box-shadow:0 8px 18px #1c0b0642;color:#3a2114}
.account-page .account-card>header{margin-bottom:18px;gap:15px}
.account-page .account-card-icon{width:52px;height:52px;background:#b98d4721;border:1px solid #a27036;color:#745026}
.account-page .account-card-icon svg{width:28px;height:28px}
.account-page .account-card .account-eyebrow{font-size:10px;color:#82542a;letter-spacing:1.6px}
.account-page .account-card h3{color:#3a2114;font-size:34px;line-height:1.1;overflow-wrap:anywhere}
.account-page .account-card-intro{color:#634124;font:15px/1.8 var(--font-body);max-width:none;margin:0 0 22px}
.account-page .account-form label{font:14px/1.5 var(--font-body);color:#51301a;margin:20px 0 9px}
.account-page .account-form input{color:#3a2114;font-size:16px;min-height:49px;background:#fff4d1a6;border:1px solid #9f6e35;box-shadow:inset 0 2px 6px #8d58211f;border-radius:2px}
.account-page .account-form input:focus-visible{outline:3px solid #0c5b5f;outline-offset:2px}
.account-page .account-form button{font-size:16px;min-height:48px;margin-top:22px}
.account-page .account-form .form-error{color:#9c2e19;font-size:14px;font-weight:600}
.account-page .account-recovery{background:#5e371e url('/art/interface/wood.webp') center/650px;border:3px solid #3b1f0e}
.account-page .account-recovery .account-card-icon{color:#e4b85f;border-color:#d7ab5b;background:#38201266}
.account-page .account-recovery h3{color:#fff2cf;text-shadow:0 2px 2px #1c0b0680}
.account-page .account-recovery .account-eyebrow{color:#e4b85f}
.account-page .account-recovery .account-card-intro{color:#fff2cf;font-family:var(--font-body)}
.account-page .account-recovery-note{color:#3a2114;background:#e7c99a url('/art/interface/parchment.webp') center/600px;border:1px solid #b4884b;border-left:4px solid #e4b85f;padding:16px 18px;font:14px/1.8 var(--font-body);box-shadow:0 3px 7px #1b0a064d}
.account-page .account-recovery .account-form label{color:#fff2cf}
.account-page .account-recovery .account-form .secondary{background:#073b3e;color:#fff2cf;border:2px solid #d6aa59;font-family:var(--font-body)}
.account-page .account-recovery .form-error{color:#ffd6b7}
.account-page .account-session-list{border-color:#9463304d}
.account-page .account-session{padding:20px 0;gap:14px;border-color:#9463304d}
.account-page .account-session-icon{color:#7e542c;width:35px}
.account-page .account-session-icon svg{width:29px;height:29px}
.account-page .account-session strong{color:#3a2114;font-size:15px}
.account-page .account-session small{color:#74502d;font-size:12px;margin-top:8px}
.account-page .account-current-tag{font-size:11px;background:#0b4b44;color:#fff2cf;border:1px solid #b98b42;padding:4px 7px}
.account-page .account-session .secondary,.account-page .account-sessions .account-wide-button,.account-page .account-load-state .secondary{color:#fff2cf;background:#5d371d url('/art/interface/wood.webp') center/400px;border:1px solid #8d5b2b;font-size:14px;min-height:43px;padding:9px 13px}
.account-page .account-session-note{font-size:14px;line-height:1.8;color:#74502d}
.account-page .account-sessions .account-wide-button{font-size:15px;margin-top:22px;min-height:47px}
.account-page .account-load-state{font-size:15px;color:#74502d}
.account-page .account-refresh{font-size:26px;color:#6d3e1c}
.account-page .account-help{background:#073b3e;border:3px solid #b58a43;color:#fff2cf}
.account-page .account-help h3{color:#fff2cf}
.account-page .account-help .account-card-icon{color:#e4b85f;border-color:#ad8240;background:#052b2d66}
.account-page .account-help .account-eyebrow{color:#e4b85f}
.account-page .account-help .account-card-intro,.account-page .account-help-note{color:#fff2cf;font-size:15px;line-height:1.8}
.account-page .account-contact-link{color:#f2c771;font-family:var(--font-body);font-size:16px;overflow-wrap:anywhere}
.account-page .account-privacy-link{color:#efc375;font-size:14px}

/* Battle orders and reports are pinned to the same chart table. */
.battle-grid{gap:26px}
.battle-card{position:relative;isolation:isolate;background:#e5c692 url('/art/interface/parchment.webp') center/750px;color:#3a2114;border:5px solid #70441f;border-radius:3px;padding:25px;box-shadow:inset 0 0 0 1px #e9c985,0 9px 20px #1d0b064d}
.battle-card>header{color:#73502a;font:14px/1.5 var(--font-body);min-height:65px;gap:14px}
.battle-card>header:before{content:'';display:block;width:72px;height:72px;flex-shrink:0;background:url('/art/interface/navigation-atlas.webp') 100% 33.333333%/400% 400%;filter:drop-shadow(0 4px 2px #6e40264d)}
.battle-card>header>span{flex:1;color:#74451f;font-size:13px;letter-spacing:1.6px}
.battle-card>header>span>svg{display:none}
.battle-card h3{font-size:42px;line-height:1.1;margin:10px 0 22px;color:#3a2114}
.battle-card h4{font:23px/1.2 var(--font-body);line-height:1.3;color:#fff2cf;margin:8px 0 16px}
.battle-card .battle-round{font-size:15px;border-color:#7c4d2552;line-height:1.7;padding-bottom:17px}
.battle-card .battle-round b{font-family:var(--font-body);font-size:20px;color:#743c1c}
.battle-card .battle-forces{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);gap:12px;margin:24px 0}
.battle-card .battle-forces section{background:#073b3e;border:2px solid #bf9148;padding:18px 10px 20px;box-shadow:inset 0 0 23px #001f2159,0 4px 9px #57341e26;border-radius:2px;color:#fff2cf}
.battle-card .battle-forces .attacker-force{border-top:5px solid #9c4022}
.battle-card .battle-forces .defender-force{border-top:5px solid #d6b35f}
.battle-card .battle-forces section>small{font-size:12px;letter-spacing:1.8px;color:#e4b85f}
.battle-card .versus{font-size:23px;color:#895321;text-align:center;text-shadow:0 1px #f8e8bf}
.battle-card .battle-ships{gap:7px;max-width:none}
.battle-card .battle-ships .atlas-token{border:1px solid #c7a465;border-radius:2px;box-shadow:0 4px 7px #001c1e80;mix-blend-mode:normal;background-color:#ebd3a3}
.battle-card .battle-ships strong{font:25px/1.2 var(--font-body);color:#fff2cf;margin-top:8px}
.battle-card .troop-tokens{margin-top:17px;gap:12px;color:#fff2cf}
.battle-card .troop-tokens img{height:62px;width:42px;filter:drop-shadow(0 3px 2px #002023a8)}
.battle-card .troop-tokens b{font:20px var(--font-body);color:#fff2cf}
.battle-card .fort-health{background:#754c2112;border:1px solid #98662f59;padding:15px;font-size:14px;gap:12px;color:#56351b}
.battle-card .fort-health progress{height:12px;accent-color:#0b5254}
.battle-card .fort-health b{font-size:15px;color:#3a2114}
.battle-card .battle-actions{gap:12px;margin-top:24px;flex-wrap:wrap}
.battle-card .battle-actions button{font-size:16px;min-height:48px;padding:12px 15px}
.battle-card .secondary{background:#633c1f url('/art/interface/wood.webp') center/450px;color:#fff2cf;border:1px solid #a27436}
.battle-card .text-button{font-size:14px;color:#603715}
.battle-card .battle-private{font-size:15px;color:#74502d;opacity:1}
.battle-playback{padding:8px;background:#472714 url('/art/interface/wood.webp') center/650px;border:3px solid #79502a;border-radius:2px;box-shadow:inset 0 0 0 1px #cda359,0 4px 9px #48261426}
.battle-playback canvas{border:1px solid #b58a47;border-radius:1px}
.battle-card .battle-playback label,.battle-archive .battle-playback label{font-size:13px;color:#fff2cf}
.battle-card .battle-playback select,.battle-archive .battle-playback select{font:13px var(--font-body);min-height:37px;color:#3a2114;background:#e9cea1 url('/art/interface/parchment.webp') center/500px;border:1px solid #bf9657;padding:8px}
.battle-playback>div{gap:12px;padding:8px 5px}
.battle-playback .secondary{font-size:13px;color:#fff2cf;border:1px solid #d6ad69;min-height:38px;padding:8px 12px}
.battle-playback>small{display:block;font-size:12px;line-height:1.6;color:#f2d9ac;padding:0 5px 7px;opacity:1}
.battle-history{font-size:14px;color:#56351b;margin-top:22px}
.battle-history summary,.battle-archive>summary{font:17px/1.6 var(--font-body);color:#59351a;padding:12px 0;cursor:pointer}
.battle-history li{padding:12px 0;border-color:#8d612e52;gap:15px;font-size:14px;line-height:1.7}
.battle-history time{color:#7d552e;opacity:1;white-space:nowrap}
.battle-archive .battle-roster{gap:15px}
.battle-archive .battle-roster>div{padding:18px;background:#073b3e;color:#fff2cf;border:2px solid #b58a43}
.battle-archive .battle-roster b{font:16px/1.6 var(--font-body);color:#fff2cf}
.battle-archive .battle-roster small{font-size:13px;line-height:1.7;color:#f0d7a6}
.battle-archive .battle-ships strong,.battle-archive .troop-tokens b{font-size:22px;color:#fff2cf}
.battle-archive .battle-ships .atlas-token{border-radius:2px;border:1px solid #be9655;mix-blend-mode:normal;background-color:#ebd3a3}

/* Logbook sheets and handbook chapters have generous readable type. */
body[data-view='reports'] #content-page>.content-intro{padding:20px 24px;background:#5e371e url('/art/interface/wood.webp') center/600px;border:3px solid #3d210f;box-shadow:inset 0 0 0 1px #b58a43;margin:0 0 24px;color:#fff2cf}
body[data-view='reports'] #content-page>.content-intro p{font-size:15px;line-height:1.7;color:#fff2cf}
body[data-view='reports'] #content-page>.content-intro button{min-height:43px;color:#fff2cf;border:1px solid #d6aa59;background:#073b3e;font-size:14px}
.reports{gap:22px}
.report{position:relative;padding:25px 28px 26px 112px;background:#e7c99a url('/art/interface/parchment.webp') center/750px;color:#3a2114;border:2px solid #94602d;border-left:7px solid #9e6c31;border-radius:2px;box-shadow:0 7px 15px #1b0a0640}
.report:before{content:'';position:absolute;left:23px;top:23px;width:66px;height:66px;background:url('/art/interface/navigation-atlas.webp') 0% 66.666667%/400% 400%;filter:drop-shadow(0 4px 2px #6841264d)}
.report.unread{background:#f1d5a7 url('/art/interface/parchment.webp') center/750px;border-left-color:#c48e33;box-shadow:inset 0 0 0 1px #e6be74,0 7px 15px #1b0a0640}
.report.success{border-left-color:#17634e}
.report.danger{border-left-color:#a04022}
.report>small{font-size:12px;letter-spacing:.3px;line-height:1.6;color:#7b4e28;margin:0 0 9px}
.report h3{font-size:31px;line-height:1.2;color:#3a2114;margin:0 0 12px;overflow-wrap:anywhere}
.report>p{font:15px/1.9 var(--font-body);color:#58351d;margin:0}
.report .battle-archive{margin-left:-82px;padding-top:18px}
.help-grid{gap:25px;align-items:start}
.help-card{position:relative;isolation:isolate;background:#e7c99a url('/art/interface/parchment.webp') center/700px;border:3px solid #82502a;border-radius:2px;padding:25px;color:#3a2114;box-shadow:0 7px 18px #1c0a0640;--chapter-x:33.333333%;--chapter-y:0%}
.help-card:before{content:'';position:absolute;top:22px;left:20px;width:73px;height:73px;background:url('/art/interface/navigation-atlas.webp') var(--chapter-x) var(--chapter-y)/400% 400%;filter:drop-shadow(0 3px 2px #6c45264d)}
.help-card:nth-child(2){--chapter-x:0%;--chapter-y:0%}.help-card:nth-child(3){--chapter-x:33.333333%;--chapter-y:33.333333%}.help-card:nth-child(4){--chapter-x:66.666667%;--chapter-y:33.333333%}.help-card:nth-child(5){--chapter-x:100%;--chapter-y:33.333333%}.help-card:nth-child(6){--chapter-x:33.333333%;--chapter-y:66.666667%}.help-card:nth-child(7){--chapter-x:0%;--chapter-y:0%}.help-card:nth-child(8){--chapter-x:0%;--chapter-y:100%}.help-card:nth-child(9){--chapter-x:66.666667%;--chapter-y:66.666667%}
.help-card h3{font-size:30px;line-height:1.2;min-height:73px;margin:0 0 20px 81px;display:flex;align-items:center;color:#3a2114}
.help-card p,.help-card li{font:15px/1.9 var(--font-body);color:#58351d}
.help-card p{margin:0}
.help-card ol,.help-card ul{padding-left:24px;font-size:15px;line-height:1.9;color:#58351d}
.help-card li{padding-left:5px;margin-bottom:11px}
.help-card li::marker{font-weight:bold;color:#8c4f1f}
.help-card a{color:#074f53;text-decoration:underline;text-decoration-color:#0b666861;text-underline-offset:3px}
.help-card b{color:#3a2114}

@media(max-width:1100px){
 .tavern-page{padding:18px}.tavern-page .chat-toolbar{gap:14px}.tavern-page .chat-toolbar .tab-strip{width:100%}.tavern-page .chat-toolbar .tab-strip button{flex:1}
 .brotherhood-page .crew-contract-header{flex-wrap:wrap}.brotherhood-page .crew-contract-header .secondary{margin-left:auto}.brotherhood-page .crew-member-actions{max-width:270px}.brotherhood-page .community-controls{display:block}.brotherhood-page .community-controls form{margin-top:19px;max-width:none}
 .account-page .account-profile{padding:28px}.account-page .account-profile h2{font-size:42px}.account-page .account-seal{width:92px;height:103px}.account-page .account-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .battle-card{padding:22px}.battle-card .battle-forces{gap:8px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr)}.battle-card .battle-forces section{padding:16px 8px}
}
@media(max-width:700px){
 .tavern-page{padding:13px;border-width:5px}.tavern-page .chat-toolbar .tab-strip{gap:5px;flex-wrap:nowrap}.tavern-page .chat-toolbar .tab-strip button{min-width:0;padding:9px 6px;font-size:13px;flex-direction:column;gap:4px;min-height:78px}.tavern-page .chat-toolbar .community-atlas-icon{width:37px;height:37px}.tavern-page .chat-toolbar>label{flex:1;max-width:none;min-width:150px}.tavern-page .chat-toolbar>.secondary{font-size:12px;padding:9px 12px}.tavern-page .chat-messages{padding:10px;height:420px;min-height:310px;max-height:65vh}.tavern-page .chat-message{max-width:100%;gap:10px;padding:13px 11px;margin-bottom:12px;border-left-width:3px}.tavern-page .chat-message.own-message{border-right-width:3px}.tavern-page .chat-captain-portrait{width:39px;height:45px;border-width:1px}.tavern-page .chat-message header{gap:6px 10px}.tavern-page .chat-message header b{font-size:14px}.tavern-page .chat-message time{font-size:11px}.tavern-page .chat-message .text-button{font-size:11px;min-height:26px}.tavern-page .chat-message p{font-size:15px;line-height:1.75;margin-top:7px}.tavern-page .chat-empty-art{width:105px;height:105px}.tavern-page .chat-empty strong{font-size:27px}.tavern-page .chat-empty small{font-size:14px}.tavern-page .chat-compose{display:flex;flex-direction:column}.tavern-page .chat-compose textarea{font-size:15px;min-height:105px}.tavern-page .chat-compose button{min-height:49px;font-size:25px}.tavern-page>.rule-note{font-size:12px;line-height:1.8}
 .brotherhood-page .crew-contract{border-width:4px;padding:0 12px 15px}.brotherhood-page .crew-contract-header{padding:18px 16px;margin:0 -12px 15px;gap:12px}.brotherhood-page .crew-standard{width:70px;height:70px}.brotherhood-page .crew-contract-header h3{font-size:31px}.brotherhood-page .crew-contract-header .eyebrow{font-size:9px}.brotherhood-page .crew-contract-header .secondary{margin:3px 0 0;width:100%;font-size:13px}.brotherhood-page .member-row{padding:13px;align-items:start;gap:10px;flex-direction:column}.brotherhood-page .crew-member{gap:12px}.brotherhood-page .crew-member-portrait{width:47px;height:54px}.brotherhood-page .crew-member b{font-size:16px}.brotherhood-page .crew-member small{font-size:12px}.brotherhood-page .crew-member-actions{max-width:none;justify-content:flex-start;padding-left:0;gap:8px 14px}.brotherhood-page .crew-member-actions .text-button{font-size:12px;min-height:32px}.brotherhood-page .community-controls{padding:16px 12px;margin-top:15px}.brotherhood-page .community-controls>.secondary{width:100%;font-size:12px}.brotherhood-page .community-controls form{grid-template-columns:minmax(0,1fr);gap:10px}.brotherhood-page .community-controls .primary{width:100%}.brotherhood-page .crew-create{display:grid;grid-template-columns:70px minmax(0,1fr);padding:20px 16px;gap:13px}.brotherhood-page .crew-create-standard{width:70px;height:70px}.brotherhood-page .crew-create>div{width:100%}.brotherhood-page .crew-create label{font-size:13px}.brotherhood-page .crew-create input{font-size:14px;width:100%}.brotherhood-page .crew-create .primary{grid-column:1/-1;width:100%;font-size:16px}.brotherhood-page .brotherhood-rules{padding:13px 16px}.brotherhood-page .brotherhood-rules summary{font-size:15px}.brotherhood-page .brotherhood-rules .rule-note{font-size:13px}.brotherhood-page .brotherhood-grid{gap:20px}.brotherhood-page .crew-banner{padding:13px 19px}.brotherhood-page .crew-flag{width:72px;height:72px}.brotherhood-page .crew-banner>span:last-child{font-size:11px}.brotherhood-page .crew-card-content{padding:20px}.brotherhood-page .brotherhood-card h3{font-size:33px}.brotherhood-page .brotherhood-card p{font-size:14px}.brotherhood-page .brotherhood-card small{font-size:12px}.brotherhood-page .brotherhood-card .community-actions{gap:10px}.brotherhood-page .brotherhood-card .secondary{font-size:13px}
 .account-page .account-profile{padding:24px 20px;gap:23px;min-height:220px;border-width:4px}.account-page .account-profile-main{gap:19px}.account-page .account-seal{width:72px;height:83px;outline-offset:3px;border-width:2px}.account-page .account-profile h2{font-size:36px;line-height:1.1}.account-page .account-profile .account-eyebrow{font-size:9px}.account-page .account-profile p{font-size:13px;line-height:1.6}.account-page .account-profile-actions{padding-top:18px;gap:10px;flex-wrap:wrap}.account-page .account-profile-actions .secondary{font-size:12px;padding:10px 13px;min-height:42px}.account-page .account-signed-in{font-size:12px}.account-page .account-stat-strip{gap:9px;margin:17px 0 20px}.account-page .account-stat-strip>div{padding:14px 11px;gap:9px}.account-page .account-stat-icon{width:31px;height:31px}.account-page .account-stat-icon svg{width:20px;height:20px}.account-page .account-stat-strip strong{font-size:21px}.account-page .account-stat-strip small{font-size:11px}.account-page .account-panel-grid{grid-template-columns:minmax(0,1fr);gap:20px}.account-page .account-card{padding:23px 20px}.account-page .account-card-icon{width:44px;height:44px}.account-page .account-card-icon svg{width:24px;height:24px}.account-page .account-card h3{font-size:30px}.account-page .account-card .account-eyebrow{font-size:9px}.account-page .account-card-intro{font-size:15px;line-height:1.8}.account-page .account-form label{font-size:14px}.account-page .account-form input{font-size:16px}.account-page .account-form button{font-size:15px}.account-page .account-session{gap:10px;padding:18px 0}.account-page .account-session-icon{display:none}.account-page .account-session strong{font-size:14px}.account-page .account-current-tag{font-size:10px;padding:3px 6px;margin-left:5px}.account-page .account-session small{font-size:11px}.account-page .account-session .secondary{font-size:12px;padding:8px 10px;min-height:39px}.account-page .account-session-note{font-size:13px}.account-page .account-sessions .account-wide-button{font-size:14px}.account-page .account-contact-link{font-size:15px}.account-page .account-help-note{font-size:14px}.account-page .account-privacy-link{font-size:13px}
 .battle-card{padding:17px 14px;border-width:4px}.battle-card>header{min-height:56px;gap:8px}.battle-card>header:before{width:58px;height:58px}.battle-card>header>span{font-size:11px;letter-spacing:1.1px}.battle-card h3{font-size:35px;margin-top:6px}.battle-card .battle-round{font-size:13px;gap:7px;line-height:1.7}.battle-card .battle-forces{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);gap:5px;margin:20px 0}.battle-card .battle-forces section{padding:14px 6px 17px;border-width:1px;border-top-width:4px}.battle-card .battle-forces section>small{font-size:9px;letter-spacing:1.2px}.battle-card h4{font-size:16px;line-height:1.4;margin:8px 0 12px}.battle-card .versus{font-size:16px}.battle-card .battle-ships{gap:3px}.battle-card .battle-ships strong{font-size:20px}.battle-card .troop-tokens{gap:7px;margin-top:12px}.battle-card .troop-tokens img{height:50px;width:30px}.battle-card .troop-tokens b{font-size:17px}.battle-card .fort-health{padding:12px 9px;font-size:12px;gap:8px}.battle-card .fort-health b{font-size:13px}.battle-card .battle-actions{gap:9px}.battle-card .battle-actions button{font-size:14px;min-height:46px;padding:10px 11px}.battle-playback{padding:5px;border-width:2px}.battle-playback>div{gap:9px;padding:7px 2px}.battle-card .battle-playback label,.battle-archive .battle-playback label{font-size:12px;max-width:60%}.battle-card .battle-playback select,.battle-archive .battle-playback select{font-size:12px;max-width:100%;padding:7px 5px}.battle-playback .secondary{font-size:12px;padding:7px 9px;min-height:36px}.battle-playback>small{font-size:11px;padding:0 2px 5px}.battle-history summary,.battle-archive>summary{font-size:15px}.battle-history li{font-size:13px;gap:10px}.battle-archive .battle-roster{grid-template-columns:minmax(0,1fr)}.battle-archive .battle-roster>div{padding:16px}.battle-archive .battle-roster b{font-size:15px}.battle-archive .battle-roster small{font-size:12px}
 body[data-view='reports'] #content-page>.content-intro{padding:16px;flex-direction:column;align-items:start;gap:14px}body[data-view='reports'] #content-page>.content-intro p{font-size:14px}body[data-view='reports'] #content-page>.content-intro button{font-size:13px;width:100%}.report{padding:24px 19px 22px;border-left-width:5px}.report:before{left:16px;top:18px;width:57px;height:57px}.report>small{padding-left:66px;min-height:52px;display:flex;align-items:center;font-size:11px}.report h3{font-size:29px;margin:6px 0 13px}.report>p{font-size:15px;line-height:1.85}.report .battle-archive{margin-left:0;padding-top:15px}.help-grid{gap:20px}.help-card{padding:22px 19px;border-width:2px;margin-bottom:20px}.help-card:before{top:19px;left:17px;width:61px;height:61px}.help-card h3{font-size:28px;min-height:62px;margin:0 0 21px 69px}.help-card p,.help-card li{font-size:15px;line-height:1.9}.help-card ol,.help-card ul{padding-left:21px}
}
.brotherhood-page .member-row,.brotherhood-page .brotherhood-card,.brotherhood-page .crew-create,.account-page .account-card:not(.account-recovery):not(.account-help),.account-page .account-stat-strip>div,.account-page .account-recovery-note,.report,.help-card,.battle-card{background-size:cover;background-repeat:no-repeat}
.tavern-page .chat-messages{background-size:auto,100% 100%;background-repeat:no-repeat}
@media(max-width:700px){.account-page .account-recovery h3{font-size:25px;overflow-wrap:normal}.account-page .account-recovery>header{align-items:start}.account-page .account-recovery>header>div{min-width:0}.battle-playback canvas{aspect-ratio:3/1;object-fit:contain}}
@media(prefers-reduced-motion:reduce){.tavern-page *,.brotherhood-page *{scroll-behavior:auto}}
