.main_canvas { position: relative; min-width: 0; }
.main_canvas > canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.renderer-error { align-self: stretch; display:flex; flex-direction:column; justify-content:center; width:100%; min-height:100%; padding:32px 24px; background:#171916; color:#e8e3d5; text-align:left; line-height:1.7; }
.renderer-error h2 { margin:0 0 20px; color:#cdf0fb; font-size:clamp(20px,5vw,26px); line-height:1.4; }
.renderer-error p { margin:0 0 16px; font-size:clamp(14px,4vw,17px); }
.renderer-error button { align-self:center; min-width:160px; margin-top:8px; padding:10px 20px; border:2px solid #707b68; border-radius:8px; background:#222620; color:#e8e3d5; font:inherit; font-size:16px; cursor:pointer; }
.renderer-error button:hover { background:#2d332b; }
.renderer-error button:focus-visible { outline:3px solid #cdf0fb; outline-offset:3px; }
.main_canvas.is-language-selection.is-maximized { background: transparent; }
.language-scene { position: absolute; z-index: 1; left: 50%; top: 50%; width: var(--game-width,100%); height: var(--game-height,100%); overflow: hidden; transform: translate(-50%,-50%); color: #e8e3d5; }
.language-scene form { position: absolute; z-index: 1; inset: 0; text-align: left; text-shadow: 0 2px 4px #000; }
.language-scene fieldset { position: absolute; left: 50%; top: 17%; display: grid; gap: 12px; width: min(74%,452px); margin: 0; padding: 0; border: 0; transform: translateX(-50%); }
.language-scene legend { margin-bottom: 12px; font-size: 28px; font-weight: bold; }
.language-scene label { font-size: 22px; cursor: pointer; }
.language-scene input { width: 20px; height: 20px; margin-right: 8px; vertical-align: -2px; }
.language-scene p { position: absolute; left: 50%; top: 65%; width: min(74%,452px); margin: 0; transform: translateX(-50%); font-size: 16px; line-height: 1.6; }
.language-scene button { position: absolute; left: 50%; top: 79%; display: block; width: 50%; height: clamp(44px,8vw,64px); margin: 0; padding: 0; transform: translateX(-50%); border: 2px solid #707b68; border-radius: 8px; background: #222620; color: #e8e3d5; font: inherit; font-size: 20px; text-shadow: none; cursor: pointer; touch-action: manipulation; }
.language-scene button:hover { background: #2d332b; }
.language-scene button:focus-visible { outline: 3px solid #e8e3d5; outline-offset: 3px; }
.language-select { width: 100%; margin: 4px 0 12px; padding: 8px; font: inherit; }
.investigation {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: var(--game-width, 100%); height: var(--game-height, 100%);
    container-type: inline-size;
    text-align: left; color: #382b20; line-height: 1.65;
    touch-action: pan-y;
}
.investigation-shell {
    height: 100%; display: flex; flex-direction: column;
    padding: 3%; gap: 8px; gap: 2cqw;
    font-size: 14px; font-size: clamp(13px, 3.5cqw, 24px);
}
.investigation button, .investigation input, .investigation textarea { font: inherit; }
.investigation [hidden] { display: none !important; }
.investigation button { cursor: pointer; touch-action: manipulation; }
.investigation button:focus-visible, .investigation input:focus-visible, .investigation textarea:focus-visible,
.reading-pane:focus-visible { outline: 2px solid #995b29; outline-offset: 2px; }
.investigation-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.investigation-tabs button { min-height: 44px; padding: 8px 0; border: 1px solid #baa581; border-radius: 5px 5px 0 0; color: #eedfc4; background: #30291fe8; }
.investigation-tabs button[aria-current="page"] { color: #36281d; background: #f0e2c3; border-bottom: 3px solid #9a6034; font-weight: bold; }
.investigation-toolbar { display: flex; justify-content: space-between; align-items: center; color: #f5e6ca; font-size: .85em; }
.list-return { border: 0; color: inherit; background: #30251acb; border-radius: 4px; padding: 5px 10px; min-height: 36px; }
.list-return:disabled { opacity: .45; cursor: default; }
.reading-surface { position: relative; display: flex; flex: 1; min-height: 0; overflow: hidden; isolation: isolate; background: #f2e7cff5; border: 1px solid #c8b187; box-shadow: 0 3px 14px #110a0855; border-radius: 3px; }
.reading-surface::before { content: ""; position: absolute; inset: 0; background-image: var(--document-portrait, none); background-repeat: no-repeat; background-position: left bottom; background-size: 85% auto; opacity: .13; pointer-events: none; z-index: -1; }
.reading-pane { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a08a65 #e9dcbc; padding: 6%; }
.reading-pane h2 { color: #3b2c20; font-size: 1.4em; margin: .45em 0 .8em; line-height: 1.5; }
.reading-pane h3 { margin: .25em 0; font-size: 1.05em; }
.reading-pane p { margin: .7em 0 1.2em; }
.document-meta { color: #826547; font-size: .78em; letter-spacing: .09em; }
.document-body { display: flow-root; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.95; }
.document-header { display: flex; justify-content: space-between; align-items: center; gap: .8em; margin-bottom: 1em; }
.document-header > strong { min-width: 0; overflow-wrap: anywhere; }
.document-portrait-frame { flex: 0 0 24%; max-width: 120px; aspect-ratio: 1; box-sizing: border-box; border: 2px solid #826547; background: #e3d6b9; overflow: hidden; }
.document-portrait-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.document-id-link { display: inline; padding: 0; border: 0; background: none; color: #79451e; text-decoration: underline; text-underline-offset: .2em; white-space: inherit; overflow-wrap: anywhere; text-align: inherit; }
.document-title-link { color: inherit; font-weight: bold; }
.section-description { color: #76624c; font-size: .9em; }
.document-list-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4em .6em; margin-bottom: .5em; }
.reading-pane .document-list-heading { flex-shrink: 0; font-size: 1em; margin: 0; }
.document-sort { display: grid; grid-template-columns: repeat(2, max-content); gap: .15em .6em; margin-left: auto; font-size: .65em; line-height: 1.4; }
.document-sort label { display: flex; align-items: center; gap: .15em; cursor: pointer; min-height: 24px; white-space: nowrap; }
.document-sort input { margin: 0; accent-color: #79451e; }
.investigation .document-list-link { display: block; width: 100%; min-height: 36px; padding: .2em 0; line-height: 1.4; }
.reading-pane .information-heading { font-size: 1em; margin: 0 0 .8em; }
.information-list { margin: 0; padding: 0; }
.information-list dt { font-weight: bold; }
.information-list dd { margin: 0 0 .9em; }
.lookup-form { position: relative; padding: 0; color: #f7e6c5; }
.lookup-error { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; max-width: 100%; box-sizing: border-box; padding: 5px 10px; border-radius: 3px; background: #000; color: #fff; font-size: .75em; line-height: 1.5; overflow-wrap: anywhere; pointer-events: none; }
.lookup-error:empty { display: none; }
.lookup-row { display: flex; gap: 6px; }
.lookup-row input { min-width: 0; flex: 1; width: 0; border: 1px solid #d3bb8e; border-radius: 3px; background: #fcf3df; padding: 9px; color: #392c20; font-size: max(16px, 1em); }
.lookup-row input[aria-invalid="true"] { border-color: #d6846c; box-shadow: inset 0 0 0 1px #d6846c; }
.lookup-row button { min-width: 64px; border: 1px solid #d8b77c; background: #c4a36b; color: #281e13; border-radius: 3px; font-weight: bold; }
.lookup-status { margin: 6px 0 0; font-size: .75em; line-height: 1.5; min-height: 1.5em; }
.lookup-status:empty { display: none; }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.reading-pane.guild-directory { padding-top: 2%; }
.guild-directory h2 { margin: 0 0 .45em; }
.person-card { padding: 0; border: 1px solid #c7b38d; background: #e3d6b9; color: #3c2d20; overflow: hidden; }
.person-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: radial-gradient(#f4ead8, #b7aa8a); }
.person-card strong { display: block; font-size: .75em; margin: 0; padding: 4px 2px; white-space: nowrap; }
.person-card .person-role { display: block; padding: 0 2px 4px; font-size: .72em; line-height: 1.2; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: #87572d; text-decoration: underline; min-height: 40px; }
.ledger-card { padding: 1em 0; border-bottom: 1px solid #cab793; }
.ledger-card label { display: block; font-size: .8em; margin-top: 8px; }
.ledger-card textarea { display: block; width: 100%; resize: vertical; background: #fff9ea; border: 1px solid #bfa67d; padding: 8px; color: #392d20; font-size: max(16px, 1em); }
.main_canvas .settings-button { z-index: 5; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right), calc((100% - var(--game-width, 100%)) / 2 + 12px)); }
.game-settings {
    width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
    margin: auto; padding: 24px; overflow-y: auto;
    border: 2px solid #a88b58; border-radius: 12px;
    background: #30291f; color: #f0e2c3;
    font: 16px/1.6 "Yu Gothic", Meiryo, sans-serif; text-align: left;
    box-shadow: 0 12px 48px #0009;
}
.game-modal-overlay {
    position: absolute; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 16px; background: #0009;
}
.game-modal-overlay[hidden] { display: none; }
.game-modal-overlay .game-settings { width: min(360px, 100%); max-height: 100%; margin: 0; box-sizing: border-box; }
.game-settings h2 { margin: 0 0 24px; font-size: 24px; text-align: center; }
.game-settings label { display: flex; justify-content: space-between; gap: 16px; }
.game-settings input[type="range"] { display: block; width: 100%; height: 40px; margin: 4px 0 20px; accent-color: #d3b279; cursor: pointer; }
.settings-actions { display: grid; gap: 12px; margin-top: 12px; }
.settings-actions [data-action="restore"] { margin-top: 12px; }
.settings-actions button { min-height: 48px; padding: 10px; border: 1px solid #a88b58; border-radius: 6px; background: #514332; color: inherit; font: inherit; cursor: pointer; touch-action: manipulation; }
.game-settings :focus-visible { outline: 2px solid #f1d399; outline-offset: 3px; }
.is-maximized .investigation-tabs { margin-right: 52px; }
body.is-game-maximized { position: fixed; left: 0; width: 100%; overscroll-behavior: none; }
.mobile-id-editor { position: fixed; z-index: 20000; transform: translateX(-50%); padding: 14px; box-sizing: border-box; border: 1px solid #bfa67d; border-radius: 8px; background: #30291f; color: #f7e6c5; box-shadow: 0 8px 30px #0008; font: 16px/1.5 "Yu Gothic", Meiryo, sans-serif; }
.mobile-id-editor[hidden] { display: none; }
.mobile-id-editor label { display: block; margin-bottom: 8px; }
.mobile-id-editor input { font: 18px/1.5 "Yu Gothic", Meiryo, sans-serif; }
.mobile-id-editor button { font: inherit; min-height: 44px; cursor: pointer; }
.mobile-id-editor .mobile-id-close { display: block; margin: 8px 0 0 auto; border: 1px solid #707b68; border-radius: 4px; padding: 6px 18px; color: #e8e3d5; background: #222620; }
.mobile-id-error { margin: 8px 0 0; font-size: 14px; }
.mobile-id-error:empty { display: none; }
@media (max-height: 480px) {
    .investigation-shell { gap: 3px; padding: 2%; }
    .investigation-tabs button { min-height: 32px; padding: 3px; }
}

.ledger-days { display: flex; gap: 1em; margin-bottom: 1em; }
.ledger-days [aria-pressed="true"] { font-weight: bold; text-decoration: underline; }
.ledger-inn { margin-bottom: 1em; }
.room-answer-row { display: flex; align-items: center; gap: .6em; margin: .4em 0; }
.room-answer-row input { min-width: 0; flex: 1; padding: 8px; border: 1px solid #bfa67d; background: #fff9ea; color: #392d20; font-size: max(16px, 1em); }

.guest-rooms { display:grid; gap:8px; }
.guest-room { border:1px solid #bfa67d; padding:8px; min-height:88px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.guest-room h4 { margin:0; font-size:.85em; }
.guest-token { display:inline-flex; flex-direction:column; align-items:center; width:72px; padding:2px; border:1px solid #bfa67d; background:#efe2c8; color:#392d20; touch-action:none; user-select:none; cursor:grab; }
.guest-token img { width:54px; height:54px; object-fit:contain; pointer-events:none; }
.guest-token span { font-size:12px; white-space:nowrap; }
.guest-token { position:relative; }
.investigation button.guest-token { touch-action: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.ledger-pane .guest-rooms, .ledger-pane .guest-pool { touch-action: none; }
.guest-token > * { pointer-events: none; }
.guest-token:disabled { cursor:default; }
.guest-token:disabled img, .guest-deceased img { filter:grayscale(1); opacity:.45; }
.guest-deceased { cursor:pointer; }
.ledger-pane .guest-token .guest-status { position:absolute; top:35%; left:0; width:100%; padding:4px 0; background:#392d20dc; color:#fff8e9; font-size:clamp(12px,22cqw,20px); line-height:1.2; white-space:pre-line; pointer-events:none; }
.ledger-pane .guest-token .guest-status[data-inn="AM"] { background:#a52a20; color:#fff8e9; }
.ledger-pane .guest-token .guest-status[data-inn="KY"] { background:#efd34f; color:#392d20; }
.ledger-pane .guest-token .guest-status[data-inn="TK"] { background:#237f79; color:#fff8e9; }
.ledger-pane .guest-deceased .guest-status { background:#695080; color:#fff8e9; }
.guest-action-menu { position:absolute; z-index:10003; padding:5px; border:1px solid #9b7449; border-radius:4px; background:#fff5de; box-shadow:0 3px 12px #0005; }
.guest-action-menu button { padding:8px 12px; border:1px solid #a88b66; background:#f1dfbb; color:#542d23; font:inherit; font-size:14px; cursor:pointer; }
.guest-pool { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; max-height:220px; overflow-y:auto; padding:4px 14px 4px 4px; }
.guest-drag-ghost { position:fixed; z-index:10002; pointer-events:none; transform:translate(-50%,-50%); opacity:.85; }
.reading-pane.ledger-pane { --ledger-room-height:clamp(116px,23cqw,138px); display:flex; flex-direction:column; gap:4px; padding:3%; overflow:hidden; }
.ledger-switchers { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:6px; flex:none; }
.ledger-pane .ledger-days { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; min-width:0; margin:0; padding:3px; border:1px solid #a98c61; border-radius:4px; background:#e0cdaa; }
.ledger-pane .ledger-days .text-button { min-width:0; min-height:34px; padding:2px 0; border:0; border-radius:2px; color:#543d24; text-decoration:none; font-size:clamp(12px,2.7cqw,18px); white-space:nowrap; }
.main_canvas[lang="en"] .ledger-pane .ledger-inns .text-button { font-size:clamp(10px,2.2cqw,14px); }
.ledger-pane .ledger-days .text-button[aria-pressed="true"] { background:#8d5b32; color:#fff8e9; font-weight:bold; box-shadow:0 1px 3px #49321b77; }
.ledger-pane h3 { flex:none; margin:2px 0; line-height:1.25; }
.ledger-pane .guest-rooms { flex:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.ledger-pane .guest-room { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:auto minmax(0,1fr); justify-items:center; align-items:start; min-width:0; min-height:0; height:var(--ledger-room-height); gap:2px; padding:4px; }
.ledger-pane .guest-room h4 { grid-column:1/-1; justify-self:start; font-size:.8em; line-height:1.2; }
.ledger-pane .guest-room .guest-token { width:100%; min-width:0; padding:1px; }
.ledger-pane .guest-token { container-type:inline-size; }
.ledger-pane .guest-room .guest-token img { width:100%; height:auto; aspect-ratio:1; }
.ledger-pane .guest-room .guest-token span, .ledger-pane .guest-pool .guest-token span { width:100%; font-size:min(20px,calc((100cqw - 2px) / var(--name-length,5))); font-weight:700; line-height:1.15; white-space:nowrap; text-align:center; }
.ledger-pane .guest-room-closed { display:grid; place-items:center; min-height:var(--ledger-room-height); margin:0; border:1px solid #bfa67d; }
.ledger-pane .ledger-summary { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; min-height:0; height:var(--ledger-room-height); padding:7px 3px; border:1px solid #aa9067; background:#e8d8b8; text-align:center; line-height:1.3; }
.ledger-summary-day { font-size:clamp(12px,2.5cqw,17px); }
.ledger-inn-logo { display:block; width:90%; height:56px; min-height:0; object-fit:contain; }
.ledger-summary-title { font-size:clamp(12px,2.4cqw,15px); white-space:nowrap; }
.ledger-resolved-stamp { position:absolute; right:12px; bottom:12px; padding:0 6px; border:3px double #a52a20; color:#a52a20; font-size:clamp(18px,4cqw,28px); font-weight:900; line-height:1.2; letter-spacing:.05em; transform:rotate(-13deg); box-shadow:1px 1px 0 #a52a2055; }
.ledger-pane .guest-pool { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); flex:1; min-height:0; max-height:none; margin:2px 0; padding:2px; align-content:start; overflow-y:auto; overscroll-behavior:contain; }
.ledger-pane .guest-pool-area { position:relative; display:flex; flex:1; min-height:0; gap:6px; background:#dfceb0; border-radius:4px; }
.ledger-pane .guest-pool-area .guest-pool { min-width: 0; }
.guest-scroll-strip { box-sizing: border-box; flex: 0 0 32px; width: 32px; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; margin: 2px 0; padding: 0; border: 0; background: transparent; color: #57442e; touch-action: none; user-select: none; -webkit-user-select: none; cursor: ns-resize; font-size: 12px; }
.guest-scroll-strip:focus-visible { outline: 2px solid #995b29; outline-offset: 2px; }
.ledger-pane .guest-pool .guest-token { width:100%; min-width:0; padding:2px; line-height:1.1; }
.ledger-pane .guest-pool .guest-token img { width:100%; height:auto; aspect-ratio:1; }
@media (max-width: 600px) and (pointer: coarse) {
    .reading-pane.ledger-pane { --ledger-room-height: clamp(86px, 23cqw, 108px); }
    .ledger-pane .ledger-summary { padding: 4px 3px; }
    .ledger-pane .ledger-inn-logo { height: 36px; }
    .ledger-pane .ledger-resolved-stamp { bottom: 4px; right: 6px; font-size: 16px; }
}
.new-document-badge { color:#be3821; font-weight:bold; }
.ledger-completion { position:absolute; inset:0; z-index:100; overflow:hidden; background:#000; color:#ffe2a1; }
.ledger-cinema-stage { position:absolute; inset:0 0 20%; overflow:hidden; }
.ledger-cinema-board { position:absolute; top:0; left:0; width:90%; padding:12px; border:3px solid #b88c47; background:#e9dbbd; color:#342719; transform-origin:top left; visibility:hidden; }
.ledger-cinema-rooms { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.ledger-cinema-room { display:flex; flex-direction:column; gap:6px; padding:6px; min-width:0; border:1px solid #ae9875; }
.ledger-cinema-room > strong { font-size:clamp(13px,3cqw,20px); line-height:1.2; white-space:nowrap; }
.ledger-cinema-guests { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px; min-width:0; }
.ledger-cinema-person { container-type:inline-size; display:flex; flex-direction:column; align-items:center; min-width:0; line-height:1.2; white-space:nowrap; }
.ledger-cinema-person span { font-size:min(20px,calc((100cqw - 2px) / var(--name-length,5))); font-weight:700; }
.ledger-cinema-person img { display:block; width:100%; aspect-ratio:1; object-fit:contain; border:1px solid #9b7c52; background:#f5ebd5; }
.ledger-cinema-seal { display:flex; flex-direction:column; align-items:center; justify-content:center; padding:8px 4px; gap:3px; border:1px solid #ae9875; font-size:clamp(12px,2.5cqw,17px); line-height:1.2; }
.ledger-cinema-seal img { display:block; width:90%; height:48px; object-fit:contain; }
.ledger-cinema-stamp { color:#a52a20; border:3px double currentColor; padding:1px 8px; transform:rotate(-10deg); font-size:clamp(18px,4cqw,28px); }
.ledger-cinema-result { position:absolute; bottom:0; left:0; right:0; height:20%; display:flex; flex-direction:column; justify-content:center; align-items:center; z-index:1; padding:8px 12px max(8px,env(safe-area-inset-bottom)); background:linear-gradient(transparent,#140c07 15%); text-align:center; line-height:1.3; font-size:clamp(12px,2.8cqw,18px); }
.ledger-cinema-result strong { font-size:clamp(18px,4.5cqw,28px); }
.ledger-cinema-result p { margin:3px 0; }
.ledger-cinema-result .text-button { min-height:30px; padding:2px 8px; color:#ffe2a1; }
.ledger-fireworks { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ledger-cinema-board { background:#e9dbbbed; }
.ledger-cinema-seal { position:relative; padding-bottom:42px; }
.ledger-cinema-stamp { position:absolute; bottom:8px; right:8px; transform-origin:center; }
.completion-close, .completion-start { padding:10px 24px; border:2px solid #d7af67; border-radius:6px; background:#49301d; color:#ffe2a1; font-weight:bold !important; }
.ledger-cinema-result .completion-close { margin-top:clamp(8px,2cqw,14px); width:55%; max-width:320px; min-height:clamp(48px,10cqw,68px); padding:8px 24px; font-size:clamp(22px,5cqw,32px); border-radius:9px; }
.completion-start { position:absolute; z-index:3; top:45%; left:50%; transform:translateX(-50%); white-space:nowrap; }
.completion-audio-error { position:absolute; bottom:22%; width:100%; text-align:center; font-size:12px; }
.document-hint-count {
    font-size: .85em;
    font-weight: normal;
    white-space: nowrap;
}
.document-hint-guide {
    font-size: .75em;
    margin: .2em 0 .6em;
}
.ending-share { display: block; width: fit-content; margin-top: 24px; font-weight: bold; }
.ending-share:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ending-afterword { margin-top: 28px; white-space: normal; overflow-wrap: anywhere; }
.ending-afterword p { margin: 0 0 1em; }
.ending-afterword a { color: #79451e; text-underline-offset: .2em; }
.ending-afterword a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.ending-promo { display: block; margin-bottom: 1em; }
.ending-promo img { display: block; width: 100%; height: auto; margin-bottom: .5em; }
.play-statistics { max-height: 90%; overflow-y: auto; }
.play-statistics table { width: 100%; border-collapse: collapse; font-size: .85em; }
.play-statistics th, .play-statistics td { padding: .35em; border-bottom: 1px solid #b5a27e; text-align: right; }
.play-statistics th:first-child, .play-statistics td:first-child { text-align: left; }
.play-statistics p { font-size: .85em; }
.play-statistics .statistics-back { display: block; width: 180px; max-width: 100%; min-height: 52px; margin: 20px auto 0; padding: 10px 20px; border: 2px solid #707b68; border-radius: 6px; background: #222620; color: #e8e3d5; font: inherit; cursor: pointer; touch-action: manipulation; }
.play-statistics .statistics-back:hover { background: #30372b; }
.play-statistics .statistics-sample { padding: .5em; border: 1px dashed #997640; background: #fff0c9; color: #644719; font-weight: bold; }

.document-last-viewed { font-weight: bold; color: #684322; }
.guest-scrollbar { position:absolute; top:2px; right:-12px; bottom:2px; width:7px; border-radius:4px; background:#c8b791; touch-action:none; user-select:none; -webkit-user-select:none; }
.guest-scrollbar:focus-visible { outline:2px solid #995b29; outline-offset:2px; }
.guest-scroll-thumb { position:absolute; left:1px; right:1px; background:#79603b; border-radius:4px; min-height:0; }
.guest-scrollbar[aria-disabled="true"] { opacity:.4; }
.ledger-pane .guest-pool { scrollbar-width: none; }
.ledger-pane .guest-pool::-webkit-scrollbar { display: none; }
