
body[data-no-shell="true"] {
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 36%, rgba(233, 186, 82, 0.16), transparent 20%),
    radial-gradient(circle at 78% 24%, rgba(255,255,255,0.05), transparent 22%),
    linear-gradient(135deg, #11131a 0%, #171a22 50%, #10131b 100%);
  color: #f5f7fb;
}

.otd-access-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 28px);
}

.otd-access-stage {
  width: min(1180px, 100%);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 460px);
  gap: 24px;
  align-items: stretch;
}

.otd-access-visual,
.otd-access-console {
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 70px rgba(0,0,0,0.32);
}

.otd-access-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.otd-access-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 38%, rgba(0,0,0,0.16));
  pointer-events: none;
}

.otd-access-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.otd-access-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));
}

.otd-access-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.otd-access-subtitle,
.otd-access-note {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
}

.otd-lamp-scene {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.otd-lamp {
  position: relative;
  width: min(82%, 420px);
  aspect-ratio: 1 / 1;
}

.otd-lamp-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: clamp(260px, 38vw, 520px);
  height: clamp(260px, 38vw, 520px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 200, 90, 0.34), rgba(242, 200, 90, 0.08) 42%, transparent 72%);
  filter: blur(10px);
  transition: opacity .35s ease, transform .35s ease;
}

.otd-lamp-shadow {
  position: absolute;
  left: 50%;
  bottom: 20%;
  width: 52%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  filter: blur(14px);
}

.otd-lamp-head {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 46%;
  height: 22%;
  transform: translateX(-50%);
  border-radius: 999px 999px 180px 180px;
  background: linear-gradient(180deg, #f9f7ee 0%, #d9d4c8 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22), inset 0 -12px 18px rgba(0,0,0,0.08);
}

.otd-lamp-head::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 58%;
  height: 14%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
}

.otd-lamp-stem {
  position: absolute;
  left: 50%;
  top: 34%;
  width: 4%;
  height: 40%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #ece9de, #beb8ab);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.otd-lamp-base {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: 34%;
  height: 4.8%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #ece9de, #beb8ab);
}

.otd-lamp-cord {
  position: absolute;
  left: calc(50% + 16%);
  top: 32%;
  width: 4px;
  height: 18%;
  border: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), #d6cfc0);
  cursor: pointer;
  padding: 0;
}

.otd-lamp-cord::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #f3c889, #d49d58);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.otd-access-console {
  position: relative;
  overflow: hidden;
  background: rgba(18, 22, 31, 0.84);
  backdrop-filter: blur(16px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.otd-role-switch,
.otd-mini-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.otd-mini-switch { grid-template-columns: repeat(2, 1fr); }

.otd-role-btn,
.otd-mini-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font-weight: 700;
  cursor: pointer;
  transition: .25s ease;
}

.otd-role-btn.active,
.otd-mini-btn.active,
.otd-role-btn:hover,
.otd-mini-btn:hover {
  color: #10131b;
  border-color: rgba(244, 205, 112, 0.8);
  background: linear-gradient(135deg, #f5dda1, #d4aa53 62%, #f8e8ba);
  box-shadow: 0 10px 18px rgba(212,170,83,0.26);
}

.otd-role-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}
.otd-role-panel.active { display: flex; }

.otd-panel-copy h1 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  color: #fff;
}
.otd-panel-copy p {
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
}

.otd-access-form {
  display: grid;
  gap: 14px;
}

.otd-access-form .form-group {
  display: grid;
  gap: 7px;
}

.otd-access-form label {
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.74);
}

.otd-access-form input,
.otd-access-form select,
.otd-access-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.96rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.otd-access-form input:focus,
.otd-access-form select:focus,
.otd-access-form textarea:focus {
  outline: none;
  border-color: rgba(244, 205, 112, 0.9);
  box-shadow: 0 0 0 3px rgba(244,205,112,0.15);
}

.otd-access-submit {
  min-height: 54px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
}

.otd-activation-card,
.otd-access-details {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.otd-activation-card {
  padding: 16px;
  display: grid;
  gap: 8px;
}
.otd-activation-card strong { font-size: 1rem; color: #fff; }
.otd-activation-card p { margin: 0; color: rgba(255,255,255,0.66); }

.otd-access-details { overflow: hidden; }
.otd-access-details summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255,255,255,0.88);
}
.otd-access-details summary::-webkit-details-marker { display: none; }
.otd-access-form-compact { padding: 0 16px 16px; }

.notice {
  border-radius: 14px;
  padding: 12px 14px;
}
.notice.hidden { display: none; }

body[data-lamp="off"] .otd-lamp-glow { opacity: 0.18; transform: translate(-50%, -50%) scale(.92); }
body[data-lamp="off"] .otd-access-console {
  background: rgba(14, 16, 22, 0.92);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
body[data-lamp="off"] .otd-access-visual { filter: saturate(.82) brightness(.88); }
body[data-lamp="off"] .otd-role-btn.active,
body[data-lamp="off"] .otd-mini-btn.active,
body[data-lamp="off"] .otd-role-btn:hover,
body[data-lamp="off"] .otd-mini-btn:hover {
  box-shadow: 0 6px 12px rgba(212,170,83,0.14);
}

@media (max-width: 980px) {
  .otd-access-stage { grid-template-columns: 1fr; }
  .otd-access-visual { min-height: 320px; }
  .otd-lamp-scene { min-height: 240px; }
}

@media (max-width: 640px) {
  .otd-access-screen { padding: 12px; }
  .otd-access-stage { min-height: auto; }
  .otd-access-visual,
  .otd-access-console { border-radius: 20px; }
  .otd-role-switch { grid-template-columns: 1fr; }
}
