.hall-section { margin-bottom: 13px; }
.gold-hall-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.gold-hall-card { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(100px,16vw,180px); display: flex; align-items: center; border: 1px solid #a97026; border-radius: 14px; background: linear-gradient(125deg,#3b2815,#714511,#9e6827); text-decoration: none; transition: border-color .2s; }
.gold-hall-card:hover { border-color: #f5c66b; }
.gold-hall-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gold-hall-card::after { position: absolute; content: ""; inset: 0; z-index: -1; background: linear-gradient(90deg,#2a1a0ae8,#54340e94 42%,#30200c1c); }
.gold-hall-caption { padding: 13px clamp(11px,2.5vw,25px); display: grid; gap: 4px; color: #fff2d0; }
.gold-hall-caption strong { font-size: clamp(17px,2.3vw,27px); }
.gold-hall-caption small { font-size: 13px; color: #f3dfaa; }
.gold-hall-caption em { justify-self: start; font: 650 12px/1.25 Inter,sans-serif; color: #412804; background: #f2d388; padding: 4px 8px; border-radius: 8px; margin-top: 5px; }
.gold-hall-games { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin: 14px 0; }
.gold-hall-games .gold-hall-card { min-height: 110px; }
.gold-hall-games .gold-hall-caption strong { font-size: 15px; line-height: 1.25; }
.gold-hall-search { display: flex; align-items: end; gap: 8px; margin: 10px 0; }
.gold-hall-search label { flex: 1; max-width: 340px; }
@media(max-width:750px) { .gold-hall-games { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:480px) {
    .gold-hall-card { min-height: 93px; border-radius: 11px; }
    .gold-hall-caption small { font-size: 11px; }
    .gold-hall-games { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.gold-hall-games{grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}.gold-hall-games .gold-hall-card{display:flex;flex-direction:column;align-items:stretch;background:#fffcf6;border-color:#dec69c;min-height:0;box-shadow:0 5px 20px #75501c10;border-radius:15px}.gold-hall-games .gold-hall-card:after{display:none}.gold-hall-games .gold-hall-card img{position:static;aspect-ratio:1;object-fit:cover;z-index:auto;background:#eedfbe}.gold-hall-games .gold-hall-caption{color:#4d3512;padding:12px;gap:7px}.gold-hall-games .gold-hall-caption strong{font-size:15px;min-height:36px}.gold-hall-games .gold-hall-caption small{font-size:10px;color:#9b835e;line-height:1.4}.gold-hall-games .gold-hall-caption em{width:100%;text-align:center;box-sizing:border-box;padding:9px;background:linear-gradient(120deg,#b78430,#8e591c);color:#fff3dc}.hall-room-picker{width:min(650px,calc(100% - 20px));max-width:650px;max-height:80dvh;overflow:auto;border-radius:24px 24px 8px 8px}.hall-room-picker>form{text-align:right}.hall-room-option{display:flex;align-items:center;gap:20px;padding:18px 10px;border-bottom:1px solid var(--gd-line);text-decoration:none;color:#684519;font-size:24px}.hall-room-option img{width:70px;height:70px;border-radius:50%}.hall-room-option i{margin-left:auto}.hall-room-picker [hidden]{display:none}@media(max-width:1000px){.gold-hall-games{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:640px){.gold-hall-games{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gold-hall-games .gold-hall-caption{padding:8px}.gold-hall-games .gold-hall-caption strong{font-size:13px}.gold-hall-games .gold-hall-caption small{display:none}.hall-room-option{font-size:21px}.hall-room-option img{width:52px;height:52px}}@media(max-width:370px){.gold-hall-games{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The player uses the available viewport and keeps controls above the iframe. */
body.gold-player-page{padding:0;}
.gold-player-page .gold-shell{width:calc(100% - 24px);max-width:1680px;margin:12px auto;}
.gold-player-page .gold-header,.gold-player-page>.gold-nav,.gold-player-page #page-main>.gold-heading,.gold-player-page #page-main>.gold-tabs{display:none;}
#game-player{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:8px;height:calc(100vh - 24px);height:calc(100dvh - 24px);padding:12px;overflow:hidden;min-height:0;}
.game-player-toolbar{display:flex;align-items:center;gap:12px;min-width:0;}
.game-player-toolbar h1{font-size:18px;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;}
.game-player-actions{display:flex;align-items:center;gap:8px;flex:none;}
.game-player-more{position:relative;}
.game-player-more summary{list-style:none;}
.game-player-more summary::-webkit-details-marker{display:none;}
.game-player-more>div{position:absolute;right:0;top:calc(100% + 8px);z-index:3;display:grid;gap:7px;min-width:150px;padding:10px;border:1px solid var(--gd-line);border-radius:12px;background:var(--gd-surface);box-shadow:var(--gd-shadow);}
#game-player-state{margin:0;font-size:12px;line-height:1.45;}
#game-player-frame{display:block;width:100%;height:100%;min-height:0;border:1px solid var(--gd-line);border-radius:10px;background:#271a11;}
#game-player:fullscreen,#game-player.is-expanded{width:100%;height:100vh;height:100dvh;max-width:none;margin:0;border:0;border-radius:0;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--gd-bg);}
#game-player:-webkit-full-screen{width:100%;height:100%;max-width:none;margin:0;border-radius:0;background:var(--gd-bg);}
#game-player.is-expanded{position:fixed;inset:0;z-index:2000;}
body.is-game-expanded{overflow:hidden;}
@media(max-width:600px){.gold-player-page .gold-shell{width:100%;margin:0;}#game-player{height:100vh;height:100dvh;border:0;border-radius:0;padding:8px;gap:6px;}.game-player-toolbar{flex-wrap:wrap;gap:7px;}.game-player-toolbar h1{font-size:14px;}.game-player-toolbar .gold-button{padding:7px 8px;font-size:12px;min-height:34px;}.game-player-actions{gap:5px;}#game-player-state{font-size:10px;}}
@media(max-width:360px){.game-player-toolbar h1{flex-basis:calc(100% - 100px);}.game-player-actions{margin-left:auto;}}
