/* Lot 73: a quiet 1912 menu shell. These rules never target the weapon HUD. */
:root{--menu-paper:#efe1c3;--menu-gold:#d3b37a;--menu-muted:#bcad95;--menu-line:#b394603b;--menu-dark:#1b1510}
#menu.menu73{position:fixed;inset:0;display:block;isolation:isolate;overflow:auto;padding:0;min-height:0;background:#1b1510 url('./illustrations/grand-hall-75.webp') center/cover;color:var(--menu-paper);font-family:Georgia,serif;text-shadow:0 2px 10px #0009}
#menu.menu73::before,#menu.menu73::after{display:none}
#menu.menu73 [hidden]{display:none!important}
#menu.menu73 button{border-radius:2px;box-shadow:none;cursor:pointer;font-family:Georgia,serif;letter-spacing:.02em}
#menu.menu73 button:focus-visible,dialog button:focus-visible{outline:2px solid #f4d797;outline-offset:4px}
#menu.menu73 button:disabled{cursor:wait}
#menu.menu73 .menu-portrait73{position:fixed;inset:0;width:100%;height:100%;min-height:0;z-index:-2;pointer-events:none;mask-image:none;-webkit-mask-image:none}
#menu.menu73 .topnav73{height:68px;position:relative;display:flex;justify-content:space-between;align-items:center;padding:0 3vw;border-bottom:1px solid var(--menu-line);background:linear-gradient(#17120ee8,#17120e70);z-index:3}
#menu.menu73 .top-tabs73,#menu.menu73 .top-tools73{display:flex;align-items:center;gap:30px}
#menu.menu73 .topnav73 button{background:none;border:0;border-bottom:1px solid transparent;padding:13px 0;font-size:16px;color:#d6c9ae;height:49px}
#menu.menu73 .topnav73 .active{border-bottom-color:#dcc085;color:#fff0d0}
#menu.menu73 .topnav73 button:hover{color:#fff0d0}
#menu.menu73 .top-tools73{gap:22px}#menu.menu73 .top-tools73 button{font:25px Georgia,serif;min-width:28px}
.menu-coins73{display:flex;gap:8px;align-items:center;color:#e5c78b;font:15px Georgia,serif}.menu-coins73 svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;fill:none}
#menu.menu73>.game-title{display:block!important;position:absolute;top:88px;left:0;width:100%;margin:0;padding:0;transform:none;text-align:center;pointer-events:none}
#menu.menu73 .game-title h1{font:clamp(23px,2.5vw,40px)/1.1 Georgia,serif;letter-spacing:.12em;color:#f4e4bf;margin:7px 0;text-shadow:0 3px 15px #000}
#menu.menu73 .game-title h1 span{display:inline;font:inherit;color:inherit;letter-spacing:inherit}
#menu.menu73 .liner-route{font:9px/1.4 Arial,sans-serif;letter-spacing:.35em;color:#c9b58e;margin:0}
#menu.menu73 .profile-badge73{position:absolute;left:3vw;top:88px;display:flex;align-items:center;gap:13px;max-width:250px;text-align:left;color:#f1dfba;background:#18130c99;border:0;border-left:1px solid #c6a76a;padding:12px 18px}
.profile-badge73 svg{width:28px;height:28px;fill:none;stroke:#c7a86e;stroke-width:1.3}.profile-badge73 small{display:block;font:8px Arial,sans-serif;letter-spacing:.2em;color:#b8a98f;margin-bottom:6px}.profile-badge73 b{font:16px Georgia,serif;overflow-wrap:anywhere}
#menu.menu73 .mode-selection{position:absolute;display:grid;grid-template-columns:1fr;gap:16px;top:185px;right:5vw;width:min(440px,41vw);padding:0;margin:0;transform:none;left:auto;bottom:auto}
#menu.menu73 .mode-card{position:relative;height:clamp(138px,23vh,208px);min-height:0;display:block;overflow:hidden;border:1px solid #d2b47d35;border-radius:3px;background:#18130f;box-shadow:0 8px 30px #0005;text-align:left;margin:0;padding:0;transform:none}
#menu.menu73 .mode-card::before,#menu.menu73 .mode-card::after{display:none}
#menu.menu73 .mode-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;opacity:.65;filter:none;transform:none;transition:opacity .2s}
#menu.menu73 .mode-card:hover img{opacity:.8;transform:none}
#menu.menu73 .mode-card-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;padding:22px 24px;background:linear-gradient(90deg,#100e0bd9,#100e0b35),linear-gradient(0deg,#15100eaa,transparent)}
#menu.menu73 .mode-card-copy small{font:8px Arial,sans-serif;letter-spacing:.17em;color:#d2bd96}
#menu.menu73 .mode-card-copy h2{font:clamp(24px,2.6vw,34px) Georgia,serif;letter-spacing:0;color:#fff0d1;margin:8px 0}
#menu.menu73 .mode-card-copy p{font:12px/1.4 Georgia,serif;color:#dacfb9;margin:0 0 13px;max-width:90%}
#menu.menu73 .mode-card-copy button{padding:7px 20px;border:1px solid #d8bc8266;background:#201b14bf;color:#f3dfb8;font:12px Georgia,serif;min-height:30px}
#menu.menu73 .mode-card-copy button span{margin-left:18px}
#menu.menu73 :is(.launch73,#play){width:100%;padding:14px 20px;min-height:50px;height:50px;background:linear-gradient(110deg,#dec28a,#b59355);border:1px solid #ebce92;border-radius:2px;color:#231b11;font:19px Georgia,serif;letter-spacing:.025em;text-shadow:none;display:flex;align-items:center;justify-content:space-between}
#menu.menu73 .launch73:hover,#menu.menu73 #play:enabled:hover{background:#ead2a0}
#menu.menu73 .boarding-character{position:absolute;left:8%;right:auto;bottom:83px;width:40%;padding:0;background:none;text-align:center;pointer-events:none}
#menu.menu73 .boarding-character small{display:block;font:8px Arial,sans-serif;letter-spacing:.22em;color:#c1ad87}
#menu.menu73 .boarding-character h3{display:block;font:25px Georgia,serif;margin:7px 0;color:#f1dfb8}
#menu.menu73 #lobby-change-character{display:inline-block;background:#17120e99;border:0;border-bottom:1px solid #b598634d;color:#ceb68a;padding:7px 12px;font:11px Georgia,serif;text-decoration:none;pointer-events:auto}
#menu.menu73>.lobby-footer{display:flex!important;justify-content:space-between;align-items:center;position:fixed;inset:auto 0 0;padding:13px 3vw;background:linear-gradient(transparent,#15110cdd);border:0;margin:0;font:9px Arial,sans-serif;letter-spacing:.15em;color:#99896b}
#menu.menu73 .lobby-footer nav{display:flex;gap:24px;justify-content:flex-start;width:auto;flex-wrap:nowrap}
#menu.menu73 .lobby-footer button{font:13px Georgia,serif;border:0;background:none;color:#e0cfac;padding:7px 0;min-width:0}
#friends-count73:not(:empty){background:#d9bc84;color:#21180e;border-radius:50%;padding:3px 6px;margin-left:5px;font:11px Arial,sans-serif}
#menu.menu73 #character-lineup{display:none!important}
#menu.menu73 #mode-page73{position:absolute;right:5vw;top:174px;bottom:65px;width:min(490px,43vw);overflow:auto;padding:0;scrollbar-color:#9b8155 #1a140e}
#menu.menu73 .character-heading{display:flex;position:static;width:auto;min-height:32px;align-items:center;justify-content:space-between;margin:0 0 14px;padding:0;border:0;background:none}
#menu.menu73 .character-heading>span{display:block;font:8px Arial,sans-serif;letter-spacing:.22em;color:#bda884}
#menu.menu73 #back-modes{padding:5px 0;background:none;border:0;color:#e0cba1;font:12px Georgia,serif}
.mode-heading73{height:120px;position:relative;overflow:hidden;border-radius:3px;margin-bottom:16px}.mode-heading73 img{width:100%;height:100%;object-fit:cover;object-position:center 44%;opacity:.7}.mode-heading73>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:end;padding:17px 22px;background:linear-gradient(90deg,#14100ce8,#14100c22)}.mode-heading73 small{font:8px Arial,sans-serif;letter-spacing:.2em;color:#d2b788}.mode-heading73 h2{font:32px Georgia,serif;color:#f3dfb9;margin:6px 0 0}
#menu.menu73 .lobby-controls{position:static;display:flex;flex-direction:column;align-items:stretch;transform:none;gap:13px;bottom:auto;left:auto;width:100%;padding:0;margin:0;border:0;background:none}
#menu.menu73 #mode-description{display:block;margin:0;color:#ded1b6;font:12px/1.6 Georgia,serif;text-align:left;max-width:none}
#menu.menu73 .lobby-mode{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin:0;padding:0;background:none;border:0;box-shadow:none}
#menu.menu73 .lobby-mode button{padding:12px 15px;min-height:62px;font:17px Georgia,serif;color:#c9bba0;background:#19140ee6;border:1px solid #a48b5f55;text-align:left;box-shadow:none;border-radius:2px}
#menu.menu73 .lobby-mode small{display:block;font:10px Georgia,serif;color:#baa98b;margin-top:6px}
#menu.menu73 .lobby-mode button.active{background:#3c3020e8;border-color:#cfb17a;color:#ffeac2}
#menu.menu73 .embark-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin:0}
#menu.menu73 #player-name{box-sizing:border-box;margin:0;height:50px;min-height:50px;width:100%;min-width:0;border:1px solid #b3976355;background:#1b1510d9;color:#f0dfbb;text-align:left;font:14px Georgia,serif;padding:0 16px}
#menu.menu73 #menu-status{margin:0;text-align:left;font:11px/1.5 Georgia,serif;color:#e5cba0}#menu.menu73 #menu-status:empty{display:none}
#menu.menu73 .boarding-salon{position:static;display:block;width:100%;min-height:0;margin-top:20px}
#menu.menu73 .lobby-invite-panel{position:static;width:100%;padding:16px 18px;background:#1e1813;border:1px solid #a98d584f;border-radius:3px;box-shadow:none;box-sizing:border-box}
#menu.menu73 .lobby-invite-panel header{display:flex;justify-content:space-between;align-items:center;gap:10px}
#menu.menu73 .lobby-invite-panel h3{font:19px Georgia,serif;color:#ecd9b3;margin:0}
#menu.menu73 #lobby-social-open{border:1px solid #b6986255;background:#35291b;color:#e9cea0;width:29px;height:29px;padding:0;font:23px Georgia,serif}
#menu.menu73 .lobby-invite-panel ul{margin:10px 0;max-height:155px;padding:0;list-style:none;overflow:auto}
#menu.menu73 .lobby-invite-panel li{min-height:45px;border-bottom:1px solid #b3976326}
#menu.menu73 .lobby-invite-panel li button{height:auto;width:auto;padding:7px 10px;font:11px Georgia,serif;flex-shrink:0}
#menu.menu73 .group-links73{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #b3976326;padding-top:10px}
#menu.menu73 #lobby-manage-group{font:11px Georgia,serif;color:#d8bf91;background:none;border:0;padding:4px 0;text-align:left}
#lobby-group-code{font:10px monospace;color:#bca67d}
#menu.menu73 .lobby-team-slots{position:absolute;left:3vw;bottom:63px;width:44%;max-width:560px;max-height:100px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:0;overflow:auto}
#menu.menu73 .lobby-team-slots li{display:block;padding:10px 9px;background:#18130dc4;border:0;border-top:1px solid #b59a6855;min-height:55px;box-shadow:none}
#menu.menu73 .lobby-team-slots .self{border-top-color:#e2c688;background:#33281ac4}#menu.menu73 .lobby-team-slots li>span{font:9px Georgia,serif;color:#ab946d}#menu.menu73 .lobby-team-slots strong{font:11px Georgia,serif;display:block;color:#e3d0aa;margin:6px 0;overflow-wrap:anywhere}#menu.menu73 .lobby-team-slots small{display:none}
#menu.menu73.online[data-step=character] .boarding-character{bottom:180px}
#menu.menu73:not(.online) .boarding-salon{display:none}
/* Shared surfaces: parchment for the profile, dark walnut elsewhere. */
body dialog:not(#profile-dialog),body #pause,body #results,body #scoreboard{background:linear-gradient(130deg,#2a2119f7,#17130ff7);border:1px solid #b3955f66;border-radius:4px;color:#eddec0;box-shadow:0 18px 70px #0009;outline:none}
body dialog::backdrop{background:#080705b8;backdrop-filter:blur(4px)}
body dialog:not(#profile-dialog) header{border-bottom:1px solid #b3955f33;background:none;box-shadow:none}
body dialog:not(#profile-dialog) h2{font-family:Georgia,serif;color:#f1dfb9;font-weight:400;letter-spacing:.01em}
body dialog:not(#profile-dialog) :is(button,input,select,textarea),body #pause button,body #results button{border-radius:2px;border-width:1px;box-shadow:none}
body dialog:not(#profile-dialog) button:not(.shop-item):not(.setting-switch):not([role=switch]):not(.game-primary),body #results button:not(.primary),body #pause button:not(.primary){background:#30261bd9;border-color:#a78b575e;color:#ead7af;font-family:Georgia,serif}
body dialog:not(#profile-dialog) .game-primary,body #results .primary,body #pause .primary{background:linear-gradient(110deg,#d7ba82,#ad8a4e);color:#261c10;border-color:#d7ba82;font-family:Georgia,serif}
body dialog:not(#profile-dialog) :is(input,select,textarea){background:#17120ee6;color:#f2e4c5;border-color:#b5986355}
body dialog:not(#profile-dialog) p{color:#c9b99c}body #profile-dialog{border-color:#a78b5770;border-radius:4px}body #profile-dialog .profile-paper{border-right:1px solid #94744077}
body #results .result-actions{gap:12px}body #results .result-actions button{min-height:44px;padding:12px 22px;font-size:14px}
.friend-identity73{margin:15px 0 22px;padding:14px 0;border-block:1px solid #8b6d4045}.friend-identity73>small{font:9px Arial,sans-serif;letter-spacing:.1em;color:#765932}.friend-identity73>div{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:15px}.friend-identity73 strong{font:23px monospace;letter-spacing:.1em;color:#44331d}#profile-dialog #friend-copy73{background:#624b2b;color:#f5e3bc;border:1px solid #8d6d3d;padding:8px 14px}
.social-dialog73{width:min(700px,92vw)}.social-dialog73 h3{font:19px Georgia,serif;color:#e5ce9f;margin:22px 0 10px}.social-dialog73>footer{border-top:1px solid var(--menu-line);padding-top:17px;margin-top:20px}.social-dialog73 details{margin-top:20px;color:#baa98a}.social-dialog73 summary{cursor:pointer;padding:6px 0}
#social-add73{margin:20px 0 10px}#social-add73 label{display:block;font:12px Georgia,serif;color:#d6c3a1;margin-bottom:8px}#social-add73>div{display:flex;gap:10px}#social-add73 input{min-width:0;flex:1;letter-spacing:.15em;font:17px monospace}#social-add73 button{padding:10px 20px}
.social-list73{list-style:none;padding:0;margin:0}.social-list73 li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #a78b572b}.social-list73 li>div:first-child{min-width:0}.social-list73 strong{display:block;font:14px Georgia,serif;color:#edddbb;overflow-wrap:anywhere}.social-list73 small{display:block;font:10px/1.5 Arial,sans-serif;color:#b9ab92;margin-top:4px;overflow-wrap:anywhere}.social-actions73{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.social-actions73 button{padding:8px 10px;font-size:11px;min-height:31px}.social-empty73{font:12px/1.5 Georgia,serif;color:#bcab8d}.social-dialog73 button:disabled{opacity:.5}#social-status73{font-size:12px;min-height:1em}
.catalog-items73{display:grid;grid-template-columns:1fr 1fr;gap:12px;list-style:none;padding:0}.catalog-items73 li{display:grid;grid-template-columns:1fr auto;gap:7px;padding:16px;background:#b3955810;border:1px solid #b3955833}.catalog-items73 strong{font:16px Georgia,serif;color:#ead8b2}.catalog-items73 small{grid-row:2;font:11px/1.5 Georgia,serif;color:#bba98b}.catalog-items73 b{grid-column:2;grid-row:1/3;align-self:center;color:#f1d99a;font:12px Georgia,serif}
@media(max-height:740px) and (min-width:801px){#menu.menu73>.game-title{top:82px}#menu.menu73 .game-title h1{font-size:28px}#menu.menu73 .mode-selection{top:150px;gap:12px}#menu.menu73 .mode-card{height:clamp(125px,24vh,175px)}#menu.menu73 .mode-card-copy{padding:15px 20px}#menu.menu73 #mode-page73{top:145px}.mode-heading73{height:88px;margin-bottom:12px}.mode-heading73 h2{font-size:26px}#menu.menu73 .lobby-controls{gap:10px}#menu.menu73 .boarding-salon{margin-top:14px}#menu.menu73 .lobby-invite-panel ul{max-height:100px}}
@media(max-width:1000px){#menu.menu73 .profile-badge73{top:150px;max-width:190px}#menu.menu73 .top-tabs73{gap:22px}#menu.menu73 .mode-selection{width:44vw;right:4vw}#menu.menu73 #mode-page73{width:46vw;right:4vw}#menu.menu73 .boarding-character{left:3%;width:45%}}
@media(max-width:800px){#menu.menu73 .topnav73{height:56px;padding:0 16px}#menu.menu73 .top-tabs73{gap:17px}#menu.menu73 .topnav73 button{font-size:13px;height:41px}#menu.menu73 .top-tools73{gap:12px}#menu.menu73 .top-tools73 button{font-size:22px}#menu.menu73 .menu-coins73{display:none}#menu.menu73>.game-title{top:77px}#menu.menu73 .game-title h1{font-size:23px}#menu.menu73 .profile-badge73{top:133px;left:18px;padding:9px 11px;max-width:34vw}.profile-badge73 b{font-size:12px}.profile-badge73 svg{display:none}#menu.menu73 .mode-selection{top:185px;width:51vw;right:18px;gap:12px}#menu.menu73 .mode-card{height:158px}#menu.menu73 .mode-card-copy{padding:15px}#menu.menu73 .mode-card-copy h2{font-size:24px}#menu.menu73 .mode-card-copy p{font-size:11px}#menu.menu73 .mode-card-copy small{font-size:7px}#menu.menu73 .launch73{font-size:15px}#menu.menu73 .boarding-character{left:1%;width:43%;bottom:90px}#menu.menu73 .boarding-character h3{font-size:19px}#menu.menu73 #mode-page73{top:141px;width:54vw;right:18px;bottom:64px}.mode-heading73{height:96px}.mode-heading73 h2{font-size:26px}.mode-heading73>div{padding:13px}#menu.menu73 #mode-description{font-size:11px}#menu.menu73 .lobby-mode button{font-size:15px;padding:10px}#menu.menu73 .lobby-mode small{font-size:9px}#menu.menu73 .embark-row{gap:8px}#menu.menu73 #play{font-size:16px;padding:12px}#menu.menu73 #player-name{font-size:12px;padding:0 10px}#menu.menu73 .lobby-invite-panel{padding:12px}#menu.menu73 .lobby-invite-panel h3{font-size:17px}#menu.menu73 .lobby-team-slots{width:37%;grid-template-columns:1fr 1fr;max-height:140px}#menu.menu73.online[data-step=character] .boarding-character{bottom:220px}#menu.menu73 .character-heading>span{display:none}}
@media(max-width:500px){#menu.menu73 .top-tabs73{gap:12px}#menu.menu73 .topnav73 button{font-size:11px}#menu.menu73 .top-tools73{gap:7px}#menu.menu73 .mode-selection{width:56vw;right:12px}#menu.menu73 .mode-card-copy{padding:12px}#menu.menu73 .mode-card-copy h2{font-size:20px}#menu.menu73 .mode-card-copy p{font-size:10px}.catalog-items73{grid-template-columns:1fr}#menu.menu73 #mode-page73{width:58vw;right:12px}#menu.menu73 .lobby-mode{gap:7px}#menu.menu73 .lobby-mode small{font-size:8px}#menu.menu73 .boarding-character{width:36%}#menu.menu73 .boarding-character h3{font-size:16px}#menu.menu73 #lobby-change-character{font-size:9px}#menu.menu73 .profile-badge73 small{font-size:7px}.social-list73 li{flex-wrap:wrap}.social-actions73{justify-content:flex-start}#menu.menu73 .lobby-invite-panel li{gap:6px}#menu.menu73 .lobby-invite-panel ul{max-height:150px}.social-list73 strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){#menu.menu73 *{transition:none!important}}

#menu.menu73[data-game-mode=battle] .battle-card,#menu.menu73[data-game-mode=traitor] .traitor-card{border-color:#d1b47c99}
#menu.menu73 .mode-card-copy{gap:0;border:0}
#menu.menu73>.lobby-footer{flex-direction:row;align-items:center!important}
