:root {
  --bg: #040c13;
  --bg-deep: #03090e;
  --panel: rgba(10, 22, 32, 0.66);
  --panel-strong: rgba(11, 25, 37, 0.82);
  --line: rgba(123, 157, 186, 0.16);
  --line-soft: rgba(123, 157, 186, 0.09);
  --line-bright: rgba(109, 184, 241, 0.62);
  --cyan: #68b8f2;
  --cyan-bright: #bde5ff;
  --cyan-dim: #3f7da9;
  --text: #e8eef3;
  --text-soft: #c4cdd5;
  --muted: #7d8e9c;
  --dim: #4f6272;
  --gold: #d8b679;
  --gold-soft: rgba(216, 182, 121, 0.14);
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-num: "DIN Alternate", "Avenir Next Condensed", "SF Pro Display", var(--font-cn);
  --detail-h: clamp(244px, 25.2vh, 292px);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--text);
  font-family: var(--font-cn);
  background:
    radial-gradient(ellipse 70% 55% at 13% -12%, rgba(33, 69, 100, 0.34), transparent 64%),
    radial-gradient(ellipse 58% 58% at 88% 22%, rgba(28, 60, 88, 0.24), transparent 70%),
    radial-gradient(ellipse 60% 50% at 62% 112%, rgba(22, 47, 69, 0.3), transparent 68%),
    linear-gradient(145deg, #08121b 0%, #040c14 52%, #03090f 100%);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(139, 172, 199, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 172, 199, 0.026) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 20%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.25), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 16%, transparent 88%, rgba(0, 0, 0, 0.22));
}

button {
  font: inherit;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 44vw;
  height: 44vw;
  pointer-events: none;
  border: 1px solid rgba(118, 167, 208, 0.08);
  border-radius: 50%;
}

.ambient::before,
.ambient::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(118, 167, 208, 0.06);
  border-radius: inherit;
}

.ambient::after {
  inset: 26%;
}

.ambient-a {
  top: -30vw;
  left: -14vw;
}

.ambient-b {
  right: -29vw;
  bottom: -32vw;
}

.app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: clamp(7px, 1vh, 12px);
  width: 100%;
  height: 100vh;
  height: 100svh;
  max-width: 1920px;
  padding: clamp(14px, 1.9vh, 24px) clamp(17px, 1.9vw, 32px) clamp(10px, 1.3vh, 16px);
  margin: 0 auto;
}

/* ---------- header ---------- */

.topbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(260px, 1fr);
  align-items: center;
  min-height: clamp(60px, 7.7vh, 78px);
  padding: 0 2px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-self: start;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #7da8cd;
  place-items: center;
  filter: drop-shadow(0 0 12px rgba(107, 160, 205, 0.18));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  color: #dbe4eb;
  font-size: clamp(14px, 1.08vw, 17px);
  font-weight: 500;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.brand-name i {
  padding: 0 2px;
  color: var(--gold);
  font-style: normal;
}

.brand-en {
  margin-top: 5px;
  color: #697c8c;
  font-family: var(--font-num);
  font-size: 8px;
  letter-spacing: 2.15px;
  white-space: nowrap;
}

.brand-en span {
  padding: 0 3px;
  color: #3b4c5b;
}

.page-title {
  text-align: center;
  transform: translateY(1px);
}

.page-title h1 {
  margin: 0;
  color: #eef4f9;
  font-size: clamp(23px, 2.08vw, 32px);
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 1.16;
  text-shadow: 0 0 28px rgba(151, 198, 237, 0.12);
}

.page-title h1 em {
  color: var(--gold);
  font-style: normal;
}

.page-title p {
  margin: 7px 0 0;
  color: #6e8394;
  font-family: var(--font-num);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 4.1px;
}

.clock-block {
  justify-self: end;
  text-align: right;
}

.clock-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.clock-live {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(112, 166, 212, 0.08), 0 0 10px var(--cyan);
  animation: blink 3.2s ease-in-out infinite;
}

.clock {
  color: #eef3f8;
  font-family: var(--font-num);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1;
}

.date {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 7px;
  color: #708394;
  font-size: 9px;
  letter-spacing: 0.7px;
}

.date-dot {
  width: 2px;
  height: 2px;
  background: #4e6171;
  border-radius: 50%;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

/* ---------- meal timeline ---------- */

.meal-timeline {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(50px, 5.8vh, 59px);
  padding: 0 6px;
}

.meal-timeline::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(100, 137, 168, 0.16) 9%, rgba(100, 137, 168, 0.2) 82%, transparent);
}

.timeline-line {
  position: absolute;
  top: calc(50% - 16px);
  right: 12%;
  left: 1.2%;
  height: 1px;
  background: linear-gradient(90deg, rgba(99, 144, 182, 0.18), rgba(99, 144, 182, 0.42) 48%, rgba(99, 144, 182, 0.12));
}

.timeline-steps {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
}

.meal-step {
  position: relative;
  display: flex;
  flex: 1;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 4px;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  outline: 0;
}

.meal-step::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: #13222f;
  border: 1px solid rgba(98, 138, 171, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.meal-step:first-child::after {
  display: none;
}

.step-no {
  display: grid;
  flex: 0 0 auto;
  width: clamp(24px, 1.72vw, 27px);
  height: clamp(24px, 1.72vw, 27px);
  color: #728596;
  font-family: var(--font-num);
  font-size: 10px;
  border: 1px solid rgba(115, 144, 169, 0.34);
  border-radius: 50%;
  place-items: center;
  transition: 0.28s ease;
}

.step-copy {
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 0;
}

.step-name {
  color: #a9b3bc;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 500;
  letter-spacing: 1.2px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.step-time {
  color: #607282;
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.7px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.meal-step:hover .step-no {
  color: #dae7f2;
  border-color: rgba(140, 185, 222, 0.65);
}

.meal-step:hover .step-name {
  color: #e9eff4;
}

.meal-step.is-active .step-no {
  color: #081724;
  font-weight: 600;
  background: linear-gradient(145deg, #c6e7ff, #5ca7e0);
  border-color: #b4ddff;
  box-shadow: 0 0 0 4px rgba(104, 184, 242, 0.09), 0 0 20px rgba(79, 166, 235, 0.5);
}

.meal-step.is-active .step-name {
  color: #f1f8fd;
  text-shadow: 0 0 14px rgba(131, 184, 229, 0.25);
}

.meal-step.is-active .step-time {
  color: #99c3e6;
}

.meal-step.is-active::before {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 1px;
  height: 18px;
  content: "";
  background: linear-gradient(transparent, rgba(125, 180, 226, 0.75), transparent);
  transform: translate(-50%, -50%);
}

.meal-step.is-active::after {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.meal-step:focus-visible .step-no {
  outline: 2px solid rgba(174, 213, 245, 0.8);
  outline-offset: 3px;
}

.timeline-hint {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  align-items: center;
  padding: 0 8px 0 18px;
  color: #576a7b;
  font-size: 8px;
  letter-spacing: 0.9px;
  white-space: nowrap;
}

.hint-dot {
  width: 4px;
  height: 4px;
  background: #6c859a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(108, 133, 154, 0.07);
}

/* ---------- content grid ---------- */

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(314px, 22.3vw, 344px);
  gap: clamp(10px, 0.92vw, 15px);
  min-height: 0;
}

.left-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr) var(--detail-h) clamp(32px, 3.5vh, 38px);
  gap: clamp(8px, 1.05vh, 12px);
  min-height: 0;
}

/* ---------- room section ---------- */

.room-section {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.section-head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 25px;
  padding: 0 2px 7px;
}

.section-title {
  display: flex;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.section-title h2 {
  margin: 0;
  color: #dee6ec;
  font-size: clamp(12px, 0.94vw, 14px);
  font-weight: 500;
  letter-spacing: 1.7px;
  white-space: nowrap;
}

.section-title h2 em {
  padding: 0 2px;
  color: var(--gold);
  font-style: normal;
}

.section-title > span {
  color: #556a7c;
  font-family: var(--font-num);
  font-size: 7px;
  letter-spacing: 2.2px;
}

.section-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #6b7d8c;
  font-size: 9px;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.section-meta strong {
  color: var(--cyan);
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 500;
}

.section-meta i {
  width: 1px;
  height: 9px;
  margin: 0 4px;
  background: rgba(110, 140, 165, 0.22);
}

.section-meta span {
  color: #90a0ad;
}

.room-grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: clamp(7px, 0.9vh, 11px) clamp(7px, 0.62vw, 10px);
  min-height: 0;
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 0;
  padding: clamp(8px, 1.1vh, 13px) clamp(9px, 0.84vw, 14px);
  overflow: hidden;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(142deg, rgba(18, 35, 50, 0.58), rgba(8, 18, 26, 0.62)),
    rgba(9, 19, 27, 0.5);
  border: 1px solid rgba(97, 133, 164, 0.2);
  border-radius: 10px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(216, 235, 250, 0.025);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.room-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(153, 191, 223, 0.18), transparent);
  transition: width 0.3s ease;
}

.room-card::after {
  position: absolute;
  top: -46px;
  right: -44px;
  width: 105px;
  height: 105px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle, rgba(98, 157, 207, 0.06), transparent 68%);
}

.room-grid.is-swapping .room-card {
  animation: cardIn 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.room-grid.is-swapping .room-card:nth-child(5n + 2) {
  animation-delay: 0.022s;
}

.room-grid.is-swapping .room-card:nth-child(5n + 3) {
  animation-delay: 0.044s;
}

.room-grid.is-swapping .room-card:nth-child(5n + 4) {
  animation-delay: 0.066s;
}

.room-grid.is-swapping .room-card:nth-child(5n + 5) {
  animation-delay: 0.088s;
}

@keyframes cardIn {
  from {
    opacity: 0.35;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.room-card:hover {
  background:
    linear-gradient(142deg, rgba(22, 42, 60, 0.75), rgba(9, 20, 29, 0.7)),
    rgba(9, 19, 27, 0.5);
  border-color: rgba(121, 168, 207, 0.4);
  transform: translateY(-1px);
}

.room-card:focus-visible {
  border-color: rgba(191, 222, 247, 0.9);
  box-shadow: 0 0 0 2px rgba(108, 164, 211, 0.25);
}

.room-card.is-selected {
  background:
    radial-gradient(ellipse 90% 100% at 8% 0%, rgba(65, 117, 161, 0.16), transparent 62%),
    linear-gradient(142deg, rgba(23, 45, 64, 0.88), rgba(9, 22, 33, 0.8));
  border-color: rgba(108, 184, 242, 0.78);
  box-shadow:
    0 0 0 1px rgba(106, 178, 234, 0.16),
    0 0 26px rgba(55, 145, 225, 0.16),
    inset 0 0 28px rgba(63, 148, 219, 0.09),
    inset 0 1px 0 rgba(221, 237, 251, 0.08);
}

.room-card.is-selected::before {
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(148, 209, 255, 0.82), transparent);
}

.room-card.is-selected::after {
  background: radial-gradient(circle, rgba(115, 176, 227, 0.13), transparent 68%);
}

.room-card.is-selected .room-no {
  color: #f2f8fd;
}

.room-card.is-selected .room-no small {
  color: #a1c2de;
}

.room-top {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 5px;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
}

.room-no {
  color: #dbe3ea;
  font-family: var(--font-num);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}

.room-no small {
  margin-left: 2px;
  color: #8192a0;
  font-family: var(--font-cn);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}

.kcal {
  display: flex;
  gap: 2px;
  align-items: baseline;
  color: #bcc8d2;
  font-family: var(--font-num);
  font-size: clamp(14px, 1.14vw, 18px);
  font-weight: 500;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.kcal small {
  color: #586b7c;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.room-card.is-selected .kcal {
  color: var(--cyan-bright);
}

.room-card.is-selected .kcal small {
  color: #7996ae;
}

.room-tags {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
}

.room-mid {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  color: #586b7b;
  font-size: 7.5px;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.room-mid::after {
  flex: 1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(104, 137, 165, 0.2), transparent);
}

.room-mid em {
  color: #81919f;
  font-style: normal;
}

.room-card.is-selected .room-mid {
  color: #8ea3b4;
}

.room-card.is-selected .room-mid em {
  color: #b5c9d9;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 7px;
  color: #a1b4c3;
  font-size: 8px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  background: rgba(13, 31, 47, 0.36);
  border: 1px solid rgba(99, 138, 170, 0.25);
  border-radius: 3px;
}

.room-card.is-selected .badge {
  color: #c9def0;
  background: rgba(34, 64, 90, 0.38);
  border-color: rgba(115, 167, 211, 0.38);
}

.room-card.is-selected .badge:first-child {
  color: #091927;
  background: #8ab7dd;
  border-color: #aacfee;
}

.room-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(118, 179, 230, 0.055) 48%, transparent 66%);
  transform: translateX(-70%);
}

.room-card.is-selected .room-scan {
  opacity: 1;
  animation: roomScan 6s ease-in-out infinite;
}

@keyframes roomScan {
  0%,
  25% {
    transform: translateX(-75%);
  }
  60%,
  100% {
    transform: translateX(75%);
  }
}

/* ---------- shared panels ---------- */

.panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(13, 27, 39, 0.8), rgba(6, 16, 25, 0.76)),
    rgba(9, 19, 27, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(212, 233, 250, 0.035),
    0 10px 36px rgba(0, 0, 0, 0.12);
}

.panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(138, 184, 222, 0.22) 24%, rgba(138, 184, 222, 0.08) 70%, transparent);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 16px 7px;
}

.panel-heading h2 {
  margin: 0;
  color: #e2eaf0;
  font-size: clamp(12px, 0.98vw, 14px);
  font-weight: 500;
  letter-spacing: 1.7px;
  line-height: 1.2;
}

.panel-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.panel-heading p {
  margin: 6px 0 0;
  color: #596c7c;
  font-family: var(--font-num);
  font-size: 7px;
  letter-spacing: 1.9px;
}

.panel-heading p span {
  padding: 0 3px;
  color: #415363;
}

.panel-heading p b {
  color: #95a7b7;
  font-weight: 500;
  letter-spacing: 0.8px;
}

/* ---------- detail panel ---------- */

.detail-panel {
  padding: clamp(11px, 1.25vh, 15px) clamp(13px, 1.1vw, 18px) clamp(9px, 1.1vh, 13px);
  background:
    radial-gradient(ellipse 64% 100% at 12% 0%, rgba(42, 85, 122, 0.1), transparent 66%),
    linear-gradient(136deg, rgba(13, 27, 40, 0.92), rgba(5, 15, 24, 0.85));
}

.detail-glow {
  position: absolute;
  top: -70px;
  left: 18%;
  width: 340px;
  height: 180px;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(102, 162, 213, 0.06), transparent 68%);
}

.detail-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.44fr) minmax(245px, 0.8fr);
  gap: clamp(14px, 1.3vw, 22px);
  height: 100%;
  min-height: 0;
}

.detail-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

.detail-heading {
  display: flex;
  flex: 0 0 auto;
  gap: clamp(9px, 0.8vw, 13px);
  align-items: center;
  min-height: 42px;
  padding-bottom: 7px;
}

.detail-room {
  display: flex;
  align-items: baseline;
  color: #f3f9fd;
  font-family: var(--font-num);
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 0.92;
  white-space: nowrap;
}

.detail-room small {
  margin-left: 3px;
  color: #90a2b2;
  font-family: var(--font-cn);
  font-size: 9px;
  font-weight: 400;
}

.detail-title-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  min-width: 0;
}

.detail-sub {
  margin: 0;
  color: #abb8c2;
  font-size: clamp(9px, 0.7vw, 10.5px);
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.sub-sep {
  padding: 0 6px;
  color: #415566;
}

.detail-tags {
  display: flex;
  gap: 4px;
  align-items: center;
}

.detail-tags .badge {
  height: 18px;
  color: #b4cde2;
  background: rgba(36, 66, 92, 0.2);
  border-color: rgba(112, 154, 189, 0.26);
}

.detail-index {
  display: flex;
  gap: 3px;
  align-items: baseline;
  margin-left: auto;
  color: #526576;
  font-family: var(--font-num);
  font-size: 7px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.detail-index b {
  color: #75899a;
  font-size: 10px;
  font-weight: 500;
}

.menu-list {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px clamp(13px, 1.15vw, 18px);
  align-items: stretch;
  min-height: 0;
  padding: 3px 0 2px;
}

.menu-list.is-four {
  gap: 6px clamp(11px, 0.92vw, 15px);
}

.detail-panel.is-swapping .detail-body {
  animation: detailIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes detailIn {
  from {
    opacity: 0.45;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 6px 6px 5px 11px;
  overflow: hidden;
  background: linear-gradient(100deg, rgba(23, 42, 58, 0.2), rgba(9, 19, 28, 0));
  border-top: 1px solid rgba(101, 140, 173, 0.16);
  border-radius: 1px;
}

.menu-item::before {
  position: absolute;
  top: 8px;
  bottom: 6px;
  left: 0;
  width: 1px;
  content: "";
  background: linear-gradient(rgba(125, 174, 215, 0.55), rgba(113, 165, 209, 0.06));
}

.menu-top {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.menu-why {
  overflow: hidden;
  color: #586c7c;
  font-size: 7px;
  letter-spacing: 0.15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-advice {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: 8px 10px 7px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 120% at 100% 0%, rgba(81, 131, 173, 0.1), transparent 65%),
    rgba(17, 34, 48, 0.18);
  border: 1px solid rgba(97, 135, 167, 0.15);
  border-radius: 4px;
}

.advice-label {
  color: #8ea3b5;
  font-size: 7px;
  letter-spacing: 1px;
}

.menu-advice p {
  margin: 5px 0 4px;
  color: #c4ced7;
  font-size: clamp(8px, 0.64vw, 9.5px);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.menu-advice p i {
  padding: 0 3px;
  color: var(--gold);
  font-style: normal;
}

.advice-sign {
  color: #536778;
  font-size: 6.5px;
  letter-spacing: 0.2px;
}

.menu-kind {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  align-items: center;
  align-self: flex-start;
  height: 15px;
  padding: 0 5px;
  color: #90a3b2;
  font-size: 7px;
  letter-spacing: 0.8px;
  background: rgba(40, 71, 97, 0.2);
  border: 1px solid rgba(100, 142, 178, 0.16);
  border-radius: 2px;
}

.menu-kind::before {
  width: 3px;
  height: 3px;
  content: "";
  background: #73a2ca;
  border-radius: 50%;
}

.menu-name {
  margin-top: 5px;
  overflow: hidden;
  color: #e7eef4;
  font-size: clamp(11px, 0.84vw, 12.5px);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-ing {
  margin-top: 3px;
  overflow: hidden;
  color: #728493;
  font-size: 8px;
  letter-spacing: 0.25px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-list.is-four .menu-item {
  padding-right: 5px;
  padding-left: 9px;
}

.menu-list.is-four .menu-name {
  font-size: clamp(10px, 0.77vw, 11.5px);
}

.menu-list.is-four .menu-ing {
  font-size: 7.3px;
}

.menu-principles {
  display: flex;
  flex: 0 0 auto;
  gap: 5px;
  align-items: center;
  min-height: 25px;
  margin-top: 5px;
  white-space: nowrap;
}

.principles-label {
  color: #576b7b;
  font-size: 7px;
  letter-spacing: 0.8px;
}

.principle {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  color: #94a5b3;
  font-size: 7px;
  letter-spacing: 0.3px;
  background: rgba(29, 52, 72, 0.18);
  border: 1px solid rgba(96, 131, 161, 0.15);
  border-radius: 2px;
}

.principles-check {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
  color: #617586;
  font-size: 7px;
  letter-spacing: 0.3px;
}

.principles-check i {
  display: grid;
  width: 12px;
  height: 12px;
  color: #8cafcd;
  font-family: var(--font-num);
  font-size: 7px;
  font-style: normal;
  border: 1px solid rgba(112, 151, 184, 0.3);
  border-radius: 50%;
  place-items: center;
}

.detail-tip {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  min-height: 30px;
  margin-top: 4px;
  padding: 6px 9px;
  color: #8d9ba6;
  font-size: 8px;
  letter-spacing: 0.2px;
  line-height: 1.4;
  background: linear-gradient(90deg, rgba(31, 60, 85, 0.19), rgba(9, 20, 29, 0.06));
  border-left: 2px solid rgba(118, 166, 207, 0.52);
  border-radius: 2px;
}


.detail-tip::before {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  content: "";
  background: #77a0c3;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(119, 160, 195, 0.65);
}

.detail-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: clamp(13px, 1.2vw, 20px);
  border-left: 1px solid rgba(113, 143, 169, 0.14);
}

.energy-label {
  color: #708292;
  font-size: 8px;
  letter-spacing: 1.3px;
}

.energy-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 43px;
  padding: 1px 0 5px;
}

.energy-value {
  display: flex;
  gap: 3px;
  align-items: baseline;
  color: #f4f9fe;
  font-family: var(--font-num);
  line-height: 0.9;
}

.energy-value > span {
  font-size: clamp(31px, 2.55vw, 40px);
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow: 0 0 20px rgba(162, 207, 244, 0.1);
}

.energy-value small {
  color: #6e8496;
  font-size: 8px;
  letter-spacing: 0.3px;
}

.energy-tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  margin-bottom: 3px;
  color: #a3c4e0;
  font-size: 8px;
  letter-spacing: 0.45px;
  white-space: nowrap;
  background: rgba(37, 75, 106, 0.24);
  border: 1px solid rgba(107, 155, 195, 0.24);
  border-radius: 3px;
}

.nutrient-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding-top: 2px;
}

.nutrient-row {
  display: grid;
  grid-template-columns: 66px minmax(38px, 1fr) 48px;
  gap: 8px;
  align-items: center;
  min-height: 28px;
}

.nutrient-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nutrient-name {
  color: #b8c3cc;
  font-size: 9.5px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.nutrient-sub {
  color: #586a7a;
  font-size: 7px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nutrient-track {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: rgba(91, 123, 150, 0.15);
  border-radius: 4px;
}

.nutrient-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(58, 139, 208, 0.5), #9fd3ff);
  border-radius: inherit;
  box-shadow: 0 0 8px rgba(96, 186, 250, 0.44);
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nutrient-fill::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: 100%;
  content: "";
  background: #d6f1ff;
  opacity: 0.8;
  filter: blur(1px);
}

.nutrient-value {
  color: #ccd7e0;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.2px;
  text-align: right;
  white-space: nowrap;
}

.nutrient-value small {
  margin-left: 1px;
  color: #627686;
  font-size: 7px;
}

/* ---------- service strip ---------- */

.service-strip {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 11px;
  color: #718393;
  font-size: 8px;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, rgba(17, 34, 48, 0.4), rgba(9, 19, 27, 0.22));
  border: 1px solid rgba(98, 131, 159, 0.11);
  border-radius: 6px;
}

.service-icon {
  display: grid;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  color: #709abd;
  place-items: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-strip b {
  margin-right: 6px;
  color: #a6b5c2;
  font-weight: 500;
}

.service-strip i {
  display: inline-block;
  width: 1px;
  height: 8px;
  margin: 0 6px;
  vertical-align: -1px;
  background: rgba(104, 134, 160, 0.25);
}

.service-right {
  margin-left: auto;
  color: #617382;
  white-space: nowrap;
}

.service-right b {
  color: #8da9c1;
}

/* ---------- right column ---------- */

.right-column {
  display: grid;
  grid-template-rows: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(9px, 1vh, 13px);
  min-height: 0;
}

/* ---------- profile panel ---------- */

.profile-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.live-tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  color: #96a9b9;
  font-size: 7px;
  letter-spacing: 0.7px;
  white-space: nowrap;
  background: rgba(37, 66, 90, 0.2);
  border: 1px solid rgba(97, 137, 170, 0.17);
  border-radius: 3px;
}

.live-tag i {
  width: 4px;
  height: 4px;
  background: #7dafd9;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(125, 175, 217, 0.6);
}

.profile-content {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr) clamp(87px, 6.7vw, 105px);
  gap: 3px;
  align-items: center;
  min-height: 190px;
  padding: 0 12px 0 7px;
}

.radar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.radar-wrap svg {
  display: block;
  width: 100%;
  max-width: 216px;
  height: auto;
  max-height: 100%;
  overflow: visible;
}

.radar-label {
  fill: #8596a4;
  font-family: var(--font-cn);
  font-size: 11.5px;
  letter-spacing: 0.2px;
}

.radar-label.is-peak {
  fill: #c1daef;
}

.score-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  padding: 6px 0 3px;
}

.score-line {
  display: flex;
  gap: 2px;
  align-items: baseline;
  line-height: 0.82;
}

.score {
  color: #f2f8fd;
  font-family: var(--font-num);
  font-size: clamp(42px, 3.25vw, 50px);
  font-weight: 500;
  letter-spacing: -1px;
  text-shadow: 0 0 24px rgba(139, 191, 234, 0.18);
}

.score-line small {
  color: #6f8495;
  font-size: 8px;
}

.score-label {
  margin-top: 6px;
  color: #919fab;
  font-size: 8px;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.score-delta {
  margin-top: 7px;
  color: #627686;
  font-size: 7.5px;
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.score-delta .up {
  color: #80add2;
  font-family: var(--font-num);
  font-size: 10px;
}

.score-delta b {
  color: #abc8e1;
  font-family: var(--font-num);
  font-size: 9px;
  font-weight: 500;
}

.score-badge {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 19px;
  padding: 0 6px;
  margin-top: 9px;
  color: #b6c9d9;
  font-size: 7.5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: rgba(36, 68, 94, 0.28);
  border: 1px solid rgba(108, 152, 189, 0.2);
  border-radius: 3px;
}

.score-badge i {
  width: 3px;
  height: 3px;
  background: #87b5db;
  border-radius: 50%;
}

.legend {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 4px;
  padding: 4px 14px 8px;
  margin: 0 2px;
  border-top: 1px solid rgba(106, 137, 164, 0.11);
}

.legend-item {
  display: flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
  color: #818f9b;
  font-size: 8px;
  letter-spacing: 0.2px;
}

.legend-item i {
  flex: 0 0 auto;
  width: 4px;
  height: 4px;
  background: var(--dot, #7aaad3);
  border-radius: 50%;
  box-shadow: 0 0 5px color-mix(in srgb, var(--dot, #7aaad3) 55%, transparent);
}

.legend-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legend-item b {
  margin-left: auto;
  color: #adbac5;
  font-family: var(--font-num);
  font-size: 8.5px;
  font-weight: 500;
}

.profile-foot {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0 16px 10px;
  color: #506271;
  font-size: 7px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.profile-foot span {
  width: 3px;
  height: 3px;
  background: #537088;
  border-radius: 50%;
}

/* ---------- seasonal panel ---------- */

.seasonal-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.seasonal-head {
  flex: 0 0 auto;
  align-items: flex-start;
  padding-bottom: 2px;
}

.solar-badge {
  display: grid;
  width: 32px;
  height: 32px;
  margin-top: -2px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1px;
  background: var(--gold-soft);
  border: 1px solid rgba(216, 182, 121, 0.38);
  border-radius: 5px;
  place-items: center;
}

.season-intro {
  flex: 0 0 auto;
  padding: 3px 16px 6px;
}

.season-intro h3 {
  margin: 0;
  color: #f0f4f8;
  font-size: clamp(16px, 1.37vw, 20px);
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 1.25;
}

.season-intro h3 em {
  padding: 0 2px;
  color: var(--gold);
  font-style: normal;
}

.season-intro p {
  margin: 4px 0 0;
  color: #828f99;
  font-family: var(--font-num);
  font-size: 7px;
  letter-spacing: 1.6px;
}

.season-intro p i {
  color: var(--gold);
  font-style: normal;
}

.dish-stack.is-swapping .dish {
  animation: dishIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.dish-stack.is-swapping .dish-mid {
  animation-delay: 0.06s;
}

.dish-stack.is-swapping .dish-low {
  animation-delay: 0.11s;
}

@keyframes dishIn {
  from {
    opacity: 0.25;
    transform: scale(0.94) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.season-main {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 7px;
  min-height: 0;
  padding: 0 13px 4px 16px;
}

.dish-stack {
  position: relative;
  min-height: 145px;
  height: 100%;
}

.dish {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #152635;
  border: 1px solid rgba(181, 202, 219, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(11, 24, 36, 0.7),
    0 0 0 4px rgba(138, 167, 191, 0.1),
    0 12px 25px rgba(0, 0, 0, 0.35);
}

.dish::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 33% 24%, rgba(226, 240, 251, 0.16), transparent 23%),
    radial-gradient(circle at 50% 55%, transparent 52%, rgba(3, 12, 20, 0.5) 100%);
  border-radius: inherit;
}

.dish img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.9);
  transition: transform 0.6s ease;
}

.dish:hover img {
  transform: scale(1.06);
}

.dish-main {
  top: 0;
  left: 2%;
  width: 79%;
  aspect-ratio: 1;
  z-index: 2;
}

.dish-mid {
  top: 32%;
  left: -2%;
  width: 56%;
  aspect-ratio: 1;
  z-index: 3;
}

.dish-low {
  top: 55%;
  right: -1%;
  width: 69%;
  aspect-ratio: 1;
  z-index: 1;
  filter: saturate(0.85);
}

.dish-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 4px;
  z-index: 5;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #dee6ec;
  font-size: 10px;
  letter-spacing: 1px;
  text-shadow: 0 1px 7px #050d15, 0 0 12px #050d15;
}

.dish-caption span {
  font-weight: 500;
}

.dish-caption b {
  color: #919faa;
  font-family: var(--font-num);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.season-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-top: 0;
}

.season-list {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.season-list li {
  position: relative;
  padding: 7px 0 7px 11px;
  color: #b7c2ca;
  font-size: clamp(8.5px, 0.66vw, 10px);
  letter-spacing: 0.2px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(101, 131, 157, 0.1);
}

.season-list li:last-child {
  border-bottom: 0;
}

.season-dish {
  display: block;
  color: #c4ced6;
  font-size: clamp(8.5px, 0.66vw, 10px);
  letter-spacing: 0.25px;
}

.season-list li small {
  display: block;
  margin-top: 2px;
  color: #586c7c;
  font-size: 7px;
  letter-spacing: 0.1px;
}

.season-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: #7ea6c8;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(126, 166, 200, 0.5);
}

.season-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 8px 0 0;
  margin-top: 7px;
  border-top: 1px solid rgba(101, 131, 157, 0.1);
}

.season-ingredients > span {
  margin-right: 2px;
  color: #5f7383;
  font-size: 7px;
  letter-spacing: 0.5px;
}

.season-ingredients i {
  display: inline-flex;
  align-items: center;
  height: 17px;
  padding: 0 6px;
  color: #97a7b4;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.3px;
  background: rgba(36, 59, 78, 0.16);
  border: 1px solid rgba(97, 127, 152, 0.16);
  border-radius: 2px;
}

.season-note {
  flex: 0 0 auto;
  padding: 8px 9px;
  margin-top: 9px;
  color: #9eabb5;
  font-size: clamp(7.5px, 0.57vw, 8.5px);
  letter-spacing: 0.35px;
  line-height: 1.55;
  background: linear-gradient(90deg, rgba(216, 182, 121, 0.08), rgba(216, 182, 121, 0.015));
  border-left: 1px solid rgba(216, 182, 121, 0.5);
  border-radius: 2px;
}

.season-foot {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 10px;
  color: #60707e;
  font-size: 7px;
  letter-spacing: 0.4px;
  border-top: 1px solid rgba(101, 131, 157, 0.1);
}

.season-foot-en {
  color: #455767;
  font-family: var(--font-num);
  font-size: 6.5px;
  letter-spacing: 1.3px;
}

/* ---------- footer ---------- */

.footer-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: clamp(24px, 2.8vh, 31px);
  padding: 0 3px;
  color: #556777;
  font-size: 7.5px;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.footer-item {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.footer-item > span:not(.footer-label):not(.footer-icon) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-item b {
  color: #8b9aa7;
  font-weight: 500;
}

.footer-icon {
  color: #729abb;
  font-family: var(--font-num);
  font-size: 12px;
  line-height: 1;
}

.update {
  flex: 0 0 auto;
}

.food {
  flex: 1 1 34%;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(95, 124, 149, 0.16);
}

.nutrition {
  flex: 1 1 27%;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(95, 124, 149, 0.16);
}

.footer-label {
  display: inline-grid;
  flex: 0 0 auto;
  width: 24px;
  height: 15px;
  color: #8a9fb1;
  font-size: 7px;
  border: 1px solid rgba(105, 142, 172, 0.23);
  border-radius: 2px;
  place-items: center;
}

.footer-disclaimer {
  flex: 0 0 auto;
  padding-left: 14px;
  color: #425362;
  border-left: 1px solid rgba(95, 124, 149, 0.16);
}

/* ---------- responsive tuning ---------- */

@media (max-height: 960px) {
  :root {
    --detail-h: clamp(252px, 29vh, 278px);
  }

  .topbar {
    min-height: 62px;
  }

  .app {
    gap: 6px;
    padding-top: 12px;
  }

  .meal-timeline {
    min-height: 47px;
  }

  .right-column {
    grid-template-rows: minmax(262px, 0.8fr) minmax(0, 1.2fr);
  }

  .profile-content {
    min-height: 132px;
  }

  .score {
    font-size: 39px;
  }

  .legend {
    gap: 3px 4px;
    padding-bottom: 5px;
  }

  .profile-foot {
    padding-bottom: 7px;
  }

  .season-intro {
    padding-bottom: 3px;
  }

  .season-intro h3 {
    font-size: 16px;
  }

  .season-list li {
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 8.5px;
  }

  .season-list li small {
    font-size: 6.5px;
  }

  .season-ingredients {
    padding-top: 5px;
    margin-top: 4px;
  }

  .season-note {
    padding: 5px 8px;
    font-size: 7px;
  }

  .season-foot {
    padding-bottom: 7px;
  }

  .dish-stack {
    min-height: 125px;
  }

  .menu-item {
    padding: 5px 5px 4px 9px;
  }

  .menu-name {
    margin-top: 4px;
  }

  .menu-ing {
    margin-top: 2px;
  }

  .menu-principles {
    min-height: 23px;
  }

  .detail-tip {
    min-height: 28px;
  }
}

@media (max-height: 820px) {
  :root {
    --detail-h: 246px;
  }

  .room-mid {
    display: none;
  }

  .room-card {
    padding: 6px 9px;
  }

  .menu-principles {
    display: none;
  }

  .menu-why {
    display: none;
  }

  .menu-advice {
    padding: 6px 8px;
  }

  .advice-sign {
    display: none;
  }

  .detail-heading {
    min-height: 36px;
    padding-bottom: 5px;
  }

  .detail-room {
    font-size: 24px;
  }

  .menu-list {
    gap: 4px 12px;
  }

  .menu-item {
    padding: 4px 4px 3px 9px;
  }

  .logo,
  .brand-mark {
    width: 33px;
    height: 33px;
  }

  .page-title h1 {
    font-size: 22px;
  }

  .profile-content {
    min-height: 120px;
  }

  .right-column {
    grid-template-rows: 235px minmax(0, 1fr);
  }

  .season-list li {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .detail-tip {
    min-height: 25px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .menu-item {
    min-height: 68px;
  }

  .footer-bar {
    font-size: 7px;
  }
}

@media (max-width: 1320px) {
  .content {
    grid-template-columns: minmax(0, 1fr) 302px;
  }

  .app {
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-en {
    letter-spacing: 1.4px;
  }

  .detail-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.82fr);
  }

  .footer-disclaimer {
    display: none;
  }
}

@media (max-width: 1120px) {
  .content {
    grid-template-columns: minmax(0, 1fr) 284px;
  }

  .page-title h1 {
    font-size: 22px;
    letter-spacing: 3px;
  }

  .brand-name {
    font-size: 13px;
  }

  .timeline-hint,
  .section-title > span {
    display: none;
  }

  .room-grid {
    gap: 7px;
  }

  .detail-body {
    grid-template-columns: minmax(0, 1.24fr) minmax(216px, 0.86fr);
  }

  .service-right {
    display: none;
  }

  .footer-item.nutrition {
    display: none;
  }
}

@media (max-width: 960px) {
  body {
    overflow: auto;
  }

  .app {
    height: auto;
    min-height: 100svh;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .page-title {
    display: none;
  }

  .content {
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px;
  }

  .left-column {
    grid-template-rows: auto var(--detail-h) auto;
  }

  .room-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 92px);
  }

  .detail-body {
    grid-template-columns: 1fr;
  }

  .detail-right {
    border-top: 1px solid rgba(113, 143, 169, 0.14);
    border-left: 0;
  }

  .footer-bar {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
