
/* Separate tavern surface: preserves the compact homepage grid and mobile spacing. */
.board-open{margin-top:auto;align-self:flex-start;max-width:100%;white-space:normal;text-align:center}
#tavern-board-dialog{position:fixed;width:min(950px,calc(100vw - 22px));max-width:none;height:min(720px,90dvh);max-height:90dvh;padding:0;overflow:hidden;background:#1b130e;color:#fff0d8;border:1px solid #c2925d;border-radius:15px;box-shadow:0 24px 120px #000e}
#tavern-board-dialog::backdrop{background:rgba(8,5,3,.89);backdrop-filter:blur(5px)}
.tavern-dialog-frame{height:100%;display:flex;flex-direction:column;min-height:0}
.tavern-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;background:linear-gradient(110deg,#4e311d,#29190e);padding:23px 28px;border-bottom:1px solid #8c6543}
.tavern-dialog-header h2{font:700 clamp(25px,4vw,36px)/1.1 Georgia,serif;margin:6px 0;color:#ffe0a4}.tavern-dialog-header p{font-size:13px;color:#e2c8a8;margin:7px 0 0}
.tavern-dialog-close{border:1px solid #c69a67;background:#3b2517;color:#fbe1b5;border-radius:50%;font-size:24px;width:38px;height:38px;flex:none;line-height:1}
.tavern-dialog-body{display:grid;grid-template-columns:290px minmax(0,1fr);flex:1;min-height:0}
.board-dialog-list{overflow:auto;padding:16px;background:#24170f;border-right:1px solid #6f4a30;display:flex;gap:9px;flex-direction:column}
.board-dialog-list button{display:block;border:1px solid #67492d;border-radius:9px;background:#1a110c;color:#f5dfc0;text-align:left;padding:12px;width:100%}
.board-dialog-list button[aria-current=true]{background:#48301d;border-color:#e1b478}
.board-dialog-list small{display:block;color:#c2a686;font-size:10px;margin:2px 0 0;text-transform:uppercase;letter-spacing:.07em}
.board-dialog-activity{padding:27px;overflow:auto;min-height:0;color:#eedcc4}
.board-dialog-activity h3{font:700 clamp(23px,3vw,30px)/1.16 Georgia,serif;margin:6px 0 12px;color:#ffe2ae}
.board-dialog-activity p{color:#d7bea2;line-height:1.6}
.board-choice{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #805d3b;border-radius:9px;margin:9px 0;color:#fff0d8;background:#281b13;cursor:pointer}
.board-choice:has(input:checked){border-color:#eec682;background:#45301e}
.board-choice input{accent-color:#efc17d;width:18px;height:18px;flex:none}
.board-button{background:#d9ae74;color:#21140b;padding:11px 18px;border:1px solid #d9ae74;border-radius:8px;font-weight:800;min-height:40px;cursor:pointer;margin-top:10px}
.board-button:disabled{opacity:.55}
.board-secondary{background:#38271c;color:#ffdcac}
.board-response-text{display:block;width:100%;min-height:120px;background:#160f0b;color:#f5e3ca;border:1px solid #8d6843;border-radius:9px;padding:13px;resize:vertical;font:inherit}
.board-result-line{margin:13px 0}.board-result-line>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.board-bar{height:10px;background:#3a291c;border-radius:20px;overflow:hidden;margin-top:6px}.board-bar i{display:block;height:100%;background:linear-gradient(90deg,#986331,#ebbe83);border-radius:20px}
.board-message{padding:11px 13px;background:#3b291c;border:1px solid #735239;border-radius:9px;margin:15px 0;color:#f4d9b4}
.board-comment{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#312015;border-radius:8px;border:1px solid #64472c;margin:9px 0}
.board-visibility{display:inline-block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#eec682;font-weight:800}
@media(max-width:690px){#tavern-board-dialog{height:96dvh;max-height:96dvh;width:calc(100vw - 12px)}.tavern-dialog-header{padding:14px 16px}.tavern-dialog-header p{font-size:11px}.tavern-dialog-body{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.board-dialog-list{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;border-right:0;border-bottom:1px solid #6f4a30;padding:10px;max-height:112px;gap:7px}.board-dialog-list button{min-width:146px;width:146px;padding:9px;flex:none;font-size:12px}.board-dialog-activity{padding:19px}}
