body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background: #111;
  min-height: 100vh;
  width:100%;
  max-width:57vh;
  margin:0 auto !important;
}

.main-bg {
  min-height: 100vh;
  background-image: url('img/main.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.content-box {
  max-width: 720px;
  background: rgba(0, 0, 0, 0.55);
  padding: 24px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  overflow: scroll;
}

input {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  margin-right: 8px;
}

button {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #222;
  color: white;
  cursor: pointer;
  margin: 4px;
}

button:hover {
  opacity: 0.8;
}

.stat {
  margin: 8px 0;
  font-size: 18px;
}

#menuArea {
  margin-top: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.card-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 6px;
}

.card-desc {
  opacity: 0.85;
  font-size: 14px;
}
.topbar {
max-width: 57vh;
}
.footer-wrapper {
max-width: 57vh;
}

.content-box {
height:100vh;
scrollbar-width: none;
}



    .main-bg {
      min-height: 100vh;
      background-image: url('img/main.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 24px;
      box-sizing: border-box;
    }

    .content-box {
      max-width: 720px;
      background: rgba(0, 0, 0, 0.55);
      padding: 24px;
      border-radius: 16px;
      backdrop-filter: blur(8px);
    }

    input {
      padding: 12px;
      font-size: 16px;
      border-radius: 8px;
      border: none;
      margin-right: 8px;
    }

    button {
      padding: 12px 16px;
      border: none;
      border-radius: 8px;
      background: #222;
      color: white;
      cursor: pointer;
      margin: 4px;
    }

    button:hover {
      opacity: 0.8;
    }

    .stat {
      margin: 8px 0;
      font-size: 18px;
    }

    #menuArea {
      margin-top: 20px;
    }

    .card {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 12px;
    }

    .card-title {
      font-weight: bold;
      font-size: 18px;
      margin-bottom: 6px;
    }

    .card-desc {
      opacity: 0.85;
      font-size: 14px;
    }

.status-floating-btn {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.88);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  font-size: 22px;
  padding: 8px 12px;
  cursor: pointer;
}

.status-panel {
  position: fixed;
  top: 124px;
  right: 16px;
  width: 320px;
  background: rgba(17, 24, 39, 0.96);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 16px;
  z-index: 1000;
  display: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.status-panel.open {
  display: block;
}

.status-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.status-panel-header button {
  background: transparent;
  color: white;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  font-size: 14px;
  height: 50vw;
  overflow-y: scroll;
}

.status-grid div {
  opacity: 0.75;
}

.status-grid strong {
  text-align: right;
}

/* 실행 버튼 */
.content-toggle-btn {
  position: fixed;
  right: 16px;
  z-index: 50;
  width : 45px;
  top:140px;
  padding:12px;
  height: 48px;
  border: 0;
  border-radius: 14px;

  background: linear-gradient(90deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 15px;
  font-weight: 800;

  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* 기본은 숨김 */
.content-box {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 150px;
  z-index: 40;

  max-height: 55vh;
  overflow-y: auto;

  padding: 22px;
  border-radius: 22px;

  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #fff;

  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
}


.ad-option-list button.active {
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 0 0 2px rgba(99,102,241,0.25);
}

/* 열렸을 때만 보임 */
.content-box.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}