* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: #101112; color: #d3d5d6; font: 14px "Meiryo", "Yu Gothic", sans-serif; }
a { color: inherit; text-decoration: none; }
.screen { width: 100%; min-height: 100vh; min-width: 880px; background: #141617; }
.top-bar { height: 42px; padding: 5px 8px 4px; display: flex; align-items: center; background: linear-gradient(#161819,#0a0c0d); border-bottom: 1px solid #050606; }
.area-name { margin-left: 5px; font-size: 12px; color: #aaa; flex: 1; }
.top-menu { height: 31px; display: flex; min-width: 530px; border: 1px solid #0c0e0f; box-shadow: inset 0 1px #41484c; background: linear-gradient(#363b3e, #1b1f21 55%, #111315); }
.top-menu a { min-width: 25%; display: flex; align-items: center; justify-content: center; gap: 7px; border-right: 1px solid #111; border-left: 1px solid #3c4143; font-weight: bold; color: #b9bec2; font-size: 12px; text-shadow: 1px 1px 1px #000; }
.top-menu a:first-child { border-left: 0; }.top-menu a:last-child { border-right: 0; }.top-menu a:hover { color: #fff; background: #363d40; }.top-menu span { font-size: 19px; color: #adb8be; }
.lobby-body { display: grid; grid-template-columns: 228px minmax(0,1fr); gap: 3px; min-height: calc(100vh - 42px); padding: 0 5px 5px; background: #101213; }
.side-menu { border: 1px solid #333b40; padding: 4px 3px; background: linear-gradient(145deg, #30383c 0%, #1c2328 48%, #101416 100%); }
.side-label { height: 25px; padding: 5px 4px 0; font-size: 12px; color: #c2c6c7; font-weight: bold; }
.side-button { height: 36px; display: flex; align-items: center; margin-bottom: 3px; border: 1px solid #11171b; box-shadow: inset 0 1px #697075, inset 0 -2px #171b1e; background: linear-gradient(#303a41, #232c31 55%, #1b2328); font-weight: bold; font-size: 15px; color: #b9bec2; }
.side-button:hover:not(.disabled) { color: #fff; background: linear-gradient(#485158,#252d31); }.side-button.active { color: #e8ad4a; }.side-button.disabled { color: #aeb4b8; cursor: default; }
.side-icon { width: 53px; margin-right: 9px; font-size: 24px; text-align: center; color: #cbd0d2; border-right: 1px solid #20282b; text-shadow: 0 1px 2px #000; }.side-gap { height: 58px; }.side-photo { border: 1px solid #171b1d; margin: 4px 0 0; background: #151819; }.photo-placeholder { height: 118px; display: grid; place-items: center; color: #656b6e; background: linear-gradient(135deg,#2a3438,#101517); }.side-photo-title { padding: 7px 5px; font-size: 12px; text-align: center; }
.room-area { position: relative; overflow: hidden; min-height: 540px; background: #111518; border: 1px solid #374046; }
.room-area:before { content: ""; position: absolute; inset: 39px 0 0; pointer-events: none; background-image: linear-gradient(rgba(102,122,133,.07) 1px,transparent 1px), linear-gradient(90deg,rgba(102,122,133,.07) 1px,transparent 1px); background-size: 38px 38px; }
.room-tabs { position: relative; z-index: 1; display: flex; align-items: flex-end; height: 34px; padding: 0 5px; background: #0e1214; border-bottom: 2px solid #485158; gap: 3px; }
.tab { height: 24px; padding: 4px 20px; min-width: 120px; font-weight: bold; font-size: 12px; color: #b4b8ba; background: linear-gradient(#343a3e,#1b2024); border: 1px solid #0b1012; border-radius: 6px 6px 0 0; text-align: center; }.tab.selected { color: #eeb74c; background: linear-gradient(#343d43,#1b252a); border-top: 2px solid #ffad19; }.update { margin: 0 1px 5px auto; color: #9ba1a5; font-size: 12px; }
.room-list { position: relative; z-index: 1; }.list-heading,.room { display: grid; grid-template-columns: 105px 58px minmax(220px,1.5fr) minmax(160px,1.1fr) 72px; align-items: center; column-gap: 5px; }.list-heading { height: 24px; padding: 0 8px; color: #b2b7ba; font-size: 11px; font-weight: bold; background: linear-gradient(#38424a,#293138); border-bottom: 1px solid #54616b; }.room { min-height: 30px; padding: 3px 8px; border-bottom: 1px solid rgba(65,76,81,.55); color: #b8bcbd; font-size: 13px; background: rgba(18,23,26,.7); }.room:nth-child(2n+1) { background: rgba(31,38,41,.57); }.room:hover { background: rgba(75,86,89,.8); color: #fff; }.room .status { color: #fa9f00; font-size: 19px; font-weight: bold; }.room .ready { color: #a6cd3c; }
.watermark { position: absolute; top: 34%; left: 20%; right: 3%; display: flex; align-items: center; flex-direction: column; gap: 0; color: rgba(126,145,152,.075); font-weight: bold; font-size: clamp(20px, 3vw, 45px); letter-spacing: 2px; pointer-events: none; white-space: nowrap; }.watermark-symbol { font: bold 180px Arial,sans-serif; line-height: 1.1; }.room-note { position: relative; z-index: 1; color: #777f83; margin: 20px 13px; font-size: 11px; }
@media(max-width:1150px) { .list-heading,.room { grid-template-columns: 85px 45px minmax(160px,1.5fr) minmax(135px,1fr) 60px; }.room { font-size: 12px; } }

/* v02 adjustments */
.side-photo-image {
  min-height: 118px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 9px;
  background: linear-gradient(#273239, #111719);
}
.side-photo-image img { display: block; width: 90%; max-width: 185px; height: auto; object-fit: contain; }
.update {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 102px;
  height: 23px;
  margin: 0 1px 4px auto;
  padding: 0 13px;
  border: 1px solid #151a1e;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 #464e52, 0 1px 0 #070809;
  background: linear-gradient(#3c4449, #20282d 55%, #161c20);
  font-family: inherit;
  font-size: 12px;
  font-weight: bold;
  color: #bac0c4;
  cursor: pointer;
}
.update span { font-size: 18px; line-height: 1; color: #959fa4; }
.update:hover { background: linear-gradient(#505b61, #2c353a); color: #fff; }
.list-heading, .room {
  grid-template-columns: 95px 44px minmax(165px, 1.6fr) 85px minmax(140px, 1.15fr) 65px;
  column-gap: 5px;
}
@media (max-width: 1150px) {
  .list-heading, .room { grid-template-columns: 75px 42px minmax(140px, 1.5fr) 73px minmax(125px, 1fr) 55px; }
}

/* 準備中の行はリンクにしない */
.room.unavailable { opacity: .55; cursor: default; }
.room.unavailable:hover { background: rgba(18,23,26,.7); color: #b8bcbd; }

/* v04: 緑＝入場可能、オレンジ＝利用不可 */
.room .status.ready { color: #a6cd3c; font-size: 16px; letter-spacing: -2px; white-space: nowrap; }
.room.unavailable .status { color: #fa9f00; opacity: .55; }


/* v05: パノラマ大量一覧用 */
.room-area {
  overflow: visible;
}

.room-list {
  padding-bottom: 8px;
}

.room {
  min-height: 29px;
}

/* 行数が多くてもページ全体を縦スクロールできるようにする */
.screen,
.lobby-body,
.room-area {
  height: auto;
}


.side-photo-image {
  text-decoration: none;
}
