.form {
    width: 80%;
    max-width: 500px;
}

.title {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 32px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.label {
    display: block;
    margin-bottom: 5px;
}

.required {
    color: red;
}

.input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.message {
    height: 100px;
}

.divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0));
    margin: 15px 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
}

.close-button {
    background-color: #555;
    color: #fff;
}

.submit-button {
    background-color: #108ee9;
    color: #fff;
}

.checkbox {
    margin-right: 10px;
}

.double-speed-button {
    color: #000;
    position: fixed;
    bottom: 0;
    left: 0;
    background: transparent;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    outline: none;
    z-index: 500;
    background-color: white;
    border: 'none';
    cursor: 'pointer';
    padding: '10px';
    border-radius: 0px 5px 5px 0px;
    box-shadow: '2px 0 5px rgba(0,0,0,0.1)';
}

.login-container {
    box-sizing: border-box;
    padding-bottom: 60px;
}

.captcha {
    width: 100%;
    max-width: 420px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 8px;
    padding: 8px;
}

.submit-button {
    background-color: #108ee9;
    color: #fff;
}


@media (max-width: 520px) {
    .form {
        width: 100%;
        padding-left: 8%;
        padding-right: 8%;
    }

    .rb-card {
        padding: 12px;
    }

    .title {
        font-size: 22px;
    }

    .button-container {
        flex-direction: column;
    }
}

.rb-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.04);
}


.rb-toggle {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.rb-toggle-btn {
    padding: 8px 14px;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 15px;
}

.rb-toggle-btn.active {
    background: linear-gradient(90deg, rgba(16, 142, 233, 1) 0%, rgba(10, 120, 210, 1) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 142, 233, 0.15);
}

select.input {
    appearance: none;
}

.submit-button-submitting {
    background-color: #888;
    cursor: not-allowed;
    opacity: 0.9;
    pointer-events: none;
}

.casino-room-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 880;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 3%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

/* portrait 模式（手机或窄屏）——靠顶显示，防止被 header 遮挡 */
.casino-room-container.portrait {
    align-items: flex-start;
    padding-top: 7.5%;
}

.casino-card {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.casino-card .form {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    box-sizing: border-box;
}

.casino-card .title {
    text-align: center;
    font-family: 'Orbitron', sans-serif !important;
    margin-top: 6px;
    margin-bottom: 12px;
}

@media (max-width: 520px) {
    .casino-card .form>div[style] {
        flex-direction: column !important;
    }

    .casino-card .title {
        font-size: 22px;
    }
}

.casino-card .rb-toggle {
    justify-content: center;
}

.casino-card .input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
    background-color: #fff;
    /* 白色输入框背景 */
    color: #000;
    /* 输入文字为黑色 */
}

.level-display {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 15px;
    color: #fff;
    /* 白色字体，与黑底协调 */
    min-width: 120px;
    text-align: center;
}/* Menu.css */
.menu-item {
    position: relative;
}

.menu-item:hover {
    color: #add8e6;
    /* 浅蓝色 */
}

.lock-icon {
    margin-right: 8px;
    /* 设置图标和文字之间的间隔 */
}

.menu-link {
    color: inherit;
    /* 继承父元素的颜色 */
    text-decoration: none;
    /* 去除下划线 */
    cursor: pointer;
}

.menu-link:hover {
    color: inherit;
    /* 悬停时的浅蓝色 */
}

.menu-link.locked {
    pointer-events: none;
    /* 禁用点击 */
    color: gray;
    /* 灰色表示禁用状态 */
}

/* 针对 Webkit 内核浏览器（Chrome、Edge、Safari） */
.menu-container::-webkit-scrollbar {
    width: 0;
    /* 隐藏滚动条 */
    background: transparent;
}

/* 针对 Firefox */
.menu-container {
    scrollbar-width: none;
    /* 隐藏滚动条 */
}

.menu-viewport {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.menu-track {
    will-change: transform;
}

/* dots */
.menu-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
}

/* active: filled */
.menu-dots .dot.active {
    background: #fff;
    border-color: #fff;
}

/* small accessibility focus */
.menu-dots .dot:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.vr-icon {
    margin-right: 8px;
    /* 设置VR图标和文字之间的间隔 */
}

.vr-container {
    margin-top: 10%;
}

.ant-progress-text {
    color: white !important;
    /* 强制修改文字颜色 */
}html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 在CSS文件中添加 */
.story {
  font-size: 16px;
  /* 默认字体大小 */
  animation: fadeIn 2s ease-out;
}

@media (min-width: 600px) {
  .story {
    font-size: 18px;
    /* 较大屏幕上的字体大小 */
  }
}

@media (min-width: 1000px) {
  .story {
    font-size: 20px;
    /* 更大屏幕上的字体大小 */
  }
}

/* 增加全局样式以调整标题和加载提示的大小 */
h1,
h2 {
  font-size: 40px;
  /* 调整为所需大小 */
}

.loading {
  font-size: 18px;
  /* 调整为所需大小 */
}

/* global.css */
body {
  font-family: 'Orbitron', sans-serif;
  font-weight: 400;
  /* 你可以根据需要选择从400到900的任意值 */
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  /* 如果你希望 canvas 完全由你自己处理手势的话 */
}


.ant-message {
  z-index: 999999 !important;
}