@font-face {
  font-family:DailyFangsongUI;
  src:url('/assets/fonts/ui.woff2?v=20261118a') format('woff2');
  font-display:swap;
}
@font-face { font-family:DailyMonth01; src:url('/assets/fonts/m01.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth02; src:url('/assets/fonts/m02.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth03; src:url('/assets/fonts/m03.woff2?v=2') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth04; src:url('/assets/fonts/m04.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth05; src:url('/assets/fonts/m05.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth06; src:url('/assets/fonts/m06.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth07; src:url('/assets/fonts/m07.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth08; src:url('/assets/fonts/m08.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth09; src:url('/assets/fonts/m09.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth10; src:url('/assets/fonts/m10.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth11; src:url('/assets/fonts/m11.woff2?v=1') format('woff2'); font-display:swap; }
@font-face { font-family:DailyMonth12; src:url('/assets/fonts/m12.woff2?v=1') format('woff2'); font-display:swap; }
:root {
  color-scheme:light;
  --blue:#153e65;
  --blue-dark:#0c2b4e;
  --blue-deep:#092747;
  --gold:#dec593;
  --gold-light:#f5e9ca;
  --ink:#203a50;
  --paper:#fcfaf4;
  --muted:#75828b;
  --serif:DailyFangsongUI,"Songti SC","STSong","Noto Serif CJK SC",serif;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  min-height:100%;
  background:var(--blue-dark);
}
body {
  margin:0;
  min-height:100vh;
  color:#fff;
  font-family:var(--sans);
  background:radial-gradient(ellipse at 50% 18%,#386b90 0%,#1e527a 32%,#12395f 70%,#0a2a4c 100%);
  -webkit-font-smoothing:antialiased;
}
body.sheet-open {
  overflow:hidden;
}
button,textarea {
  font:inherit;
}
button {
  cursor:pointer;
}
button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #e4bb68;
  outline-offset:3px;
}
[hidden] {
  display:none!important;
}
.svg-defs {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}
.site-shell {
  position:relative;
  max-width:640px;
  margin:0 auto;
  min-height:100vh;
  overflow:hidden;
  padding-bottom:calc(112px + env(safe-area-inset-bottom));
}
.site-shell:before,.site-shell:after {
  content:"";
  position:absolute;
  pointer-events:none;
  top:128px;
  width:150px;
  height:380px;
  border:1px solid rgba(221,199,153,.10);
  border-radius:50%;
  z-index:0;
}
.site-shell:before {
  left:-118px;
}
.site-shell:after {
  right:-118px;
}
.topbar {
  position:relative;
  z-index:1;
  height:86px;
  padding:13px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(222,197,147,.19);
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff;
  text-decoration:none;
  min-width:0;
}
.brand-seal {
  display:grid;
  place-items:center;
  flex:0 0 48px;
  width:48px;
  height:48px;
  border-radius:50%;
  background:#fbf7ed;
  box-shadow:0 2px 12px rgba(5,22,42,.15);
}
.brand-seal img {
  width:39px;
  height:39px;
  object-fit:contain;
}
.brand-text {
  display:flex;
  flex-direction:column;
  gap:3px;
}
.brand-text strong {
  font-family:var(--serif);
  font-size:20px;
  font-weight:600;
  letter-spacing:.12em;
  white-space:nowrap;
}
.brand-text small {
  font-size:9px;
  letter-spacing:.07em;
  color:#dccda9;
  white-space:nowrap;
}
.top-actions {
  display:flex;
  align-items:center;
  gap:5px;
  flex-shrink:0;
}
.music-button {
  width:44px;
  min-height:44px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  border:1px solid rgba(238,220,179,.45);
  border-radius:18px;
  background:rgba(4,35,61,.15);
  color:#f5e7ca;
  font-size:10px;
}
.music-button svg {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.music-button.is-playing {
  background:rgba(222,197,147,.22);
}
.language-switch {
  min-height:44px;
  padding:0 10px;
  border:1px solid rgba(238,220,179,.45);
  border-radius:22px;
  background:rgba(4,35,61,.15);
  color:#f5e7ca;
  font-size:15px;
  white-space:nowrap;
}
.language-switch span {
  font-size:11px;
  margin-left:4px;
}
.reading {
  position:relative;
  z-index:1;
  padding:20px 22px 22px;
}
.top-ornament,.date-rule,.card-foot {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  color:var(--gold);
}
.top-ornament span,.date-rule span,.card-foot span {
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(232,209,164,.58));
  width:64px;
}
.top-ornament span:last-child,.date-rule span:last-child,.card-foot span:last-child {
  background:linear-gradient(90deg,rgba(232,209,164,.58),transparent);
}
.top-ornament i,.date-rule i,.card-foot i {
  font-size:10px;
  font-style:normal;
}
.reading-kicker {
  margin-top:20px;
  text-align:center;
  font-size:9px;
  letter-spacing:.21em;
  color:#e0cfae;
}
.kicker-dot {
  margin:0 5px;
  color:#c3a871;
}
.date-navigation {
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:355px;
  margin:18px auto 0;
}
.arrow-button {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid rgba(235,218,182,.35);
  border-radius:50%;
  background:rgba(11,47,77,.19);
  color:#f1e3c7;
}
.arrow-button:disabled {
  opacity:.28;
  cursor:not-allowed;
}
.arrow-button svg,.sheet-close svg,.month-navigation svg {
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.date-center {
  text-align:center;
}
.date-caption {
  display:block;
  color:#e3d5ba;
  font-size:11px;
  letter-spacing:.1em;
}
.date-center h1 {
  margin:3px 0 0;
  font-family:Georgia,serif;
  font-weight:400;
  font-size:49px;
  line-height:1.08;
  letter-spacing:.07em;
  color:#fff9e9;
}
.date-center h1 span {
  font-size:.6em;
  color:#d2b985;
  vertical-align:8%;
  margin:0 1px;
}
.date-jump {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:44px;
  margin:4px auto 0;
  padding:4px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#e3d5ba;
  font-size:12px;
}
.date-jump svg {
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.date-rule {
  margin:21px auto 20px;
}
.date-rule span {
  width:min(30vw,130px);
}
.date-rule i {
  font-size:7px;
}
.teaching-card {
  position:relative;
  margin:0 auto;
  max-width:530px;
  padding:5px;
  border:1px solid rgba(230,207,160,.59);
  border-radius:50% 50% 9px 9px / 30px 30px 9px 9px;
  background:linear-gradient(155deg,rgba(19,68,105,.40),rgba(9,42,75,.40));
  box-shadow:0 20px 45px rgba(3,29,53,.13);
}
.card-inner {
  min-height:250px;
  padding:28px 16px 25px;
  border:1px solid rgba(231,207,161,.28);
  border-radius:50% 50% 6px 6px / 25px 25px 6px 6px;
  text-align:center;
}
.small-symbol {
  font-size:18px;
  color:#dac18e;
  line-height:1;
}
.teaching-title {
  margin:23px 0 15px;
  color:#e5d1a8;
  font-family:var(--reading-serif,var(--serif));
  font-size:17px;
  line-height:1.8;
  overflow-wrap:anywhere;
}
.teaching-text {
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:normal;
  color:#fffdf5;
  font-family:var(--reading-serif,var(--serif));
  font-size:clamp(19px,5.3vw,25px);
  line-height:1.9;
  letter-spacing:.035em;
}
.teaching-text.tibetan {
  font-family:"Kailasa","Noto Serif Tibetan",serif;
  font-size:clamp(21px,5.6vw,27px);
  line-height:1.95;
  letter-spacing:0;
}
.leap-note {
  font-size:12px;
  line-height:1.6;
  color:#e4d1ab;
  margin:20px 0 0;
}
.card-foot {
  margin-top:27px;
}
.card-foot span {
  width:38px;
  opacity:.65;
}
.reading-end {
  text-align:center;
  margin:20px 0 0;
  color:rgba(237,222,193,.68);
  font-size:11px;
  letter-spacing:.18em;
}
.bottom-nav {
  position:fixed;
  z-index:5;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(100%,640px);
  display:flex;
  justify-content:center;
  gap:clamp(12px,4vw,34px);
  padding:12px 18px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(11,43,73,.05),rgba(8,35,61,.94) 27%);
  backdrop-filter:blur(6px);
}
.bottom-nav button {
  width:62px;
  min-height:62px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border:1px solid rgba(250,227,183,.7);
  border-radius:19px;
  background:linear-gradient(150deg,#ecd8a9,#c8a66e);
  box-shadow:0 5px 15px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.55);
  color:#123c60;
  font-family:var(--serif);
  font-size:14px;
}
.bottom-nav svg {
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.overlay {
  position:fixed;
  z-index:20;
  inset:0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.overlay-scrim {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  background:rgba(4,21,38,.67);
}
.sheet {
  position:relative;
  width:min(100%,640px);
  max-height:min(88vh,800px);
  max-height:min(88dvh,800px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:10px 24px calc(24px + env(safe-area-inset-bottom));
  border-radius:24px 24px 0 0;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 -12px 50px rgba(0,0,0,.22);
}
.sheet-handle {
  width:36px;
  height:4px;
  margin:0 auto 19px;
  border-radius:3px;
  background:#d7d9d4;
}
.sheet-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.sheet-eyebrow {
  margin:0 0 5px;
  font-size:9px;
  letter-spacing:.2em;
  color:#ac9364;
}
.sheet h2 {
  font-family:var(--serif);
  font-size:28px;
  font-weight:600;
  letter-spacing:.08em;
  margin:0;
}
.sheet-close {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border:1px solid #e4e4dd;
  border-radius:50%;
  color:#67777c;
  background:#fff;
}
.sheet-intro {
  margin:11px 0 21px;
  color:#6f7d81;
  font-size:13px;
  line-height:1.7;
}
.music-now {
  margin:0 0 10px;
  color:#496273;
  font-size:14px;
}
.music-sheet audio {
  display:block;
  width:100%;
  min-height:48px;
}
.music-status {
  min-height:1.5em;
  margin:8px 0;
  color:#6f7d81;
  font-size:12px;
  line-height:1.6;
}
.music-list {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.music-track {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:48px;
  padding:10px 14px;
  border:1px solid #e1e7e2;
  border-radius:10px;
  background:#fff;
  color:#203e52;
  text-align:left;
  font-size:15px;
}
.music-track[aria-pressed="true"] {
  border-color:#b5cbbf;
  background:#f1f6f2;
}
.music-track span:last-child {
  color:#718780;
  font-size:12px;
}
.date-sheet { font-family:var(--serif); }
.date-sheet .sheet-intro { margin:8px 0 14px; }
.date-sheet .field-hint { margin:10px 0; text-align:center; }
.date-wheel {
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border:1px solid #e1e7e2;
  border-radius:14px;
  background:#fff;
}
.date-wheel-highlight {
  position:absolute;
  z-index:0;
  top:52px;
  left:8px;
  right:8px;
  height:52px;
  border-radius:9px;
  background:#edf4f5;
  pointer-events:none;
}
.date-wheel-list {
  position:relative;
  z-index:1;
  height:156px;
  padding:52px 0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scroll-snap-type:y mandatory;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-y;
}
.date-wheel-list::-webkit-scrollbar { display:none; }
.date-wheel-list:focus-visible { outline:3px solid #e4bb68; outline-offset:-3px; }
.date-wheel-option {
  display:block;
  width:100%;
  height:52px;
  padding:0 8px;
  border:0;
  background:transparent;
  color:#879697;
  font-family:inherit;
  font-size:1.125rem;
  text-align:center;
  scroll-snap-align:center;
}
.date-wheel-option[aria-selected="true"] { color:#173f5e; font-size:1.375rem; }
.date-submit {
  width:100%;
  margin-top:4px;
}
.review-list {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.review-list button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:48px;
  padding:10px 14px;
  border:1px solid #e1e7e2;
  border-radius:10px;
  background:#fff;
  color:#203e52;
  text-align:left;
  font-size:15px;
}
.review-list button span:last-child {
  color:#82918f;
  font-size:12px;
}
.review-more {
  width:100%;
  margin-top:12px;
}
.calendar-selectors {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:14px;
}
.calendar-selectors label {
  color:#536b76;
  font-size:12px;
}
.calendar-selectors select {
  display:block;
  width:100%;
  min-height:44px;
  margin-top:7px;
  padding:8px 10px;
  border:1px solid #d8e0df;
  border-radius:10px;
  background:#fff;
  color:#233d4e;
  font:inherit;
  font-size:16px;
}
.calendar-image-button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:150px;
  padding:0;
  overflow:hidden;
  border:1px solid #d7e0e1;
  border-radius:10px;
  background:#eef0ea;
}
.calendar-image-button img {
  display:block;
  width:100%;
  max-height:50vh;
  object-fit:contain;
}
.calendar-status {
  min-height:1.5em;
  margin:10px 0;
  color:#6f7d81;
  font-size:12px;
  line-height:1.6;
}
.calendar-controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.calendar-controls span {
  text-align:center;
  color:#536b76;
  font-size:12px;
}
.calendar-controls button:disabled {
  opacity:.4;
  cursor:default;
}
.text-action {
  display:block;
  border:0;
  background:transparent;
  margin:18px auto 0;
  padding:7px 12px;
  color:#376b8c;
  font-size:13px;
}
.input-label {
  display:block;
  margin-bottom:8px;
  color:#536b76;
  font-size:12px;
}
textarea {
  display:block;
  width:100%;
  min-height:120px;
  resize:vertical;
  border:1px solid #d8e0df;
  border-radius:12px;
  padding:13px 14px;
  background:#fff;
  color:#233d4e;
  font-size:16px;
  line-height:1.8;
}
textarea::placeholder {
  color:#a6b0ad;
}
.field-hint {
  font-size:11px;
  line-height:1.7;
  color:#899592;
}
.sheet-buttons {
  display:flex;
  gap:10px;
  margin-top:16px;
}
.button-primary,.button-secondary {
  min-height:44px;
  border-radius:10px;
  padding:10px 13px;
  font-size:14px;
}
.sheet-buttons>* {
  flex:1;
}
.button-primary {
  border:1px solid #1c5278;
  background:#1c5278;
  color:white;
}
.button-secondary {
  border:1px solid #d8e2e2;
  background:#fff;
  color:#2c607b;
}
.answer-box {
  margin-top:12px;
  padding:15px;
  border-left:3px solid #c6a873;
  border-radius:4px 10px 10px 4px;
  background:#f2f1e9;
}
.answer-result {
  margin:0 0 10px;
  color:#356b80;
  font-size:12px;
}
.answer-title,.answer-text {
  font-family:var(--reading-serif,var(--serif));
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.answer-title {
  font-size:14px;
  color:#7c6d52;
}
.answer-text {
  font-size:17px;
  color:#203e53;
}
.share-preview {
  padding:18px;
  border:1px solid #e6e2d6;
  border-radius:12px;
  background:#f6f3e9;
}
.share-preview span {
  font-size:11px;
  color:#a28b5e;
  letter-spacing:.1em;
}
.share-preview p {
  margin:10px 0 0;
  max-height:130px;
  overflow:auto;
  white-space:pre-wrap;
  line-height:1.8;
  font-family:var(--reading-serif,var(--serif));
  font-size:16px;
  color:#294758;
}
.share-actions {
  display:grid;
  gap:9px;
  margin-top:16px;
}
.toast {
  position:fixed;
  z-index:40;
  left:50%;
  bottom:calc(110px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  padding:9px 14px;
  border-radius:22px;
  background:rgba(6,28,46,.9);
  color:white;
  font-size:13px;
  white-space:nowrap;
}
@media(max-width:340px) {
  .topbar {
    padding-left:13px;
    padding-right:13px;
  }
  .brand-seal {
    width:42px;
    height:42px;
    flex-basis:42px;
  }
  .brand-seal img {
    width:35px;
    height:35px;
  }
  .brand-text strong {
    font-size:18px;
  }
  .brand-text small {
    font-size:8px;
  }
  .reading {
    padding-left:15px;
    padding-right:15px;
  }
  .bottom-nav {
    gap:clamp(8px,3vw,14px);
  }
  .card-inner {
    padding-left:12px;
    padding-right:12px;
  }
}
@media (orientation:landscape) and (max-height:500px) {
  .topbar { height:58px; padding-top:5px; padding-bottom:5px; }
  .brand-seal { width:40px; height:40px; flex-basis:40px; }
  .brand-seal img { width:33px; height:33px; }
  .reading { padding-top:8px; padding-bottom:12px; }
  .top-ornament { display:none; }
  .reading-kicker { margin-top:0; }
  .date-navigation { margin-top:4px; }
  .date-center h1 { font-size:34px; line-height:1; }
  .date-jump { margin-top:0; }
  .date-rule { margin:4px auto 7px; }
  .card-inner { min-height:0; padding:10px 16px 12px; }
  .small-symbol { display:none; }
  .teaching-title { margin:0 0 5px; line-height:1.5; }
  .teaching-text { font-size:20px; line-height:1.55; }
  .teaching-text.tibetan { font-size:22px; line-height:1.6; }
  .card-foot { margin-top:10px; }
  .reading-end { margin-top:8px; }
  .bottom-nav { padding-top:6px; padding-bottom:calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav button { width:52px; min-height:48px; gap:1px; border-radius:14px; font-size:12px; }
  .bottom-nav svg { width:19px; height:19px; }
}
@media(min-width:641px) {
  .site-shell {
    min-height:100vh;
    border-left:1px solid rgba(255,255,255,.08);
    border-right:1px solid rgba(255,255,255,.08);
  }
  .reading {
    padding-left:52px;
    padding-right:52px;
  }
  .bottom-nav {
    border-left:1px solid rgba(255,255,255,.06);
    border-right:1px solid rgba(255,255,255,.06);
  }
}
@media(prefers-reduced-motion:no-preference) {
  .sheet {
    animation:rise .2s ease-out;
  }
  @keyframes rise {
    from {
      transform:translateY(20px);
      opacity:.65;
    }
    to {
      transform:translateY(0);
      opacity:1;
    }
  }
}

/* Larger touch targets for the calendar image viewer. */
.viewer-toolbar > ul > li {
  width:40px;
  height:40px;
}
.viewer-toolbar > ul > li::before {
  margin:10px;
}
.viewer-toolbar > ul > li + li {
  margin-left:5px;
}
.viewer-footer {
  padding-bottom:env(safe-area-inset-bottom);
}

.teaching-title:lang(bo), .answer-title:lang(bo), .answer-text:lang(bo), .share-preview p:lang(bo) {
  font-family:"Kailasa","Noto Serif Tibetan",serif;
}
.calendar-original {
  display:block;
  width:max-content;
  margin:14px auto 0;
  padding:6px 10px;
  color:#376b8c;
  font-size:12px;
}

/* Mobile readability: use scalable text sizes for navigation and every sheet. */
.brand-text strong { font-size:1.3125rem; }
.brand-text small { font-size:.875rem; color:#f2e2c2; letter-spacing:.02em; }
.music-button { width:50px; min-height:50px; font-size:.875rem; }
.language-switch { min-height:48px; font-size:1rem; }
.language-switch span { font-size:.875rem; }
.reading-kicker { font-size:.875rem; letter-spacing:.09em; color:#f3e4c5; }
.date-caption { font-size:.875rem; color:#f3e4c5; }
.date-center h1 { font-size:3.25rem; }
.date-jump { font-size:1rem; color:#f6e8cd; }
.date-jump svg { width:17px; height:17px; }
.teaching-title { font-size:1.25rem; line-height:1.7; }
.teaching-text { font-size:clamp(1.4375rem,6vw,1.8125rem); line-height:1.85; }
.teaching-text.tibetan { font-size:clamp(1.5625rem,6.3vw,1.9375rem); line-height:1.9; }
.leap-note, .reading-end { font-size:.875rem; color:#f0dfbf; }
.bottom-nav { gap:clamp(8px,3vw,24px); padding-left:10px; padding-right:10px; }
.bottom-nav button { width:min(66px,calc((100vw - 44px)/4)); min-height:66px; gap:3px; font-size:1rem; }
.sheet { -webkit-overflow-scrolling:touch; }
.sheet h2 { font-size:1.875rem; }
.sheet-eyebrow { font-size:.875rem; letter-spacing:.12em; color:#806a45; }
.sheet-intro, .music-now, .music-status, .calendar-status, .field-hint { font-size:1rem; color:#52686b; }
.music-track, .review-list button { font-size:1.0625rem; }
.music-track span:last-child, .review-list button span:last-child { font-size:.9375rem; color:#506e68; }
.calendar-selectors label, .input-label, .answer-result { font-size:1rem; color:#50666c; }
.calendar-selectors select, textarea { font-size:1.0625rem; }
.calendar-controls span { flex:1; min-width:0; font-size:.9375rem; overflow-wrap:anywhere; }
.calendar-controls button { flex-shrink:0; padding-left:9px; padding-right:9px; }
.button-primary, .button-secondary, .text-action { font-size:1rem; }
.text-action { min-height:44px; }
.answer-title { font-size:1.125rem; }
.answer-text, .share-preview p { font-size:1.25rem; }
.share-preview span { font-size:.9375rem; color:#78633e; }
.calendar-original { display:flex; align-items:center; min-height:44px; font-size:1rem; }
.toast { max-width:calc(100vw - 32px); font-size:.9375rem; line-height:1.5; text-align:center; white-space:normal; }
@media (max-width:440px) {
  .brand-text small { display:none; }
}
@media (max-width:340px) {
  .brand { gap:8px; }
  .brand-text strong { font-size:1.25rem; }
  .music-button { width:46px; }
  .language-switch { padding-left:7px; padding-right:7px; }
}
@media (orientation:landscape) and (max-height:500px) {
  .date-center h1 { font-size:2.375rem; }
  .teaching-text { font-size:1.4375rem; line-height:1.6; }
  .teaching-text.tibetan { font-size:1.5625rem; line-height:1.65; }
  .bottom-nav button { width:56px; min-height:50px; font-size:.875rem; }
  .date-sheet { padding-top:8px; padding-bottom:calc(10px + env(safe-area-inset-bottom)); }
  .date-sheet .sheet-handle { display:none; }
  .date-sheet .sheet-intro { margin:2px 0 5px; }
  .date-sheet .field-hint { margin:4px 0; }
  .date-wheel-list { height:92px; padding:20px 0; }
  .date-wheel-highlight { top:20px; }
}
@media (orientation:portrait) and (max-height:700px) {
  .topbar { height:70px; padding-top:8px; padding-bottom:8px; }
  .reading { padding-top:10px; padding-bottom:15px; }
  .top-ornament { display:none; }
  .reading-kicker { margin-top:2px; }
  .date-navigation { margin-top:7px; }
  .date-rule { margin:6px auto 10px; }
  .card-inner { min-height:0; padding:15px 12px 18px; }
  .small-symbol { display:none; }
  .teaching-title { margin:0 0 7px; line-height:1.6; }
  .card-foot { margin-top:12px; }
  .reading-end { margin-top:12px; }
}
@media (orientation:portrait) and (max-height:700px) {
  .card-foot { display:none; }
}
@media (orientation:landscape) and (max-height:500px) {
  .date-center { display:grid; grid-template-columns:auto auto; align-items:center; column-gap:8px; }
  .date-caption { grid-column:1 / -1; text-align:center; }
  .date-center h1 { margin:0; }
  .date-jump { margin:0; }
}
@media (orientation:landscape) and (max-height:360px) {
  .topbar { height:52px; }
  .music-button, .language-switch { min-height:44px; }
  .reading-kicker, .date-caption { display:none; }
  .date-navigation { margin-top:0; }
  .date-rule { margin:0 auto 2px; }
  .card-inner { padding:6px 12px 8px; }
  .teaching-title { line-height:1.3; }
}
@media (max-width:300px) {
  .topbar { padding-left:8px; padding-right:8px; }
  .brand { gap:4px; flex-shrink:0; }
  .brand-seal { width:34px; height:34px; flex-basis:34px; }
  .brand-seal img { width:29px; height:29px; }
  .brand-text strong { font-size:1.125rem; letter-spacing:.07em; }
  .top-actions { gap:4px; }
  .music-button { width:44px; }
  .language-switch { padding-left:5px; padding-right:5px; }
  .language-switch span { margin-left:2px; }
  .date-center h1 { font-size:2.75rem; white-space:nowrap; }
}
