:root{--ink:#203c32;--muted:#778278;--green:#315d46;--paper:#f7f3e9;--line:#e7e8df;--coral:#ce654e}
body{background:var(--paper);color:var(--ink);font-family:system-ui,"Microsoft YaHei",sans-serif}button{background:var(--green);transition:background .15s,transform .15s}button:hover{background:#244b37}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,label.file-button:focus-within{outline:3px solid #d5a54e;outline-offset:3px}a{color:var(--green)}header{background:var(--paper);color:var(--ink);border-bottom:1px solid #e4e3d8}header a{color:var(--green)}.site-header{height:92px;padding:0 max(32px,calc((100vw - 1260px)/2));display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px 16px 16px 4px;background:var(--green);color:#faf4dd;font:bold 66px/1 Georgia;padding-top:8px}.brand h1{font-size:23px;letter-spacing:1px}.brand h1 small{font-size:10px;letter-spacing:2px;margin-left:10px;font-weight:500;opacity:.6}.brand p{margin:1px 0 0;font-size:11px;color:#7d8475;letter-spacing:2px}.header-note{font-size:12px;color:#7d8475;letter-spacing:2px}
.app-grid{max-width:1260px;margin:24px auto;padding:0 32px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:36px;height:calc(100dvh - 140px);min-height:600px}.garden-sidebar{display:flex;flex-direction:column;min-height:0;padding:18px 0 0}.eyebrow{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.8px;color:#839077}.eyebrow span{width:6px;height:6px;border-radius:50%;background:var(--coral)}.garden-sidebar h2{font-size:39px;line-height:1.4;font-weight:650;letter-spacing:1px;margin:22px 0 14px}.garden-sidebar h2 span{color:var(--coral)}.intro{font-size:13px;line-height:1.9;color:#7c8575;margin:0}.garden-art{min-height:80px;flex:1;overflow:hidden;margin:3px -16px 8px}.garden-art img{display:block;width:100%;height:100%;max-height:340px;object-fit:cover;object-position:center 53%;mix-blend-mode:multiply}.garden-note{display:flex;gap:12px;padding:15px 0;border-top:1px solid #dedfd2;font-size:11px;color:#7d8574;line-height:1.8}.note-icon{color:var(--coral);font-size:30px;line-height:1.2}.garden-note strong{font-size:12px;color:#4b604b;font-weight:600}.garden-note p{margin:4px 0 0;font-size:10px}.sidebar-foot{font-size:10px;letter-spacing:1px;color:#9a9e8c;margin:10px 0 0}
.chat-card{border:1px solid #e0e4da;border-radius:24px;background:#fffefb;display:flex;flex-direction:column;min-width:0;min-height:0;box-shadow:0 10px 40px #32412d05;overflow:hidden}.room-header{padding:22px 26px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.room-kicker{font-size:9px;letter-spacing:1.8px;color:#9a9e8d}.room-header h2{margin:2px 0 0;font-size:19px;font-weight:600;display:flex;align-items:center;gap:9px}.room-dot{width:6px;height:6px;background:#ce7759;border-radius:50%}.online-pill{padding:5px 11px;background:#edf3e9;border:1px solid #e1e9da;color:#5e7a50;font-size:11px;border-radius:20px;white-space:nowrap}.identity-bar{display:flex;align-items:center;justify-content:space-between;padding:11px 26px;background:#f6f7f0;font-size:11px;color:#6f8064;border-bottom:1px solid #e9ece2}.room-tag{font-size:10px;color:#939c85}.history-control{text-align:center;padding:10px 0 0}.history-control button{padding:3px 12px;background:transparent;color:#a1a58f;font-size:10px}.history-control button:hover{background:#f3f4eb;color:var(--green)}#messages{flex:1;height:auto;min-height:0;background:transparent;border:0;border-radius:0;padding:14px 26px 20px;scrollbar-width:thin;scrollbar-color:#d6dccd transparent}#messages:empty::after{content:'还没有新消息，来打个招呼吧。';display:block;text-align:center;color:#a6ac99;font-size:12px;padding-top:50px}.message{position:relative;border:0;padding:0 0 0 40px;margin:0 0 22px;display:flex;flex-direction:column;align-items:flex-start}.message::before{content:attr(data-avatar);position:absolute;left:0;top:22px;width:30px;height:30px;border-radius:11px;background:#f1eee2;display:grid;place-items:center;font-size:19px}.meta{font-size:10px;color:#929b86;margin:0 0 6px;letter-spacing:.15px}.body{margin:0;max-width:92%;padding:10px 14px;border:1px solid #e9e9df;border-radius:3px 15px 15px 15px;background:#f7f7f1;font-size:14px;line-height:1.75;color:#40513f}.message.mine{align-items:flex-end;padding:0 40px 0 0}.message.mine::before{left:auto;right:0;background:#e7eddb}.mine .body{background:#eaf0df;border-color:#e3e9d7;border-radius:15px 3px 15px 15px}.message>a{margin-top:8px;font-size:12px;max-width:90%;overflow-wrap:anywhere}.message img{margin-top:8px}.message-emoji{font-size:3em;line-height:1.2}
.composer{margin:0 18px 0;padding:14px 16px 8px;border:1px solid #e3e6d9;border-radius:17px;background:#fbfcf7}.composer:focus-within{border-color:#b5c2a4;box-shadow:0 0 0 3px #c9d2b418}.composer textarea{display:block;border:0;outline:0!important;background:transparent;padding:0 0 12px;font-size:13px;line-height:1.7;resize:none;min-height:58px;color:#40513f}.composer textarea::placeholder{color:#abb19b}.composer-bottom,.composer-actions,.send-actions{display:flex;align-items:center}.composer-bottom{justify-content:space-between;gap:8px}.composer-actions{gap:12px;min-width:0}.emoji-tools{margin:0}.emoji-tools>button,.file-button{padding:0;background:transparent;color:#718162;font-size:18px;cursor:pointer;white-space:nowrap}.emoji-tools>button span,.file-button span{font-size:11px;vertical-align:middle}.file-button{display:flex;align-items:center;gap:4px;margin:0}.composer #file{position:absolute;width:1px;height:1px;opacity:0;padding:0;overflow:hidden}.upload-hint{font-size:9px;color:#a1a78f;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.send-actions{gap:12px}.key-hint{font-size:9px;color:#abb19c}.send-actions button{padding:9px 18px;font-size:12px;border-radius:10px}.send-actions button span{margin-left:10px;font-size:16px}#error{font-size:11px;min-height:0;color:#b55a47}#error:not(:empty){padding:8px 0 2px}.room-footer{display:flex;justify-content:space-between;gap:10px;padding:12px 26px;font-size:9px;letter-spacing:.5px;color:#a4ab95}.closed-card{flex:1;text-align:center;padding:50px 20px;margin:24px;background:#f7f7f0;border-radius:16px}.closed-card h2{font-size:18px}.closed-card p{font-size:12px;color:#939d86}.error-code{font-size:60px;font-family:Georgia,serif;color:#a6b098}
#emoji-panel{left:-4px;bottom:35px;border-color:#dde3d3;background:#fffef9;box-shadow:0 12px 36px #243f2520}#emoji-panel .emoji-tabs button.active{background:#eaf0df;color:#315d46}#emoji-panel button:hover,#emoji-panel button:focus-visible{background:#edf1e5;outline-color:#80965f}.card{background:#fffefb;border:1px solid var(--line);box-shadow:none}.card h2{font-size:20px}input{background:#fffefb;border-color:#d6ddcd}.notice{color:#869078}
@media(min-width:1400px){.app-grid{grid-template-columns:320px minmax(0,1fr);gap:56px}.garden-sidebar h2{font-size:44px}}
@media(max-width:1000px){.app-grid{grid-template-columns:225px minmax(0,1fr);gap:22px;padding:0 22px}.garden-sidebar h2{font-size:32px}.brand h1 small{display:none}.key-hint{display:none}.upload-hint{display:none}.site-header{padding:0 24px}.room-header{padding:18px 20px}.identity-bar{padding:10px 20px}#messages{padding:14px 18px}.body{max-width:100%}.composer{margin:0 12px}}
@media(max-width:680px){.site-header{height:72px;padding:0 18px}.brand-mark{height:38px;width:38px;font-size:54px;border-radius:12px 12px 12px 3px}.brand h1{font-size:20px}.brand p{font-size:9px;letter-spacing:1px}.header-note{display:none}.app-grid{display:flex;flex-direction:column;height:calc(100dvh - 90px);min-height:480px;gap:10px;margin:8px auto;padding:0 10px}.garden-sidebar{padding:0;flex:none}.garden-sidebar>.eyebrow,.garden-sidebar>h2,.garden-sidebar>.intro,.garden-art,.sidebar-foot,.note-icon,.garden-note strong{display:none}.garden-note{padding:0 8px;border:0;font-size:9px}.garden-note>div{display:flex;flex-wrap:wrap;gap:2px 10px}.garden-note p{font-size:9px;margin:0}.chat-card{flex:1;border-radius:18px}.room-header{padding:12px 16px}.room-header h2{font-size:17px}.room-kicker{font-size:8px}.identity-bar{padding:8px 16px;font-size:10px}.room-footer{padding:10px 16px;font-size:8px}.room-footer span:last-child{display:none}.composer{padding:12px;margin:0 10px}.composer-actions{gap:12px}.composer textarea{font-size:13px}.send-actions button{padding:7px 14px}.message{padding-left:34px}.message.mine{padding-right:34px}.message::before{width:26px;height:26px;font-size:17px}.body{font-size:14px}#emoji-panel{width:min(360px,calc(100vw - 64px))}.emoji-grid{max-height:210px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.garden-art{border-radius:18px}.body:empty{display:none}body:not(.chat-page) .message::before{display:none}body:not(.chat-page) .message{padding-left:0}
.message::before{display:none}.message-avatar{position:absolute;left:0;top:22px;width:30px;height:30px;border-radius:11px;background:#f1eee2;display:grid;place-items:center;font-size:19px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif}.mine .message-avatar{left:auto;right:0;background:#e7eddb}.message-avatar.is-text{font:600 9px/1.2 system-ui,"Microsoft YaHei",sans-serif;color:#526844;letter-spacing:0}
@media(max-width:680px){.message-avatar{width:26px;height:26px;font-size:17px}.message-avatar.is-text{font-size:8px}}
/* Warm paper room: keep the conversation in the illustration's palette. */
.chat-page .chat-card{background:#eeeadd;border-color:#dedecb;box-shadow:0 8px 28px #4a563408}
.chat-page .room-header{background:#e5e9d9;border-bottom-color:#d4dcc8}
.chat-page .room-kicker{color:#737f65}
.chat-page .online-pill{background:#f0f2e5;border-color:#cdd8bf;color:#48613c}
.chat-page .identity-bar{background:#e9ecdf;border-bottom-color:#dce1d0;color:#586c4b}
.chat-page .room-tag{color:#6d7b60}
.chat-page .history-control{background:transparent}
.chat-page .history-control button{color:#737f65}
.chat-page .history-control button:hover{background:#e0e5d3}
.chat-page #messages{background:transparent;scrollbar-color:#c4cdb5 transparent}
.chat-page .meta{color:#6d795f}
.chat-page .body{background:#f8f3e5;border-color:#e0dcc9;color:#354b37;box-shadow:0 2px 3px #50593204}
.chat-page .mine .body{background:#dce6ce;border-color:#cbd9ba;color:#30492f}
.chat-page .message-avatar{background:#e3dfcb}
.chat-page .mine .message-avatar{background:#d2dfc2}
.chat-page .composer{background:#e4e9d8;border-color:#cbd5bc;box-shadow:0 3px 12px #465c3307}
.chat-page .composer:focus-within{background:#e9eddc;border-color:#8fa67b;box-shadow:0 0 0 3px #9aad811c}
.chat-page .composer textarea::placeholder{color:#78876a}
.chat-page .emoji-tools>button,.chat-page .file-button{color:#506947}
.chat-page .upload-hint,.chat-page .key-hint,.chat-page .room-footer{color:#738064}
.chat-page .closed-card{background:#e4e9d8}
.chat-page #emoji-panel{background:#f5f0e2;border-color:#cbd5bc}

.message-avatar img{display:block;width:100%;height:100%;margin:0;object-fit:contain;border-radius:0}

.chat-page #identity{display:inline-flex;align-items:center;min-height:32px;padding:6px 13px;border-radius:10px;background:#315d46;color:#fff8e5;font-size:14px;font-weight:650;letter-spacing:.3px;line-height:1.5;box-shadow:0 2px 5px #315d4610;overflow-wrap:anywhere}.chat-page .identity-bar{gap:12px;padding-top:10px;padding-bottom:10px}.chat-page .room-tag{flex-shrink:0}@media(max-width:680px){.chat-page #identity{font-size:13px;padding:5px 10px;min-height:30px}.chat-page .identity-bar{padding-top:8px;padding-bottom:8px}}


/* Shared page grid keeps navigation and the room aligned. */
body.chat-page{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.site-header{flex:none;display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;height:80px;min-height:80px;padding:12px max(28px,calc((100vw - 1500px)/2));align-items:center}
.brand{min-width:0;gap:10px}.brand h1{white-space:nowrap;font-size:22px}.brand h1 small{display:none}.brand-mark{width:42px;height:42px;font-size:58px}.brand p{font-size:10px;letter-spacing:1px}
.header-links{min-width:0;width:100%}.garden-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:center}.site-entry{display:flex;align-items:center;gap:12px;min-width:0}.garden-links a{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;padding:8px 12px;border:1px solid #d6ddc9;border-radius:11px;background:#ebeedf;color:#315d46;text-decoration:none;font-size:12px;font-weight:600;line-height:1.4;box-shadow:0 2px 0 #315d4610;transition:transform .2s,box-shadow .2s;white-space:nowrap}.garden-links a:hover{transform:translateY(-2px);box-shadow:0 5px 12px #315d4612}.garden-links a:focus-visible{outline:3px solid #d5a54e;outline-offset:3px}.site-entry:nth-child(2) a{background:#f2e8d5;border-color:#e3d6bc;color:#7a6340}.site-entry a.monitor-link{background:#e3eae6;border-color:#cbd8d3;color:#42665f}.link-symbol{font-size:18px;font-weight:400;line-height:1}.link-arrow{font-size:13px;opacity:.6}.entry-verse{font-size:10px;line-height:1.8;letter-spacing:.5px;color:#828c76;white-space:nowrap}
.app-grid{flex:1;width:100%;max-width:1500px;grid-template-columns:220px minmax(0,1fr);gap:32px;height:auto;min-height:0;margin:16px auto;padding:0 28px}.garden-sidebar{padding-top:10px}.garden-sidebar h2{font-size:32px;margin:16px 0 12px}.garden-art{margin:8px 0 12px;min-height:0}.garden-art img{max-height:330px}.garden-note{padding:12px 0}.sidebar-foot{margin-top:4px}.chat-card{height:100%;border-radius:20px}.room-header{padding:12px 22px 10px}.room-header h2{font-size:18px}.chat-page .identity-bar{padding:7px 22px}.chat-page #identity{font-size:13px;padding:4px 11px;min-height:28px}.history-control{padding-top:5px}#messages{padding:10px 22px 16px}.composer{flex-shrink:0;padding:10px 14px 8px;margin:0 14px}.composer textarea{min-height:40px;padding-bottom:6px}.room-footer{padding:7px 22px}
@media(max-width:1150px){.site-header{grid-template-columns:190px minmax(0,1fr);gap:22px}.app-grid{grid-template-columns:190px minmax(0,1fr);gap:22px}.garden-sidebar h2{font-size:28px}.garden-links{gap:14px}.site-entry{gap:8px}.entry-verse{font-size:9px;letter-spacing:0}.garden-links a{padding:8px 9px;font-size:11px}}
@media(max-width:950px){.site-header{height:112px;min-height:112px;grid-template-columns:1fr;gap:8px;padding-top:10px;padding-bottom:10px}.brand-mark{width:32px;height:32px;font-size:44px}.brand h1{font-size:19px}.brand p{display:none}.garden-links{gap:16px}.site-entry{gap:10px}.app-grid{margin:12px auto}.garden-sidebar h2{font-size:27px}.garden-note p,.garden-note span{font-size:9px}}
@media(max-width:680px){.site-header{height:126px;min-height:126px;padding:10px 14px;gap:8px}.garden-links{gap:7px;align-items:start}.site-entry{flex-direction:column;align-items:flex-start;gap:4px}.garden-links a{font-size:10px;padding:6px 7px;gap:4px;border-radius:8px}.link-symbol{font-size:14px}.link-arrow{font-size:10px}.entry-verse{font-size:8px;line-height:1.5;white-space:normal}.entry-verse br{display:none}.app-grid{display:flex;flex-direction:column;gap:6px;padding:0 10px;margin:8px auto;min-height:0;height:auto}.garden-sidebar{padding:0}.garden-note{padding:0 4px}.chat-card{flex:1;min-height:0;border-radius:15px}.room-header{padding:9px 14px}.chat-page .identity-bar{padding:6px 14px}#messages{padding:10px 14px}.composer{margin:0 9px;padding:9px 11px}.composer textarea{min-height:36px}.room-footer{padding:6px 14px}}
@media(prefers-reduced-motion:reduce){.garden-links a{transition:none}}

/* Restore the original horizontal proportions; prioritize message height. */
.site-header{padding-left:max(32px,calc((100vw - 1260px)/2));padding-right:max(32px,calc((100vw - 1260px)/2));grid-template-columns:300px minmax(0,1fr);gap:36px}.garden-links{gap:14px}.site-entry{gap:8px}.entry-verse{font-size:9px;letter-spacing:0}.garden-links a{padding:7px 9px;font-size:11px}
.app-grid{max-width:1260px;grid-template-columns:300px minmax(0,1fr);gap:36px;padding:0 32px;margin:10px auto}.garden-sidebar h2{font-size:39px}.garden-art img{max-height:340px}
.room-header{padding:9px 20px;align-items:center}.room-kicker{display:none}.room-header h2{font-size:17px;margin:0}.chat-page .identity-bar{padding:5px 20px}.chat-page #identity{font-size:12px;min-height:25px;padding:3px 9px}.history-control{padding:2px 0 0}.history-control button{padding:1px 10px}.composer{position:relative;min-height:58px;margin:0 12px;padding:8px 12px}.composer textarea{min-height:32px;height:32px;padding:4px 175px 4px 0;line-height:1.6}.composer-bottom{min-height:26px}.send-actions{position:absolute;right:12px;top:9px}.key-hint{display:none}.send-actions button{padding:6px 14px}.composer-actions{gap:12px}.room-footer{padding:3px 20px;font-size:8px}.message{margin-bottom:16px}
@media(min-width:1400px){.site-header{grid-template-columns:320px minmax(0,1fr);gap:56px}.app-grid{grid-template-columns:320px minmax(0,1fr);gap:56px}.garden-sidebar h2{font-size:44px}}
@media(max-width:1100px){.site-header{grid-template-columns:225px minmax(0,1fr);gap:22px;padding-left:22px;padding-right:22px}.app-grid{grid-template-columns:225px minmax(0,1fr);gap:22px;padding:0 22px}.garden-sidebar h2{font-size:32px}.garden-links{gap:10px}.site-entry{gap:6px}.garden-links a{padding:7px;font-size:10px}.link-symbol{font-size:15px}.entry-verse{font-size:8px}}
@media(max-width:950px){.site-header{grid-template-columns:1fr;height:105px;min-height:105px;gap:8px}.garden-links{gap:16px}.entry-verse{font-size:9px}}
@media(max-width:680px){.site-header{height:120px;min-height:120px;padding:9px 14px}.app-grid{padding:0 10px;gap:6px;margin:7px auto}.garden-links{gap:7px}.site-entry{gap:4px}.entry-verse{font-size:8px}.room-header{padding:7px 14px}.chat-page .identity-bar{padding:4px 14px}.composer{margin:0 9px;padding:7px 10px}.composer textarea{padding-right:86px}.send-actions{right:10px;top:8px}.room-footer{padding:3px 14px}}

/* Align the destination group to the right edge of the header. */
.garden-links{grid-template-columns:repeat(3,max-content);justify-content:end;gap:28px}.header-links{justify-self:end}@media(max-width:1100px){.garden-links{gap:18px}}@media(max-width:680px){.garden-links{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:end;gap:7px}}


#emoji-panel .emoji-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.emoji-grid img{width:100%;height:48px;object-fit:contain;display:block}.emoji-grid .sticker-upload{grid-column:1/-1;font-size:12px!important;padding:9px!important;color:#315d46!important;border:1px dashed #a8b895}.sticker-empty{grid-column:1/-1;font-size:12px;color:#7c8870}.sticker-preview{display:flex;align-items:center;gap:12px;margin-bottom:7px}.sticker-preview img{width:56px;height:48px;object-fit:contain}.sticker-preview button{font-size:11px;padding:4px 8px}.composer:has(.sticker-preview:not([hidden])) .send-actions{top:auto;bottom:10px}#admin-stickers{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:14px;margin-top:14px}#admin-stickers>div{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid #d6ddc9;border-radius:12px}#admin-stickers img{width:100%;height:90px;object-fit:contain}#admin-stickers small{font-size:10px}

.emoji-grid.custom-sticker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.custom-sticker-grid img{height:56px}.custom-sticker-grid button:disabled{opacity:.6}

.tank-entry{display:flex;align-items:center;gap:12px;width:100%;margin:12px 0 4px;padding:10px 13px;border:1px solid #cdd7bc;border-radius:12px;background:#e5ead8;color:#315d46;text-align:left;flex-shrink:0}.tank-entry>span:first-child{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#315d46;color:#e5dba5;font-size:22px}.tank-entry>span:nth-child(2){flex:1;font-size:13px;font-weight:600}.tank-entry small{display:block;font-size:9px;font-weight:400;letter-spacing:1px;color:#829071}.tank-entry:hover{background:#dce5cd}.tank-dialog{width:min(710px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:1px solid #c7d1b9;border-radius:18px;background:#f4f0e4;box-shadow:0 24px 90px #13251a40;overflow:auto}.tank-dialog::backdrop{background:#152b23aa;backdrop-filter:blur(4px)}.tank-dialog-bar{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:8px 16px;background:#e5eadb;color:#708268;font-size:11px}.tank-dialog-bar button{padding:5px 10px;font-size:11px}.tank-dialog iframe{display:block;border:0;width:100%;height:min(870px,calc(100dvh - 84px));min-height:350px}@media(max-width:680px){.garden-sidebar .tank-entry{width:auto;margin:0;align-self:flex-end;padding:4px 9px;gap:7px}.tank-entry>span:first-child{width:22px;height:22px;font-size:16px}.tank-entry small{display:none}.tank-entry>span:nth-child(2){font-size:11px}.garden-sidebar{gap:5px}.tank-dialog iframe{height:calc(100dvh - 90px)}}

.garden-sidebar .tank-icon-only{display:grid;place-items:center;align-self:flex-start;width:64px;height:64px;min-height:64px;margin:8px 0 10px;padding:0;border:0;border-radius:17px;background:transparent;box-shadow:0 4px 10px #315d461c;overflow:hidden;transition:transform .18s,box-shadow .18s}.tank-icon-only img{display:block;width:100%;height:100%}.garden-sidebar .tank-icon-only:hover{background:transparent;transform:translateY(-2px);box-shadow:0 7px 15px #315d462b}@media(max-width:680px){.garden-sidebar .tank-icon-only{width:40px;height:40px;min-height:40px;margin:3px 0 2px;border-radius:11px}}@media(prefers-reduced-motion:reduce){.garden-sidebar .tank-icon-only{transition:none}}
.arcade-entries{display:flex;flex-wrap:wrap;gap:12px;flex-shrink:0;align-items:center}.runner-dialog{width:min(920px,calc(100vw - 24px))}.runner-dialog iframe{height:min(760px,calc(100dvh - 84px));min-height:350px}@media(max-width:680px){.arcade-entries{gap:9px}.runner-dialog iframe{height:calc(100dvh - 90px)}}
.breakout-dialog{width:min(610px,calc(100vw - 24px))}.breakout-dialog iframe{height:min(850px,calc(100dvh - 84px));min-height:300px}

/* Keep the left edge familiar and use the free right margin for a wider feature area. */
@media(min-width:1101px){
  .app-grid{max-width:none;width:auto;margin-left:max(0px,calc((100vw - 1260px)/2));margin-right:0;grid-template-columns:clamp(300px,calc(300px + (100vw - 1280px)*.5),520px) minmax(0,1fr);gap:36px}
  .site-header{padding-right:32px}
  .garden-sidebar{min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4cdb5 transparent}
}
.arcade-entries{flex-wrap:wrap}
.garden-sidebar .tank-icon-only{flex-shrink:0}

.sky-dialog{width:min(1180px,calc(100vw - 24px))}.sky-dialog iframe{height:min(740px,calc(100dvh - 84px));min-height:320px}

.arcade-entries{flex-wrap:wrap}.garden-sidebar #open-airwar{background:#294f58;border:1px solid #93a895}#open-airwar>img:first-child{width:48px;height:56px;object-fit:contain;image-rendering:pixelated}.airwar-dialog{width:min(550px,calc(100vw - 24px))}.airwar-dialog iframe{height:calc(100dvh - 86px);min-height:350px}@media(max-width:680px){#open-airwar>img:first-child{width:30px;height:35px}.airwar-dialog{width:calc(100vw - 12px)}.airwar-dialog iframe{height:calc(100dvh - 75px)}}
.airwar-dialog iframe{height:calc(100dvh - 70px)}@media(max-width:680px){.airwar-dialog iframe{height:calc(100dvh - 70px)}}
.airwar-dialog{width:min(100vw,calc((100dvh - 36px)*.666667));max-width:100vw;height:100dvh;max-height:100dvh;margin:auto;padding:0;border:0;border-radius:0;overflow:hidden}.airwar-dialog .tank-dialog-bar{height:36px;min-height:36px;padding:4px 10px;box-sizing:border-box}.airwar-dialog iframe{display:block;width:100%;height:calc(100dvh - 36px);min-height:0;border:0}@media(max-width:680px){.airwar-dialog{width:min(100vw,calc((100dvh - 36px)*.666667))}.airwar-dialog iframe{height:calc(100dvh - 36px);min-height:0}}
.attachment-preview{display:flex;align-items:center;gap:10px;margin-bottom:8px;padding-bottom:7px;border-bottom:1px solid #cbd3bd}.attachment-preview[hidden]{display:none}.attachment-preview img{width:76px;height:58px;object-fit:contain;border-radius:8px;background:#f1f0df;border:1px solid #c5ceb5}.attachment-preview>span{font-size:11px;color:#506947;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-preview button{margin-left:auto;padding:4px 8px;font-size:11px;flex-shrink:0}.composer:has(.attachment-preview:not([hidden])) .send-actions{top:auto;bottom:10px}@media(max-width:680px){.attachment-preview img{width:60px;height:46px}.attachment-preview{gap:7px}.attachment-preview>span{font-size:10px}}
