/* ==========================================================================
   Game hall
   ========================================================================== */
.hall-main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 44px 0 78px;
}

.hall-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.hall-head h1 {
  margin-top: 9px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.hall-head p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.hall-stats {
  display: flex;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hall-welcome {
  display: grid;
  justify-items: end;
  flex: 0 0 auto;
  min-width: 240px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(180px 90px at 100% 0%, rgba(94, 234, 212, 0.22), transparent 70%),
    var(--panel);
  box-shadow: var(--shadow-md);
  text-align: right;
}

.welcome-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hall-welcome strong {
  margin-top: 2px;
  color: var(--text);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.beijing-clock {
  margin-top: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.today-visitors {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12px;
}

.today-visitors b {
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
}

.hall-stats > div {
  display: grid;
  gap: 1px;
  min-width: 92px;
  padding: 12px 16px;
  border-left: 1px solid var(--line);
}

.hall-stats > div:first-child {
  border-left: 0;
}

.hall-stats strong {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.2;
}

.hall-stats span {
  color: var(--faint);
  font-size: 10.5px;
}

.hall-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 248px;
  align-items: start;
  gap: 16px;
}

.hall-panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.hall-categories,
.hall-benefits {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.hall-panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hall-panel-title h2 {
  font-size: 14px;
}

.hall-panel-title span {
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.category-list {
  display: grid;
  gap: 3px;
  margin-top: 10px;
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 37px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  text-align: left;
}

.category-btn:hover {
  background: var(--surface-mint);
  color: var(--accent);
}

.category-btn.active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}

.category-btn b {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.category-btn.active b {
  color: var(--accent);
}

.hall-side-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.65;
}

.hall-center {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hall-feature {
  position: relative;
  min-height: 356px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background:
    radial-gradient(500px 260px at 88% -10%, rgba(94, 234, 212, 0.3), transparent 70%),
    radial-gradient(400px 260px at 6% 110%, rgba(37, 99, 235, 0.12), transparent 68%),
    linear-gradient(145deg, #ffffff, #f2fbf8 72%);
  box-shadow: var(--shadow-md);
}

.hall-feature::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -70px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(15, 118, 110, 0.035), 0 0 0 80px rgba(15, 118, 110, 0.02);
  pointer-events: none;
}

.hall-feature-skeleton {
  display: grid;
  gap: 14px;
  padding: 34px;
}

.hall-feature-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 356px;
  padding: 30px;
}

.hall-feature-cover {
  display: block;
  width: 100%;
  height: 230px;
  margin-bottom: 20px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 12px 26px -20px rgba(15, 23, 42, 0.45);
}

.hall-feature.feature-fade .hall-feature-inner {
  animation: hallFeatureFade 0.35s ease;
}

@keyframes hallFeatureFade {
  from {
    opacity: 0.25;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hall-feature-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.hall-feature-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid rgba(15, 118, 110, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hall-feature-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
  border-color: var(--accent);
}

.hall-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.hall-feature-tags span {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--faint);
  font-size: 10px;
}

.hall-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hall-feature-emoji {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.35);
  font-size: 39px;
}

.hall-feature-copy {
  max-width: 520px;
}

.hall-feature-copy .chip {
  margin-bottom: 14px;
}

.hall-feature h2 {
  font-size: clamp(27px, 3.2vw, 39px);
  letter-spacing: -0.04em;
}

.hall-feature-copy p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.hall-feature-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.hall-feature-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

.hall-feature-meta b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.hall-feature-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 30px;
  text-align: center;
}

.hall-feature-empty h2 {
  font-size: 22px;
}

.hall-feature-empty p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.hall-hot .hall-block-head {
  margin: 0 2px 10px;
}

.hall-block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.hall-block-head h2 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.hall-block-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

.hall-hot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hall-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.hall-mini:hover {
  border-color: var(--accent-line);
  transform: translateY(-1px);
}

.hall-mini-emoji,
.hall-mini-cover {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  font-size: 21px;
}

.hall-mini-cover {
  object-fit: cover;
}

.hall-mini-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.hall-mini-copy b {
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hall-mini-copy small {
  color: var(--faint);
  font-size: 10.5px;
}

.hall-benefits {
  display: grid;
  gap: 2px;
}

.hall-benefits .hall-panel-title {
  margin-bottom: 7px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.benefit-item:last-of-type {
  border-bottom: 0;
}

.benefit-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
}

.benefit-item div {
  display: grid;
  gap: 2px;
}

.benefit-item b {
  font-size: 12px;
}

.benefit-item small {
  color: var(--faint);
  font-size: 10.5px;
  line-height: 1.55;
}

.hall-benefit-action {
  margin-top: 10px;
}

.hall-recommend {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.hall-recommend .hall-block-head {
  margin-bottom: 17px;
}

.hall-recommend .section-kicker {
  display: block;
  margin-bottom: 5px;
}

.hall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hall-grid .game-card {
  min-height: 218px;
}

.hall-grid .game-card > p {
  min-height: 40px;
}

/* Compact, wider hall layout */
.hall-main {
  width: min(1500px, calc(100% - 48px));
  padding: 10px 0 54px;
}

.hall-head {
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.hall-head p {
  font-size: 15px;
}

.hall-layout {
  grid-template-columns: 230px minmax(0, 1fr) 270px;
  gap: 12px;
}

.hall-categories,
.hall-benefits {
  padding: 14px;
}

.hall-panel-title {
  padding-bottom: 10px;
}

.hall-panel-title h2 {
  font-size: 15px;
}

.category-list {
  gap: 1px;
  margin-top: 6px;
}

.category-btn {
  min-height: 34px;
  padding: 0 9px;
  font-size: 13.5px;
}

.category-btn b {
  font-size: 11px;
}

.hall-side-note {
  margin-top: 10px;
  padding-top: 9px;
  font-size: 11.5px;
}

.hall-center {
  gap: 12px;
}

.hall-feature {
  min-height: 0;
}

.hall-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  gap: 0 18px;
  min-height: 0;
  padding: 22px;
}

.hall-feature-cover {
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  align-self: center;
}

.hall-feature-top {
  grid-column: 2;
  grid-row: 1;
}

.hall-feature-top:empty {
  display: none;
}

.hall-feature-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  min-width: 0;
}

.hall-feature-copy h2 {
  font-size: 34px;
}

.hall-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}

.hall-feature-actions {
  gap: 8px;
  flex-wrap: nowrap;
}

.hall-feature-actions .btn {
  min-height: 38px;
  padding: 0 13px;
  font-size: 12.5px;
}

.hall-feature-dots {
  grid-column: 2;
  grid-row: 3;
  margin-top: 14px;
}

.hall-feature-copy p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.65;
}

.hall-feature-tags {
  margin-top: 8px;
}

.hall-feature-meta {
  margin-top: 12px;
  font-size: 12px;
}

.hall-feature-actions {
  margin-top: 16px;
}

.hall-block-head h2 {
  font-size: 21px;
}

.hall-block-head p {
  margin-top: 3px;
  font-size: 12.5px;
}

.hall-hot .hall-block-head {
  margin-bottom: 8px;
}

.benefit-item {
  gap: 8px;
  padding: 8px 0;
}

.benefit-item b {
  font-size: 13px;
}

.benefit-item small {
  font-size: 11.5px;
}

.hall-recommend {
  margin-top: 18px;
  padding: 18px;
}

.hall-recommend .hall-block-head {
  margin-bottom: 12px;
}

.hall-grid {
  gap: 12px;
}

.hall-grid .game-card {
  min-height: 0;
}

.hall-grid .game-card h3 {
  font-size: 18px;
}

.hall-grid .game-card > p {
  min-height: 42px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hall-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .hall-benefits {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .hall-benefits .hall-panel-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .benefit-item {
    border-bottom: 0;
    padding: 4px 0;
  }

  .hall-benefit-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hall-main {
    width: calc(100% - 32px);
    padding-top: 28px;
  }

  .hall-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .hall-stats,
  .hall-welcome {
    width: 100%;
  }

  .hall-welcome {
    justify-items: start;
    text-align: left;
  }

  .hall-stats > div {
    flex: 1;
    min-width: 0;
  }

  .hall-layout {
    grid-template-columns: 1fr;
  }

  .hall-feature-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }

  .hall-feature-cover {
    grid-column: 1;
    grid-row: auto;
  }

  .hall-feature-top,
  .hall-feature-copy,
  .hall-feature-dots {
    grid-column: 1;
    grid-row: auto;
  }


  .hall-categories {
    position: static;
    padding: 13px;
  }

  .hall-categories .hall-panel-title,
  .hall-side-note {
    display: none;
  }

  .category-list {
    display: flex;
    gap: 6px;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-btn {
    width: auto;
    min-width: max-content;
    min-height: 34px;
    padding: 0 11px;
    border-color: var(--line);
    background: var(--surface-soft);
  }

  .hall-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .hall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hall-feature-inner {
    padding: 21px;
  }

  .hall-feature-emoji {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }

  .hall-hot-grid,
  .hall-benefits,
  .hall-grid {
    grid-template-columns: 1fr;
  }

  .hall-recommend {
    padding: 15px;
  }
}

/* === 大厅版面改版：标题居中上移 + 搜索栏下移放大 + 右栏叠卡 + 滚动淡化 === */
.hall-head{
  display:flex; flex-direction:column; align-items:center;
  justify-content:flex-start; text-align:center;
  min-height:auto; gap:0; padding:clamp(18px,4vh,44px) 0 22px;
  will-change:opacity, transform, filter;
  transition:filter .08s linear;
}
.hall-head > div:first-child{
  display:flex; flex-direction:column; align-items:center; width:100%;
}
.hall-head h1{
  font-size:clamp(42px,5.2vw,72px); line-height:1.05; letter-spacing:.02em; margin:8px 0 0;
}
.hall-head #hall-subtitle{
  margin:12px auto 0; max-width:640px; font-size:15px;
}
.hall-head .game-search{
  position:relative !important; flex:none !important;
  width:min(620px,92%) !important; max-width:none !important;
  height:58px !important; margin:22px auto 0 !important;
  display:flex !important; align-items:center !important;
  box-shadow:0 10px 30px rgba(16,54,48,.08);
}
.hall-head .game-search .search-icon{
  position:absolute !important; left:18px !important; top:50% !important;
  transform:translateY(-50%) !important;
  width:20px !important; height:20px !important; margin:0 !important;
}
.hall-head .game-search input{
  font-size:16px !important; padding-left:46px !important;
  height:100% !important; text-align:left !important;
}
.hall-side-stack{
  display:grid; grid-template-columns:1fr; align-content:start; gap:12px;
}
.hall-welcome{
  width:100% !important; max-width:none !important; justify-self:stretch !important;
  grid-template-columns:1fr !important; justify-items:center; text-align:center;
}
@media (max-width:1100px){
  .hall-head{ padding:14px 0 16px; }
  .hall-head h1{ font-size:clamp(32px,8vw,52px); }
  .hall-head .game-search{ height:52px !important; margin-top:16px !important; }
}
/* === 大厅版面改版 end === */

/* === 分页省略号 === */
.pagination .page-ellipsis{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:28px; padding:0 4px; color:#7b8f8b; font-weight:600;
  user-select:none; letter-spacing:.06em;
}
/* === 分页省略号 end === */

/* === 分页跳转框 === */
.pagination .page-jump{
  width:56px; height:34px; padding:0 6px; border-radius:8px;
  border:1px solid rgba(15,23,42,.14); background:#fff; color:inherit;
  font-family:inherit; font-size:12px; text-align:center;
  margin-left:6px; outline:none; -moz-appearance:textfield;
}
.pagination .page-jump::-webkit-outer-spin-button,
.pagination .page-jump::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.pagination .page-jump:focus{
  border-color:#0f766e; box-shadow:0 0 0 3px rgba(15,118,110,.12);
}
.pagination .page-ellipsis{ min-width:22px; padding:0 2px; }
/* === 分页跳转框 end === */

/* === 大厅标题与搜索栏放大 === */
.hall-head{ padding:clamp(26px,6vh,64px) 0 30px !important; }
.hall-head .eyebrow{ font-size:15px !important; padding:6px 16px !important; }
.hall-head h1{
  font-size:clamp(54px,7.2vw,98px) !important;
  line-height:1.02 !important; letter-spacing:.01em !important; margin:12px 0 0 !important;
}
.hall-head #hall-subtitle{
  font-size:18px !important; margin:16px auto 0 !important; max-width:780px !important;
}
.hall-head .game-search{
  width:min(760px,94%) !important; height:68px !important; margin:28px auto 0 !important;
  box-shadow:0 16px 44px rgba(16,54,48,.12) !important;
}
.hall-head .game-search input{ font-size:18px !important; padding-left:56px !important; }
.hall-head .game-search .search-icon{ width:24px !important; height:24px !important; left:22px !important; }
@media (max-width:1100px){
  .hall-head{ padding:20px 0 22px !important; }
  .hall-head h1{ font-size:clamp(38px,9vw,62px) !important; }
  .hall-head #hall-subtitle{ font-size:16px !important; max-width:92% !important; }
  .hall-head .game-search{ height:56px !important; margin-top:20px !important; }
  .hall-head .game-search input{ font-size:16px !important; padding-left:48px !important; }
  .hall-head .game-search .search-icon{ width:20px !important; height:20px !important; left:16px !important; }
}
/* === 大厅标题与搜索栏放大 end === */
