/* 雀星 · 统一界面风格：东方装饰艺术（照早期认可的 UI 概念图 4_质感版v2/UI概念_大厅.png）
   黑漆底 + 切角 + 双层金线；小控件是金边胶囊；主按钮红漆金框。大厅、地图、弹窗共用，放在其它样式之后加载 */
:root {
  --g-spec: none;
  --g-bg: linear-gradient(180deg, rgba(22,14,11,.8), rgba(10,7,6,.82));
  --g-bg2: linear-gradient(180deg, rgba(24,15,12,.94), rgba(10,7,6,.95));
  --g-line: rgba(217,176,106,.55); --g-line2: rgba(226,186,112,.85);
  --g-blur: blur(5px);
  --g-shadow: 0 6px 20px rgba(0,0,0,.45), inset 0 0 0 3px rgba(0,0,0,.35), inset 0 0 0 4px rgba(217,176,106,.16);
  --g-gold: linear-gradient(180deg, #f4d690, #c4924a);
  --g-goldsh: inset 0 1px 0 rgba(255,245,215,.7), 0 4px 12px rgba(0,0,0,.45);
  /* 切角双金线边框（九宫格拉伸） */
  --deco-frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M8 .5H52L59.5 8V52L52 59.5H8L.5 52V8Z' fill='%23100a08' fill-opacity='.8' stroke='%23e0b86c' stroke-width='1'/%3E%3Cpath d='M9.5 4H50.5L56 9.5V50.5L50.5 56H9.5L4 50.5V9.5Z' fill='none' stroke='%23e0b86c' stroke-opacity='.38' stroke-width='.8'/%3E%3Cpath d='M30 2.2l1.6 1.6-1.6 1.6-1.6-1.6zM30 54.6l1.6 1.6-1.6 1.6-1.6-1.6z' fill='%23e0b86c'/%3E%3C/svg%3E");
  --deco-frame2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M8 .5H52L59.5 8V52L52 59.5H8L.5 52V8Z' fill='%23110b09' fill-opacity='.95' stroke='%23e6c27a' stroke-width='1.2'/%3E%3Cpath d='M9.5 4H50.5L56 9.5V50.5L50.5 56H9.5L4 50.5V9.5Z' fill='none' stroke='%23e6c27a' stroke-opacity='.4' stroke-width='.8'/%3E%3C/svg%3E");
  --deco-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cdefs%3E%3ClinearGradient id='r' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23a5302a'/%3E%3Cstop offset='1' stop-color='%235a120e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M8 .5H52L59.5 8V52L52 59.5H8L.5 52V8Z' fill='url(%23r)' stroke='%23f0cc84' stroke-width='1.2'/%3E%3Cpath d='M9.5 4H50.5L56 9.5V50.5L50.5 56H9.5L4 50.5V9.5Z' fill='none' stroke='%23f0cc84' stroke-opacity='.55' stroke-width='.8'/%3E%3C/svg%3E");
}
.deco, .brass, .sheet, #chat, .room, .item, #dialog, #pf .card {
  background:none !important; border:0 solid transparent !important; border-radius:0 !important;
  border-image:var(--deco-frame) 16 fill / 16px / 0 stretch !important; box-shadow:none !important;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.45));
}
.brass::before, .brass::after { display:none !important; }
.brass, #chat { backdrop-filter:var(--g-blur); -webkit-backdrop-filter:var(--g-blur); }
.sheet, #pf .card { border-image:var(--deco-frame2) 16 fill / 18px / 0 stretch !important; filter:drop-shadow(0 24px 50px rgba(0,0,0,.6)); }
.sheet { padding:34px 40px 34px; overflow-x:hidden; overflow-y:auto; scrollbar-width:none; }
.sheet::-webkit-scrollbar, .panel ::-webkit-scrollbar { display:none; width:0; height:0; }
.panel * { scrollbar-width:none; }
.panel { background:rgba(6,4,4,.5); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px); }
.sheet h2 { color:#ecc77c; letter-spacing:12px; }
/* 金边胶囊：小控件 */
.close { width:36px; height:36px; display:flex; align-items:center; justify-content:center; border-radius:50%; font-size:20px; line-height:1; background:rgba(14,9,8,.7); border:1px solid var(--g-line2); box-shadow:inset 0 0 0 3px rgba(0,0,0,.3), inset 0 0 0 4px rgba(217,176,106,.2); }
.close:hover { background:rgba(60,30,20,.85); }
.tab, .btn { border-radius:20px !important; border:1px solid var(--g-line) !important; background:rgba(14,9,8,.6) !important; }
.tab.on { background:var(--g-gold) !important; color:#2a1608 !important; border-color:transparent !important; font-weight:700; }
.big { border:0 !important; border-image:var(--deco-red) 16 fill / 14px / 0 stretch !important; background:none !important; color:#fff1d6 !important; text-shadow:0 1px 0 #5a120e; padding:12px 40px; }
.big:hover { filter:brightness(1.12); }
/* 段位战卓卡 */
.room { padding:26px 18px 20px !important; transition:transform .25s; }
.room:not(.lock):hover { transform:translateY(-5px); }
.room .moon { width:80px !important; height:80px !important; }
.room .btns { gap:10px !important; margin-top:14px; }
.room .btns div { border-radius:0 !important; border:1px solid var(--g-line) !important; background:rgba(14,9,8,.55) !important; color:#ecc77c !important; clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px); }
.room .btns div:first-child { background:linear-gradient(180deg,#a5302a,#5a120e) !important; color:#fff1d6 !important; border-color:#f0cc84 !important; }
.room .btns div:hover { filter:brightness(1.15); }
.room.lock { opacity:.45; }
.item .pic img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.item { transition:transform .2s; } .item:hover { transform:translateY(-4px); }
.buy { border-radius:18px !important; }
.seats > div { border:1px dashed rgba(217,176,106,.35) !important; } .seats > div:first-child { border-style:solid !important; border-color:var(--g-line2) !important; }
#toast { border-image:var(--deco-frame) 16 fill / 14px / 0 stretch !important; border:0 solid transparent !important; background:none !important; }
#pf .card { padding:10px !important; } #pf .art { clip-path:polygon(10px 0,100% 0,100% 100%,10px 100%,0 calc(100% - 10px),0 10px); }
