/* Paper treatment for the remaining nested surfaces. */
#game-root :is(.mail-list-summary,.mail-detail-heading,.mail-detail-content,.mail-reward-panel,
 .network-announcement-dialog__body,.network-session-resume,.bag-item-meta) {
 background: #e3decc; border: 1px solid #aaa083; border-radius: 6px;
 box-shadow: inset 0 0 0 2px #f5efdf80; color: #30392c;
}
#game-root :is(.mail-list-summary,.mail-detail-heading,.mail-detail-content,.mail-reward-panel,
 .network-announcement-dialog__body,.network-session-resume,.bag-item-meta) :is(p,span,small,strong,b,h3,time,dt,dd,li) { color: #30392c; }
#game-root .mail-list-summary { font-size: 14px; font-weight: 600; }
#game-root .mail-detail-content { font-size: 15px; line-height: 1.7; }
#game-root .mail-detail-heading h3 { font-size: 18px; font-weight: 700; }
#game-root .mail-detail-heading time { font-size: 12px; color: #525747; }
#game-root .mail-rewards li { background: #d4dbc5; border: 1px solid #a7af90; font-size: 14px; font-weight: 600; }
#game-root .mail-list-item.is-claimed { opacity: 1; border-color: #b4ad9a; }
#game-root .mail-list-item__state { color: #525747; }
#game-root .network-announcement-dialog__body { padding: 14px; font-size: 16px; line-height: 1.75; }
#game-root .network-session-resume { padding: 16px; border-color: #a59a7c; }
#game-root .network-session-resume > strong { color: #5e4821; font-size: 23px; font-weight: 700; }
#game-root .network-session-resume :is(p,small) { color: #424b37; font-size: 14px; }
#game-root .network-session-resume button { border: 1px solid #99927b; }
#game-root .network-session-resume .secondary-button { background: #ded9c6; color: #30392c; }
#game-root .entitlement-benefits { padding: 10px 12px 10px 32px; background: #e3decc; border: 1px solid #aaa083; border-radius: 6px; }
#game-root .entitlement-benefits li { color: #283c29; font-weight: 600; font-size: 15px; }
#game-root .entitlement-benefits li::marker { color: #526343; font-weight: 700; }
#game-root .bag-item-meta { padding: 9px 11px; }
#game-root .bag-item-meta__row { background: transparent; font-size: 14px; }
#game-root .bag-item-meta__row :is(dt,dd) { background: transparent; color: #30392c; }
#game-root :is(.game-notice,.reward-notice) { background: #eee8d6; color: #30392c; border: 1px solid #a89b79; box-shadow: 0 3px 10px #343d2b26,inset 0 0 0 2px #faf4e2; font-size: 14px; font-weight: 600; }
#game-root :is(.toast-notice--success,.game-notice--success,.game-notice--reward) { color: #3d592f; border-color: #85936b; }
#game-root :is(.toast-notice--fail,.game-notice--error) { color: #863b2c; border-color: #ab725b; }
#game-root .toast-notice--equipment-green { color: #365d35; border-color: #73936a; }
#game-root .toast-notice--equipment-blue { color: #315782; border-color: #6e8fb1; }
#game-root .toast-notice--equipment-purple { color: #644078; border-color: #91749f; }
#game-root .toast-notice--equipment-orange { color: #854718; border-color: #b17d40; }
/* Fixed workshop art, with the result slot resting on its central workbench. */
#game-root :is(.alchemy-furnace-art,.forging-furnace-art) { aspect-ratio: 4 / 3; overflow: hidden; background: #e4dfcf; }
#game-root :is(.alchemy-furnace-art,.forging-furnace-art) > img { width: 100%; height: 100%; object-fit: cover; }
#game-root :is(.alchemy-product-slot,.forging-product-slot) {
 top: 60%; width: 62px; border-radius: 7px; border: 1px solid #999c7c;
 background: #eee9d7e6; box-shadow: 0 2px 6px #59634a30,inset 0 0 0 3px #faf6e599;
}
#game-root :is(.alchemy-product-slot,.forging-product-slot).is-ready { background: #f1ebd8f2; border-color: #9a8050; box-shadow: 0 0 0 2px #e2cea166; }
/* Reserve only the real navigation height plus a small breathing gap. */
#game-root .game-shell { padding-bottom: 68.8px; }
#game-root .game-content { padding-bottom: 4px; }
#game-root [data-page="bag"]:not([hidden]) { grid-row: 1 / -1; align-self: stretch; }
/* Header and category tabs stay outside the list's independent scroller. */
#game-root .dungeon-panel:not([hidden]) { display: flex; flex-direction: column; grid-row: 1 / -1; align-self: stretch; height: auto; min-height: 0; overflow: hidden; gap: 8px; }
#game-root .dungeon-fixed-header { flex: 0 0 auto; padding: 8px; border: 1px solid #aaa083; border-radius: 5px; background: #e3decc; }
#game-root .dungeon-fixed-header .dungeon-heading { margin-bottom: 8px; }
#game-root .dungeon-fixed-header .dungeon-categories { margin: 0; }
#game-root .dungeon-panel > :is(.dungeon-active-run,.dungeon-status) { flex: 0 0 auto; }
#game-root .dungeon-status:empty { display: none; }
#game-root .dungeon-list { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; align-content: start; padding-right: 3px; }
