#galleryPanel{position:fixed;inset:0;z-index:50;overflow:auto;background:#eee9df;color:#313c3c;padding:35px 40px}#galleryPanel[hidden]{display:none}.gallery-web-shell{max-width:1250px;margin:auto}.gallery-web-shell header{display:flex;align-items:center;justify-content:space-between;gap:20px}.gallery-web-shell header small{letter-spacing:3px;font-size:10px;color:#8a806a}.gallery-web-shell h1{font-size:36px;letter-spacing:-1px;margin:14px 0 25px}.gallery-web-shell button{min-height:44px;border-radius:5px;background:#f6f2e9;color:#43514b;border:1px solid #a9aea1;padding:10px 16px}.gallery-web-shell button:hover{background:#dce4d6}.gallery-web-shell button[aria-pressed=true]{border-color:#687f68;background:#dbe3d4}.gallery-web-shell nav{display:flex;gap:9px;padding-bottom:20px;border-bottom:1px solid #c3c6ba}.gallery-status{font-size:12px;color:#647565;line-height:1.8;padding:10px 0}.gallery-intro{padding:26px 0 42px}.gallery-intro h2{font-size:30px;font-weight:400;margin:5px 0 15px}.gallery-intro p{font-size:14px;color:#7d8378}.gallery-work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.gallery-work-grid button{border:0;background:transparent;padding:0 0 20px;display:flex;flex-direction:column;text-align:left;gap:8px;min-width:0}.gallery-work-grid button>span{display:grid;place-items:center;width:100%;height:200px;background:#deded3;padding:15px;box-sizing:border-box}.gallery-work-grid img{max-width:100%;max-height:100%;object-fit:contain}.gallery-work-grid small{font-size:10px;color:#8b8e7c}.gallery-work-grid b{font-size:14px;font-weight:500}.gallery-work-grid em{font-size:11px;font-style:normal;color:#858c7f}.gallery-work-detail{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);gap:35px;margin:10px 0 45px}.gallery-large-image{display:grid;place-items:center;min-height:380px;max-height:75dvh;padding:25px;background:#e1dfd4}.gallery-large-image img{max-width:100%;max-height:65dvh;object-fit:contain}.gallery-work-detail aside{padding:20px 0}.gallery-work-detail small{font-size:11px;color:#8f927f}.gallery-work-detail h2{font-size:30px;font-weight:400}.gallery-work-detail h3{font-size:15px;font-weight:400;color:#7c897b}.gallery-work-detail p{font-size:14px;line-height:2;white-space:pre-wrap}.gallery-work-detail button{margin-top:15px}.gallery-web-shell footer{padding:30px 0;font-size:11px;color:#8a8d7a;border-top:1px solid #c9ccbe;margin-top:30px}.gallery-upload{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;padding:20px 0 40px}.gallery-upload h2{font-size:30px;font-weight:400}.gallery-upload p{line-height:1.9;font-size:14px}.gallery-local-note{background:#e3e3d2;padding:12px 14px;border-left:3px solid #9b9f74}.gallery-upload label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin-bottom:16px}.gallery-upload input,.gallery-upload select,.gallery-upload textarea{font:inherit;background:#f7f4eb;color:#3f4c45;border:1px solid #b4bcac;border-radius:5px;padding:11px;min-height:44px;box-sizing:border-box;max-width:100%}.gallery-upload input[type=file]{width:100%}.gallery-upload form>small{display:block;font-size:11px;color:#858e78;margin:-5px 0 20px}.gallery-upload button{margin:5px 7px 0 0}#galleryTools{position:absolute;top:80px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:6;padding:8px;border-radius:10px;background:#ebe8d6da}#galleryTools[hidden]{display:none}#galleryTools button{font-size:12px;min-height:44px;background:#f4f1e4;color:#405446;border:1px solid #a0af9a}.gallery-mode .player-card,.gallery-mode .quest-card,.gallery-mode .wallet,.gallery-mode #soulDock,.gallery-mode .weapon-bar,.gallery-mode .mini,.gallery-mode #touchAttack,.gallery-mode #touchGuard,.gallery-mode #touchDodge,.gallery-mode #inventory,.gallery-mode #touchJump{display:none}.gallery-mode .world-header .logo small{display:none}.gallery-mode #interactPrompt{background:#f0eddbdd;color:#3e5445;border-color:#9ba78e}.gallery-mode .district-label h2{color:#485a50}
@media(max-width:850px){#galleryPanel{padding:23px}.gallery-work-grid{grid-template-columns:repeat(3,1fr);gap:14px}.gallery-work-detail{gap:20px;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr)}}
@media(max-width:600px){#galleryPanel{padding:18px 14px}.gallery-web-shell h1{font-size:24px;margin:12px 0 20px}.gallery-web-shell header small{font-size:7px;letter-spacing:1px}.gallery-web-shell nav{gap:6px;flex-wrap:wrap}.gallery-web-shell nav button{font-size:11px;padding:9px 12px}.gallery-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.gallery-work-grid button>span{height:160px;padding:10px}.gallery-work-grid b{font-size:12px}.gallery-work-grid em{font-size:10px}.gallery-work-detail{display:block}.gallery-large-image{min-height:220px;padding:15px}.gallery-work-detail h2{font-size:25px}.gallery-work-detail p{font-size:13px}.gallery-upload{display:block}.gallery-upload h2{font-size:24px}.gallery-intro{padding:12px 0 26px}.gallery-intro h2{font-size:24px}.gallery-intro p{font-size:12px}#galleryTools{top:63px;max-width:95vw;white-space:nowrap;padding:5px;gap:5px}#galleryTools button{font-size:10px;padding:7px 10px}.gallery-mode #interactPrompt{bottom:220px}}
.gallery-room-tabs{flex-wrap:wrap;gap:6px}.gallery-room-tabs button[aria-pressed=true]{background:#c1d8c8!important;color:#243c32!important}.gallery-room-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.gallery-room-cards button{text-align:left;padding:16px!important;min-width:0;border:1px solid #87958a!important;background:#e1e4d8!important;color:#34473d!important}.gallery-room-cards b,.gallery-room-cards span,.gallery-room-cards small{display:block;margin-bottom:8px;line-height:1.6}.gallery-room-cards span{font-size:12px}.gallery-room-cards small{font-size:10px}#inventoryGoods [data-guide-room]{text-align:left;padding:14px;min-height:68px}#inventoryGoods [data-guide-room] b,#inventoryGoods [data-guide-room] small{display:block;margin-bottom:5px}#inventoryGoods [data-guide-room] small{font-size:11px;color:#b9d5c5}@media(max-width:700px){.gallery-room-cards{grid-template-columns:1fr}.gallery-room-tabs button{font-size:10px!important;padding:8px!important}}

.gallery-mode-switch{display:inline-flex;gap:4px;padding:2px;border-radius:8px;background:#1d2a2fbb;border:1px solid #a9c3b455}.gallery-mode-switch button{min-height:40px;font-size:11px;padding:7px 12px}.gallery-mode-switch button[aria-pressed=true]{background:#c9d9b8;color:#243833;border-color:#d7e4c8}
