@charset "UTF-8";
body {
  background: linear-gradient(135deg, #eef3fb 0%, #f4f7fa 30%, #fdf8f2 55%, #f5eef8 80%, #ecf5ef 100%);
  overflow-x: auto;
  max-width: 1127px;
  margin: 0 auto;
  font-family: "Comfortaa", serif;
  position: relative;
  /* 首页：全宽铺满 + 深墨绿呢绒桌布（中等亮度） */
}
body.home-page {
  max-width: 100%;
  background: linear-gradient(135deg, #24406e 0%, #332c56 45%, #5e2438 100%);
  /* 首页导航栏：墨绿调，与 hero 衔接自然 */
}
body.home-page #top-menu {
  background: linear-gradient(135deg, #274471 0%, #39305e 50%, #6d2a40 100%);
}
body::before {
  content: "";
  position: fixed;
  top: -100px;
  right: -80px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle at 70% 30%, rgba(9, 120, 146, 0.08) 0%, rgba(3, 79, 97, 0.04) 30%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: float-glow-1 8s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  bottom: -120px;
  left: -60px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle at 30% 70%, rgba(255, 126, 179, 0.07) 0%, rgba(255, 107, 107, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  animation: float-glow-2 10s ease-in-out infinite alternate-reverse;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.ui.header,
.ui.button,
.ui.menu {
  font-family: "Comfortaa", Lato, sans-serif;
}

html {
  height: auto;
}

.clearfix:after {
  display: table;
  content: "";
  clear: both;
}

#header-container {
  width: 100%;
  margin: 55px auto 0;
  background-image: url("../images/banner-summer.gif"), linear-gradient(135deg, #1a3a5c 0%, #097892 100%);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-top: 43%;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
#header-container .online-count {
  padding: 5px 12px;
  background: rgba(9, 120, 146, 0.9);
  border-radius: 20px;
  position: absolute;
  top: 10px;
  right: 20px;
  color: #e0f7fa;
  font-size: 18px;
  backdrop-filter: blur(6px);
}
#header-container .online-count i {
  color: #80deea;
}
#header-container .online-count span {
  color: #ffcc80;
}
#header-container + .ui.segment {
  border: none;
}

@media only screen and (min-width: 1130px) {
  #header-container {
    height: 460px;
    margin-left: -564px !important;
    left: 50%;
  }
}
@media only screen and (max-width: 617px) {
  #header-container {
    padding-top: 40%;
    width: 97%;
  }
}
.ui.buttons * {
  background: #608cb3;
}
.ui.buttons *:hover {
  background: #608cb3;
}

a.ui.button {
  background: #e36248;
}

p {
  font-size: 16px;
}

span.emphasis {
  font-weight: 700;
}

#mobile-block {
  display: none;
}

#window-block {
  display: inline;
}

.ui.modal.transition {
  margin-top: 0px !important;
  margin-left: auto;
  margin-right: auto;
}

#top-menu {
  background: linear-gradient(135deg, #1a3a5c 0%, #1e4d6e 30%, #15637a 60%, #097892 100%);
  z-index: 1000; /* 确保 fixed 导航始终在最上层，不被 hero 遮挡 */
}
#top-menu .left.menu .button {
  color: #fff;
  background: transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}
#top-menu .left.menu .button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
#top-menu .ui.button {
  color: #fff;
}
#top-menu .ui.button#nickname-btn {
  background: linear-gradient(135deg, #ff7eb3, #ff758c, #ff6b6b);
  border-radius: 24px;
  padding: 0.6em 1.5em;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 0.5px;
}
#top-menu .ui.button#nickname-btn:hover {
  background: linear-gradient(135deg, #ff8ec4, #ff8598, #ff7e7e);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
  transform: translateY(-2px);
  color: #fff;
}
#top-menu .ui.button#nickname-btn:active {
  transform: translateY(0);
}

@media only screen and (min-width: 1128px) {
  #top-menu {
    width: 1128px;
    margin-left: -564px !important;
    left: 50%;
  }
}
@media only screen and (max-width: 1104px) {
  #top-menu > a {
    display: none;
  }
  #mobile-block {
    display: inline;
  }
  #window-block {
    display: none;
  }
}
.ui.grid.mainpage {
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  margin-top: 10px !important;
}
.ui.grid.mainpage h2 {
  color: #1a3a5c;
  font-size: 30px;
  padding-left: 10%;
  padding-right: 10%;
  text-align: center;
}
.ui.grid.mainpage > div {
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

#general-info {
  border: none;
}
#general-info .news {
  padding-top: 10px;
  background: linear-gradient(135deg, #fff8e7, #fff3dc);
  border-radius: 8px;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
#general-info img {
  margin-top: 40px;
}

.ui.container.rules-container {
  margin: 50px 0 0 0;
  padding: 10px 0;
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ui.container.rules-container .understated {
  font-style: italic;
}
.ui.container.rules-container .emphasis {
  font-weight: 700;
  color: #1a3a5c;
}
.ui.container.rules-container h1,
.ui.container.rules-container h4 {
  margin-bottom: 10px;
  color: #1a3a5c;
  text-decoration: underline;
}
.ui.container.rules-container h2 {
  margin: 20px 0 !important;
  color: #1a3a5c;
  text-decoration: underline;
}
.ui.container.rules-container h2 ~ p {
  font-size: 18px;
}
.ui.container.rules-container .aside {
  color: #e85019;
}
.ui.container.rules-container td {
  text-align: center;
  padding: 5px;
  border: 1px solid #ddd;
}
.ui.container.rules-container li {
  font-size: 18px;
}

.ui.container.howtoplay-container {
  margin: 50px 0 0 0;
  padding: 10px 0;
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.ui.container.howtoplay-container img {
  max-width: 90%;
  display: block;
  box-shadow: 0px 3px 4px 1px #ddd;
  margin: 0 auto 10px auto;
}
.ui.container.howtoplay-container h1 {
  margin-bottom: 10px;
  color: #1a3a5c;
}
.ui.container.howtoplay-container h2 {
  margin: 20px 0 !important;
  color: #1a3a5c;
}
.ui.container.howtoplay-container p {
  font-size: 14px;
  text-align: center;
}

.role-container {
  margin-bottom: 20px;
}
.role-container h3 {
  margin: 0 auto !important;
}
.role-container img {
  float: left;
  margin: 0 30px 30px 0;
}

.role-container:nth-of-type(odd) img {
  float: right;
  margin: 0 0 30px 30px;
}

.about-container {
  margin: 50px 0 0 0;
  padding: 10px 0;
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.about-container h1,
.about-container h2,
.about-container h3,
.about-container h4 {
  color: #1a3a5c !important;
}
.about-container h1 {
  margin-bottom: 60px !important;
}

.player-profiles-container {
  margin: 50px 0 0 0;
  padding: 30px 0;
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.player-profiles-container h1,
.player-profiles-container h2 {
  color: #c36563 !important;
}
.player-profiles-container h3,
.player-profiles-container h4 {
  color: #e36248 !important;
}

.ct-label {
  fill: #555;
  color: #555;
  font-size: 20px;
}

.ct-series-b .ct-slice-pie {
  fill: #608cb3;
}

.ct-series-a .ct-slice-pie {
  fill: #e36248;
}

#chart-completed-games .ct-label.ct-horizontal {
  display: none;
}

.chart {
  text-align: center;
}

.ct-chart-line {
  overflow: visible !important;
}

.modal-warning {
  color: coral;
  padding: 5px 20px;
  font-size: 16px;
}

.tou {
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
  margin: 10px 0 0;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: #b0bec5;
  border: 0px none #ffffff;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #78909c;
}

::-webkit-scrollbar-thumb:active {
  background: #546e7a;
}

::-webkit-scrollbar-track {
  background: #e0e0e0;
  border: 0px none #ffffff;
  border-radius: 0px;
}

::-webkit-scrollbar-track:hover {
  background: #bdbdbd;
}

::-webkit-scrollbar-track:active {
  background: #9e9e9e;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

body.pushable > .pusher {
  background: linear-gradient(135deg, #e8f0fe 0%, #fdf6f0 100%);
}

body.pushable {
  background: linear-gradient(135deg, #e8f0fe 0%, #fdf6f0 100%) !important;
}

.ui.left.vertical.inverted.menu.sidebar {
  background: linear-gradient(180deg, #1a3a5c 0%, #097892 100%) !important;
}
.ui.left.vertical.inverted.menu.sidebar .item {
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 2px 8px;
}
.ui.left.vertical.inverted.menu.sidebar .item:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}
.ui.left.vertical.inverted.menu.sidebar a.active.item {
  background: rgba(255, 255, 255, 0.18) !important;
  font-weight: 700;
}

.hide {
  display: none;
}

.revealer {
  display: inline;
}

.page-decoration {
  padding: 30px 0;
}
.page-decoration .decoration-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(9, 120, 146, 0.3) 20%, rgba(9, 120, 146, 0.5) 50%, rgba(9, 120, 146, 0.3) 80%, transparent 100%);
  border-radius: 2px;
  margin-bottom: 20px;
}
.page-decoration .decoration-dots {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.page-decoration .decoration-dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(9, 120, 146, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}
.page-decoration .decoration-dots span:nth-child(1) {
  animation-delay: 0s;
}
.page-decoration .decoration-dots span:nth-child(2) {
  width: 10px;
  height: 10px;
  background: rgba(255, 126, 179, 0.35);
  animation-delay: 0.4s;
}
.page-decoration .decoration-dots span:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes float-glow-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, -20px) scale(1.05);
  }
  100% {
    transform: translate(10px, -40px) scale(0.95);
  }
}
@keyframes float-glow-2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, 25px) scale(1.08);
  }
  100% {
    transform: translate(-15px, 10px) scale(0.92);
  }
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.5);
  }
}
.decorative-ribbon {
  height: 4px;
  margin: 0 auto 12px;
  max-width: 1127px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(9, 120, 146, 0.15) 10%, rgba(255, 126, 179, 0.2) 30%, rgba(128, 203, 196, 0.25) 50%, rgba(255, 126, 179, 0.2) 70%, rgba(9, 120, 146, 0.15) 90%, transparent 100%);
}

.content-section {
  padding: 24px 20px;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(9, 120, 146, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.3s ease;
}
.content-section:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 6px 28px rgba(9, 120, 146, 0.1);
}

/* ============ 首页（深墨绿呢绒桌布 + 暖金点缀） ============ */
.home-hero {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 54px 24px 70px;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #efe9dc;
  overflow: hidden;
  background: radial-gradient(1000px 560px at 82% -18%, rgba(214, 96, 96, 0.38), transparent 62%), radial-gradient(860px 520px at 8% 112%, rgba(70, 128, 235, 0.4), transparent 62%), radial-gradient(720px 420px at 50% 130%, rgba(155, 112, 245, 0.26), transparent 60%), linear-gradient(160deg, #26426f 0%, #352e58 55%, #61253a 100%);
  box-shadow: 0 20px 60px rgba(8, 12, 8, 0.45);
}

/* 浅色网格装饰层 */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(240, 230, 210, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 230, 210, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
}

/* 底部过渡 */
.home-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
  background: linear-gradient(0deg, #24406e 0%, rgba(22, 38, 74, 0) 100%);
}

/* 柔和暖金光晕 */
.home-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: homeGlowPulse 9s ease-in-out infinite;
}

.home-glow-1 {
  width: 560px;
  height: 560px;
  top: -140px;
  left: -100px;
  background: rgba(212, 168, 89, 0.2);
}

.home-glow-2 {
  width: 500px;
  height: 500px;
  bottom: -160px;
  right: -80px;
  background: rgba(70, 128, 235, 0.38);
  animation-delay: 3s;
}

.home-glow-3 {
  width: 420px;
  height: 420px;
  top: 30%;
  right: 18%;
  background: rgba(232, 164, 74, 0.16);
  animation-delay: 1.5s;
}

@keyframes homeGlowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
/* 多彩粒子 */
.home-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.home-particles span {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0;
  animation: homeFloatUp 10s linear infinite;
}

.home-particles span:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
  background: rgba(240, 217, 160, 0.6);
}

.home-particles span:nth-child(2) {
  left: 12%;
  animation-delay: 2.2s;
  background: rgba(79, 142, 247, 0.6);
}

.home-particles span:nth-child(3) {
  left: 21%;
  animation-delay: 4s;
  background: rgba(232, 164, 74, 0.65);
}

.home-particles span:nth-child(4) {
  left: 32%;
  animation-delay: 1.2s;
  background: rgba(183, 148, 246, 0.55);
}

.home-particles span:nth-child(5) {
  left: 44%;
  animation-delay: 5.5s;
  background: rgba(240, 150, 130, 0.55);
}

.home-particles span:nth-child(6) {
  left: 56%;
  animation-delay: 3s;
  background: rgba(224, 120, 100, 0.55);
}

.home-particles span:nth-child(7) {
  left: 67%;
  animation-delay: 0.8s;
  background: rgba(232, 164, 74, 0.6);
}

.home-particles span:nth-child(8) {
  left: 78%;
  animation-delay: 6.2s;
  background: rgba(96, 136, 220, 0.55);
}

.home-particles span:nth-child(9) {
  left: 90%;
  animation-delay: 2.8s;
  background: rgba(240, 150, 130, 0.55);
}

.home-particles span:nth-child(10) {
  left: 40%;
  animation-delay: 7.4s;
  background: rgba(240, 217, 160, 0.55);
}

.home-particles span:nth-child(11) {
  left: 63%;
  animation-delay: 5s;
  background: rgba(183, 148, 246, 0.55);
}

.home-particles span:nth-child(12) {
  left: 17%;
  animation-delay: 8.2s;
  background: rgba(224, 120, 100, 0.5);
}

.home-particles span:nth-child(13) {
  left: 84%;
  animation-delay: 1.6s;
  background: rgba(232, 164, 74, 0.55);
}

.home-particles span:nth-child(14) {
  left: 29%;
  animation-delay: 6.6s;
  background: rgba(96, 136, 220, 0.55);
}

@keyframes homeFloatUp {
  0% {
    transform: translateY(0) scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  88% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-520px) scale(1.15);
    opacity: 0;
  }
}
/* 玻璃政策卡（漂浮） */
.home-policy-card {
  position: absolute;
  z-index: 2;
  width: 78px;
  height: 112px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Germania One", "Comfortaa", sans-serif;
  background: rgba(245, 240, 228, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  animation: homeCardBob 6.5s ease-in-out infinite;
}

.home-policy-card .pc-letter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: bold;
  background: rgba(245, 240, 228, 0.14);
}

.home-policy-card .pc-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(245, 240, 228, 0.7);
}

.home-policy-card.liberal {
  left: 3%;
  top: 18%;
  border: 1.5px solid rgba(127, 179, 255, 0.55);
  color: #c3d9ff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(79, 142, 247, 0.25);
}

.home-policy-card.fascist {
  right: 3%;
  top: 40%;
  border: 1.5px solid rgba(255, 130, 130, 0.5);
  color: #ffc2c2;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(224, 85, 85, 0.2);
  animation-delay: 1.8s;
}

.home-policy-card.mini-liberal {
  left: 7%;
  bottom: 16%;
  width: 54px;
  height: 78px;
  border: 1.5px solid rgba(127, 179, 255, 0.45);
  color: #c3d9ff;
  animation-delay: 3.2s;
}

.home-policy-card.mini-fascist {
  right: 7%;
  bottom: 20%;
  width: 54px;
  height: 78px;
  border: 1.5px solid rgba(255, 130, 130, 0.4);
  color: #ffc2c2;
  animation-delay: 4.6s;
}

@keyframes homeCardBob {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}
/* 中央内容 */
.home-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 760px;
}

/* 在线人数徽章 */
.home-online {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(245, 240, 228, 0.08);
  border: 1px solid rgba(240, 217, 160, 0.3);
  color: #d8cdb4;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 22px;
}

.home-online #player-count {
  color: #f0d9a0;
  font-weight: 800;
  margin-right: 4px;
}

/* 标题（暖金渐变） */
.home-title-block h1 {
  font-family: "Germania One", "Comfortaa", sans-serif;
  font-size: 60px;
  letter-spacing: 5px;
  line-height: 1.05;
  margin-bottom: 6px;
  background: linear-gradient(120deg, #f8ecd0 8%, #e8c57a 42%, #c89b4a 62%, #f0d9a0 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 20px rgba(212, 168, 89, 0.35));
}

.home-title-en {
  font-family: "Germania One", "Comfortaa", sans-serif;
  font-size: 16px;
  letter-spacing: 10px;
  color: rgba(240, 230, 210, 0.5);
  text-transform: uppercase;
}

.home-title-block p {
  margin-top: 16px;
  color: rgba(240, 230, 210, 0.72);
  font-size: 15px;
}

/* CTA（暖橙金） */
.home-cta {
  margin-top: 28px;
}

.home-cta-btn {
  display: inline-block;
  padding: 14px 50px;
  font-size: 19px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #e8924a, #d4692c 60%, #c05a24);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(212, 105, 44, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: homeCtaGlow 2.8s ease-in-out infinite;
}

.home-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(212, 105, 44, 0.55);
}

@keyframes homeCtaGlow {
  0%, 100% {
    box-shadow: 0 8px 26px rgba(212, 105, 44, 0.4);
  }
  50% {
    box-shadow: 0 8px 40px rgba(240, 165, 90, 0.6);
  }
}
.home-cta-hint {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: rgba(240, 230, 210, 0.5);
}

/* 特性卡片（深色玻璃，暖金 hover） */
.home-features {
  max-width: 1480px;
  margin: 8px auto 26px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(160deg, rgba(245, 240, 228, 0.09), rgba(245, 240, 228, 0.04));
  border: 1px solid rgba(240, 217, 160, 0.2);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212, 168, 89, 0.16);
  border-color: rgba(212, 168, 89, 0.5);
}

.home-feature .hf-icon {
  font-size: 30px;
  line-height: 1;
  flex: 0 0 auto;
  animation: homeIconPulse 2.6s ease-in-out infinite;
}

.home-feature:nth-child(2) .hf-icon {
  animation-delay: 0.6s;
}

.home-feature:nth-child(3) .hf-icon {
  animation-delay: 1.2s;
}

.home-feature:nth-child(4) .hf-icon {
  animation-delay: 1.8s;
}

@keyframes homeIconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.16);
  }
}
.home-feature h4 {
  font-size: 16px;
  color: #f3ddac;
  margin-bottom: 5px;
}

.home-feature p {
  font-size: 13px;
  color: rgba(240, 230, 210, 0.7);
  line-height: 1.6;
}

/* 底部：政策轨道 + 玩法步骤 */
.home-bottom {
  max-width: 1480px;
  margin: 6px auto 26px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.home-track {
  background: rgba(245, 240, 228, 0.07);
  border: 1px solid rgba(240, 217, 160, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.home-track-label {
  font-size: 14px;
  font-weight: 700;
  color: #f0d9a0;
  white-space: nowrap;
}

.home-track-boxes {
  display: flex;
  gap: 7px;
}

.home-track-boxes span {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(245, 240, 228, 0.05);
  border: 1.5px solid rgba(240, 217, 160, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* 默认部分点亮：模拟对局进行中（自由 2 格 / 法西斯 1 格） */
.home-track-boxes.liberal-boxes span:nth-child(-n+2) {
  background: rgba(79, 142, 247, 0.55);
  border-color: rgba(127, 179, 255, 0.8);
  box-shadow: 0 0 12px rgba(79, 142, 247, 0.35);
}

.home-track-boxes.fascist-boxes span:nth-child(-n+1) {
  background: rgba(224, 85, 85, 0.55);
  border-color: rgba(255, 130, 130, 0.8);
  box-shadow: 0 0 12px rgba(224, 85, 85, 0.35);
}

.home-track:hover .liberal-boxes span {
  background: rgba(79, 142, 247, 0.55);
  border-color: rgba(127, 179, 255, 0.8);
  box-shadow: 0 0 14px rgba(79, 142, 247, 0.4);
  transform: translateY(-2px);
}

.home-track:hover .fascist-boxes span {
  background: rgba(224, 85, 85, 0.55);
  border-color: rgba(255, 130, 130, 0.8);
  box-shadow: 0 0 14px rgba(224, 85, 85, 0.4);
  transform: translateY(-2px);
}

.home-track-desc {
  font-size: 12px;
  color: rgba(240, 230, 210, 0.45);
  margin-left: auto;
  text-align: right;
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.home-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(245, 240, 228, 0.06);
  border: 1px solid rgba(240, 217, 160, 0.16);
  color: rgba(240, 230, 210, 0.8);
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.home-step:hover {
  border-color: rgba(212, 168, 89, 0.5);
  background: rgba(212, 168, 89, 0.08);
}

.home-step-num {
  font-size: 17px;
  color: #f0d9a0;
}

@media (max-width: 900px) {
  .home-hero {
    padding: 86px 14px 10px; /* 给 fixed 顶部导航让位，避免遮挡"0人在线"徽章 */
    min-height: 380px;
  }
  /* 手机端：所有桌面元素保留，缩小适配 */
  .home-policy-card {
    width: 46px;
    height: 66px;
    border-radius: 8px;
    gap: 4px;
    font-size: 11px;
  }
  .home-policy-card .pc-letter {
    font-size: 20px;
  }
  .home-policy-card.mini-liberal,
  .home-policy-card.mini-fascist {
    width: 34px;
    height: 48px;
  }
  .home-title-block h1 {
    font-size: 38px;
  }
  .home-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 14px;
  }
  .home-tracks {
    grid-template-columns: 1fr;
  }
  .home-steps {
    grid-template-columns: 1fr;
  }
}
/* 页脚（亮色文字，避免深色看不清） */
.home-footer-bar {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 24px 10px;
  text-align: center;
  border-top: 1px solid rgba(240, 217, 160, 0.22);
  color: rgba(245, 240, 228, 0.78);
  font-size: 12.5px;
  letter-spacing: 1px;
}

.voice-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--theme-background-2);
  padding: 12px;
  outline: none;
}

.voice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.voice-header .voice-phase-label {
  font-weight: bold;
  color: var(--theme-primary);
  font-size: 15px;
}
.voice-header .voice-current-speaker {
  font-size: 14px;
  color: var(--theme-text-2);
}
.voice-header .voice-mode-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--theme-text-3);
  border: 1px solid var(--theme-background-3);
  padding: 1px 8px;
  border-radius: 999px;
}
.voice-header .voice-timer {
  font-size: 18px;
  font-weight: bold;
  color: var(--notification, #fbbd08);
  min-width: 40px;
  text-align: right;
}

.voice-timer-bar {
  height: 6px;
  background: var(--theme-background-3);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}
.voice-timer-bar .voice-timer-fill {
  height: 100%;
  background: #fbbd08;
  border-radius: 3px;
  transition: width 1s linear;
}

.voice-player-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.voice-player-entry {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--theme-background-3);
  font-size: 13px;
}
.voice-player-entry.spoken {
  opacity: 0.6;
}
.voice-player-entry.speaking {
  background: #fbbd08;
  color: #000;
  font-weight: bold;
}
.voice-player-entry.dead {
  opacity: 0.4;
  text-decoration: line-through;
}
.voice-player-entry .voice-player-status {
  font-size: 14px;
}
.voice-player-entry .voice-mute-btn {
  font-size: 13px;
  cursor: pointer;
  opacity: 0.55;
  padding: 0 2px;
  transition: opacity 0.2s;
}
.voice-player-entry .voice-mute-btn:hover {
  opacity: 1;
}
.voice-player-entry .voice-mute-btn.muted {
  opacity: 1;
  color: #fbbd08;
}

.voice-ptt-container {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  align-items: center;
}

.voice-ptt-button {
  padding: 16px 48px;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid var(--theme-primary);
  border-radius: 8px;
  background: var(--theme-background-2);
  color: var(--theme-text-1);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.15s;
}
.voice-ptt-button:hover {
  background: var(--theme-background-3);
}
.voice-ptt-button.active {
  background: #fbbd08;
  color: #000;
  border-color: #fbbd08;
}
@media (max-width: 600px) {
  .voice-ptt-button {
    padding: 14px 32px;
    font-size: 16px;
  }
}

.voice-connecting {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  color: var(--theme-text-3);
  font-size: 14px;
}

.voice-error {
  color: #db2828;
  font-size: 13px;
  text-align: center;
  padding: 6px;
  background: var(--theme-background-3);
  border-radius: 4px;
  margin-bottom: 8px;
}

.voice-discussion-time {
  margin-top: 6px;
  font-size: 12px;
  color: var(--theme-text-3);
}
.voice-discussion-time span {
  display: block;
  margin-bottom: 4px;
}

/*# sourceMappingURL=style-web.css.map */
