#flood-content,#guild-content{color:var(--chalk);background:var(--panel);scrollbar-gutter:stable}
.deep-heading{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#2d3d41;border-bottom:3px solid #1b252c;box-shadow:inset 0 2px #52605c}
.deep-heading>i{width:45px;height:45px;border:2px solid #526361;background:#243238}
.deep-heading canvas{width:36px;height:36px}.deep-heading small{color:#c9c6a8;font-size:16px}
.deep-heading h2{font-size:clamp(21px,2.5vw,33px);color:#ffdfa4;text-shadow:2px 2px #292529;line-height:1.15}
.flood-gauge{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(155px,1fr);gap:14px;align-items:center;background:#20303a;margin:14px 14px 8px;border:2px solid #17252d}
.flood-gauge canvas{display:block;width:100%;image-rendering:pixelated}.flood-gauge>div{display:grid;gap:7px;padding:8px 12px 8px 0}
.flood-gauge strong{font-size:20px;color:#b8e2df}.flood-gauge span,.deep-note,.deep-foot,.deep-paths small,.guild-goal{font-size:17px}
.deep-note{margin:10px 15px 12px;color:#e4d3ab;line-height:1.22}
#flood-content progress{appearance:none;width:100%;height:9px;border:0;background:#14212b;color:#77bec5}
#flood-content progress::-webkit-progress-bar{background:#14212b}#flood-content progress::-webkit-progress-value{background:#77bec5;box-shadow:inset 0 2px #afdcd4}
.deep-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 14px}
.deep-paths article{min-width:0;background:#2b393e;border:2px solid #4b5b59;padding:12px;display:flex;align-items:stretch;flex-direction:column;gap:8px}
.deep-paths article+article{background:#383836;border-color:#5a574c}
.deep-paths h3{display:flex;align-items:center;gap:7px;font-size:20px;color:#ffe1ac}.deep-paths h3 canvas{width:27px;height:27px}
.deep-paths p{font-size:18px;color:#d2d7c7}.deep-paths .work-costs{margin:1px 0 3px}
.deep-paths .card-btn{margin-top:auto}.upgrade-pump{border-top:2px solid #435250;padding-top:8px;display:grid;gap:6px}.upgrade-pump small{color:#c3d0bd}
.deep-foot{margin:7px 14px 14px;display:flex;justify-content:space-between}
.guild-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:12px 14px 8px}
.guild-files button{display:flex;align-items:center;gap:6px;text-align:left;border:2px solid #515653;background:#30383c;padding:6px;color:#e5dcc1;min-width:0;font-size:17px;line-height:1.1}
.guild-files button[aria-pressed="true"]{background:#514638;border-color:#bc9964;color:#ffdc91}.guild-files small{display:block;font-size:14px;color:#c2bcab;margin-top:4px}
.guild-letter{position:relative;margin:0 14px 14px;padding:18px;color:#413328;border:3px solid #ae8d66;background:#e9cf9b url('assets/mine-paper.png');box-shadow:inset 2px 2px #fbe5bf}
.guild-letter h3{margin:0 47px 8px 0;font-size:clamp(21px,2.05vw,30px)}.guild-letter p{font-size:19px;line-height:1.17;max-width:54ch}
.guild-seal{position:absolute;top:12px;right:12px;background:#a87b53;border:2px solid #8e6848;box-shadow:inset 2px 2px #d4a779}
.guild-seal canvas{width:34px;height:34px}.guild-letter .guild-goal{font-size:17px;margin:8px 0}
.guild-letter .work-costs{margin:12px 0}.guild-letter .work-cost{color:#503e2c}.guild-letter .work-cost.ready b{color:#365435}.guild-letter .work-cost.short b{color:#7f3722}
.guild-reward{border-top:2px solid #b69b71;padding-top:7px;margin:10px 0;display:grid;gap:1px}.guild-reward small{font-size:15px;color:#6c5038}
.guild-letter .card-btn{color:#fff0c4;background:#4a6349;border-color:#5c513b}.guild-letter .card-btn:disabled{background:#c4ac84;color:#66503c;box-shadow:inset 2px 2px #d7c19a}
.contract-stamp{display:inline-block;border:2px solid #617251;padding:3px 8px;color:#42573d}.contract-stamp.pending{color:#74583e;border-color:#a78c66}
@media(max-width:650px){.deep-paths{grid-template-columns:1fr}.deep-heading{padding:8px 10px}.deep-paths,.flood-gauge,.guild-files,.guild-letter{margin-inline:8px}.guild-files button{flex-direction:column;align-items:flex-start}.guild-letter{padding:12px}.flood-gauge{grid-template-columns:minmax(0,1fr) minmax(112px,.9fr);gap:6px}.flood-gauge strong{font-size:17px}.deep-note{margin-inline:9px}.deep-heading h2{font-size:23px}}
