:root {
  color-scheme: dark;
  font-family: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  background: #090d11;
  color: #eef4f8;
  --panel: rgba(11, 16, 22, 0.72);
  --panel-strong: rgba(18, 25, 34, 0.94);
  --line: rgba(220, 235, 244, 0.14);
  --text-soft: #a9b8c3;
  --accent: #43c6ac;
  --accent-2: #f0b84d;
  --blue: #4d9de0;
  --surface: rgba(13, 20, 28, 0.78);
  --surface-2: rgba(255, 255, 255, 0.055);
  --surface-3: rgba(255, 255, 255, 0.085);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 18px 54px rgba(0, 0, 0, 0.22);
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.front-body {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #070b0f;
}

.front-stage {
  position: relative;
  container-type: size;
  width: min(100vw, calc(100dvh * 9 / 16));
  height: min(100dvh, calc(100vw * 16 / 9));
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(67, 198, 172, 0.22), transparent 32%),
    linear-gradient(180deg, #16242c 0%, #081118 100%);
}

.front-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity 160ms linear;
  will-change: opacity;
}

.front-stage video.is-active {
  opacity: 1;
}

.external-project-frame {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #04182b;
}

body.is-external-project .front-stage > :not(.external-project-frame) {
  display: none !important;
}

body.is-external-project .front-stage {
  width: 100vw;
  height: 100dvh;
  aspect-ratio: auto;
}

.video-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(238, 255, 250, 0.82);
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.08em;
  background: radial-gradient(circle at 50% 30%, rgba(67, 198, 172, 0.28), transparent 30%),
    linear-gradient(180deg, #15242c 0%, #091118 100%);
}

.video-loading[hidden] {
  display: none;
}

.resource-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.resource-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  overflow: hidden;
}

.resource-card h3 {
  margin: 12px 0 8px;
}

.resource-card p,
.resource-card small {
  color: var(--text-soft);
}

.resource-preview-button {
  width: 100%;
  margin-top: 16px;
}

.ui-template-preview {
  position: relative;
  aspect-ratio: 9 / 12;
  max-height: 300px;
  margin: -18px -18px 16px;
  overflow: hidden;
  cursor: zoom-in;
  background: #071017;
}

.ui-template-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #effffb;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--preview-accent) 32%, transparent), transparent 34%),
    linear-gradient(155deg, #142832, #060b11 76%);
}

.ui-template-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  top: 14%;
  left: 14%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--preview-accent) 22%, transparent);
  filter: blur(24px);
}

.ui-template-avatar {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 38%;
  height: 48%;
  transform: translateX(-50%);
}

.ui-template-avatar span {
  position: absolute;
  top: 0;
  left: 29%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #f3d7c7, #b88978);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--preview-accent) 35%, transparent);
}

.ui-template-avatar i {
  position: absolute;
  inset: 26% 0 0;
  border-radius: 46% 46% 12% 12%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--preview-accent) 80%, white), #273349);
}

.ui-template-brand {
  position: absolute;
  top: 5%;
  left: 7%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ui-template-bubbles {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 13%;
  display: grid;
  gap: 7px;
  font-size: 8px;
}

.ui-template-bubbles span {
  width: fit-content;
  max-width: 78%;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--preview-accent) 35%, transparent);
  border-radius: 10px 10px 10px 3px;
  background: rgba(6, 13, 20, 0.76);
  backdrop-filter: blur(6px);
}

.ui-template-bubbles span:last-child {
  justify-self: end;
  border-radius: 10px 10px 3px;
  background: color-mix(in srgb, var(--preview-accent) 70%, #12212b);
}

.ui-template-mic {
  position: absolute;
  bottom: 3.5%;
  left: 50%;
  display: grid;
  width: 24px;
  aspect-ratio: 1;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  color: var(--preview-accent);
  font-size: 8px;
  background: rgba(4, 10, 15, 0.8);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--preview-accent) 55%, transparent);
}

.ui-template-portrait-kiosk-dark {
  --preview-accent: #43c6ac;
}

.ui-template-transparent-bubble {
  --preview-accent: #4d9de0;
  background:
    linear-gradient(180deg, rgba(13, 36, 53, 0.18), rgba(7, 17, 25, 0.56)),
    radial-gradient(circle at 50% 28%, #5e7790, #17222c 72%);
}

.ui-template-transparent-bubble .ui-template-bubbles span {
  border-radius: 999px;
  background: rgba(37, 57, 72, 0.42);
}

.ui-template-minimal-console {
  --preview-accent: #f0b84d;
  background:
    linear-gradient(rgba(240, 184, 77, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 184, 77, 0.06) 1px, transparent 1px),
    #080c11;
  background-size: 18px 18px;
}

.ui-template-minimal-console .ui-template-bubbles span {
  border-radius: 3px;
  background: rgba(8, 12, 17, 0.9);
}

.resource-preview-dialog {
  width: min(820px, calc(100vw - 32px));
}

.resource-preview-shell {
  padding: 22px;
}

.avatar-workflow-dialog {
  width: min(920px, calc(100vw - 32px));
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.workflow-steps span {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 12px;
  text-align: center;
}

.workflow-steps span.active {
  border-color: rgba(67, 198, 172, 0.62);
  color: #9ff1df;
  background: rgba(67, 198, 172, 0.13);
}

.workflow-progress {
  height: 10px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.workflow-progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #9b5cff);
  transition: width 0.25s ease;
}

.workflow-result {
  margin-top: 18px;
}

.workflow-result-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.workflow-result-card p {
  color: var(--text-soft);
}

.workflow-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-video-grid div {
  display: grid;
  gap: 8px;
}

.workflow-video-grid span,
.workflow-video-grid em {
  color: var(--text-soft);
  font-size: 12px;
  font-style: normal;
}

.workflow-video-grid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #000;
  object-fit: cover;
}

.ui-template-preview-large {
  width: min(430px, 100%);
  max-height: none;
  margin: 20px auto 0;
  cursor: default;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

.ui-template-preview-large .ui-template-brand {
  font-size: 17px;
}

.ui-template-preview-large .ui-template-bubbles {
  gap: 12px;
  font-size: 13px;
}

.ui-template-preview-large .ui-template-bubbles span {
  padding: 11px 14px;
}

.ui-template-preview-large .ui-template-mic {
  width: 36px;
}

.front-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(3, 7, 10, 0.54), transparent 25%),
    linear-gradient(to top, rgba(3, 7, 10, 0.74), transparent 48%),
    linear-gradient(to right, rgba(3, 7, 10, 0.36), transparent 35%);
}

.front-top {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.front-actions {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand-mark,
.status-pill,
.context-chip,
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 13, 18, 0.72);
  color: #eef4f8;
  backdrop-filter: blur(14px);
}

.brand-mark {
  padding: 9px 12px;
  font-size: 13px;
}

#modelInfo {
  display: none;
}

.mark-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(67, 198, 172, 0.85);
}

.context-chip,
.admin-link {
  height: 38px;
  padding: 0 12px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.context-chip[data-state="listening"] {
  border-color: rgba(240, 184, 77, 0.45);
  color: #ffe0a1;
  background: rgba(240, 184, 77, 0.15);
}

.context-chip[data-state="active"] {
  border-color: rgba(67, 198, 172, 0.5);
  color: #9ff1df;
  background: rgba(67, 198, 172, 0.15);
}

.context-chip[data-state="disabled"] {
  color: #d8a6a6;
  background: rgba(223, 92, 92, 0.16);
}

.icon-button,
.mic-fab {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(8, 13, 18, 0.72);
}

.icon-button:hover,
.mic-fab:hover,
.admin-link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

.caption-layer {
  position: absolute;
  z-index: 2;
  left: clamp(16px, 4vw, 56px);
  right: clamp(16px, 4vw, 56px);
  bottom: clamp(96px, 12vh, 140px);
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.status-pill {
  display: none;
}

.status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.status-pill[data-mode="speaking"]::before,
.status-pill[data-mode="listening"]::before {
  background: var(--accent-2);
  box-shadow: 0 0 16px rgba(240, 184, 77, 0.7);
}

.transcript-card {
  width: min(100%, 620px);
  max-height: 34vh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.caption-label {
  margin: 0;
  padding: 12px 16px 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  max-height: none;
  padding: 0;
}

.messages::-webkit-scrollbar {
  display: none;
}

.message {
  max-width: 88%;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  animation: rise 0.18s ease-out;
}

.message-body {
  padding: 10px 14px;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}

.dialogue-avatar {
  display: none;
}

.message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #277ec2, #43a6d9);
  color: #fff;
  box-shadow: 0 7px 20px rgba(39, 126, 194, 0.18);
}

.message.assistant {
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 13, 18, 0.62);
  color: #edf5fa;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.message.system {
  align-self: center;
  color: #ffe0a1;
  font-size: 13px;
  background: rgba(240, 184, 77, 0.12);
}

.sources {
  margin: 0 10px 9px;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #a8c7da;
  font-size: 11px;
}

.message-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.message-images button {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: #edf5fa;
  text-align: left;
}

.message-images button:hover {
  border-color: rgba(67, 198, 172, 0.75);
}

.message-images img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.message-images span {
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-lightbox {
  box-sizing: border-box;
  width: fit-content;
  max-width: min(calc(100vw - 32px), calc(100dvh * 9 / 16 - 32px));
  max-height: min(calc(100dvh - 32px), calc(100vw * 16 / 9 - 32px));
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(7, 11, 15, 0.94);
  color: #eef4f8;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
}

.image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.image-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(calc(100dvh - 122px), calc(100vw * 16 / 9 - 122px));
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.image-lightbox p {
  margin: 10px 42px 0 4px;
  color: rgba(238, 244, 248, 0.84);
  font-size: 14px;
  line-height: 1.5;
}

.image-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(4, 7, 10, 0.78);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.voice-preview {
  width: fit-content;
  max-width: min(100%, 520px);
  margin: 10px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 13, 18, 0.44);
  color: rgba(238, 244, 248, 0.78);
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(12px);
}

.mic-fab {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 5vh, 54px);
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(8, 13, 18, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

.mic-fab svg {
  width: 28px;
  height: 28px;
}

.mic-fab.active {
  border-color: rgba(67, 198, 172, 0.72);
  background: rgba(67, 198, 172, 0.22);
  box-shadow: 0 0 0 8px rgba(67, 198, 172, 0.12), 0 18px 60px rgba(0, 0, 0, 0.38);
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(67, 198, 172, 0.18), transparent 28rem),
    radial-gradient(circle at 18% 90%, rgba(77, 157, 224, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(77, 157, 224, 0.13), transparent 34rem),
    linear-gradient(135deg, #0b0f14 0%, #121920 44%, #0e1418 100%);
}

.admin-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 72%);
}

.admin-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-top: 6px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

h2 {
  font-size: 22px;
}

.admin-header p:not(.eyebrow),
.panel-head p {
  margin-top: 9px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.admin-link.primary {
  background: rgba(67, 198, 172, 0.14);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 18px;
}

.knowledge-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

#kbCount {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8e3ea;
  font-size: 13px;
  white-space: nowrap;
}

.kb-form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
  color: #c9d5dd;
  font-size: 13px;
  font-weight: 700;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fbff;
  outline: none;
}

select {
  appearance: auto;
  background-color: #202a34;
  color-scheme: dark;
  cursor: pointer;
}

select option,
select optgroup {
  background-color: #111922;
  color: #eef4f8;
}

select option:checked {
  background-color: #245e56;
  color: #f5fffc;
}

select:disabled {
  background-color: #182129;
  color: #82919b;
  cursor: not-allowed;
}

select:not(:disabled):hover {
  border-color: rgba(67, 198, 172, 0.48);
  background-color: #25313b;
}

textarea {
  resize: vertical;
  min-height: 46px;
  max-height: 260px;
  padding: 11px 13px;
  line-height: 1.45;
}

input,
select {
  height: 44px;
  padding: 0 13px;
}

input[type="file"] {
  padding: 10px;
  color: var(--text-soft);
}

textarea::placeholder,
input::placeholder {
  color: #72818f;
}

textarea:focus,
input:focus,
select:focus {
  border-color: rgba(67, 198, 172, 0.76);
  box-shadow: 0 0 0 3px rgba(67, 198, 172, 0.14);
}

button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.kb-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--accent-2), #f6ca6d);
  color: #211603;
  font-weight: 800;
}

.form-status,
.empty-state {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.form-status {
  min-height: 20px;
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.kb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: calc(100vh - 210px);
}

.kb-item {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.kb-item strong {
  display: block;
  overflow: hidden;
  color: #f7fbff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kb-item span {
  display: inline-flex;
  margin-top: 7px;
  color: var(--accent);
  font-size: 12px;
}

.kb-item p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #b6c3ce;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.kb-item button {
  margin-top: 11px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #68ddc5);
  color: #061712;
  font-weight: 800;
  white-space: nowrap;
}

.console-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.console-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 22px 16px;
  border-right: 1px solid var(--line);
  background: rgba(7, 11, 15, 0.88);
  backdrop-filter: blur(22px);
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3f8fb;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.console-nav {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.console-nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 11px 13px;
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.console-nav button svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: #7f919d;
  transition: color 0.16s ease, filter 0.16s ease;
}

.console-nav button:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #e4eef2;
  transform: translateX(2px);
}

.console-nav button:hover svg {
  color: #b9cbd4;
}

.console-nav button.active {
  background: rgba(67, 198, 172, 0.13);
  color: #aff3e4;
}

.console-nav button.active svg {
  color: var(--accent);
  filter: drop-shadow(0 0 7px rgba(67, 198, 172, 0.38));
}

.project-nav {
  grid-template-columns: 1fr;
}

.sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #9ff1df;
  font-size: 12px;
  text-decoration: none;
}

.sidebar-link svg {
  width: 15px;
  height: 15px;
}

.console-user {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.console-user span {
  color: var(--text-soft);
  font-size: 12px;
}

.console-user button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #d8e5eb;
}

.console-user button svg {
  width: 16px;
  height: 16px;
}

.console-main {
  min-width: 0;
  padding: 30px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.console-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.console-header h1 {
  font-size: clamp(32px, 4vw, 54px);
}

.console-header p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--text-soft);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e4eef2;
  font-weight: 700;
  text-decoration: none;
}

.config-section {
  display: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 21, 28, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.config-section.active {
  display: block;
}

.config-section-head {
  margin-bottom: 22px;
}

.config-section-head p,
.config-note {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.test-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 12px;
}

.upload-field {
  margin-top: -8px;
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.full-field {
  grid-column: 1 / -1;
}

.field-hint {
  margin-left: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

.switch-field {
  display: flex;
  align-items: center;
  align-self: end;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.switch-field input {
  width: 18px;
  height: 18px;
  margin: 0 9px 0 0;
}

.video-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.video-preview-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.video-preview-item strong {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
}

.video-preview-item video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: #05080b;
  object-fit: cover;
}

.avatar-preview-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.avatar-preview-row article {
  display: grid;
  gap: 10px;
  justify-items: center;
  min-width: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.avatar-preview-row strong small {
  margin-left: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
}

.avatar-preview-row img {
  display: block;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(185, 132, 255, 0.42);
  border-radius: 50%;
  object-fit: cover;
  background: rgba(24, 18, 60, 0.78);
}

.avatar-preview-row img:not([src]) {
  visibility: hidden;
}

.quick-reply-config-grid {
  align-items: stretch;
}

.quick-reply-config-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
}

.quick-reply-config-card h3 {
  margin: 0;
  color: var(--text);
}

.quick-question-bar[hidden] {
  display: none !important;
}

.knowledge-manager {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 18px;
}

.knowledge-editor {
  display: grid;
  align-content: start;
  gap: 14px;
}

.knowledge-list-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.knowledge-source-panel {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.image-knowledge-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.image-knowledge-form h3 {
  margin: 0;
  font-size: 16px;
}

.knowledge-source-panel h3 {
  margin: 0;
  font-size: 16px;
}

.source-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.source-item strong,
.source-item span {
  display: block;
}

.source-item span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 12px;
}

.source-item button {
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9e8ee;
  font-size: 12px;
}

.knowledge-tools,
.log-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 170px auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.compact-head {
  margin-bottom: 12px;
}

.compact-head h3 {
  margin: 0;
  font-size: 18px;
}

.project-kb-list {
  max-height: 560px;
}

.image-kb-head {
  margin-top: 18px;
}

.image-kb-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.image-kb-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.image-kb-item.disabled {
  opacity: 0.58;
}

.image-kb-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05080b;
}

.image-kb-item > div {
  padding: 12px;
}

.image-kb-item strong,
.image-kb-item span {
  display: block;
}

.image-kb-item span {
  margin-top: 5px;
  color: var(--accent);
  font-size: 12px;
}

.image-kb-item p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.kb-item.disabled {
  opacity: 0.58;
}

.project-kb-list .kb-item {
  position: relative;
  padding-left: 46px;
}

.kb-select {
  position: absolute;
  top: 15px;
  left: 14px;
  width: 18px;
  height: 18px;
}

.kb-actions {
  display: flex;
  gap: 8px;
  margin-top: 11px;
}

.kb-actions button {
  margin-top: 0;
}

.sticky-status {
  position: sticky;
  bottom: 12px;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 13, 18, 0.88);
  backdrop-filter: blur(12px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card,
.console-panel,
.project-card {
  border: 1px solid var(--line);
  background: rgba(14, 21, 28, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border-radius: 16px;
}

.metric-card span {
  color: var(--text-soft);
  font-size: 13px;
}

.metric-card strong {
  align-self: end;
  font-size: 30px;
}

.console-panel {
  padding: 20px;
  border-radius: 18px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.account-list {
  display: grid;
  gap: 14px;
}

.account-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.account-card.disabled {
  opacity: 0.6;
}

.account-card h3 {
  margin: 12px 0 6px;
}

.account-card p,
.account-card small {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
}

.log-list {
  display: grid;
  gap: 12px;
}

.log-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.log-item p,
.log-item small {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 12px;
}

.log-item > span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
}

.project-card {
  padding: 17px;
  border-radius: 16px;
}

.project-card-head,
.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-card-head {
  color: var(--text-soft);
  font-size: 12px;
}

.project-status {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.project-status.active {
  background: rgba(67, 198, 172, 0.13);
  color: #9ff1df;
}

.project-card h3 {
  margin: 18px 0 7px;
  font-size: 20px;
}

.project-card > p {
  min-height: 22px;
  color: var(--text-soft);
  font-size: 13px;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.project-facts span {
  display: grid;
  gap: 5px;
  padding: 9px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-soft);
  font-size: 11px;
}

.project-facts strong {
  overflow: hidden;
  color: #eef6fa;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-actions {
  justify-content: flex-start;
}

.project-actions a,
.project-actions button {
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  color: #d9e8ee;
  font-size: 12px;
  text-decoration: none;
}

.console-dialog {
  width: min(520px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111922;
  color: #eef4f8;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.console-dialog::backdrop {
  background: rgba(2, 6, 9, 0.72);
  backdrop-filter: blur(5px);
}

.console-dialog form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.project-picker {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.project-picker legend {
  padding: 0 8px;
  color: var(--text-soft);
}

.check-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
}

.check-row input {
  width: 18px;
  height: 18px;
}

.usage-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
}

.usage-metrics {
  margin-bottom: 18px;
}

.usage-chart {
  display: grid;
  gap: 10px;
}

.usage-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 110px;
  gap: 10px;
  align-items: center;
  color: var(--text-soft);
  font-size: 13px;
}

.usage-bar-row div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.usage-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #92f4dd);
}

.usage-bar-row strong {
  color: #eef6fa;
  text-align: right;
}

.usage-type-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.usage-type-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 13px;
}

.dialog-close {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 22px;
}

.login-body {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #050b18;
  color: #f7fbff;
}

.login-body::before,
.login-body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.login-body::before {
  inset: -18% -12% auto auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(61, 220, 215, 0.34), transparent 56%),
    radial-gradient(circle at 30% 30%, rgba(57, 112, 255, 0.22), transparent 46%);
  filter: blur(6px);
  animation: loginAuraDrift 16s ease-in-out infinite alternate;
}

.login-body::after {
  inset: auto auto -20% -12%;
  width: 54vw;
  height: 54vw;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(112, 92, 255, 0.24), transparent 58%),
    radial-gradient(circle at 70% 40%, rgba(35, 196, 245, 0.2), transparent 48%);
  filter: blur(10px);
  animation: loginAuraDrift 18s ease-in-out infinite alternate-reverse;
}

.login-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.login-neural-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(95, 211, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 211, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 52% 45%, rgba(72, 214, 255, 0.16), transparent 32%),
    linear-gradient(115deg, transparent 0 28%, rgba(78, 228, 255, 0.13) 28.2% 28.6%, transparent 28.8% 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  mask-image: radial-gradient(circle at 58% 48%, #000 0 54%, transparent 82%);
  opacity: 0.8;
  animation: loginGridFloat 18s linear infinite;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: 56px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0;
}

.login-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 640px;
}

.login-brand {
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid rgba(151, 226, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 18, 38, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.login-hero-copy {
  position: relative;
  z-index: 2;
}

.login-intro h1 {
  max-width: 720px;
  margin-top: 14px;
  color: #f7fbff;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 18px 70px rgba(51, 197, 255, 0.26);
}

.login-intro p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(218, 236, 249, 0.78);
  font-size: 17px;
  line-height: 1.7;
}

.login-hologram {
  position: absolute;
  right: 1%;
  bottom: 96px;
  width: 430px;
  height: 430px;
  filter: drop-shadow(0 28px 80px rgba(34, 205, 255, 0.22));
}

.login-hologram::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 310px;
  height: 72px;
  border: 1px solid rgba(118, 232, 255, 0.28);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(66, 224, 255, 0.22), transparent 68%);
  transform: translateX(-50%);
  animation: hologramBasePulse 2.8s ease-in-out infinite;
}

.hologram-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(128, 236, 255, 0.26);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.ring-one {
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%) rotateX(67deg);
  animation: hologramSpin 13s linear infinite;
}

.ring-two {
  width: 262px;
  height: 262px;
  border-color: rgba(100, 174, 255, 0.34);
  transform: translate(-50%, -50%) rotateX(67deg) rotateZ(26deg);
  animation: hologramSpin 9s linear infinite reverse;
}

.ring-three {
  width: 198px;
  height: 198px;
  border-color: rgba(121, 255, 218, 0.34);
  transform: translate(-50%, -50%) rotateX(67deg) rotateZ(-18deg);
  animation: hologramSpin 6s linear infinite;
}

.hologram-ring::before,
.hologram-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #85f7ff;
  box-shadow: 0 0 22px rgba(133, 247, 255, 0.95);
}

.hologram-ring::before {
  top: 14%;
  left: 18%;
}

.hologram-ring::after {
  right: 18%;
  bottom: 14%;
}

.hologram-avatar {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 154px;
  height: 178px;
  border: 1px solid rgba(166, 245, 255, 0.45);
  border-radius: 48px 48px 54px 54px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.05)),
    radial-gradient(circle at 50% 26%, rgba(135, 247, 255, 0.5), transparent 38%),
    linear-gradient(135deg, rgba(58, 110, 255, 0.42), rgba(42, 222, 203, 0.28));
  transform: translate(-50%, -50%);
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.2),
    0 0 38px rgba(78, 221, 255, 0.42);
  animation: avatarFloat 4.6s ease-in-out infinite;
}

.hologram-avatar::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 28px;
  height: 54px;
  border-radius: 28px;
  background: rgba(4, 18, 38, 0.48);
  box-shadow: inset 0 0 18px rgba(116, 238, 255, 0.24);
}

.hologram-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -42px;
  width: 2px;
  height: 52px;
  background: linear-gradient(#85f7ff, transparent);
  box-shadow: 0 0 18px #85f7ff;
}

.avatar-core {
  position: absolute;
  left: 50%;
  top: -32px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(133, 247, 255, 0.56);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 251, 255, 0.52), rgba(38, 116, 255, 0.16) 64%, transparent 66%);
  transform: translateX(-50%);
}

.avatar-eye {
  position: absolute;
  top: 52px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #afffff;
  box-shadow: 0 0 18px rgba(175, 255, 255, 0.95);
  animation: avatarBlink 4s ease-in-out infinite;
}

.avatar-eye.left { left: 52px; }
.avatar-eye.right { right: 52px; }

.avatar-mouth {
  position: absolute;
  left: 50%;
  top: 92px;
  width: 38px;
  height: 12px;
  border-bottom: 3px solid rgba(204, 255, 255, 0.9);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.hologram-panel {
  position: absolute;
  min-width: 132px;
  padding: 12px 14px;
  border: 1px solid rgba(150, 233, 255, 0.24);
  border-radius: 14px;
  background: rgba(8, 23, 47, 0.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 44px rgba(0,0,0,0.2);
  backdrop-filter: blur(16px);
}

.hologram-panel strong {
  display: block;
  color: #f6fdff;
  font-size: 13px;
}

.hologram-panel span {
  display: block;
  margin-top: 4px;
  color: #7defff;
  font-size: 12px;
  font-weight: 800;
}

.panel-one {
  left: 4px;
  top: 128px;
  animation: panelFloat 4.8s ease-in-out infinite;
}

.panel-two {
  right: 0;
  top: 76px;
  animation: panelFloat 5.2s ease-in-out infinite reverse;
}

.panel-three {
  right: 38px;
  bottom: 72px;
  animation: panelFloat 5.6s ease-in-out infinite;
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.login-feature-grid span {
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid rgba(141, 228, 255, 0.22);
  border-radius: 8px;
  background: rgba(8, 24, 48, 0.56);
  color: #d9eef8;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
}

.login-card {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid rgba(169, 236, 255, 0.24);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035)),
    rgba(7, 17, 35, 0.78);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.14);
  backdrop-filter: blur(28px);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(92, 235, 255, 0.64), transparent 32%, rgba(105, 124, 255, 0.42) 68%, transparent);
  opacity: 0.74;
}

.login-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(119, 237, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(119, 237, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
  mask-image: linear-gradient(#000, transparent 78%);
}

.login-card h2 {
  margin-top: 6px;
  color: #fff;
  font-size: 32px;
  letter-spacing: 0;
}

.login-card p:not(.eyebrow) {
  margin-top: 8px;
  color: rgba(217, 235, 247, 0.74);
  line-height: 1.6;
}

.login-card label {
  position: relative;
  z-index: 1;
}

.login-card label span {
  color: rgba(225, 241, 251, 0.88);
}

.login-card input {
  border-color: rgba(160, 229, 255, 0.22);
  border-radius: 10px;
  background: rgba(2, 12, 28, 0.54);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.login-card input:focus {
  border-color: rgba(91, 230, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(91, 230, 255, 0.16), 0 0 28px rgba(91, 230, 255, 0.12);
}

.login-card .primary-button {
  position: relative;
  min-height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5eeaf7, #4e8dff 52%, #7d6bff);
  color: #fff;
  box-shadow: 0 16px 34px rgba(44, 141, 255, 0.28);
  overflow: hidden;
}

.login-card .primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,0.34) 44%, transparent 56% 100%);
  transform: translateX(-120%);
  animation: loginButtonSweep 3.8s ease-in-out infinite;
}

.login-card .form-status {
  min-height: 22px;
  color: #8feeff;
  text-align: center;
}

.back-front-link {
  color: rgba(217, 235, 247, 0.7);
  font-size: 12px;
  text-align: center;
}

@keyframes loginAuraDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 3%, 0) scale(1.08); }
}

@keyframes loginGridFloat {
  from { background-position: 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 72px, 0 0, 0 0; }
}

@keyframes hologramSpin {
  to { rotate: 0 0 1 360deg; }
}

@keyframes hologramBasePulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.92); }
  50% { opacity: 1; transform: translateX(-50%) scaleX(1.08); }
}

@keyframes avatarFloat {
  0%, 100% { transform: translate(-50%, -52%); }
  50% { transform: translate(-50%, -46%); }
}

@keyframes avatarBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.18); }
}

@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes loginButtonSweep {
  0%, 62% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (prefers-reduced-motion: reduce) {
  .login-body::before,
  .login-body::after,
  .login-neural-grid,
  .hologram-ring,
  .hologram-avatar,
  .hologram-panel,
  .login-card .primary-button::before {
    animation: none;
  }

  .login-particles {
    display: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .front-top,
  .admin-header {
    align-items: stretch;
    flex-direction: column;
  }

  .front-actions {
    justify-content: flex-start;
  }

  .caption-layer {
    left: 12px;
    right: 12px;
    bottom: 104px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .console-shell,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .console-header {
    align-items: stretch;
    flex-direction: column;
  }

  .console-sidebar {
    position: static;
    height: auto;
  }

  .console-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .console-user {
    margin-top: 20px;
  }

  .metric-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-manager {
    grid-template-columns: 1fr;
  }

  .login-intro {
    min-height: auto;
    gap: 70px;
  }

  .login-hologram {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(430px, 82vw);
    height: min(430px, 82vw);
    margin: -24px auto -10px;
  }

  .login-shell {
    align-items: start;
    padding: 32px 0;
  }

  .login-card {
    width: min(100%, 520px);
    margin: 0 auto;
  }
}

.knowledge-page-head {
  align-items: flex-end;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.knowledge-heading {
  flex: 0 0 auto;
}

.knowledge-heading h2 {
  white-space: nowrap;
}

.knowledge-page-head .knowledge-toolbar {
  flex: 1 1 auto;
  justify-content: flex-end;
  max-width: 1120px;
  min-width: 0;
}

.knowledge-stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 12px;
}

.knowledge-stat-grid article {
  background:
    linear-gradient(145deg, rgba(67, 198, 172, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  align-items: center;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 15px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.knowledge-stat-grid span {
  color: var(--text-soft);
  font-size: 13px;
}

.knowledge-stat-grid strong {
  color: #f1f8fb;
  font-size: 20px;
}

.knowledge-toolbar,
.knowledge-batch-bar,
.knowledge-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knowledge-toolbar {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.knowledge-toolbar select,
.knowledge-pagination select {
  background-color: #202a34;
  border-color: rgba(220, 235, 244, 0.18);
  color: #eef4f8;
}

.knowledge-search-field {
  align-items: center;
  display: flex;
  flex: 1 1 260px;
  max-width: 360px;
  min-width: 220px;
  position: relative;
}

.knowledge-search-field svg {
  color: #81939f;
  left: 12px;
  pointer-events: none;
  position: absolute;
  width: 17px;
}

.knowledge-search-field input {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(220, 235, 244, 0.18);
  color: #eef4f8;
  padding-left: 38px;
}

.knowledge-toolbar select,
.knowledge-pagination select {
  min-width: 130px;
}

.knowledge-toolbar select {
  width: 130px;
}

.compact-icon-button {
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
}

.compact-icon-button svg {
  width: 17px;
  height: 17px;
}

.knowledge-batch-bar {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
  padding: 10px 16px;
}

.knowledge-batch-bar span {
  color: var(--text-soft);
  margin-right: auto;
}

.danger-button,
.table-actions button:last-child {
  color: #ff8d8d;
}

.knowledge-table-wrap {
  background: rgba(8, 13, 18, 0.48);
  border: 1px solid var(--line);
  border-top: 0;
  overflow-x: auto;
}

.knowledge-table {
  border-collapse: collapse;
  min-width: 1080px;
  width: 100%;
}

.knowledge-table th,
.knowledge-table td {
  border-bottom: 1px solid rgba(220, 235, 244, 0.1);
  color: #c9d6de;
  font-size: 13px;
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.knowledge-table th {
  background: rgba(255, 255, 255, 0.065);
  color: #e8f1f5;
  font-weight: 650;
  position: sticky;
  top: 0;
}

.knowledge-table tbody tr {
  cursor: pointer;
  transition: background 0.16s ease;
}

.knowledge-table tbody tr:hover {
  background: rgba(67, 198, 172, 0.055);
}

.knowledge-table input[type="checkbox"],
#selectAllKnowledge {
  accent-color: var(--accent);
  height: 17px;
  width: 17px;
}

.knowledge-title-cell {
  align-items: center;
  display: flex;
  gap: 10px;
  max-width: 340px;
}

.knowledge-title-cell img {
  border-radius: 8px;
  height: 44px;
  object-fit: cover;
  width: 56px;
}

.knowledge-video-thumb {
  align-items: center;
  background: rgba(77, 157, 224, 0.14);
  border: 1px solid rgba(77, 157, 224, 0.28);
  border-radius: 8px;
  color: #b7ddff;
  display: inline-flex;
  flex: 0 0 56px;
  font-size: 12px;
  height: 44px;
  justify-content: center;
  width: 56px;
}

.knowledge-title-cell div {
  min-width: 0;
}

.knowledge-title-cell strong,
.knowledge-title-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-title-cell strong {
  color: #f0f6f9;
  margin-bottom: 5px;
}

.knowledge-title-cell span,
.knowledge-source-text {
  color: #91a3ae;
}

.knowledge-source-text {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-type-badge,
.knowledge-status {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  padding: 4px 9px;
  white-space: nowrap;
}

.knowledge-type-badge {
  background: rgba(77, 157, 224, 0.14);
  border: 1px solid rgba(77, 157, 224, 0.22);
  color: #9cccf3;
}

.knowledge-status.status-active {
  background: rgba(67, 198, 172, 0.14);
  border: 1px solid rgba(67, 198, 172, 0.22);
  color: #8be4d1;
}

.knowledge-status.status-disabled {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #a8b5bd;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions button {
  background: transparent;
  border: 0;
  color: #7ecbbd;
  cursor: pointer;
  padding: 4px 0;
}

.table-actions button:hover {
  color: #b0f3e4;
}

.knowledge-pagination {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  color: #c9d6de;
  justify-content: flex-end;
  padding: 14px 16px;
}

.knowledge-pagination #knowledgePaginationSummary {
  color: var(--text-soft);
  margin-right: auto;
}

.knowledge-pagination select {
  flex: 0 0 auto;
  width: 130px;
}

.knowledge-pagination .secondary-button {
  min-height: 40px;
  padding: 0 14px;
}

.knowledge-dialog {
  max-width: 720px;
  width: min(720px, calc(100vw - 32px));
}

.knowledge-dialog input,
.knowledge-dialog textarea,
.knowledge-dialog select {
  background-color: #202a34;
  color: #f3f8fa;
}

.knowledge-dialog .panel-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.knowledge-dialog [hidden] {
  display: none !important;
}

.knowledge-detail-dialog {
  max-width: 780px;
  width: min(780px, calc(100vw - 32px));
}

.knowledge-detail-shell {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.knowledge-detail-shell .panel-head {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding-bottom: 16px;
}

.knowledge-detail-meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-detail-meta article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 11px;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
}

.knowledge-detail-meta span,
.knowledge-detail-content > span {
  color: var(--text-soft);
  font-size: 12px;
}

.knowledge-detail-meta strong {
  color: #eef5f8;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.knowledge-detail-image {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  max-height: 320px;
  max-width: 100%;
  object-fit: contain;
}

.knowledge-detail-video {
  align-self: center;
  background: #050b13;
  border: 1px solid var(--line);
  border-radius: 14px;
  max-height: 360px;
  max-width: 100%;
  width: min(640px, 100%);
}

.knowledge-detail-content {
  display: grid;
  gap: 9px;
}

.knowledge-detail-content div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #d8e4e9;
  line-height: 1.75;
  max-height: 300px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
  word-break: break-word;
}

.knowledge-detail-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 18px;
}

.knowledge-detail-actions .danger-button {
  border-color: rgba(255, 141, 141, 0.25);
}

.knowledge-detail-dialog [hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .knowledge-page-head {
    align-items: stretch;
    flex-direction: column;
  }

  .knowledge-page-head .knowledge-toolbar {
    justify-content: flex-start;
    max-width: none;
  }

  .knowledge-search-field {
    max-width: none;
  }

  .knowledge-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .knowledge-detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (orientation: portrait) {
  .front-top {
    top: 36px;
    left: 32px;
    right: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .brand-mark {
    padding: 13px 17px;
    font-size: 18px;
  }

  .mark-dot {
    width: 11px;
    height: 11px;
  }

  .front-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .context-chip,
  .admin-link {
    height: 54px;
    padding: 0 18px;
    font-size: 17px;
  }

  .icon-button {
    width: 56px;
    height: 56px;
  }

  .icon-button svg {
    width: 25px;
    height: 25px;
  }

  .caption-layer {
    left: 42px;
    right: 42px;
    bottom: 190px;
    max-width: 720px;
    gap: 12px;
  }

  .status-pill {
    display: none;
  }

  .status-pill::before {
    width: 11px;
    height: 11px;
  }

  .transcript-card {
    width: min(100%, 720px);
    max-height: 430px;
    border-radius: 0;
  }

  .caption-label {
    padding: 15px 18px 0;
    font-size: 13px;
  }

  .messages {
    gap: 10px;
    max-height: none;
    padding: 0;
  }

  .message {
    max-width: 88%;
    font-size: 16px;
    line-height: 1.55;
  }

  .message-body {
    padding: 11px 14px;
  }

  .message.system,
  .sources {
    font-size: 13px;
  }

  .voice-preview {
    padding: 9px 14px;
    font-size: 14px;
  }

  .mic-fab {
    right: 38px;
    bottom: 54px;
    width: 104px;
    height: 104px;
  }

  .mic-fab svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    display: none;
  }

  .context-chip {
    height: 34px;
    font-size: 12px;
  }

  .transcript-card {
    max-height: 52vh;
  }

  .messages {
    max-height: none;
  }

  .mic-fab {
    width: 66px;
    height: 66px;
  }

  .console-main {
    padding: 18px;
  }

  .console-header {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .project-grid,
  .resource-grid,
  .login-feature-grid,
  .config-grid,
  .video-preview-grid {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .login-shell {
    width: min(100% - 24px, 520px);
  }

  .login-intro {
    min-height: auto;
    gap: 22px;
  }

  .login-brand,
  .login-feature-grid,
  .login-hologram {
    display: none;
  }

  .login-intro h1 {
    font-size: 32px;
  }

  .login-intro p:not(.eyebrow) {
    font-size: 14px;
  }

  .login-card {
    padding: 24px;
  }
}

/* Ziyang Pavilion 1080x1920 UI template */
.ui-template-ziyang-pavilion-purple {
  --preview-accent: #9b5cff;
  background: radial-gradient(circle at 50% 58%, rgba(155, 92, 255, 0.62), transparent 28%), radial-gradient(circle at 50% 48%, #22205d, #070d29 72%);
}
.ui-template-ziyang-pavilion-purple::after {
  content: "";
  position: absolute;
  inset: 34% 9% 12%;
  border: 1px solid rgba(210, 176, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(155, 92, 255, 0.08), 0 0 45px rgba(155, 92, 255, 0.38);
}
.ui-template-ziyang-pavilion-purple .ui-template-bubbles span {
  border-color: rgba(196, 154, 255, 0.4);
  background: linear-gradient(135deg, rgba(20, 26, 68, 0.92), rgba(66, 34, 108, 0.78));
}
.ui-template-ziyang-pavilion-purple .ui-template-avatar {
  background: url("/assets/ziyang-dialogue-avatar.png") center / contain no-repeat;
  filter: drop-shadow(0 0 22px rgba(155, 92, 255, 0.72));
}
.ui-template-ziyang-pavilion-purple .ui-template-avatar span,
.ui-template-ziyang-pavilion-purple .ui-template-avatar i {
  display: none;
}
.ziyang-brand, .ziyang-clock, .quick-question-bar,
.landscape-brand, .landscape-meta, .landscape-welcome, .landscape-search,
.landscape-notice-panel, .landscape-scenic-section, .landscape-service-footer,
.landscape-guide-view,
.landscape-ai-view,
.landscape-route-view,
.landscape-ticket-view,
.landscape-service-view,
.landscape-events-view,
.landscape-hotel-view,
.landscape-food-view {
  display: none;
}
.conversation-hints { display: none; }
body[data-ui-template="ziyang-pavilion-purple"] .front-stage { background: #070d29; }
body[data-ui-template="ziyang-pavilion-purple"] .front-shade {
  background: radial-gradient(circle at 50% 53%, rgba(139, 72, 239, 0.18), transparent 29%), linear-gradient(to bottom, rgba(5, 10, 38, 0.64), transparent 28%), linear-gradient(to top, rgba(5, 9, 34, 0.9), transparent 50%);
}
body[data-ui-template="ziyang-pavilion-purple"] .front-top { top: 26px; left: 26px; right: 26px; align-items: flex-start; }
body[data-ui-template="ziyang-pavilion-purple"] .brand-mark {
  border-color: rgba(185, 132, 255, 0.34);
  background: linear-gradient(135deg, rgba(18, 23, 61, 0.86), rgba(66, 35, 108, 0.72));
  box-shadow: inset 0 0 20px rgba(178, 118, 255, 0.12), 0 8px 30px rgba(5, 8, 28, 0.3);
}
body[data-ui-template="ziyang-pavilion-purple"] .mark-dot { background: #ae67ff; box-shadow: 0 0 18px rgba(174, 103, 255, 0.95); }
body[data-ui-template="ziyang-pavilion-purple"] .ziyang-brand {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: #fff5df;
}
.ziyang-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(234, 198, 116, 0.28));
}
.ziyang-brand strong, .ziyang-brand small { display: block; }
.ziyang-brand strong { font-family: serif; font-size: 20px; letter-spacing: 0.12em; }
.ziyang-brand small { margin-top: 2px; font-size: 7px; letter-spacing: 0.28em; }
body[data-ui-template="ziyang-pavilion-purple"] .ziyang-clock {
  display: grid;
  justify-items: end;
  margin-left: auto;
  margin-right: 68px;
  color: #fff;
  text-shadow: 0 0 18px rgba(139, 72, 239, 0.6);
}
.ziyang-clock strong { font-size: 27px; font-weight: 400; }
.ziyang-clock span { font-size: 9px; }
body[data-ui-template="ziyang-pavilion-purple"] .caption-layer {
  left: clamp(20px, 5vw, 68px);
  right: clamp(20px, 5vw, 68px);
  bottom: clamp(70px, 9vh, 120px);
  max-width: 700px;
}
body[data-ui-template="ziyang-pavilion-purple"] .message {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  width: min(100%, 620px);
  max-width: 94%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  backdrop-filter: none;
}
body[data-ui-template="ziyang-pavilion-purple"] .message.user {
  flex-direction: row-reverse;
  align-items: center;
}
body[data-ui-template="ziyang-pavilion-purple"] .dialogue-avatar {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(199, 159, 255, 0.42);
  border-radius: 50%;
  background: rgba(36, 24, 89, 0.9);
  box-shadow: 0 0 22px rgba(130, 65, 226, 0.42);
}
body[data-ui-template="ziyang-pavilion-purple"] .dialogue-avatar img {
  display: block;
  width: 118%;
  height: 118%;
  object-fit: cover;
  transform: scale(1.12);
  transform-origin: center;
}
body[data-ui-template="ziyang-pavilion-purple"] .dialogue-avatar svg {
  width: 36px;
  height: 36px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.6;
}
body[data-ui-template="ziyang-pavilion-purple"] .message-body {
  flex: 1 1 260px;
  min-width: 0;
  padding: 14px 20px;
  border: 1px solid rgba(194, 152, 255, 0.34);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(16, 23, 65, 0.9), rgba(60, 37, 103, 0.78));
  box-shadow: inset 0 0 28px rgba(187, 129, 255, 0.1), 0 18px 44px rgba(5, 7, 28, 0.4);
}
body[data-ui-template="ziyang-pavilion-purple"] .message.assistant {
  align-self: flex-start;
}
body[data-ui-template="ziyang-pavilion-purple"] .message.user {
  align-self: flex-end;
}
body[data-ui-template="ziyang-pavilion-purple"] .message.user .message-body {
  border-color: rgba(181, 118, 255, 0.45);
  background: linear-gradient(135deg, #5930b4, #7b3fd3 58%, #332476);
  box-shadow: inset 0 0 24px rgba(220, 184, 255, 0.1), 0 12px 32px rgba(63, 26, 138, 0.32);
}
body[data-ui-template="ziyang-pavilion-purple"] .message .message-images {
  flex: 0 0 calc(100% - 62px);
  width: calc(100% - 62px);
  margin-left: 62px;
  padding: 0;
}
body[data-ui-template="ziyang-pavilion-purple"] .voice-preview {
  display: none;
}
body[data-ui-template="ziyang-pavilion-purple"] .conversation-hints {
  position: absolute;
  z-index: 3;
  top: 158px;
  right: 24px;
  display: grid;
  justify-items: end;
  gap: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
body[data-ui-template="ziyang-pavilion-purple"] .conversation-hints span {
  padding: 5px 9px;
  border: 1px solid rgba(185, 132, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 17, 52, 0.46);
  box-shadow: 0 6px 22px rgba(6, 8, 30, 0.2);
  backdrop-filter: blur(12px);
}
body[data-ui-template="ziyang-pavilion-purple"] .conversation-hints span:last-child {
  color: rgba(226, 205, 255, 0.9);
}
body[data-ui-template="ziyang-pavilion-purple"] .conversation-hints.subtle {
  opacity: 0.42;
}
body[data-ui-template="ziyang-pavilion-purple"] .quick-question-bar {
  position: absolute;
  z-index: 3;
  top: 88px;
  right: auto;
  left: 50%;
  width: min(calc(100% - 48px), 760px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.quick-question-bar button {
  display: grid;
  grid-template-columns: 46px 1fr 14px;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(185, 132, 255, 0.32);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 25, 85, 0.86), rgba(22, 24, 66, 0.78));
  color: #fff;
  cursor: pointer;
  box-shadow: inset 0 0 22px rgba(191, 125, 255, 0.12), 0 10px 28px rgba(8, 8, 40, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.quick-question-bar button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.quick-question-bar button:active { transform: translateY(0) scale(0.98); }
.quick-reply-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 180, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 68, 209, 0.95), rgba(42, 26, 91, 0.92));
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(156, 88, 255, 0.35);
}
.quick-reply-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-reply-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  justify-items: start;
  text-align: left;
}
.quick-reply-text strong,
.quick-reply-text small {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-reply-text strong {
  font-size: 14px;
  font-weight: 800;
}
.quick-reply-text small {
  color: rgba(226, 214, 244, 0.7);
  font-size: 9px;
}
.quick-reply-arrow {
  color: rgba(224, 204, 255, 0.82);
  font-size: 26px;
  line-height: 1;
}
body[data-ui-template="ziyang-pavilion-purple"] .mic-fab {
  top: 24px;
  right: 26px;
  bottom: auto;
  width: 52px;
  height: 52px;
  transform: none;
  border-color: rgba(207, 169, 255, 0.56);
  background: radial-gradient(circle, rgba(140, 71, 222, 0.94), rgba(45, 29, 103, 0.9));
  box-shadow: 0 0 0 8px rgba(139, 72, 239, 0.12), 0 0 34px rgba(139, 72, 239, 0.62);
}
body[data-ui-template="ziyang-pavilion-purple"] .mic-fab.active {
  border-color: #d6b4ff;
  background: radial-gradient(circle, #a25ff4, #5026a8);
  box-shadow: 0 0 0 10px rgba(139, 72, 239, 0.16), 0 0 46px rgba(166, 92, 255, 0.76);
}

@container (max-height: 980px) {
  body[data-ui-template="ziyang-pavilion-purple"] .front-top {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .brand-mark {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 12px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .ziyang-clock {
    margin-right: 58px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .ziyang-clock strong {
    font-size: 22px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .ziyang-clock span {
    font-size: 8px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-question-bar {
    top: 78px;
    right: auto;
    left: 50%;
    width: min(calc(100% - 40px), 720px);
    transform: translateX(-50%);
    gap: 6px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-question-bar button {
    grid-template-columns: 38px 1fr 10px;
    min-height: 52px;
    padding: 6px 8px;
    border-radius: 14px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-reply-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-reply-text strong {
    font-size: 12px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-reply-text small {
    font-size: 8px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .quick-reply-arrow {
    font-size: 20px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .caption-layer {
    bottom: clamp(58px, 8vh, 88px);
    max-width: 600px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .message {
    gap: 8px;
    width: min(100%, 560px);
    font-size: 13px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .dialogue-avatar {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .dialogue-avatar svg {
    width: 30px;
    height: 30px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .message-body {
    padding: 11px 16px;
    border-radius: 22px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .mic-fab {
    top: 20px;
    right: 22px;
    width: 44px;
    height: 44px;
    box-shadow: 0 0 0 6px rgba(139, 72, 239, 0.1), 0 0 26px rgba(139, 72, 239, 0.5);
  }

  body[data-ui-template="ziyang-pavilion-purple"] .mic-fab svg {
    width: 22px;
    height: 22px;
  }

  body[data-ui-template="ziyang-pavilion-purple"] .conversation-hints {
    top: 140px;
    right: 20px;
    font-size: 9px;
  }
}

/* Ziyang Pavilion portrait scenic home */
body[data-ui-template="ziyang-pavilion-purple"] {
  background: #09273b;
}

body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home {
  background:
    linear-gradient(180deg, rgba(13, 98, 145, 0.04), rgba(2, 26, 40, 0.08) 56%, rgba(1, 18, 30, 0.32)),
    url("/assets/ziyang-portrait-scenic-home.webp") center / cover no-repeat;
}

body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home #avatarVideo,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .video-loading,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .front-shade,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .front-top,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .theme-action-bar,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .caption-layer,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .conversation-hints,
body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .quick-question-bar {
  display: none !important;
}

.ziyang-portrait-home {
  position: absolute;
  inset: 0;
  z-index: 4;
  color: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  pointer-events: none;
}

.ziyang-portrait-home button {
  pointer-events: auto;
}

.ziyang-weather-card {
  position: absolute;
  top: 2.2%;
  left: 3%;
  display: grid;
  grid-template-columns: 1fr 28%;
  align-items: center;
  width: 31.5%;
  height: 5.9%;
  padding: 0 3.1%;
  border: 1px solid rgba(213, 239, 255, 0.28);
  border-radius: clamp(16px, 2.78cqw, 30px);
  background: linear-gradient(135deg, rgba(17, 88, 122, 0.76), rgba(7, 68, 99, 0.7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 44px rgba(4, 41, 66, 0.22);
  backdrop-filter: blur(16px);
}

.ziyang-weather-card div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(6px, 1.3cqw, 14px);
  row-gap: clamp(2px, 0.37cqw, 4px);
  align-items: center;
  padding-right: 9%;
  border-right: 1px dashed rgba(218, 243, 255, 0.36);
}

.ziyang-weather-card span,
.ziyang-weather-card strong {
  font-size: clamp(11px, 2.35cqw, 24px);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 24, 42, 0.28);
}

.ziyang-weather-card small {
  grid-column: 1 / 3;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(9px, 1.85cqw, 19px);
  line-height: 1;
}

.ziyang-weather-card i {
  position: relative;
  justify-self: center;
  width: clamp(13px, 3cqw, 32px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd338;
  box-shadow: 0 0 0 clamp(3px, 0.56cqw, 6px) rgba(255, 211, 56, 0.12);
}

.ziyang-weather-card i::before {
  content: "";
  position: absolute;
  inset: clamp(-11px, -1.02cqw, -4px);
  background:
    linear-gradient(#ffd338, #ffd338) center top / clamp(2px, 0.28cqw, 3px) clamp(4px, 0.83cqw, 9px) no-repeat,
    linear-gradient(#ffd338, #ffd338) center bottom / clamp(2px, 0.28cqw, 3px) clamp(4px, 0.83cqw, 9px) no-repeat,
    linear-gradient(90deg, #ffd338, #ffd338) left center / clamp(4px, 0.83cqw, 9px) clamp(2px, 0.28cqw, 3px) no-repeat,
    linear-gradient(90deg, #ffd338, #ffd338) right center / clamp(4px, 0.83cqw, 9px) clamp(2px, 0.28cqw, 3px) no-repeat;
}

.ziyang-time-card {
  position: absolute;
  top: 1.7%;
  right: 4.9%;
  display: grid;
  justify-items: end;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 18px rgba(3, 52, 84, 0.22);
}

.ziyang-time-card strong {
  font-size: clamp(28px, 7.2cqw, 74px);
  font-weight: 250;
  line-height: 0.98;
}

.ziyang-time-card span {
  margin-top: clamp(3px, 0.65cqw, 7px);
  font-size: clamp(11px, 2.45cqw, 25px);
  font-weight: 400;
}

.ziyang-home-menu {
  position: absolute;
  top: 22.9%;
  bottom: 17.8%;
  left: 3.4%;
  display: grid;
  grid-template-rows: repeat(7, minmax(0, 1fr));
  gap: 2.2%;
  width: 31.5%;
  max-width: 330px;
  clip-path: inset(0 0 0 0 round 24px);
  transform-origin: top center;
  pointer-events: auto;
  transition:
    opacity 0.22s ease,
    clip-path 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, clip-path, transform;
}

.ziyang-menu-toggle {
  position: absolute;
  top: calc(22.9% - clamp(40px, 6.67cqw, 72px));
  left: calc(3.4% + min(31.5%, 330px) / 2 - clamp(37px, 6.11cqw, 66px));
  z-index: 7;
  display: grid;
  width: clamp(74px, 12.22cqw, 132px);
  height: clamp(31px, 5.18cqw, 56px);
  place-items: center;
  border: 1px solid rgba(188, 232, 255, 0.46);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(76, 171, 222, 0.7), rgba(7, 82, 129, 0.82) 54%, rgba(3, 65, 106, 0.88));
  color: #fff;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -12px 20px rgba(0, 45, 79, 0.24),
    0 10px 22px rgba(3, 55, 88, 0.2),
    0 0 0 1px rgba(102, 195, 244, 0.12);
  pointer-events: auto;
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ziyang-menu-toggle:hover {
  filter: brightness(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -12px 20px rgba(0, 45, 79, 0.2),
    0 12px 24px rgba(3, 55, 88, 0.24),
    0 0 0 1px rgba(139, 218, 255, 0.18);
}

.ziyang-menu-toggle span {
  position: relative;
  width: clamp(21px, 3.52cqw, 38px);
  height: clamp(12px, 2.04cqw, 22px);
  border: 0;
  filter: drop-shadow(0 2px 5px rgba(0, 36, 66, 0.34));
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.ziyang-menu-toggle span::before,
.ziyang-menu-toggle span::after {
  content: "";
  position: absolute;
  top: clamp(4px, 0.65cqw, 7px);
  width: clamp(13px, 2.22cqw, 24px);
  height: clamp(3px, 0.46cqw, 5px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ziyang-menu-toggle span::before {
  left: 0;
  transform: rotate(38deg);
  transform-origin: right center;
}

.ziyang-menu-toggle span::after {
  right: 0;
  transform: rotate(-38deg);
  transform-origin: left center;
}

.ziyang-portrait-home[data-ziyang-menu="collapsed"] .ziyang-home-menu {
  opacity: 0 !important;
  pointer-events: none;
  clip-path: inset(0 0 100% 0 round 24px) !important;
  transform: translateY(-88%) scale(0.95) !important;
}

.ziyang-portrait-home[data-ziyang-menu="collapsed"] .ziyang-menu-toggle span {
  transform: translateY(-1px) rotate(180deg) !important;
}

.ziyang-home-menu button {
  display: grid;
  grid-template-columns: 31% 1fr;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0 5.8% 0 6.8%;
  border: 1px solid rgba(215, 242, 255, 0.3);
  border-radius: clamp(12px, 2.22cqw, 24px);
  background: linear-gradient(135deg, rgba(9, 78, 102, 0.78), rgba(4, 58, 82, 0.68));
  color: #fff;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 38px rgba(3, 38, 58, 0.22);
  backdrop-filter: blur(17px);
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.ziyang-home-menu button:hover {
  transform: translateX(clamp(2px, 0.46cqw, 5px));
  filter: brightness(1.08);
  background: linear-gradient(135deg, rgba(12, 91, 119, 0.86), rgba(5, 68, 96, 0.76));
}

.ziyang-home-menu button.is-active {
  border-color: rgba(169, 236, 255, 0.84);
  background: linear-gradient(135deg, rgba(86, 200, 255, 0.76), rgba(41, 152, 210, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 24px rgba(79, 205, 255, 0.62), 0 18px 38px rgba(3, 38, 58, 0.26);
}

.ziyang-home-menu button:active {
  transform: translateX(2px) scale(0.99);
}

.ziyang-home-icon {
  display: grid;
  width: 72%;
  max-width: clamp(29px, 5.93cqw, 64px);
  aspect-ratio: 1;
  place-items: center;
  padding-right: 22%;
  border-right: 1px dashed rgba(234, 249, 255, 0.42);
}

.ziyang-home-icon img {
  width: 64%;
  height: 64%;
  filter: brightness(0) invert(1);
}

.ziyang-home-copy {
  display: grid;
  gap: clamp(2px, 0.37cqw, 4px);
  min-width: 0;
  text-align: left;
}

.ziyang-home-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(10px, 2.38cqw, 25px);
  font-weight: 700;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 3px 12px rgba(0, 34, 58, 0.22);
}

.ziyang-home-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(8px, 1.45cqw, 15px);
  font-weight: 400;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ziyang-menu-arrow {
  position: absolute;
  right: 5.8%;
  display: grid;
  width: clamp(12px, 2.9cqw, 30px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  font-size: clamp(10px, 2.4cqw, 26px);
  line-height: 1;
}

.ziyang-scenic-list,
.ziyang-scenic-detail {
  position: absolute;
  right: 0.6%;
  bottom: 14.2%;
  left: 7.4%;
  z-index: 5;
  border: 1px solid rgba(212, 247, 255, 0.34);
  border-radius: clamp(12px, 2.59cqw, 28px);
  background:
    linear-gradient(180deg, rgba(128, 224, 255, 0.24), rgba(6, 79, 111, 0.16)),
    linear-gradient(135deg, rgba(13, 126, 169, 0.36), rgba(3, 49, 74, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -18px 30px rgba(1, 32, 52, 0.12),
    0 24px 64px rgba(0, 31, 54, 0.26);
  -webkit-backdrop-filter: blur(30px) saturate(1.45);
  backdrop-filter: blur(30px) saturate(1.45);
  pointer-events: auto;
}

.ziyang-scenic-list[hidden],
.ziyang-scenic-detail[hidden],
.ziyang-ticket-modal[hidden] {
  display: none !important;
}

.ziyang-scenic-list {
  padding: clamp(10px, 2.04cqw, 22px) clamp(7px, 1.48cqw, 16px) clamp(6px, 1.3cqw, 14px) clamp(26px, 5.93cqw, 64px);
}

.ziyang-scenic-list header,
.ziyang-scenic-detail header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 1.48cqw, 16px);
}

.ziyang-scenic-list header {
  padding: 0 clamp(3px, 0.74cqw, 8px) clamp(6px, 1.3cqw, 14px) 0;
}

.ziyang-scenic-list h2 {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.93cqw, 10px);
  margin: 0;
  padding: clamp(3px, 0.65cqw, 7px) clamp(8px, 1.67cqw, 18px) clamp(4px, 0.74cqw, 8px) clamp(7px, 1.48cqw, 16px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(115, 224, 255, 0.72), rgba(40, 160, 220, 0.62)),
    rgba(21, 128, 184, 0.52);
  color: #e9fbff;
  font-size: clamp(10px, 2.35cqw, 25px);
  font-weight: 700;
  line-height: 1.08;
  box-shadow: 0 0 18px rgba(86, 214, 255, 0.32);
}

.ziyang-scenic-list h2 span {
  display: grid;
  width: clamp(11px, 2.22cqw, 24px);
  height: clamp(11px, 2.22cqw, 24px);
  place-items: center;
  color: #eaffff;
  font-size: clamp(9px, 1.57cqw, 17px);
  text-shadow: 0 0 12px rgba(104, 213, 255, 0.88);
}

.ziyang-scenic-list header button {
  min-width: clamp(50px, 9.63cqw, 104px);
  padding: clamp(4px, 0.74cqw, 8px) clamp(8px, 1.57cqw, 17px);
  border: 1px solid rgba(222, 248, 255, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(13, 87, 123, 0.5);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(8px, 1.35cqw, 15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 20px rgba(0, 38, 65, 0.18);
}

.ziyang-scenic-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.3cqw, 14px);
  margin-top: 0;
}

.ziyang-scenic-cards article {
  min-width: 0;
}

.ziyang-scenic-cards button {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  aspect-ratio: 0.62;
  overflow: hidden;
  padding: 0 clamp(7px, 1.67cqw, 18px) clamp(8px, 2.04cqw, 22px);
  border: 1px solid rgba(203, 241, 255, 0.24);
  border-radius: clamp(8px, 1.67cqw, 18px);
  background: rgba(2, 40, 63, 0.76);
  color: #fff;
  text-align: left;
  box-shadow: 0 14px 34px rgba(0, 22, 38, 0.26);
}

.ziyang-scenic-cards article.is-selected button {
  border-color: rgba(132, 232, 255, 0.94);
  box-shadow:
    0 0 0 2px rgba(96, 220, 255, 0.54),
    0 0 28px rgba(64, 206, 255, 0.8),
    0 16px 38px rgba(0, 22, 38, 0.3);
}

.ziyang-scenic-cards i {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.24s ease;
}

.ziyang-scenic-cards button:hover i {
  transform: scale(1.05);
}

.ziyang-scenic-cards i::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 24, 42, 0.92));
}

.ziyang-scenic-cards em {
  position: absolute;
  top: clamp(4px, 0.93cqw, 10px);
  right: clamp(4px, 0.93cqw, 10px);
  display: grid;
  width: clamp(15px, 3.15cqw, 34px);
  height: clamp(15px, 3.15cqw, 34px);
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #56bffa;
  font-style: normal;
  font-weight: 800;
}

.ziyang-scenic-cards strong,
.ziyang-scenic-cards small,
.ziyang-scenic-cards b,
.ziyang-scenic-cards p {
  position: relative;
  z-index: 1;
}

.ziyang-scenic-cards strong {
  margin-bottom: clamp(3px, 0.74cqw, 8px);
  font-size: clamp(9px, 2.35cqw, 27px);
  font-weight: 800;
  line-height: 1.04;
}

.ziyang-scenic-cards small {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.37cqw, 4px);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(7px, 1.38cqw, 15px);
}

.ziyang-scenic-cards small img {
  width: clamp(7px, 1.2cqw, 13px);
  height: clamp(7px, 1.2cqw, 13px);
  filter: brightness(0) invert(1);
}

.ziyang-scenic-cards b {
  margin-top: clamp(4px, 1.11cqw, 12px);
  color: #ffd247;
  font-size: clamp(7px, 1.46cqw, 16px);
  font-weight: 650;
}

.ziyang-scenic-cards b span {
  margin-left: clamp(2px, 0.56cqw, 6px);
  color: #fff;
  font-weight: 500;
}

.ziyang-scenic-cards p {
  overflow: hidden;
  margin: clamp(4px, 1.02cqw, 11px) 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(7px, 1.42cqw, 16px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ziyang-scenic-dots {
  display: flex;
  justify-content: center;
  gap: clamp(3px, 0.74cqw, 8px);
  margin-top: clamp(4px, 0.93cqw, 10px);
}

.ziyang-scenic-dots span {
  width: clamp(4px, 0.74cqw, 8px);
  height: clamp(4px, 0.74cqw, 8px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.ziyang-scenic-dots span.is-active {
  width: clamp(12px, 2.59cqw, 28px);
  background: #8ee9ff;
  box-shadow: 0 0 14px rgba(107, 226, 255, 0.75);
}

.ziyang-scenic-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: clamp(25px, 5.18cqw, 56px);
  height: clamp(25px, 5.18cqw, 56px);
  place-items: center;
  border: 1px solid rgba(205, 243, 255, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(115, 218, 255, 0.28), rgba(6, 74, 111, 0.34)),
    rgba(6, 72, 108, 0.6);
  color: #fff;
  font-size: clamp(20px, 4.26cqw, 46px);
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px rgba(0, 31, 54, 0.24);
  transform: translateY(-36%);
}

.ziyang-scenic-nav.prev {
  left: clamp(8px, 1.85cqw, 20px);
}

.ziyang-scenic-nav.next {
  right: clamp(7px, 1.67cqw, 18px);
}

.ziyang-scenic-detail {
  left: 3.4%;
  min-height: 31%;
  padding: clamp(11px, 2.22cqw, 24px) clamp(12px, 2.41cqw, 26px);
}

.ziyang-scenic-detail header {
  align-items: flex-start;
  margin-bottom: clamp(8px, 1.67cqw, 18px);
}

.ziyang-scenic-detail header > button {
  display: grid;
  width: clamp(18px, 3.52cqw, 38px);
  height: clamp(18px, 3.52cqw, 38px);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(16px, 3.15cqw, 34px);
  line-height: 1;
}

.ziyang-scenic-detail h2 {
  margin: 0 0 clamp(4px, 0.83cqw, 9px);
  color: #fff;
  font-size: clamp(22px, 4.6cqw, 42px);
  font-weight: 750;
  line-height: 1.08;
}

.ziyang-scenic-detail header p {
  display: flex;
  gap: clamp(3px, 0.74cqw, 8px);
  margin: 0;
}

.ziyang-scenic-detail header p span {
  padding: clamp(3px, 0.56cqw, 6px) clamp(6px, 1.02cqw, 11px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 2cqw, 17px);
  line-height: 1.1;
}

.ziyang-scenic-detail header p span.is-green {
  background: rgba(42, 196, 120, 0.28);
  color: #6dffb2;
}

.ziyang-scenic-detail header nav {
  display: flex;
  gap: clamp(6px, 1.48cqw, 16px);
}

.ziyang-scenic-detail header nav button {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.56cqw, 6px);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 2cqw, 18px);
  font-weight: 600;
}

.ziyang-scenic-detail header nav img,
.ziyang-scenic-detail dt img {
  width: clamp(14px, 2.22cqw, 22px);
  height: clamp(14px, 2.22cqw, 22px);
  filter: brightness(0) invert(1);
}

.ziyang-detail-body {
  display: grid;
  grid-template-columns: 1.24fr 0.86fr;
  gap: clamp(10px, 2.41cqw, 26px);
}

.ziyang-detail-gallery figure {
  height: clamp(90px, 20.19cqw, 218px);
  margin: 0;
  border-radius: clamp(6px, 1.3cqw, 14px);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -60px 80px rgba(0, 35, 58, 0.28);
}

.ziyang-detail-gallery div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(4px, 0.93cqw, 10px);
  margin-top: clamp(5px, 1.11cqw, 12px);
}

.ziyang-detail-gallery i {
  height: clamp(29px, 6.48cqw, 70px);
  border: 1px solid rgba(220, 248, 255, 0.22);
  border-radius: clamp(4px, 0.93cqw, 10px);
  background-position: center;
  background-size: cover;
}

.ziyang-detail-body aside > p {
  margin: clamp(2px, 0.46cqw, 5px) 0 clamp(9px, 2.04cqw, 22px);
  color: #eefbff;
  font-size: clamp(15px, 2.65cqw, 20px);
  line-height: 1.68;
}

.ziyang-detail-body dl {
  display: grid;
  gap: clamp(7px, 1.67cqw, 18px);
  margin: 0 0 clamp(10px, 2.22cqw, 24px);
}

.ziyang-detail-body dt {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.83cqw, 9px);
  margin-bottom: clamp(2px, 0.37cqw, 4px);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 2.2cqw, 18px);
  font-weight: 650;
}

.ziyang-detail-body dd {
  margin: 0 0 0 clamp(12px, 2.5cqw, 27px);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 2.05cqw, 17px);
  line-height: 1.5;
}

.ziyang-ticket-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.93cqw, 10px);
  width: 100%;
  min-height: clamp(24px, 5.37cqw, 58px);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc34d, #ff9d19);
  color: #fff;
  font-size: clamp(18px, 2.8cqw, 28px);
  font-weight: 800;
  box-shadow: 0 0 26px rgba(255, 172, 36, 0.56);
}

.ziyang-ticket-button img {
  width: clamp(18px, 2.8cqw, 28px);
  height: clamp(18px, 2.8cqw, 28px);
  filter: brightness(0) invert(1);
}

.ziyang-ticket-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: auto;
}

.ziyang-ticket-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 39, 0.68);
  backdrop-filter: blur(4px);
}

.ziyang-ticket-card {
  position: absolute;
  top: 25%;
  left: 50%;
  width: min(54%, 520px);
  transform: translateX(-50%);
  padding: clamp(14px, 3.15cqw, 34px) clamp(16px, 3.52cqw, 38px) clamp(12px, 2.59cqw, 28px);
  border: 1px solid rgba(190, 236, 255, 0.34);
  border-radius: clamp(10px, 2.04cqw, 22px);
  background: linear-gradient(145deg, rgba(8, 74, 105, 0.95), rgba(2, 45, 72, 0.95));
  color: #fff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 24px 90px rgba(0, 12, 24, 0.48);
}

.ziyang-ticket-close {
  position: absolute;
  top: clamp(7px, 1.67cqw, 18px);
  right: clamp(8px, 1.85cqw, 20px);
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 2.96cqw, 32px);
  line-height: 1;
}

.ziyang-ticket-card h2 {
  margin: 0 0 clamp(5px, 1.11cqw, 12px);
  font-size: clamp(13px, 3cqw, 32px);
  font-weight: 700;
}

.ziyang-ticket-card p {
  margin: 0 0 clamp(10px, 2.22cqw, 24px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(8px, 1.5cqw, 16px);
}

.ziyang-ticket-qr {
  position: relative;
  width: clamp(96px, 21.85cqw, 236px);
  height: clamp(96px, 21.85cqw, 236px);
  margin: 0 auto clamp(7px, 1.67cqw, 18px);
  padding: clamp(4px, 0.93cqw, 10px);
  border-radius: clamp(6px, 1.3cqw, 14px);
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 20, 35, 0.28);
}

.ziyang-ticket-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ziyang-ticket-qr span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(21px, 4.81cqw, 52px);
  height: clamp(21px, 4.81cqw, 52px);
  place-items: center;
  transform: translate(-50%, -50%);
  border: clamp(2px, 0.46cqw, 5px) solid #fff;
  border-radius: clamp(4px, 0.93cqw, 10px);
  background: #1aad19;
  color: #fff;
  font-size: clamp(7px, 1.3cqw, 14px);
  font-weight: 800;
}

.ziyang-ticket-card > strong {
  display: block;
  margin-bottom: clamp(7px, 1.48cqw, 16px);
  font-size: clamp(8px, 1.75cqw, 18px);
}

.ziyang-ticket-card > small {
  display: block;
  padding: clamp(6px, 1.3cqw, 14px) 0 clamp(8px, 1.85cqw, 20px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(7px, 1.35cqw, 15px);
}

.ziyang-ticket-card > small b {
  color: #ffb12e;
  font-weight: 700;
}

.ziyang-ticket-card footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 1.11cqw, 12px);
  margin-top: clamp(8px, 1.85cqw, 20px);
}

.ziyang-ticket-card footer span {
  display: grid;
  justify-items: center;
  gap: clamp(2px, 0.56cqw, 6px);
  color: #fff;
  font-size: clamp(7px, 1.2cqw, 13px);
}

.ziyang-ticket-card footer img {
  width: clamp(14px, 2.96cqw, 32px);
  height: clamp(14px, 2.96cqw, 32px);
  filter: brightness(0) invert(1);
}

.ziyang-ticket-card footer small {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(6px, 1.05cqw, 12px);
}

.ziyang-speech-guide {
  position: absolute;
  right: 2.6%;
  bottom: 5.55%;
  left: 2.8%;
  display: flex;
  align-items: center;
  gap: clamp(5px, 1.11cqw, 12px);
  min-height: clamp(40px, 7.59cqw, 82px);
  padding: 0 clamp(11px, 2.22cqw, 24px) 0 clamp(54px, 10.37cqw, 112px);
  border: 1px solid rgba(177, 226, 255, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(10, 91, 137, 0.94), rgba(3, 57, 92, 0.94)),
    linear-gradient(135deg, rgba(4, 76, 112, 0.92), rgba(3, 48, 77, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -10px 18px rgba(0, 33, 56, 0.18),
    0 16px 38px rgba(1, 37, 62, 0.26);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.ziyang-speech-guide > span {
  display: none;
}

.ziyang-speech-guide strong,
.ziyang-speech-guide button {
  color: #fff;
  font-size: clamp(10px, 2.05cqw, 22px);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 34, 55, 0.24);
}

.ziyang-speech-guide strong {
  flex: 0 0 auto;
  margin-right: clamp(2px, 0.56cqw, 6px);
  white-space: nowrap;
}

.ziyang-speech-guide button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 196px;
  overflow: hidden;
  height: clamp(22px, 3.89cqw, 42px);
  padding: 0 clamp(8px, 1.67cqw, 18px);
  border: 1px solid rgba(188, 228, 255, 0.28);
  border-radius: clamp(8px, 1.39cqw, 15px);
  background: linear-gradient(180deg, rgba(28, 112, 162, 0.48), rgba(8, 75, 122, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ziyang-voice-input-text {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(10px, 1.55cqw, 17px);
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ziyang-voice-input-text.is-speaking {
  display: block;
  max-width: none;
  color: #e9fbff;
  text-shadow: 0 0 14px rgba(117, 220, 255, 0.42);
}

.ziyang-voice-input-text.is-speaking ~ strong,
.ziyang-voice-input-text.is-speaking ~ button,
.ziyang-voice-input-text.is-speaking ~ i {
  display: none;
}

body.is-voice-open .ziyang-speech-guide strong,
body.is-voice-open .ziyang-speech-guide button,
body.is-voice-open .ziyang-speech-guide i {
  display: none;
}

.ziyang-speech-guide button:hover {
  border-color: rgba(214, 244, 255, 0.42);
  color: #f2fdff;
  background: linear-gradient(180deg, rgba(42, 137, 187, 0.54), rgba(11, 82, 130, 0.36));
}

.ziyang-speech-guide i {
  flex: 0 0 1px;
  width: 1px;
  height: clamp(22px, 3.89cqw, 42px);
  margin: 0 clamp(1px, 0.19cqw, 2px);
  background: rgba(234, 249, 255, 0.34);
}

body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .mic-fab {
  top: auto;
  right: auto;
  bottom: calc(5.55% + clamp(4px, 0.83cqw, 9px));
  left: calc(2.8% + clamp(12px, 2.22cqw, 24px));
  z-index: 6;
  width: clamp(31px, 5.93cqw, 64px);
  height: clamp(31px, 5.93cqw, 64px);
  border: 0;
  background: linear-gradient(180deg, rgba(51, 139, 190, 0.58), rgba(16, 91, 139, 0.64));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 14px rgba(0, 37, 63, 0.16);
}

body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .mic-fab svg {
  width: clamp(20px, 3.8cqw, 41px);
  height: clamp(20px, 3.8cqw, 41px);
  stroke: #fff;
  stroke-width: 2.35;
}

body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .mic-fab.active {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12), 0 0 32px rgba(125, 226, 255, 0.55);
}

@media (max-width: 760px), (max-height: 820px) {
  .ziyang-weather-card {
    border-radius: clamp(14px, 2.04cqw, 22px);
  }

  .ziyang-menu-toggle {
    top: calc(22.9% - clamp(34px, 6.3cqw, 68px));
    left: calc(3.4% + min(31.5%, 330px) / 2 - clamp(28px, 5.19cqw, 56px));
    width: clamp(56px, 10.37cqw, 112px);
    height: clamp(26px, 4.44cqw, 48px);
  }

  .ziyang-home-menu button {
    border-radius: clamp(10px, 1.85cqw, 20px);
  }

  .ziyang-speech-guide {
    min-height: clamp(34px, 5.19cqw, 56px);
    padding-left: clamp(46px, 7.04cqw, 76px);
    border-radius: clamp(16px, 1.85cqw, 20px);
  }

  body[data-ui-template="ziyang-pavilion-purple"] .front-stage.has-ziyang-portrait-home .mic-fab {
    left: calc(3.4% + clamp(12px, 1.85cqw, 20px));
    bottom: calc(5.9% + clamp(4px, 0.65cqw, 7px));
    width: clamp(28px, 3.89cqw, 42px);
    height: clamp(28px, 3.89cqw, 42px);
  }

  .ziyang-speech-guide i {
    margin: 0 clamp(2px, 0.56cqw, 6px);
  }
}

/* Ziyang Pavilion 1920x1080 landscape digital human theme */
body[data-ui-template="ziyang-landscape-pavilion"] {
  --accent: #8f58ff;
  --accent-2: #d7b46a;
  --line: rgba(214, 180, 255, 0.28);
  --text-soft: rgba(232, 225, 255, 0.74);
  background: #070916;
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-stage {
  width: min(100vw, calc(100dvh * 16 / 9));
  height: min(100dvh, calc(100vw * 9 / 16));
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 48% 46%, rgba(143, 88, 255, 0.26), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(215, 180, 106, 0.16), transparent 24%),
    linear-gradient(135deg, #101331 0%, #070916 62%, #160f2c 100%);
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 9, 22, 0.86) 0%, rgba(7, 9, 22, 0.32) 28%, transparent 47%, rgba(7, 9, 22, 0.48) 72%, rgba(7, 9, 22, 0.86) 100%),
    linear-gradient(rgba(214, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 180, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-stage video {
  left: 27%;
  width: 46%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 58px rgba(5, 6, 20, 0.62));
}

body[data-ui-template="ziyang-landscape-pavilion"] .video-loading {
  background:
    radial-gradient(circle at 50% 46%, rgba(143, 88, 255, 0.24), transparent 26%),
    linear-gradient(135deg, #101331, #070916 68%);
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-shade {
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(5, 7, 18, 0.5), transparent 30%),
    linear-gradient(to top, rgba(5, 7, 18, 0.72), transparent 46%);
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-top {
  z-index: 3;
  top: 30px;
  left: 38px;
  right: 38px;
  align-items: flex-start;
}

body[data-ui-template="ziyang-landscape-pavilion"] .brand-mark {
  min-width: 280px;
  padding: 13px 18px;
  border-color: rgba(214, 180, 255, 0.3);
  background: linear-gradient(135deg, rgba(18, 20, 48, 0.84), rgba(62, 39, 107, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 54px rgba(4, 5, 20, 0.34);
  font-size: 16px;
}

body[data-ui-template="ziyang-landscape-pavilion"] .mark-dot {
  background: #d7b46a;
  box-shadow: 0 0 18px rgba(215, 180, 106, 0.78);
}

body[data-ui-template="ziyang-landscape-pavilion"] .ziyang-clock {
  display: grid;
  justify-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 250, 232, 0.94);
  text-shadow: 0 10px 34px rgba(143, 88, 255, 0.56);
}

body[data-ui-template="ziyang-landscape-pavilion"] .ziyang-clock strong {
  font-size: 34px;
  font-weight: 500;
}

body[data-ui-template="ziyang-landscape-pavilion"] .ziyang-clock span {
  font-size: 12px;
}

body[data-ui-template="ziyang-landscape-pavilion"] .front-actions {
  display: flex;
}

body[data-ui-template="ziyang-landscape-pavilion"] .context-chip,
body[data-ui-template="ziyang-landscape-pavilion"] .admin-link,
body[data-ui-template="ziyang-landscape-pavilion"] .icon-button {
  border-color: rgba(214, 180, 255, 0.26);
  background: rgba(13, 15, 35, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body[data-ui-template="ziyang-landscape-pavilion"] .caption-layer {
  z-index: 3;
  left: clamp(34px, 4vw, 76px);
  right: auto;
  bottom: clamp(36px, 6vh, 72px);
  width: min(35vw, 560px);
  max-width: 560px;
}

body[data-ui-template="ziyang-landscape-pavilion"] .transcript-card {
  width: 100%;
  max-height: 46vh;
}

body[data-ui-template="ziyang-landscape-pavilion"] .messages {
  gap: 12px;
}

body[data-ui-template="ziyang-landscape-pavilion"] .message {
  max-width: 100%;
  border-radius: 0;
  font-size: clamp(14px, 1.05vw, 18px);
}

body[data-ui-template="ziyang-landscape-pavilion"] .message.assistant,
body[data-ui-template="ziyang-landscape-pavilion"] .message.user {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-ui-template="ziyang-landscape-pavilion"] .message-body {
  border: 1px solid rgba(214, 180, 255, 0.28);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17, 20, 52, 0.86), rgba(63, 42, 105, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 46px rgba(4, 5, 20, 0.35);
  backdrop-filter: blur(16px);
}

body[data-ui-template="ziyang-landscape-pavilion"] .message.user .message-body {
  border-color: rgba(215, 180, 106, 0.32);
  background: linear-gradient(135deg, rgba(116, 76, 204, 0.88), rgba(63, 42, 105, 0.78));
}

body[data-ui-template="ziyang-landscape-pavilion"] .voice-preview {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 9px 13px;
  border: 1px solid rgba(214, 180, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 15, 35, 0.58);
  color: rgba(238, 232, 255, 0.74);
  backdrop-filter: blur(12px);
}

body[data-ui-template="ziyang-landscape-pavilion"] .conversation-hints {
  position: absolute;
  z-index: 3;
  left: clamp(34px, 4vw, 76px);
  bottom: clamp(236px, 34vh, 360px);
  display: grid;
  gap: 7px;
  color: rgba(238, 232, 255, 0.75);
  font-size: 12px;
  pointer-events: none;
}

body[data-ui-template="ziyang-landscape-pavilion"] .conversation-hints span {
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(214, 180, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 15, 35, 0.5);
  backdrop-filter: blur(12px);
}

body[data-ui-template="ziyang-landscape-pavilion"] .quick-question-bar {
  position: absolute;
  z-index: 3;
  top: 138px;
  right: clamp(34px, 4vw, 76px);
  left: auto;
  display: grid;
  width: min(24vw, 380px);
  gap: 12px;
  grid-template-columns: 1fr;
}

body[data-ui-template="ziyang-landscape-pavilion"] .quick-question-bar button {
  min-height: 82px;
  padding: 12px 14px;
  border-color: rgba(214, 180, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(17, 20, 52, 0.82), rgba(63, 42, 105, 0.62));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 42px rgba(4, 5, 20, 0.28);
}

body[data-ui-template="ziyang-landscape-pavilion"] .quick-reply-icon {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(143, 88, 255, 0.9), rgba(215, 180, 106, 0.68));
}

body[data-ui-template="ziyang-landscape-pavilion"] .mic-fab {
  z-index: 4;
  right: clamp(40px, 4.5vw, 86px);
  bottom: clamp(34px, 5vh, 62px);
  width: 82px;
  height: 82px;
  border-color: rgba(215, 180, 106, 0.46);
  background: radial-gradient(circle, rgba(143, 88, 255, 0.96), rgba(46, 32, 102, 0.94));
  box-shadow: 0 0 0 10px rgba(143, 88, 255, 0.1), 0 20px 54px rgba(4, 5, 20, 0.42);
}

body[data-ui-template="ziyang-landscape-pavilion"] .mic-fab.active {
  border-color: rgba(255, 226, 159, 0.82);
  box-shadow: 0 0 0 12px rgba(215, 180, 106, 0.12), 0 22px 62px rgba(143, 88, 255, 0.52);
}

@media (max-aspect-ratio: 4 / 3) {
  body[data-ui-template="ziyang-landscape-pavilion"] .front-stage {
    width: min(100vw, calc(100dvh * 9 / 16));
    height: min(100dvh, calc(100vw * 16 / 9));
    aspect-ratio: 9 / 16;
  }

  body[data-ui-template="ziyang-landscape-pavilion"] .front-stage video {
    left: 0;
    width: 100%;
  }

  body[data-ui-template="ziyang-landscape-pavilion"] .front-top {
    left: 26px;
    right: 26px;
  }

  body[data-ui-template="ziyang-landscape-pavilion"] .caption-layer {
    left: 28px;
    right: 28px;
    bottom: 130px;
    width: auto;
  }

  body[data-ui-template="ziyang-landscape-pavilion"] .quick-question-bar {
    left: 28px;
    right: 28px;
    top: 94px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-ui-template="ziyang-landscape-pavilion"] .conversation-hints {
    display: none;
  }
}

/* 云梦仙境景区 1920x1080 横屏大屏主题 */
body[data-ui-template="scenic-landscape-screen"] {
  --accent: #2e8fe8;
  --accent-2: #69d5d0;
  --line: rgba(255, 255, 255, 0.42);
  --text-soft: rgba(35, 77, 122, 0.72);
  background: #0b4f91;
}

body[data-ui-template="scenic-landscape-screen"] .front-stage {
  width: 100vw;
  height: 100dvh;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(13, 85, 145, 0.08)),
    url("/assets/scenic-landscape-background.png");
  background-position: center;
  background-size: cover;
}

body[data-ui-template="scenic-landscape-screen"] .front-stage::before {
  content: "云梦仙境景区";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 36%, rgba(16, 91, 151, 0.04) 78%, rgba(8, 65, 120, 0.08)),
    linear-gradient(90deg, rgba(255,255,255,0.06), transparent 18%, transparent 82%, rgba(255,255,255,0.06));
}

body[data-ui-template="scenic-landscape-screen"] .front-stage video {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .video-loading {
  background: linear-gradient(180deg, #4aa4ee, #d8f0ff 58%, #2b78b6);
  color: #143966;
}

body[data-ui-template="scenic-landscape-screen"] .front-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 92, 170, 0.04), transparent 25%),
    linear-gradient(0deg, rgba(7, 88, 145, 0.08), transparent 38%);
}

body[data-ui-template="scenic-landscape-screen"] .front-top {
  z-index: 5;
  top: 30px;
  left: 32px;
  right: 32px;
  display: flex;
  align-items: flex-start;
}

body[data-ui-template="scenic-landscape-screen"] .brand-mark,
body[data-ui-template="scenic-landscape-screen"] .front-actions {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-brand {
  display: flex;
  order: 1;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(25, 80, 132, 0.32);
}

.landscape-logo-mark {
  position: relative;
  width: 82px;
  height: 62px;
  flex: 0 0 82px;
  border-right: 1px solid rgba(255,255,255,0.72);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-logo-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 56px;
  height: 50px;
  background: #fff;
  -webkit-mask: url("/assets/iconify/lucide/mountain.svg") center / contain no-repeat;
  mask: url("/assets/iconify/lucide/mountain.svg") center / contain no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-brand strong {
  display: block;
  font-size: clamp(25px, 2.15vw, 38px);
  font-weight: 800;
  line-height: 1.1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-brand small {
  display: block;
  margin-top: 6px;
  font-size: clamp(12px, 0.95vw, 16px);
}

body[data-ui-template="scenic-landscape-screen"] .ziyang-clock {
  display: grid;
  order: 3;
  position: static;
  transform: none;
  justify-items: start;
  margin-left: 24px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(27, 91, 146, 0.35);
}

body[data-ui-template="scenic-landscape-screen"] .ziyang-clock strong {
  font-size: clamp(34px, 2.6vw, 52px);
  font-weight: 500;
  line-height: 1;
}

body[data-ui-template="scenic-landscape-screen"] .ziyang-clock span {
  order: -1;
  margin-bottom: 3px;
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-meta {
  display: flex;
  order: 2;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  color: #fff;
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 700;
  text-shadow: 0 3px 14px rgba(27, 91, 146, 0.35);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-meta span:last-child {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-welcome {
  position: absolute;
  z-index: 4;
  top: 17.4%;
  left: 3.8%;
  display: block;
  color: #123d73;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-welcome h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 3.9vw, 70px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-welcome p {
  margin: 0;
  font-size: clamp(23px, 1.9vw, 34px);
  line-height: 1.55;
  font-weight: 600;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-search {
  position: absolute;
  z-index: 4;
  top: 38.4%;
  left: 3.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(25vw, 420px);
  height: 56px;
  padding: 0 66px 0 24px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  color: rgba(42, 88, 133, 0.62);
  box-shadow: 0 14px 30px rgba(38, 106, 160, 0.15);
  backdrop-filter: blur(14px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-search i {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #2b5c99;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-search i::before {
  content: "";
  display: block;
  width: 18px;
  height: 24px;
  margin: 8px auto;
  border: 4px solid #fff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel {
  position: absolute;
  z-index: 4;
  top: 16.6%;
  right: 3.8%;
  display: grid;
  gap: 12px;
  width: min(24vw, 470px);
  padding: 20px 24px 18px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 20px;
  background: rgba(241, 248, 255, 0.72);
  color: #153d6f;
  box-shadow: 0 18px 54px rgba(41, 109, 164, 0.22);
  backdrop-filter: blur(18px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel header,
body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-section header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #143d6d;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel header strong,
body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-section header strong {
  font-size: 20px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel header span,
body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-section header span {
  color: rgba(42, 88, 133, 0.72);
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #7bb7ec;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel time {
  color: rgba(42, 88, 133, 0.62);
  font-size: 13px;
  white-space: nowrap;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel article {
  min-height: 96px;
  padding: 18px 22px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(226, 243, 255, 0.96) 0 42%, rgba(226, 243, 255, 0.32) 62%, rgba(226, 243, 255, 0.1)),
    url("/assets/scenic-landscape-background.png");
  background-position: center 56%;
  background-size: cover;
  color: #13558a;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel article strong {
  display: block;
  max-width: 46%;
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.15;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel article small {
  display: block;
  max-width: 42%;
  margin-bottom: 12px;
  line-height: 1.25;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel article button {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: #1c7eaa;
  color: #fff;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar {
  position: absolute;
  z-index: 4;
  left: 3.7%;
  right: 3.7%;
  top: auto;
  bottom: 98px;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px;
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button {
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: 148px;
  padding: 18px 12px 15px;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(71, 200, 184, 0.78), rgba(27, 122, 213, 0.82));
  color: #fff;
  box-shadow: 0 16px 38px rgba(35, 104, 168, 0.2), inset 0 1px 0 rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button:nth-child(3) {
  background: linear-gradient(145deg, rgba(172, 117, 247, 0.82), rgba(98, 94, 222, 0.86));
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button:nth-child(4),
body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button:nth-child(5) {
  background: linear-gradient(145deg, rgba(255, 194, 116, 0.85), rgba(235, 126, 72, 0.86));
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button:nth-child(7) {
  background: linear-gradient(145deg, rgba(92, 210, 179, 0.84), rgba(35, 161, 187, 0.82));
}

body[data-ui-template="scenic-landscape-screen"] .quick-question-bar button:nth-child(8) {
  background: linear-gradient(145deg, rgba(111, 132, 245, 0.86), rgba(47, 106, 204, 0.86));
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 0;
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-icon img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 14px rgba(19, 76, 132, 0.18));
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-text {
  justify-items: center;
  text-align: center;
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-text strong {
  font-size: clamp(18px, 1.35vw, 28px);
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-text small {
  color: rgba(255,255,255,0.92);
  font-size: clamp(12px, 0.85vw, 16px);
}

body[data-ui-template="scenic-landscape-screen"] .quick-reply-arrow {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-section {
  position: absolute;
  z-index: 4;
  bottom: 8.9%;
  display: grid;
  gap: 14px;
  padding: 14px 22px 16px;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 14px;
  background: rgba(241, 248, 255, 0.78);
  box-shadow: 0 14px 38px rgba(40, 108, 165, 0.16);
  backdrop-filter: blur(16px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hot-spots {
  left: 2.4%;
  width: 44.8%;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-routes {
  right: 2.4%;
  width: 49.2%;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list article {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #153d6f;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list i {
  display: block;
  height: 68px;
  border-radius: 8px;
  background: url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list article:nth-child(2) i { background-image: url("/assets/scenic-guide/waterfall.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-card-list article:nth-child(3) i { background-image: url("/assets/scenic-guide/view-platform.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-card-list article:nth-child(4) i { background-image: url("/assets/scenic-guide/flower-valley.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-card-list article:nth-child(5) i { background-image: url("/assets/scenic-guide/sky-walk.png"); }

body[data-ui-template="scenic-landscape-screen"] .landscape-hot-spots .landscape-card-list i {
  background-size: cover;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-card-list small {
  color: #315d8f;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-footer {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  grid-template-columns: 180px 180px 1fr 210px 240px;
  align-items: center;
  min-height: 72px;
  padding: 0 46px;
  background: linear-gradient(90deg, #0c4b83, #0c5591 50%, #063d73);
  color: #fff;
  box-shadow: 0 -12px 34px rgba(3, 57, 100, 0.22);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-footer strong {
  justify-self: center;
  font-size: 18px;
  font-weight: 600;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-footer span {
  position: relative;
  padding-left: 42px;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-footer span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-footer small {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .caption-layer,
body[data-ui-template="scenic-landscape-screen"] .conversation-hints {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .mic-fab {
  z-index: 6;
  left: calc(3.8% + min(25vw, 420px) - 52px);
  top: calc(38.4% + 6px);
  right: auto;
  bottom: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #2b5c99;
  box-shadow: 0 10px 24px rgba(38, 98, 151, 0.2);
}

body[data-ui-template="scenic-landscape-screen"] .mic-fab svg {
  width: 24px;
  height: 24px;
}

body[data-ui-template="scenic-landscape-screen"] .mic-fab.active {
  background: #1d78c4;
  box-shadow: 0 0 0 9px rgba(45, 143, 232, 0.2), 0 10px 24px rgba(38, 98, 151, 0.26);
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .front-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-welcome,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-search,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-notice-panel,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .quick-question-bar,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-scenic-section,
body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-service-footer {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-service-footer,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-service-footer {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-ai-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-route-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-ticket-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-service-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-events-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-hotel-view,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-food-view {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 300px 1fr;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(215, 239, 255, 0.86) 0 300px, rgba(255, 255, 255, 0.1) 300px 100%),
    url("/assets/scenic-guide/guide-page-background.png") center / cover no-repeat;
  color: #123d73;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-ai-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-route-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-ticket-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-service-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-events-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-hotel-view::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-food-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(31, 119, 188, 0.04));
  pointer-events: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-sidebar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: 30px 34px 104px;
  background: linear-gradient(180deg, rgba(226, 246, 255, 0.66), rgba(205, 234, 249, 0.34));
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.42);
  backdrop-filter: blur(18px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  color: #082852;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-logo strong {
  display: block;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-logo small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #123d73;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-logo .landscape-logo-mark {
  width: 50px;
  height: 54px;
  flex-basis: 50px;
  border-right: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-logo .landscape-logo-mark::before {
  top: 5px;
  width: 46px;
  height: 44px;
  background: linear-gradient(135deg, #2fb9b3, #1687b0);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 14px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.58);
  color: #0d3260;
  text-align: left;
  box-shadow: 0 10px 24px rgba(48, 113, 168, 0.08), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #44ccb9, #2fb0ea);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.74);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button.is-active {
  border-color: rgba(255,255,255,0.74);
  background: linear-gradient(135deg, rgba(43, 191, 189, 0.96), rgba(32, 151, 215, 0.94));
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 116, 177, 0.18), inset 0 1px 0 rgba(255,255,255,0.35);
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-nav button.is-active,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-nav button.is-active,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-nav button.is-active {
  background: linear-gradient(135deg, rgba(143, 128, 255, 0.96), rgba(98, 116, 242, 0.94));
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-nav button.is-active {
  background: linear-gradient(135deg, rgba(84, 165, 255, 0.96), rgba(67, 111, 235, 0.94));
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-nav button.is-active,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-nav button.is-active {
  background: linear-gradient(135deg, rgba(255, 158, 76, 0.96), rgba(242, 104, 49, 0.94));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav img {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 10px;
  background: transparent;
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(11, 70, 124, 0.18));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(3)::before {
  background: linear-gradient(135deg, #38bef1, #1e94e4);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(4)::before,
body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(9)::before {
  background: linear-gradient(135deg, #9b8cff, #6b73f2);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(5)::before,
body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(6)::before {
  background: linear-gradient(135deg, #ffbd55, #ff7648);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(7)::before {
  background: linear-gradient(135deg, #6bb8ff, #4e80ff);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button:nth-of-type(8)::before {
  background: linear-gradient(135deg, #54d1b6, #21b89e);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button.is-active::after {
  content: "›";
  justify-self: end;
  color: rgba(255,255,255,0.86);
  font-size: 26px;
  line-height: 1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav small {
  display: block;
  margin-top: 4px;
  color: #284c78;
  font-size: 12px;
  font-weight: 600;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-nav button.is-active small {
  color: rgba(255,255,255,0.88);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 90px 1fr auto auto;
  padding: 0 36px 110px 38px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(30, 82, 140, 0.32);
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-top,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-top {
  padding-right: 72px;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-top::before,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-top::before {
  margin-right: auto;
  padding-left: 48px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(28, 80, 138, 0.38);
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-top::after,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-top::after {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.86);
  filter: drop-shadow(0 8px 18px rgba(28, 80, 138, 0.32));
  -webkit-mask: var(--landscape-page-icon) center / contain no-repeat;
  mask: var(--landscape-page-icon) center / contain no-repeat;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/map-pin.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-top::before {
  content: "景点导览";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/message-circle.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .landscape-guide-top::before {
  content: "智能问答";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/route.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-route .landscape-guide-top::before {
  content: "路线规划";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/ticket.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .landscape-guide-top::before {
  content: "票务服务";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/hand-heart.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-service .landscape-guide-top::before {
  content: "服务中心";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/flag.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-events .landscape-guide-top::before {
  content: "活动资讯";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/building-2.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .landscape-guide-top::before {
  content: "酒店住宿";
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-top {
  --landscape-page-icon: url("/assets/iconify/lucide/utensils.svg");
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-food .landscape-guide-top::before {
  content: "美食推荐";
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-top span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-top img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-top strong {
  font-size: 42px;
  font-weight: 500;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-top em {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.22);
  font-style: normal;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-hero {
  position: absolute;
  z-index: 4;
  left: 38px;
  top: 24px;
  width: 260px;
  color: #123d73;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-copy h1 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding-left: 0;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(28, 80, 138, 0.38);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-copy h1::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: rgba(255,255,255,0.86);
  -webkit-mask: url("/assets/iconify/lucide/map-pin.svg") center / contain no-repeat;
  mask: url("/assets/iconify/lucide/map-pin.svg") center / contain no-repeat;
  filter: drop-shadow(0 8px 18px rgba(28, 80, 138, 0.32));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-copy h1::after {
  content: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-copy p {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .landscape-guide-copy {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-assistant {
  position: relative;
  width: 244px;
  height: 600px;
  margin-top: 318px;
  overflow: hidden;
  filter: drop-shadow(0 22px 42px rgba(45, 96, 140, 0.18));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-assistant video {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  opacity: 1;
  transition: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 90px 1fr;
  min-width: 0;
  padding: 0 30px 34px 38px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 330px;
  gap: 22px;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-persona {
  position: relative;
  min-width: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-title {
  color: #123d73;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-title h1 {
  margin: 28px 0 8px;
  font-size: 36px;
  line-height: 1.1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-title p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-greeting {
  position: absolute;
  z-index: 2;
  top: 102px;
  left: 0;
  width: 168px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  background: rgba(247, 252, 255, 0.82);
  color: #123d73;
  box-shadow: 0 14px 34px rgba(47, 105, 158, 0.12), inset 0 1px 0 rgba(255,255,255,0.68);
  backdrop-filter: blur(16px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-greeting p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-assistant {
  position: absolute;
  left: 18px;
  top: 216px;
  width: 252px;
  height: 575px;
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel,
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-side-panel {
  border: 1px solid rgba(255,255,255,0.62);
  background: rgba(244, 250, 255, 0.78);
  box-shadow: 0 18px 44px rgba(47, 105, 158, 0.16), inset 0 1px 0 rgba(255,255,255,0.66);
  backdrop-filter: blur(20px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel {
  display: grid;
  grid-template-rows: 82px 1fr 86px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 16px;
  border-bottom: 1px solid rgba(59, 126, 184, 0.14);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel h2 {
  margin: 0;
  color: #123d73;
  font-size: 28px;
  line-height: 1.05;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel small {
  display: block;
  margin-top: 6px;
  color: #1487a9;
  font-size: 14px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-chat-panel > header button {
  border: 0;
  border-radius: 10px;
  padding: 9px 13px;
  background: rgba(231, 244, 255, 0.88);
  color: #1f679f;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-thread {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 20px 26px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-user-bubble {
  justify-self: end;
  width: fit-content;
  max-width: 72%;
  margin: 0;
  padding: 12px 18px 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2fc0c6, #159fbd);
  color: #fff;
  box-shadow: 0 12px 24px rgba(20, 140, 174, 0.2);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-user-bubble p,
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-user-bubble time,
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card time {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  text-align: right;
  opacity: 0.74;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcf8f, #fff2d7);
  color: #0f5a8a;
  font-size: 12px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card > div {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 14px;
  background: rgba(255,255,255,0.84);
  color: #174a82;
  box-shadow: 0 12px 28px rgba(47, 105, 158, 0.12);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card.is-loading > div {
  color: #507da6;
  background: rgba(255,255,255,0.7);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card.is-loading p::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 10px;
  margin-left: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,192,198,0.2), rgba(47,192,198,0.82), rgba(47,192,198,0.2));
  animation: landscapeAiThinking 1s ease-in-out infinite;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card.is-error > span {
  background: linear-gradient(135deg, #ffd5d5, #fff0f0);
  color: #bc2d2d;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card.is-error > div {
  border-color: rgba(255, 122, 122, 0.45);
  color: #a82828;
  background: rgba(255, 246, 246, 0.9);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-answer-card.compact > div {
  max-width: 78%;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-sources span {
  display: inline-flex;
  align-items: center;
  max-width: 190px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(35, 143, 221, 0.12);
  color: #1e659b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: rgba(231, 243, 255, 0.9);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list i {
  display: block;
  height: 72px;
  background: url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figure:nth-child(2) i { background-image: url("/assets/scenic-guide/waterfall.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figure:nth-child(3) i { background-image: url("/assets/scenic-guide/view-platform.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figure:nth-child(4) i { background-image: url("/assets/scenic-guide/flower-valley.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figure:nth-child(5) i { background-image: url("/assets/scenic-guide/sky-walk.png"); }

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list figcaption {
  display: grid;
  gap: 4px;
  padding: 9px 8px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list strong {
  color: #0f4b91;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-scenic-list small {
  margin: 0;
  color: #345f8e;
  font-size: 11px;
  line-height: 1.35;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input {
  display: grid;
  grid-template-columns: 50px 1fr 44px 96px;
  gap: 12px;
  align-items: center;
  margin: 0 18px 18px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input span {
  color: #85a8c8;
  font-size: 15px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-question {
  width: 100%;
  min-width: 0;
  height: 44px;
  max-height: 96px;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: #174a82;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  padding: 11px 4px 8px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-question::placeholder {
  color: #85a8c8;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input button {
  display: grid;
  place-items: center;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #e7f3ff;
  color: #0f5a8a;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input button:first-child,
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input button:last-child {
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input button:disabled,
body[data-ui-template="scenic-landscape-screen"] .landscape-ai-question:disabled {
  cursor: wait;
  opacity: 0.58;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-input img {
  width: 22px;
  height: 22px;
}

@keyframes landscapeAiThinking {
  0%, 100% { transform: translateY(1px); opacity: 0.4; }
  50% { transform: translateY(-1px); opacity: 1; }
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-rail {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 1.05fr;
  gap: 18px;
  min-width: 0;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-side-panel {
  overflow: hidden;
  border-radius: 18px;
  padding: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-side-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-side-panel header strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-side-panel header span {
  color: #1685b1;
  font-size: 13px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  color: #234f82;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38b7d8;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices time {
  color: #6d8caf;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices article {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 20px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(226, 248, 255, 0.96) 0 42%, rgba(226, 248, 255, 0.46)),
    url("/assets/scenic-guide/waterfall.png") right center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices article strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices article small {
  margin-top: 8px;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-notices article button {
  width: fit-content;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-hot {
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-hot button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255,255,255,0.62);
  color: #244f82;
  text-align: left;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ai-hot button::after {
  content: "›";
  color: #61a2cc;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 90px 1fr;
  min-width: 0;
  padding: 0 30px 34px 38px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  gap: 22px;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-persona {
  position: relative;
  min-width: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-greeting {
  position: absolute;
  z-index: 2;
  top: 108px;
  left: 0;
  width: 168px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  background: rgba(247, 252, 255, 0.82);
  color: #123d73;
  box-shadow: 0 14px 34px rgba(47, 105, 158, 0.12), inset 0 1px 0 rgba(255,255,255,0.68);
  backdrop-filter: blur(16px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-greeting p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-assistant {
  position: absolute;
  left: -18px;
  top: 205px;
  width: 275px;
  height: 590px;
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-side-panel {
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  background: rgba(244, 250, 255, 0.78);
  box-shadow: 0 18px 44px rgba(47, 105, 158, 0.16), inset 0 1px 0 rgba(255,255,255,0.66);
  backdrop-filter: blur(20px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f4b91;
  font-size: 28px;
  line-height: 1.1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel h1 img {
  width: 34px;
  height: 34px;
  filter: invert(48%) sepia(71%) saturate(1567%) hue-rotate(158deg) brightness(91%) contrast(88%);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel small {
  display: block;
  margin-top: 5px;
  color: #1487a9;
  font-size: 14px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-planner-panel > header button,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-result header button {
  border: 0;
  border-radius: 10px;
  padding: 9px 13px;
  background: rgba(231, 244, 255, 0.88);
  color: #1f679f;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-query {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.62);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(238, 247, 255, 0.88);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-tabs button {
  height: 42px;
  border: 0;
  border-right: 1px solid rgba(47, 105, 158, 0.12);
  background: transparent;
  color: #183f70;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-tabs button.is-active {
  border-radius: 999px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-field {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  height: 50px;
  border: 1px solid rgba(220, 237, 250, 0.86);
  border-radius: 12px;
  padding: 0 18px;
  background: rgba(255,255,255,0.72);
  color: #123d73;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-field:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 161, 189, 0.42);
  background: rgba(255,255,255,0.9);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-field span {
  color: #6d8caf;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-field strong {
  font-size: 16px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-field::after {
  content: "›";
  color: #1f679f;
  font-size: 26px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-generate,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-actions button:first-child {
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-generate.is-loading {
  opacity: 0.84;
  pointer-events: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.58);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(47, 105, 158, 0.12);
  padding-bottom: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result header strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article {
  position: relative;
  display: grid;
  gap: 7px;
  text-align: center;
  color: #174a82;
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:hover,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 18px rgba(35, 100, 160, 0.16));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 40px;
  right: -15px;
  color: #15a7c0;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps b {
  position: absolute;
  z-index: 2;
  left: 0;
  top: -9px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #22b7c6;
  color: #fff;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps i {
  display: block;
  height: 88px;
  border-radius: 8px;
  background: url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:nth-child(2) i { background-image: url("/assets/scenic-guide/view-platform.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:nth-child(3) i { background-image: url("/assets/scenic-guide/flower-valley.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:nth-child(4) i { background-image: url("/assets/scenic-guide/sky-walk.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps article:nth-child(5) i { background-image: url("/assets/scenic-guide/waterfall.png"); }

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps strong {
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-steps small {
  margin: 0;
  color: #4f79a5;
  font-size: 11px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(47, 105, 158, 0.12);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result div {
  display: flex;
  gap: 6px;
  justify-content: center;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result dt,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-result dd {
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-result p {
  margin: 0;
  color: #2e7f9e;
  font-size: 13px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-actions {
  display: grid;
  grid-template-columns: 1fr 0.64fr;
  gap: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-actions button {
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #1371a3;
  font-size: 17px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-rail {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 1.05fr;
  gap: 18px;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-side-panel {
  overflow: hidden;
  padding: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-side-panel header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-side-panel header strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-side-panel header span {
  color: #1685b1;
  font-size: 13px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  color: #234f82;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38b7d8;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices time {
  color: #6d8caf;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices article {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 20px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(226, 248, 255, 0.96) 0 42%, rgba(226, 248, 255, 0.46)),
    url("/assets/scenic-guide/waterfall.png") right center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices article strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices article small {
  margin-top: 8px;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-notices article button {
  width: fit-content;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot {
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article:hover,
body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article:focus-visible {
  outline: 0;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.84);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot i {
  width: 70px;
  height: 50px;
  border-radius: 8px;
  background: url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article:nth-of-type(2) i { background-image: url("/assets/scenic-guide/view-platform.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article:nth-of-type(3) i { background-image: url("/assets/scenic-guide/flower-valley.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot article:nth-of-type(4) i { background-image: url("/assets/scenic-guide/sky-walk.png"); }

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot strong {
  display: block;
  color: #123d73;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot small {
  margin: 5px 0 0;
  color: #557ca5;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-route-hot em {
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(56, 192, 197, 0.14);
  color: #18a1bd;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.landscape-route-detail {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  pointer-events: none;
}

.landscape-route-detail.is-visible {
  display: block;
  pointer-events: auto;
}

.landscape-route-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 32, 66, 0.18);
  backdrop-filter: blur(2px);
}

.landscape-route-detail-card {
  position: absolute;
  top: 90px;
  right: 44px;
  display: grid;
  gap: 16px;
  width: min(420px, calc(100vw - 88px));
  max-height: calc(100vh - 140px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 18px;
  padding: 18px;
  background: rgba(244, 250, 255, 0.92);
  color: #123d73;
  box-shadow: 0 24px 58px rgba(22, 80, 132, 0.24), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(22px);
}

.landscape-route-detail-card.compact {
  width: min(360px, calc(100vw - 88px));
}

.landscape-route-detail-card header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.landscape-route-detail-card header strong {
  display: block;
  font-size: 22px;
}

.landscape-route-detail-card header small {
  display: block;
  margin-top: 5px;
  color: #4b78a3;
  font-weight: 700;
  line-height: 1.35;
}

.landscape-route-detail-card header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(224, 240, 253, 0.9);
  color: #1f679f;
  font-size: 20px;
}

.landscape-route-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landscape-route-detail-summary span {
  display: grid;
  gap: 3px;
  padding: 12px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  text-align: center;
}

.landscape-route-detail-summary b {
  color: #0f7fa3;
  font-size: 17px;
}

.landscape-route-detail-summary small {
  color: #6688a8;
  font-size: 12px;
}

.landscape-route-detail-list,
.landscape-route-picker {
  display: grid;
  gap: 10px;
}

.landscape-route-detail-list button,
.landscape-route-picker button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(220, 237, 250, 0.9);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.72);
  color: #123d73;
  text-align: left;
}

.landscape-route-detail-list.is-history button,
.landscape-route-picker button {
  grid-template-columns: 1fr;
}

.landscape-route-detail-list b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
}

.landscape-route-detail-list strong,
.landscape-route-picker button {
  font-weight: 900;
}

.landscape-route-detail-list small,
.landscape-route-detail-list span > span {
  color: #5c82a8;
  font-size: 12px;
}

.landscape-route-share-code {
  margin: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(227, 245, 255, 0.82);
  color: #1685a9;
  font-weight: 800;
  line-height: 1.45;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(250px, 290px) 78px repeat(6, max-content);
  gap: 12px;
  align-items: center;
  width: calc(100% - 470px);
  min-height: 70px;
  margin: 42px 0 0 280px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools label {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 10px 24px rgba(42, 111, 173, 0.16);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools label img {
  width: 21px;
  height: 21px;
  color: #2e6dcc;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #143d6d;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools button {
  height: 44px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 10px;
  padding: 0 16px;
  background: rgba(238, 247, 255, 0.76);
  color: #1360cc;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(42, 111, 173, 0.1);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools button.is-primary,
body[data-ui-template="scenic-landscape-screen"] .landscape-guide-tools button.is-active {
  background: linear-gradient(135deg, #3c8df2, #1e58e4);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: calc(100% - 324px);
  margin: 8px 0 0 280px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px auto auto auto;
  gap: 8px;
  min-height: 292px;
  padding: 6px 14px 14px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 14px;
  background: rgba(244, 249, 255, 0.86);
  box-shadow: 0 12px 30px rgba(47, 105, 158, 0.16);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:hover,
body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(60, 141, 242, 0.72);
  box-shadow: 0 18px 40px rgba(47, 105, 158, 0.24);
  outline: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article.is-hidden,
body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article[hidden] {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid .thumb {
  margin: 0 -8px;
  border-radius: 10px 10px 0 0;
  background:
    linear-gradient(145deg, rgba(14, 73, 134, 0.08), rgba(255,255,255,0.02)),
    url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:nth-child(2) .thumb {
  background-image:
    linear-gradient(145deg, rgba(14, 73, 134, 0.08), rgba(255,255,255,0.02)),
    url("/assets/scenic-guide/waterfall.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:nth-child(3) .thumb {
  background-image:
    linear-gradient(145deg, rgba(14, 73, 134, 0.08), rgba(255,255,255,0.02)),
    url("/assets/scenic-guide/view-platform.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:nth-child(4) .thumb {
  background-image:
    linear-gradient(145deg, rgba(14, 73, 134, 0.08), rgba(255,255,255,0.02)),
    url("/assets/scenic-guide/flower-valley.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:nth-child(5) .thumb {
  background-image:
    linear-gradient(145deg, rgba(14, 73, 134, 0.08), rgba(255,255,255,0.02)),
    url("/assets/scenic-guide/sky-walk.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid article:nth-child(6) .thumb {
  background:
    linear-gradient(145deg, rgba(5, 31, 58, 0.18), rgba(16, 97, 176, 0.16)),
    url("/assets/scenic-guide/cave.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid .rank {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 6px;
  border-radius: 0 0 8px 8px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #ffbd6d, #ff8d44);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid .favorite {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 31px;
  text-shadow: 0 3px 10px rgba(18, 57, 103, 0.38);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #0f4b91;
  font-size: 18px;
  line-height: 1.2;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid h2 span {
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(67, 132, 212, 0.12);
  color: #386da5;
  font-size: 10px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid h2 small {
  margin-left: auto;
  color: #376da5;
  font-size: 13px;
  font-weight: 500;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid p {
  overflow: hidden;
  margin: 0;
  color: #345f8e;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid footer span::before {
  content: "★";
  margin-right: 5px;
  color: #f59a23;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-grid footer button {
  border: 0;
  border-radius: 999px;
  padding: 9px 17px;
  background: linear-gradient(135deg, #3f8cf2, #1f5fe9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-pages {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
  width: calc(100% - 324px);
  margin: 22px 0 0 280px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-pages button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(236, 246, 255, 0.76);
  color: #1f5ca1;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-pages button.is-active {
  background: linear-gradient(135deg, #3c8df2, #1e58e4);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-empty {
  position: relative;
  z-index: 3;
  display: none;
  width: calc(100% - 324px);
  margin: 18px 0 0 280px;
  padding: 28px;
  border: 1px dashed rgba(60, 141, 242, 0.36);
  border-radius: 16px;
  background: rgba(244, 249, 255, 0.78);
  color: #315d8f;
  text-align: center;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-empty.is-visible {
  display: grid;
  gap: 8px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-empty strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-empty span {
  color: #5f84ab;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer span {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
  min-width: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer img {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  filter: brightness(0) invert(1);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer strong {
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer span strong {
  display: block;
  justify-self: start;
  font-size: 17px;
  line-height: 1.2;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer > strong {
  justify-self: center;
  display: flex;
  align-items: center;
  min-width: 360px;
  padding-left: 210px;
  font-size: 18px;
  line-height: 1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer > strong img {
  display: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-guide-footer small {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-mock-toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  top: 28px;
  max-width: min(560px, calc(100vw - 48px));
  padding: 12px 18px;
  transform: translate(-50%, -18px);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  background: rgba(244, 250, 255, 0.9);
  color: #123d73;
  box-shadow: 0 18px 44px rgba(47, 105, 158, 0.16), inset 0 1px 0 rgba(255,255,255,0.76);
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(18px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-mock-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-mock-toast[data-type="error"] {
  color: #a42d1f;
}

body[data-ui-template="scenic-landscape-screen"] .favorite.is-liked {
  color: #ff6f56;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail {
  position: fixed;
  z-index: 80;
  inset: 0;
  pointer-events: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail.is-visible {
  pointer-events: auto;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 56, 0);
  transition: background 0.2s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail.is-visible .landscape-scenic-detail-backdrop {
  background: rgba(7, 28, 56, 0.28);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-card {
  position: absolute;
  top: 28px;
  right: 30px;
  bottom: 28px;
  width: 470px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 22px;
  background: rgba(246, 251, 255, 0.95);
  box-shadow: 0 28px 70px rgba(10, 47, 91, 0.28), inset 0 1px 0 rgba(255,255,255,0.75);
  backdrop-filter: blur(22px);
  transform: translateX(110%);
  transition: transform 0.24s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail.is-visible .landscape-scenic-detail-card {
  transform: translateX(0);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.84);
  color: #0f4b91;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(12, 54, 95, 0.16);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-hero {
  display: grid;
  align-content: end;
  min-height: 230px;
  padding: 24px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-hero span {
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(42, 190, 167, 0.92);
  font-size: 12px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-hero strong {
  font-size: 34px;
  line-height: 1.1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.24);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-hero small {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.92;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body {
  display: grid;
  gap: 16px;
  padding: 20px 22px 22px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-metrics span {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 12px 8px;
  border-radius: 13px;
  background: rgba(232, 244, 255, 0.78);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-metrics b {
  color: #0f4b91;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-metrics small {
  color: #5f84ab;
  font-size: 12px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body p {
  margin: 0;
  color: #244f82;
  font-size: 15px;
  line-height: 1.65;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-tags span {
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(59, 142, 242, 0.12);
  color: #165dba;
  font-size: 12px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body dl div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.62);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body dt {
  color: #0f4b91;
  font-size: 13px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body dd {
  margin: 0;
  color: #4e7197;
  font-size: 13px;
  line-height: 1.5;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body footer button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(229, 242, 255, 0.9);
  color: #135c9d;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body footer button:first-child,
body[data-ui-template="scenic-landscape-screen"] .landscape-scenic-detail-body footer button:last-child {
  background: linear-gradient(135deg, #3c8df2, #1e58e4);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 90px 1fr;
  min-width: 0;
  padding: 0 30px 34px 34px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-content {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 330px;
  gap: 22px;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-persona {
  position: relative;
  min-width: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-greeting {
  position: absolute;
  z-index: 2;
  top: 100px;
  left: 0;
  width: 188px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  background: rgba(247, 252, 255, 0.84);
  color: #123d73;
  box-shadow: 0 14px 34px rgba(47, 105, 158, 0.12), inset 0 1px 0 rgba(255,255,255,0.68);
  backdrop-filter: blur(16px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-greeting p {
  margin: 0;
  font-size: 15px;
  line-height: 1.48;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-assistant {
  position: absolute;
  left: -18px;
  top: 205px;
  width: 275px;
  height: 590px;
  margin: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section {
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 18px;
  background: rgba(244, 250, 255, 0.8);
  box-shadow: 0 18px 44px rgba(47, 105, 158, 0.16), inset 0 1px 0 rgba(255,255,255,0.66);
  backdrop-filter: blur(20px);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel {
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0f4b91;
  font-size: 28px;
  line-height: 1.1;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel h1 img {
  width: 34px;
  height: 34px;
  filter: invert(48%) sepia(71%) saturate(1567%) hue-rotate(158deg) brightness(91%) contrast(88%);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-view .landscape-feature-panel h1 {
  color: #f26b2d;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-view .landscape-feature-panel h1 img {
  filter: invert(57%) sepia(95%) saturate(1942%) hue-rotate(337deg) brightness(99%) contrast(91%);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-panel small {
  display: block;
  margin-top: 5px;
  color: #1487a9;
  font-size: 14px;
  font-weight: 700;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(238, 247, 255, 0.88);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-tabs button {
  height: 42px;
  border: 0;
  border-right: 1px solid rgba(47, 105, 158, 0.12);
  background: transparent;
  color: #183f70;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-tabs button.is-active,
body[data-ui-template="scenic-landscape-screen"] .landscape-events-list button,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-search button,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards button,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-more {
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner {
  display: grid;
  align-content: center;
  min-height: 128px;
  padding: 22px 26px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(226, 248, 255, 0.96) 0 44%, rgba(226, 248, 255, 0.48)),
    url("/assets/scenic-guide/waterfall.png") right center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner strong {
  color: #0f4b91;
  font-size: 28px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner span {
  margin-top: 8px;
  color: #315d8f;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner.small {
  min-height: 76px;
  grid-template-columns: 1fr auto;
  align-items: center;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner.small strong {
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-banner button,
body[data-ui-template="scenic-landscape-screen"] .landscape-events-list button,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-search button,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards button,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-more {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid article,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid button,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid button,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons button {
  border: 1px solid rgba(220, 237, 250, 0.86);
  border-radius: 12px;
  background: rgba(255,255,255,0.66);
  color: #123d73;
  box-shadow: 0 10px 24px rgba(47, 105, 158, 0.08);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid article,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid button {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 128px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid i,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons i,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, #42c4ba, #40a5f3);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid strong,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons strong,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid strong {
  display: block;
  color: #123d73;
  font-size: 15px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-grid small,
body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons small,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid small {
  margin: 6px 0 0;
  color: #557ca5;
  font-size: 12px;
  line-height: 1.35;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-service-icons button,
body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid button {
  min-height: 92px;
  padding: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.58);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-contact span {
  display: grid;
  gap: 4px;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-contact strong {
  color: #123d73;
  font-size: 15px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list {
  display: grid;
  gap: 13px;
  min-height: 0;
  overflow: hidden;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list article {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 108px;
  gap: 18px;
  align-items: center;
  min-height: 126px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.68);
  color: #123d73;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list i,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards i,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid i,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank i {
  display: block;
  border-radius: 10px;
  background: url("/assets/scenic-guide/yunmeng-lake.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list i {
  height: 106px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list article:nth-child(2) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards article:nth-child(2) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article:nth-child(2) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank article:nth-child(2) i {
  background-image: url("/assets/scenic-guide/waterfall.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list article:nth-child(3) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards article:nth-child(3) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article:nth-child(3) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank article:nth-child(3) i {
  background-image: url("/assets/scenic-guide/flower-valley.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list article:nth-child(4) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article:nth-child(4) i,
body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank article:nth-child(4) i {
  background-image: url("/assets/scenic-guide/sky-walk.png");
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list em {
  display: inline-block;
  width: fit-content;
  margin-bottom: 7px;
  border-radius: 8px;
  padding: 4px 8px;
  background: #20b8c8;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list h2,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards h2,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid h2 {
  margin: 0 0 8px;
  color: #123d73;
  font-size: 18px;
  line-height: 1.2;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list p,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid p {
  margin: 0 0 10px;
  color: #345f8e;
  font-size: 13px;
  line-height: 1.45;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-events-list small {
  color: #39759c;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-search {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr .9fr auto;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.66);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-search span {
  padding: 15px 17px;
  border-right: 1px solid rgba(47, 105, 158, 0.12);
  color: #123d73;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-search button {
  margin: 0 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards article,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article {
  display: grid;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  padding: 8px 12px 14px;
  background: rgba(255,255,255,0.7);
  color: #123d73;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article:hover,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid article:focus-visible,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-view .landscape-feature-rank article:hover,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-view .landscape-feature-rank article:focus-visible {
  outline: 0;
  transform: translateY(-3px);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 14px 30px rgba(47, 105, 158, 0.14);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards i,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid i {
  height: 150px;
  margin: 0 -4px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards p,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards small {
  margin: 0;
  color: #557ca5;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards b,
body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards strong,
body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid footer b {
  color: #0ba5b4;
  font-size: 22px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-hotel-cards button {
  justify-self: end;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid i {
  height: 128px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-food-grid footer b {
  color: #ff8745;
  font-size: 15px;
}

.landscape-food-detail {
  position: fixed;
  inset: 0;
  z-index: 82;
  display: none;
  pointer-events: none;
}

.landscape-food-detail.is-visible {
  display: block;
  pointer-events: auto;
}

.landscape-food-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 32, 66, 0.2);
  backdrop-filter: blur(2px);
}

.landscape-food-detail-card {
  position: absolute;
  top: 82px;
  right: 44px;
  overflow: hidden;
  display: grid;
  width: min(430px, calc(100vw - 88px));
  max-height: calc(100vh - 130px);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 20px;
  background: rgba(244, 250, 255, 0.94);
  color: #123d73;
  box-shadow: 0 24px 58px rgba(22, 80, 132, 0.24), inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(22px);
}

.landscape-food-detail-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.78);
  color: #135c9d;
  font-size: 20px;
}

.landscape-food-detail-hero {
  display: grid;
  align-content: end;
  gap: 7px;
  min-height: 190px;
  padding: 22px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.landscape-food-detail-hero span {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 135, 69, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.landscape-food-detail-hero strong {
  font-size: 30px;
  line-height: 1.1;
  text-shadow: 0 8px 24px rgba(10, 40, 80, 0.36);
}

.landscape-food-detail-hero small {
  font-size: 13px;
  font-weight: 800;
}

.landscape-food-detail-body {
  display: grid;
  gap: 14px;
  overflow: auto;
  padding: 18px;
}

.landscape-food-metrics {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10px;
}

.landscape-food-metrics span,
.landscape-food-detail-body dl div {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.68);
}

.landscape-food-metrics b {
  color: #0f7fa3;
  font-size: 15px;
}

.landscape-food-metrics small,
.landscape-food-detail-body dd {
  color: #5f84ab;
  font-size: 12px;
}

.landscape-food-detail-body p {
  margin: 0;
  color: #244f82;
  font-size: 15px;
  line-height: 1.65;
}

.landscape-food-detail-body dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.landscape-food-detail-body dt {
  color: #0f4b91;
  font-size: 13px;
  font-weight: 900;
}

.landscape-food-detail-body dd {
  margin: 0;
  line-height: 1.5;
}

.landscape-food-detail-body footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landscape-food-detail-body footer button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(229, 242, 255, 0.9);
  color: #135c9d;
  font-weight: 900;
}

.landscape-food-detail-body footer button:first-child {
  background: linear-gradient(135deg, #ffbd55, #ff7648);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-more {
  justify-self: center;
  min-width: 230px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail {
  display: grid;
  grid-template-rows: minmax(0, .9fr) 1.1fr;
  gap: 18px;
  min-height: 0;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail header strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail header span {
  color: #1685b1;
  font-size: 13px;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail ul {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  color: #234f82;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38b7d8;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail time {
  color: #6d8caf;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section > article {
  display: grid;
  align-content: center;
  min-height: 126px;
  padding: 20px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(226, 248, 255, 0.96) 0 42%, rgba(226, 248, 255, 0.46)),
    url("/assets/scenic-guide/waterfall.png") right center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section > article strong {
  color: #123d73;
  font-size: 20px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section > article small {
  margin-top: 8px;
  color: #315d8f;
  font-size: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rail section > article button {
  width: fit-content;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank {
  display: grid;
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.66);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank i {
  width: 72px;
  height: 50px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank strong {
  display: block;
  color: #123d73;
  font-size: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-feature-rank small {
  margin: 5px 0 0;
  color: #557ca5;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-panel {
  gap: 13px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-panel h1 {
  color: #0f8a9d;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-panel h1 img {
  filter: invert(46%) sepia(72%) saturate(1332%) hue-rotate(147deg) brightness(89%) contrast(94%);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-actions {
  display: flex;
  gap: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(231, 244, 255, 0.9);
  color: #1685b1;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types {
  display: grid;
  gap: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types h2,
body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates header strong {
  margin: 0;
  color: #123d73;
  font-size: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 278px;
  padding: 8px 12px 14px;
  border: 1px solid rgba(220, 237, 250, 0.92);
  border-radius: 12px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 12px 26px rgba(47, 105, 158, 0.1);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types article.is-selected {
  border-color: rgba(24, 171, 186, 0.78);
  box-shadow: 0 14px 30px rgba(24, 159, 186, 0.16), inset 0 0 0 1px rgba(24, 171, 186, 0.12);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types i {
  display: block;
  height: 128px;
  margin: 0 -4px;
  border-radius: 9px 9px 0 0;
  background: url("/assets/scenic-guide/waterfall.png") center / cover no-repeat;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types article:nth-child(2) i { background-image: url("/assets/scenic-guide/yunmeng-lake.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types article:nth-child(3) i { background-image: url("/assets/scenic-guide/view-platform.png"); }
body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types article:nth-child(4) i { background-image: url("/assets/scenic-guide/sky-walk.png"); }

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types em {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 0 0 8px 0;
  padding: 6px 8px;
  background: linear-gradient(135deg, #ffbd55, #ff7648);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types h3 {
  margin: 0;
  color: #123d73;
  font-size: 16px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types p {
  min-height: 34px;
  margin: 0;
  color: #466f9c;
  font-size: 12px;
  line-height: 1.4;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types strong {
  color: #123d73;
  font-size: 22px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types small {
  display: inline;
  color: #6b8caf;
  font-size: 11px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-types button,
body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout > button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates {
  display: grid;
  gap: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates header span {
  color: #1685b1;
  font-size: 13px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates > div {
  display: grid;
  grid-template-columns: 60px repeat(6, minmax(0, 1fr));
  gap: 10px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates button {
  min-height: 54px;
  border: 1px solid rgba(220, 237, 250, 0.92);
  border-radius: 10px;
  background: rgba(255,255,255,0.68);
  color: #123d73;
  font-weight: 800;
  line-height: 1.35;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-dates button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #38c0c5, #18a1bd);
  color: #fff;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout {
  display: grid;
  grid-template-columns: 1fr 120px 1fr 170px;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout span {
  color: #123d73;
  font-weight: 800;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout b {
  color: #ff6f2f;
  font-size: 24px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout div {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  overflow: hidden;
  height: 36px;
  border-radius: 999px;
  background: rgba(240, 248, 255, 0.92);
  color: #123d73;
  text-align: center;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-checkout div button {
  height: 36px;
  border: 0;
  background: transparent;
  color: #1685b1;
  font-size: 18px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 6px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-benefits span {
  display: grid;
  gap: 3px;
  color: #1685b1;
  font-size: 13px;
  font-weight: 900;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-benefits small {
  color: #557ca5;
  font-size: 12px;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-rank article {
  grid-template-columns: 72px 1fr auto;
}

body[data-ui-template="scenic-landscape-screen"] .landscape-ticket-rank b {
  color: #ff6f2f;
  font-size: 14px;
  white-space: nowrap;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .mic-fab,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .mic-fab {
  z-index: 20;
  left: auto;
  right: 34px;
  top: 16px;
  bottom: auto;
  display: grid;
  width: 48px;
  height: 48px;
  transform: none;
  border: 1px solid rgba(255,255,255,0.52);
  background: linear-gradient(135deg, #3f8cf2, #1f5fe9);
  box-shadow: 0 12px 30px rgba(31, 95, 180, 0.28), inset 0 1px 0 rgba(255,255,255,0.22);
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .mic-fab {
  right: 34px;
  left: auto;
}

body[data-ui-template="scenic-landscape-screen"].is-landscape-guide .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ai .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-route .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-ticket .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-service .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-events .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-hotel .mic-fab svg,
body[data-ui-template="scenic-landscape-screen"].is-landscape-food .mic-fab svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1100px) {
  body[data-ui-template="scenic-landscape-screen"] .quick-question-bar {
    gap: 12px;
  }

  body[data-ui-template="scenic-landscape-screen"] .landscape-notice-panel {
    width: 31vw;
  }
}

/* Scenic guide 1080x1920 digital human theme */
body[data-ui-template="scenic-guide-theme"] {
  --accent: #25d5dc;
  --accent-2: #ffe0a6;
  --panel: rgba(4, 61, 74, 0.54);
  --panel-strong: rgba(5, 45, 60, 0.88);
  --line: rgba(120, 245, 255, 0.38);
  --text-soft: rgba(224, 254, 255, 0.76);
}

body[data-ui-template="scenic-guide-theme"] .front-stage {
  background:
    radial-gradient(circle at 52% 68%, rgba(37, 213, 220, 0.32), transparent 24%),
    linear-gradient(180deg, #0a4d70 0%, #093f54 44%, #042633 100%);
}

body[data-ui-template="scenic-guide-theme"] .front-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 24% 28%, rgba(169, 255, 239, 0.2), transparent 22%),
    radial-gradient(circle at 70% 26%, rgba(255, 224, 166, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(49, 152, 180, 0.18), rgba(5, 37, 48, 0.2));
  pointer-events: none;
}

body[data-ui-template="scenic-guide-theme"] .front-stage video {
  z-index: 0;
}

body[data-ui-template="scenic-guide-theme"] .front-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 31, 46, 0.24) 0%, transparent 34%, rgba(0, 36, 44, 0.44) 100%),
    radial-gradient(circle at 50% 76%, rgba(37, 213, 220, 0.28), transparent 28%);
}

body[data-ui-template="scenic-guide-theme"] .front-top {
  top: 24px;
  left: 26px;
  right: 26px;
  z-index: 5;
  align-items: start;
}

body[data-ui-template="scenic-guide-theme"] .brand-mark {
  min-width: 220px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(120, 245, 255, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(5, 84, 99, 0.76), rgba(26, 112, 128, 0.54));
  box-shadow: inset 0 0 18px rgba(130, 255, 248, 0.18), 0 10px 28px rgba(0, 31, 42, 0.2);
  backdrop-filter: blur(12px);
}

body[data-ui-template="scenic-guide-theme"] .mark-dot {
  width: 11px;
  height: 11px;
  background: #ffe0a6;
  box-shadow: 0 0 18px rgba(255, 224, 166, 0.9);
}

body[data-ui-template="scenic-guide-theme"] .ziyang-clock {
  position: absolute;
  top: 0;
  right: 82px;
  text-align: right;
  color: #ffffff;
  text-shadow: 0 6px 22px rgba(0, 30, 45, 0.35);
}

body[data-ui-template="scenic-guide-theme"] .ziyang-clock strong {
  font-size: clamp(30px, 7vw, 52px);
  line-height: 0.95;
}

body[data-ui-template="scenic-guide-theme"] .ziyang-clock span {
  margin-top: 8px;
  color: rgba(236, 255, 255, 0.9);
}

body[data-ui-template="scenic-guide-theme"] .front-actions {
  display: none;
}

body[data-ui-template="scenic-guide-theme"] .quick-question-bar {
  left: 26px;
  right: 26px;
  bottom: 130px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(120, 245, 255, 0.38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(6, 91, 104, 0.72), rgba(5, 48, 66, 0.7));
  box-shadow: inset 0 0 26px rgba(118, 255, 247, 0.16), 0 18px 50px rgba(0, 28, 38, 0.34);
  backdrop-filter: blur(18px);
}

body[data-ui-template="scenic-guide-theme"] .quick-question-bar button {
  min-height: 70px;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 9px;
  border-color: rgba(130, 255, 247, 0.32);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(37, 213, 220, 0.1));
  box-shadow: inset 0 0 18px rgba(130, 255, 247, 0.12);
}

body[data-ui-template="scenic-guide-theme"] .quick-reply-icon {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 224, 166, 0.36);
  background: radial-gradient(circle, rgba(255, 224, 166, 0.95), rgba(37, 213, 220, 0.5));
  color: #063f4c;
  box-shadow: 0 0 22px rgba(37, 213, 220, 0.42);
}

body[data-ui-template="scenic-guide-theme"] .quick-reply-arrow {
  display: none;
}

body[data-ui-template="scenic-guide-theme"] .quick-reply-text strong {
  color: #ffffff;
  font-size: 13px;
}

body[data-ui-template="scenic-guide-theme"] .quick-reply-text small {
  color: rgba(226, 255, 255, 0.78);
}

body[data-ui-template="scenic-guide-theme"] .caption-layer {
  left: 26px;
  right: 26px;
  bottom: 28px;
  z-index: 6;
}

body[data-ui-template="scenic-guide-theme"] .status-pill {
  border-color: rgba(120, 245, 255, 0.4);
  background: rgba(5, 77, 92, 0.68);
  color: #dfffff;
}

body[data-ui-template="scenic-guide-theme"] .transcript-card {
  border: 1px solid rgba(120, 245, 255, 0.36);
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(5, 77, 92, 0.76), rgba(4, 42, 58, 0.84));
  box-shadow: inset 0 0 24px rgba(130, 255, 247, 0.12), 0 18px 44px rgba(0, 30, 42, 0.34);
  backdrop-filter: blur(18px);
}

body[data-ui-template="scenic-guide-theme"] .caption-label,
body[data-ui-template="scenic-guide-theme"] .voice-preview {
  color: rgba(226, 255, 255, 0.76);
}

body[data-ui-template="scenic-guide-theme"] .message {
  border-color: rgba(120, 245, 255, 0.28);
  background: rgba(6, 88, 104, 0.5);
}

body[data-ui-template="scenic-guide-theme"] .message.user .message-body {
  color: #042f3c;
  background: linear-gradient(135deg, #c9ffff, #60e7ec);
}

body[data-ui-template="scenic-guide-theme"] .conversation-hints {
  bottom: 250px;
  color: rgba(228, 255, 255, 0.72);
}

body[data-ui-template="scenic-guide-theme"] .conversation-hints span {
  border-color: rgba(120, 245, 255, 0.28);
  background: rgba(4, 71, 88, 0.46);
}

body[data-ui-template="scenic-guide-theme"] .mic-fab {
  top: 26px;
  right: 28px;
  bottom: auto;
  width: 66px;
  height: 66px;
  transform: none;
  border-color: rgba(153, 255, 252, 0.72);
  background: radial-gradient(circle, rgba(52, 219, 225, 0.96), rgba(4, 95, 111, 0.94));
  box-shadow: 0 0 0 8px rgba(37, 213, 220, 0.14), 0 0 38px rgba(37, 213, 220, 0.78);
}

body[data-ui-template="scenic-guide-theme"] .mic-fab.active {
  border-color: #dfffff;
  background: radial-gradient(circle, #78ffff, #05a6b3);
  box-shadow: 0 0 0 12px rgba(37, 213, 220, 0.18), 0 0 52px rgba(37, 213, 220, 0.86);
}

body[data-ui-template="gov-enterprise-theme"] {
  --accent: #2f7dff;
  --gov-blue: #2f7dff;
  --gov-cyan: #27d8ff;
  --gov-violet: #8177ff;
}

body[data-ui-template="gov-enterprise-theme"] .front-stage {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(2, 13, 54, 0.18), rgba(1, 9, 44, 0.34)),
    url("/assets/gov-enterprise/stage.png") center / cover no-repeat;
}

body[data-ui-template="gov-enterprise-theme"] .front-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 12, 50, 0.08) 0%, transparent 34%, rgba(2, 14, 65, 0.16) 100%),
    radial-gradient(circle at 50% 71%, rgba(41, 202, 255, 0.18), transparent 23%);
  z-index: 1;
}

body[data-ui-template="gov-enterprise-theme"] .front-stage video,
body[data-ui-template="gov-enterprise-theme"] .video-loading {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .front-shade {
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 15, 68, 0.04), rgba(0, 7, 40, 0.18));
}

body[data-ui-template="gov-enterprise-theme"] .front-top {
  left: 26px;
  right: 26px;
  top: 38px;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 108px;
  align-items: start;
  gap: 18px;
}

body[data-ui-template="gov-enterprise-theme"] .brand-mark {
  width: max-content;
  max-width: 390px;
  height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(112, 173, 255, 0.38);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(42, 80, 169, 0.62), rgba(19, 46, 125, 0.62));
  box-shadow: inset 0 0 22px rgba(96, 169, 255, 0.18), 0 14px 34px rgba(1, 10, 46, 0.24);
  backdrop-filter: blur(16px);
}

body[data-ui-template="gov-enterprise-theme"] .mark-dot {
  position: relative;
  width: 18px;
  height: 22px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #a7b6ff, #5d7cff);
  box-shadow: 0 0 20px rgba(94, 126, 255, 0.62);
}

body[data-ui-template="gov-enterprise-theme"] .mark-dot::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #e8f4ff;
}

body[data-ui-template="gov-enterprise-theme"] .brand-mark span:last-child {
  color: #ffffff;
  font-size: 15px;
  font-weight: 750;
}

body[data-ui-template="gov-enterprise-theme"] .ziyang-clock {
  color: #fff;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

body[data-ui-template="gov-enterprise-theme"] .ziyang-clock strong {
  font-size: 48px;
  line-height: 0.96;
  letter-spacing: 0;
}

body[data-ui-template="gov-enterprise-theme"] .ziyang-clock span {
  color: rgba(234, 244, 255, 0.9);
  font-size: 16px;
  font-weight: 650;
}

body[data-ui-template="gov-enterprise-theme"] .front-actions {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-bar {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 134px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-bar[hidden] {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-bar button {
  min-width: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(97, 161, 255, 0.4);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(180deg, rgba(46, 94, 186, 0.52), rgba(17, 47, 128, 0.54));
  box-shadow: inset 0 0 20px rgba(82, 169, 255, 0.12), 0 12px 32px rgba(2, 16, 58, 0.18);
  backdrop-filter: blur(18px);
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-icon,
body[data-ui-template="gov-enterprise-theme"] .quick-reply-icon {
  display: grid;
  place-items: center;
  flex: none;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(88, 171, 255, 0.42));
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-text {
  min-width: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-text strong {
  font-family: "Microsoft YaHei UI", "PingFang SC", "HarmonyOS Sans SC", system-ui, sans-serif;
  white-space: nowrap;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.12;
  font-weight: 500;
}

body[data-ui-template="gov-enterprise-theme"] .theme-action-text small {
  display: none;
  overflow-wrap: normal;
  color: rgba(224, 238, 255, 0.86);
  font-size: 12px;
  line-height: 1.24;
  font-weight: 650;
}

body[data-ui-template="gov-enterprise-theme"] .quick-question-bar {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 188px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding: 14px 18px;
  border: 1px solid rgba(86, 159, 255, 0.46);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(26, 72, 168, 0.66), rgba(15, 48, 132, 0.7));
  box-shadow: inset 0 0 22px rgba(77, 160, 255, 0.16), 0 14px 42px rgba(2, 12, 50, 0.22);
  backdrop-filter: blur(18px);
}

body[data-ui-template="gov-enterprise-theme"] .quick-question-bar button {
  min-height: 92px;
  grid-template-columns: 1fr;
  grid-template-rows: 42px auto;
  gap: 6px;
  justify-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-ui-template="gov-enterprise-theme"] .quick-question-bar button + button {
  border-left: 1px solid rgba(112, 171, 255, 0.22);
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-icon {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(86, 180, 255, 0.42));
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-arrow {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-text {
  display: grid;
  gap: 7px;
  text-align: center;
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-text strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.08;
  font-weight: 850;
}

body[data-ui-template="gov-enterprise-theme"] .quick-reply-text small {
  color: rgba(219, 235, 255, 0.82);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 650;
}

body[data-ui-template="gov-enterprise-theme"] .caption-layer {
  left: 30px;
  right: 30px;
  bottom: 38px;
  z-index: 6;
  max-width: none;
}

body[data-ui-template="gov-enterprise-theme"] .status-pill,
body[data-ui-template="gov-enterprise-theme"] .caption-label,
body[data-ui-template="gov-enterprise-theme"] .voice-preview {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .transcript-card {
  width: 100%;
  max-width: none;
  min-height: 104px;
  max-height: 126px;
  display: grid;
  align-items: center;
  grid-template-columns: 72px minmax(0, 1fr) 76px;
  gap: 18px;
  padding: 14px 24px;
  border: 1px solid rgba(84, 171, 255, 0.46);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 74, 171, 0.76), rgba(11, 50, 144, 0.8));
  box-shadow: inset 0 0 24px rgba(74, 165, 255, 0.14), 0 14px 42px rgba(1, 12, 53, 0.28);
  backdrop-filter: blur(18px);
}

body[data-ui-template="gov-enterprise-theme"] .transcript-card::before {
  content: "";
  width: 64px;
  height: 64px;
  border: 1px solid rgba(67, 210, 255, 0.62);
  border-radius: 50%;
  background: url("/assets/gov-enterprise/dialogue-avatar.png") center / cover no-repeat;
  box-shadow: 0 0 26px rgba(58, 203, 255, 0.42);
}

body[data-ui-template="gov-enterprise-theme"] .transcript-card::after {
  content: "";
  width: 62px;
  height: 62px;
  justify-self: end;
  background: url("/assets/gov-enterprise/voice-wave.png") center / contain no-repeat;
  filter: drop-shadow(0 0 16px rgba(39, 216, 255, 0.64));
  opacity: 0.78;
  transform-origin: center;
  animation: govEnterpriseVoiceWave 1.35s ease-in-out infinite;
}

@keyframes govEnterpriseVoiceWave {
  0%,
  100% {
    opacity: 0.62;
    transform: scaleX(0.82) scaleY(0.9);
    filter: drop-shadow(0 0 12px rgba(39, 216, 255, 0.46));
  }

  42% {
    opacity: 1;
    transform: scaleX(1.08) scaleY(1);
    filter: drop-shadow(0 0 22px rgba(39, 216, 255, 0.76));
  }

  68% {
    opacity: 0.82;
    transform: scaleX(0.94) scaleY(0.96);
  }
}

body[data-ui-template="gov-enterprise-theme"] .messages {
  min-height: auto;
  max-height: 82px;
  overflow: hidden;
}

body[data-ui-template="gov-enterprise-theme"] .message {
  max-width: none;
  margin: 0;
}

body[data-ui-template="gov-enterprise-theme"] .message.assistant {
  align-self: stretch;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-ui-template="gov-enterprise-theme"] .message .message-avatar,
body[data-ui-template="gov-enterprise-theme"] .message.user {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .message.assistant .message-body {
  max-width: none;
  padding: 0;
  color: #ffffff;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.42;
  font-weight: 760;
  text-wrap: pretty;
  overflow-wrap: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body[data-ui-template="gov-enterprise-theme"] .conversation-hints {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .mic-fab {
  top: 34px;
  right: 36px;
  z-index: 8;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(61, 223, 255, 0.92);
  background:
    url("/assets/gov-enterprise/microphone.png") center / 24px 34px no-repeat,
    radial-gradient(circle, rgba(80, 126, 255, 0.96), rgba(25, 100, 239, 0.92) 58%, rgba(31, 206, 255, 0.38) 100%);
  box-shadow: 0 0 0 7px rgba(37, 216, 255, 0.12), 0 0 30px rgba(37, 216, 255, 0.68);
}

body[data-ui-template="gov-enterprise-theme"] .mic-fab svg {
  display: none;
}

body[data-ui-template="gov-enterprise-theme"] .mic-fab.active {
  box-shadow: 0 0 0 10px rgba(37, 216, 255, 0.16), 0 0 42px rgba(37, 216, 255, 0.88);
}

/* Login v2: light digital human control center */
body.login-control-center {
  --login-blue: #1d6bff;
  --login-cyan: #34c8f6;
  --login-ink: #0d2d55;
  --login-soft: #7184a6;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(245, 249, 255, 0.82) 0%, rgba(245, 249, 255, 0.48) 42%, rgba(245, 249, 255, 0.28) 100%),
    url("/assets/login-control-center-bg-v3.webp") calc(50% - 150px) center / cover no-repeat,
    linear-gradient(115deg, #f4f8ff 0%, #eaf3ff 45%, #f8fbff 100%);
  color: var(--login-ink);
}

body.login-control-center::before,
body.login-control-center::after {
  display: none;
}

body.login-control-center::before {
  left: -10%;
  right: -10%;
  bottom: -22%;
  height: 46%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(64, 184, 255, 0.28), transparent 38%),
    repeating-linear-gradient(168deg, rgba(57, 145, 255, 0.12) 0 2px, transparent 2px 18px);
  transform: rotate(-2deg);
  opacity: 0.78;
}

body.login-control-center::after {
  right: -14%;
  bottom: -20%;
  width: 62%;
  height: 56%;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(74, 154, 255, 0.16) 42% 43%, transparent 43%),
    radial-gradient(ellipse, rgba(38, 139, 255, 0.18), transparent 62%);
  transform: rotate(-16deg);
}

body.login-control-center .login-particles {
  z-index: 1;
  opacity: 0.18;
}

.login-skyline {
  display: none;
}

.login-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1540px, calc(100% - 96px));
  margin: 0 auto;
  padding: 48px 0 20px;
}

.login-logo,
.login-topnav {
  display: flex;
  align-items: center;
}

.login-logo {
  gap: 16px;
  color: var(--login-ink);
  text-decoration: none;
}

.login-logo strong {
  display: block;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.login-logo small {
  display: block;
  margin-top: 4px;
  color: #09234a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.login-logo-cube {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f54ff, #43d9f2);
  box-shadow: 0 18px 34px rgba(31, 91, 255, 0.25);
  transform: rotate(30deg);
}

.login-logo-cube::before,
.login-logo-cube::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
}

.login-logo-cube::after {
  inset: 19px;
  background: linear-gradient(135deg, #66ddff, #fff);
}

.login-topnav {
  gap: 16px;
}

.login-topnav a {
  color: #17365e;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.login-topnav button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2768ff;
}

.login-topnav svg,
.login-field svg,
.login-refresh svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.login-control-center .login-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(220px, 0.68fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: center;
  width: min(1540px, calc(100% - 96px));
  min-height: calc(100vh - 122px);
  margin: 0 auto;
  padding: 18px 0 58px;
}

body.login-control-center .login-intro {
  z-index: 2;
  min-height: auto;
  justify-content: center;
  gap: 38px;
}

body.login-control-center .login-hero-copy h1 {
  max-width: 570px;
  margin: 0;
  background: linear-gradient(100deg, #102c55 0 62%, #145cff 68% 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(38px, 3.05vw, 52px);
  line-height: 1.32;
  letter-spacing: 0;
  text-shadow: none;
}

body.login-control-center .login-hero-copy p {
  max-width: 620px;
  margin-top: 22px;
  color: #426083;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}

body.login-control-center .login-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 560px;
}

body.login-control-center .login-feature-grid article {
  display: grid;
  justify-items: center;
  min-height: 138px;
  padding: 22px 12px 18px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  background: rgba(255,255,255,0.58);
  box-shadow: 0 18px 42px rgba(47, 111, 190, 0.1), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(18px);
}

body.login-control-center .login-feature-grid i {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: linear-gradient(145deg, #e7f2ff, #fff);
  box-shadow: inset 0 0 0 1px rgba(41, 111, 255, 0.12), 0 10px 24px rgba(41, 111, 255, 0.12);
}

body.login-control-center .login-feature-grid i::before,
body.login-control-center .login-feature-grid i::after {
  content: "";
  position: absolute;
  border: 3px solid #2872ff;
  border-radius: 10px;
}

body.login-control-center .login-feature-grid i::before {
  width: 24px;
  height: 24px;
}

body.login-control-center .login-feature-grid i::after {
  width: 9px;
  height: 9px;
  right: 9px;
  top: 9px;
  border-radius: 50%;
  background: #fff;
}

body.login-control-center .login-feature-grid i[data-icon="analytics"]::before {
  width: 6px;
  height: 22px;
  border-width: 0 3px;
  border-radius: 0;
  box-shadow: 10px -4px 0 -3px #2872ff, -10px 5px 0 -3px #2872ff;
}

body.login-control-center .login-feature-grid i[data-icon="system"]::before {
  border-radius: 50%;
}

body.login-control-center .login-feature-grid strong {
  color: #102d54;
  font-size: 16px;
  font-weight: 950;
}

body.login-control-center .login-feature-grid span {
  margin-top: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #7286a6;
  font-size: 12px;
  font-weight: 800;
}

.login-avatar-stage {
  position: relative;
  align-self: stretch;
  min-height: 700px;
  pointer-events: none;
}

.login-avatar-stage::before,
.login-energy-orbit,
.login-avatar-figure,
.login-hud-card {
  display: none;
}

.login-avatar-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 49%;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  border: 1px solid rgba(94, 211, 246, 0.48);
  background: radial-gradient(circle, rgba(125, 232, 255, 0.22), transparent 62%);
  box-shadow: 0 0 0 16px rgba(95, 197, 255, 0.06), 0 0 62px rgba(68, 180, 255, 0.26);
  transform: translate(-50%, -50%);
}

.login-energy-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #dfffff 0 20%, transparent 21%),
    conic-gradient(from 60deg, transparent, rgba(36, 123, 255, 0.8), transparent 34%, rgba(64, 218, 244, 0.82), transparent 72%);
  opacity: 0.72;
  transform: translate(-50%, -50%);
  animation: loginControlSpin 12s linear infinite;
}

.login-avatar-figure {
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 560px;
  height: 820px;
  background: url("/assets/theme-enterprise-frontdesk.png") center 44% / 760px auto no-repeat;
  filter: drop-shadow(0 30px 42px rgba(70, 122, 189, 0.22));
  transform: translateX(-50%);
  clip-path: polygon(44% 0, 58% 2%, 67% 14%, 73% 34%, 78% 52%, 69% 100%, 32% 100%, 23% 52%, 29% 34%, 36% 14%);
}

.login-hud-card {
  position: absolute;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(129, 226, 255, 0.38);
  border-radius: 16px;
  background: rgba(255,255,255,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 18px 40px rgba(52, 142, 224, 0.1);
  backdrop-filter: blur(16px);
}

.login-hud-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 8px solid rgba(76, 214, 242, 0.64);
  box-shadow: 0 0 32px rgba(72, 201, 246, 0.38);
}

.hud-one {
  left: 4%;
  top: 18%;
  transform: rotate(10deg);
  opacity: 0.42;
}

.hud-two {
  right: 12%;
  top: 32%;
  width: 88px;
  height: 88px;
  transform: rotate(-14deg);
  opacity: 0.24;
}

body.login-control-center .login-card {
  position: relative;
  display: grid;
  gap: 26px;
  width: min(100%, 468px);
  justify-self: end;
  padding: 58px 44px 34px;
  border: 1px solid rgba(255,255,255,0.76);
  border-radius: 34px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 32px 90px rgba(67, 113, 178, 0.18), inset 0 1px 0 rgba(255,255,255,0.82);
  backdrop-filter: blur(26px);
}

body.login-control-center .login-card::before,
body.login-control-center .login-card::after {
  display: none;
}

body.login-control-center .login-card-head h2 {
  color: #102d55;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0;
}

body.login-control-center .login-card-head p {
  margin-top: 12px;
  color: #8291ad;
  font-size: 14px;
  font-weight: 700;
}

body.login-control-center .login-field {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 10px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 14px 34px rgba(55, 115, 185, 0.08);
}

body.login-control-center .login-field svg {
  color: #6881b0;
}

body.login-control-center .login-field input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #263c62;
  font-size: 14px;
  font-weight: 800;
}

body.login-control-center .login-field input::placeholder {
  color: #95a4bd;
}

body.login-control-center .login-field:focus-within {
  border-color: rgba(40, 114, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(40, 114, 255, 0.08), 0 16px 38px rgba(55, 115, 185, 0.12);
}

.login-verify-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 84px 30px;
  gap: 8px;
  align-items: center;
}

body.login-control-center .login-verify-field {
  min-width: 0;
}

.login-captcha {
  display: grid;
  place-items: center;
  height: 54px;
  border-radius: 8px;
  background: rgba(255,255,255,0.7);
  color: #7186bd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 8px;
  text-indent: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.login-refresh {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5c7ff0;
}

body.login-control-center .login-verify-field {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  padding: 0 12px;
}

body.login-control-center .login-card .primary-button {
  min-height: 58px;
  border-radius: 10px;
  background: linear-gradient(90deg, #3157ff, #159dff);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 18px 34px rgba(38, 111, 255, 0.28);
}

body.login-control-center .login-card .primary-button::before {
  display: none;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.remember-row {
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  color: #4b5e7f;
  font-size: 14px;
  font-weight: 800;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: #276cff;
}

.forgot-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #226cff;
  font-size: 14px;
  font-weight: 900;
}

body.login-control-center .login-card .form-status {
  min-height: 20px;
  color: #2b65d9;
  text-align: center;
}

.login-copyright {
  margin-top: 12px;
  color: #9aa8c0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@keyframes loginControlSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 1280px) {
  body.login-control-center .login-shell {
    grid-template-columns: minmax(300px, 0.82fr) minmax(170px, 0.46fr) minmax(340px, 0.9fr);
    width: min(100% - 52px, 1180px);
    gap: 12px;
  }

  .login-topbar {
    width: min(100% - 52px, 1180px);
  }

  .login-avatar-figure {
    left: 46%;
    width: 430px;
    height: 720px;
    background-size: 620px auto;
    clip-path: polygon(44% 0, 58% 2%, 67% 14%, 73% 34%, 78% 52%, 69% 100%, 32% 100%, 23% 52%, 29% 34%, 36% 14%);
  }

  body.login-control-center .login-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 350px;
  }

  body.login-control-center .login-feature-grid article {
    min-height: 118px;
    padding: 16px 10px 14px;
  }

  body.login-control-center .login-feature-grid i {
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
  }

  body.login-control-center .login-hero-copy h1 {
    font-size: clamp(32px, 3vw, 42px);
  }

  body.login-control-center .login-card {
    padding: 44px 30px 28px;
    border-radius: 28px;
  }

  .login-avatar-stage {
    min-height: 660px;
  }

  .login-avatar-stage::before {
    width: 240px;
    height: 240px;
  }

  .login-energy-orbit {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 820px) {
  body.login-control-center {
    overflow-y: auto;
  }

  .login-topbar {
    width: min(100% - 32px, 720px);
    padding-top: 28px;
  }

  body.login-control-center .login-shell {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 560px);
    min-height: auto;
    padding-bottom: 32px;
  }

  .login-avatar-stage {
    display: none;
  }

  body.login-control-center .login-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  body.login-control-center .login-card {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .login-topbar {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .login-logo strong {
    font-size: 22px;
  }

  .login-logo-cube {
    width: 44px;
    height: 44px;
  }

  body.login-control-center .login-hero-copy h1 {
    font-size: 30px;
  }

  body.login-control-center .login-feature-grid {
    grid-template-columns: 1fr;
  }

  body.login-control-center .login-card {
    padding: 32px 20px 24px;
    border-radius: 24px;
  }

  .login-verify-row {
    grid-template-columns: 1fr;
  }

  .login-refresh {
    justify-self: end;
    margin-top: -48px;
  }
}
