.wsee-body {
  background:
    radial-gradient(700px 420px at 80% 8%, rgba(186, 140, 72, 0.16), transparent 58%),
    radial-gradient(640px 480px at 12% 88%, rgba(18, 48, 42, 0.55), transparent 52%),
    #061014;
}

.wsee-main {
  width: min(440px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

.hidden { display: none !important; }

.wsee-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wsee-stage { margin: 0 auto 20px; }

.wsee-window {
  position: relative;
  width: 100%;
  border: 11px solid #1c242c;
  border-top-width: 28px;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #071016;
  box-shadow:
    0 0 0 1px rgba(210, 228, 236, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.42);
}

.wsee-lintel {
  position: absolute;
  left: 12px;
  right: 12px;
  top: -22px;
  z-index: 4;
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #c5d4dc !important;
  pointer-events: none;
}

.wsee-glass {
  position: relative;
  aspect-ratio: 3 / 3.2;
  overflow: hidden;
  isolation: isolate;
}

.wsee-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0 10%, transparent 26%);
}

.wsee-pane {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

.wsee-pane-dark {
  left: 0;
  background:
    radial-gradient(90px 70px at 62% 30%, rgba(160, 200, 190, 0.14), transparent 70%),
    linear-gradient(180deg, #0c1c18, #05090b);
}

.wsee-pane-lamp {
  right: 0;
  background:
    radial-gradient(160px 150px at 40% 34%, rgba(255, 214, 140, 0.62), transparent 64%),
    linear-gradient(180deg, #6a451c, #1c1208);
}

.wsee-night,
.wsee-bulb,
.wsee-seat,
.wsee-skin,
.wsee-reflect {
  position: absolute;
  pointer-events: none;
}

.wsee-night {
  inset: 18% 20% 28%;
  background:
    radial-gradient(circle at 30% 40%, rgba(180, 210, 200, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 55%, rgba(180, 210, 200, 0.14) 0 1px, transparent 2px);
  opacity: 0.7;
}

.wsee-bulb {
  left: 38%;
  top: 10%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffe7b0;
  box-shadow: 0 0 40px 16px rgba(255, 196, 110, 0.45);
  opacity: 0.85;
}

.wsee-seat {
  left: 26%;
  bottom: 16%;
  width: 48%;
  height: 32%;
  background:
    linear-gradient(#0a100e, #0a100e) 50% 58% / 70% 8px no-repeat,
    radial-gradient(ellipse at 50% 16%, #c9d8d0 0 7%, transparent 8%);
  opacity: 0.28;
}

.wsee-skin {
  right: 16%;
  bottom: 14%;
  width: 42%;
  height: 54%;
  border-radius: 48% 48% 16% 16%;
  background:
    radial-gradient(circle at 50% 16%, #f3d2ae 0 11%, transparent 12%),
    linear-gradient(180deg, rgba(232, 176, 122, 0.12), rgba(196, 108, 62, 0.5));
  opacity: 0.4;
  box-shadow: 0 0 36px rgba(255, 196, 110, 0.22);
}

.wsee-reflect {
  z-index: 3;
  left: 30%;
  right: 30%;
  top: 20%;
  bottom: 22%;
  border-radius: 50% 50% 16% 16%;
  background:
    radial-gradient(circle at 50% 14%, rgba(236, 244, 255, 0.55) 0 9%, transparent 10%),
    linear-gradient(180deg, rgba(220, 230, 236, 0.22), rgba(220, 230, 236, 0.03));
  filter: blur(0.5px);
  opacity: 0.75;
  transition: opacity 0.45s ease;
}

.wsee-drops {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(236, 244, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 22%, rgba(236, 244, 255, 0.4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 62%, rgba(236, 244, 255, 0.28) 0 1px, transparent 2px);
}

.wsee-mullion {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 8px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #12181e, #3a4650 45%, #12181e);
  z-index: 5;
}

.wsee-drape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  z-index: 7;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, #141c18 0 14px, #1c2620 14px 17px, #101614 17px 28px);
  box-shadow: inset 0 14px 18px rgba(0, 0, 0, 0.35);
  transition: height 0.45s ease;
}

.wsee-drape::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 10px;
  background: #2a3330;
}

.wsee-side-word,
.wsee-pane-glyph {
  position: absolute;
  left: 50%;
  top: auto;
  bottom: 28%;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Songti SC", serif;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  color: #d7e6df !important;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.wsee-pane-lamp .wsee-side-word,
.wsee-pane-lamp .wsee-pane-glyph {
  color: #3a2410 !important;
}

.wsee-fog-copy,
.wsee-fog-line {
  position: absolute;
  left: 10%;
  right: 10%;
  z-index: 8;
  text-align: center;
  color: #f4f8ff !important;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.7), 0 1px 2px #000, 0 0 1px #fff;
}

.wsee-fog-copy { top: 12%; }

.wsee-fog-copy h1,
#welcome-h1,
#res-title {
  margin: 0 0 8px;
  font-family: "Iowan Old Style", Palatino, "Songti SC", serif;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.25;
  font-weight: 700;
  color: #f4f8ff !important;
}

.wsee-lead,
.wsee-line {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #e4eef6 !important;
}

.wsee-press-glass {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 46%;
  z-index: 9;
  height: 22%;
  border: 0;
  border-radius: 50% 50% 46% 48%;
  background: radial-gradient(ellipse at 50% 42%, rgba(236, 244, 255, 0.22), transparent 68%);
  color: #f4f8ff !important;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  cursor: pointer;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.wsee-press-glass:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.wsee-press-glass:not(:disabled) {
  animation: wsee-breath 2.6s ease-in-out infinite;
}

.wsee-press-glass:focus-visible {
  outline: 1px solid #e8c47a;
  outline-offset: 3px;
}

.wsee-press-glass.is-sill {
  position: static;
  height: auto;
  min-height: 44px;
  width: 100%;
  border-radius: 2px;
  letter-spacing: 0.12em;
  background: rgba(236, 244, 255, 0.08);
  animation: none;
}

.wsee-window.is-shut .wsee-pane-dark,
.wsee-window.is-shut .wsee-pane-lamp {
  filter: saturate(0.7) brightness(0.78);
}

.wsee-window.is-split .wsee-reflect { opacity: 0; }
.wsee-window.is-split .wsee-drape { height: 12%; }
.wsee-window.is-split .wsee-side-word { opacity: 0.92; }

.wsee-start {
  display: block;
  width: 100%;
  margin: 10px 0 4px;
  min-height: 48px;
  border: 0;
  border-radius: 2px;
  background: #e8c47a;
  color: #1a140e !important;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.wsee-start:disabled {
  background: #5a5348;
  color: #cbbba4 !important;
  cursor: not-allowed;
}

.wsee-start:not(:disabled):hover,
.wsee-start:not(:disabled):focus-visible {
  outline: 2px solid #f4e2b0;
  outline-offset: 2px;
  background: #f0d08a;
}

.wsee-sill {
  background: #1c242c;
  padding: 12px 12px 10px;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  color: #e8f0f4 !important;
}

.wsee-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #e8f0f4 !important;
  cursor: pointer;
}

.wsee-check input { margin-top: 3px; accent-color: #c4a36a; }

.wsee-check strong {
  display: block;
  color: #f4f8ff !important;
  font-size: 0.9rem;
}

.wsee-check small {
  display: block;
  color: #b7c6ce !important;
  font-size: 0.74rem;
}

.wsee-wipe,
.wsee-cta a {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(210, 228, 236, 0.28);
  background: transparent;
  color: #e8f0f4 !important;
  font: inherit;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
}

.wsee-wipe:hover,
.wsee-wipe:focus-visible,
.wsee-cta a:hover {
  outline: 1px solid #e8c47a;
}

.wsee-status {
  min-height: 1em;
  margin: 6px 0 0;
  color: #b7c6ce !important;
  font-size: 0.78rem;
}

.wsee-window.is-quiz .wsee-drape.is-progress {
  height: var(--wsee-open, 16%);
}

.wsee-window.is-quiz[data-axis="E"] .wsee-pane-lamp { filter: none; }
.wsee-window.is-quiz[data-axis="E"] .wsee-pane-dark { filter: brightness(0.42); }
.wsee-window.is-quiz[data-axis="V"] .wsee-pane-dark { filter: none; }
.wsee-window.is-quiz[data-axis="V"] .wsee-pane-lamp { filter: brightness(0.4); }
.wsee-window.is-quiz[data-axis="A"] .wsee-pane-dark,
.wsee-window.is-quiz[data-axis="A"] .wsee-pane-lamp { filter: brightness(0.72); }

.wsee-window.is-quiz .wsee-side-word { display: none; }

.wsee-fog-line {
  top: 5%;
  margin: 0;
  font-family: "Iowan Old Style", Palatino, "Songti SC", serif;
  font-size: clamp(0.9rem, 3.2vw, 1.06rem);
  line-height: 1.4;
  animation: wsee-fog-in 0.4s ease both;
}

.wsee-window.is-quiz[data-axis="V"] .wsee-fog-line {
  text-shadow: 0 0 18px #000, 0 2px 12px #000, 0 0 3px #04120e;
}

.wsee-q-note {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 24%;
  z-index: 8;
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  color: #d7e4dc !important;
  text-shadow: 0 1px 6px #000;
}

.wsee-notches {
  position: absolute;
  z-index: 9;
  left: 8%;
  right: 8%;
  top: 30%;
  bottom: 16%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  gap: 8px;
}

.wsee-notch {
  appearance: none;
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(236, 244, 255, 0.32);
  background: rgba(8, 16, 18, 0.55);
  color: #f4f8ff !important;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.wsee-window.is-quiz[data-axis="E"] .wsee-notch {
  background: rgba(42, 28, 12, 0.55);
  border-color: rgba(255, 214, 140, 0.42);
  color: #f7edd8 !important;
}

.wsee-window.is-quiz[data-axis="V"] .wsee-notch {
  background: rgba(6, 16, 14, 0.62);
  border-color: rgba(180, 210, 190, 0.32);
}

.wsee-window.is-quiz[data-axis="A"] .wsee-notch {
  background: rgba(18, 22, 20, 0.62);
  border-color: rgba(196, 163, 106, 0.35);
}

.wsee-notch:hover,
.wsee-notch:focus-visible {
  outline: 1px solid #e8c47a;
  outline-offset: 2px;
}

.wsee-notch.is-on {
  box-shadow: 0 0 0 3px rgba(232, 196, 122, 0.45);
  transform: scale(1.04);
}

.wsee-notch:disabled { opacity: 0.55; cursor: default; }

.wsee-chair {
  position: absolute;
  right: 2px;
  top: 34%;
  width: 28px;
  height: 52px;
  z-index: 6;
  background:
    linear-gradient(#d8e0dc, #d8e0dc) 50% 14% / 16px 5px no-repeat,
    linear-gradient(#d8e0dc, #d8e0dc) 50% 100% / 24px 7px no-repeat,
    linear-gradient(#d8e0dc, #d8e0dc) 50% 68% / 5px 36px no-repeat;
  opacity: 0.7;
  filter: drop-shadow(-5px 6px 0 rgba(0, 0, 0, 0.35));
}

.wsee-window.is-exhale .wsee-fog-line {
  animation: wsee-fog-out 0.2s ease both;
}

.wsee-window.is-result { margin-bottom: 0; }
.wsee-window.is-result[data-type="lamp"] .wsee-pane-lamp { filter: none; }
.wsee-window.is-result[data-type="lamp"] .wsee-pane-dark { filter: brightness(0.38); }
.wsee-window.is-result[data-type="dark"] .wsee-pane-dark { filter: none; }
.wsee-window.is-result[data-type="dark"] .wsee-pane-lamp { filter: brightness(0.4); }
.wsee-window.is-result[data-type="glass"] .wsee-pane-dark,
.wsee-window.is-result[data-type="glass"] .wsee-pane-lamp { filter: none; }
.wsee-window.is-result[data-type="blind"] .wsee-pane-dark,
.wsee-window.is-result[data-type="blind"] .wsee-pane-lamp { filter: brightness(0.36) saturate(0.55); }

.wsee-window.is-result .wsee-pane-glyph { opacity: 0.95; top: 12%; bottom: auto; font-size: 1.3rem; }
.wsee-window.is-result[data-type="lamp"] .wsee-pane-dark .wsee-pane-glyph,
.wsee-window.is-result[data-type="dark"] .wsee-pane-lamp .wsee-pane-glyph,
.wsee-window.is-result[data-type="blind"] .wsee-pane-glyph { opacity: 0.22; }

.wsee-drape.is-result { height: var(--wsee-open, 14%); }
.wsee-window.is-result[data-type="blind"] .wsee-drape.is-result { height: 58%; }

.is-result-copy { top: 28%; }

.wsee-result-chip {
  position: absolute;
  left: 50%;
  bottom: 16%;
  transform: translateX(-50%);
  z-index: 8;
  margin: 0;
  padding: 5px 10px;
  background: rgba(8, 14, 16, 0.55);
  color: #f4f8ff !important;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.wsee-sill.is-result { color: #e8f0f4 !important; }

.wsee-etch {
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #e8f0f4 !important;
}

.wsee-etch.is-red { color: #e8b4a0 !important; }

#archive-text {
  margin: 8px 0 12px;
  white-space: pre-wrap;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
  color: #d5e0e6 !important;
}

.wsee-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.wsee-share-preview { margin-top: 10px; }
.wsee-share-preview canvas {
  width: 100%;
  height: auto;
  display: block;
  background: #061014;
}

.wsee-more-label {
  margin: 14px 0 6px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #b7c6ce !important;
}

.wsee-cta { display: flex; flex-wrap: wrap; gap: 8px; }

.wsee-login {
  margin: 12px 0;
  color: #b7c6ce !important;
  font-size: 0.84rem;
}

.wsee-login a { color: #e8c47a !important; }

.wsee-foot {
  margin: 14px 0 4px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #9aadb6 !important;
}

@keyframes wsee-breath {
  0%, 100% { filter: blur(0); opacity: 0.86; }
  50% { filter: blur(0.4px); opacity: 1; }
}

@keyframes wsee-fog-in {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes wsee-fog-out {
  from { opacity: 1; filter: blur(0); }
  to { opacity: 0.12; filter: blur(8px); }
}

@media (max-width: 420px) {
  .wsee-window { border-width: 8px; border-top-width: 24px; }
  .wsee-notch { min-height: 36px; font-size: 0.72rem; }
  .wsee-fog-line { top: 8%; }
}

@media (prefers-reduced-motion: reduce) {
  .wsee-press-glass,
  .wsee-fog-line,
  .wsee-drape,
  .wsee-pane,
  .wsee-reflect {
    animation: none !important;
    transition: none !important;
  }
}
