:root {color-scheme:dark;font-family:'Noto Serif TC',serif;line-height:1.6;font-weight:400;color:#f7ebc7;background:radial-gradient(circle at top,rgba(122,84,26,0.2),transparent 35%),linear-gradient(180deg,#23150b 0%,#120a05 100%);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;} * {box-sizing:border-box;} html {scroll-behavior:smooth;} body {margin:0;min-width:320px;min-height:100vh;background:transparent;} a {color:inherit;} button {font:inherit;} .app-shell {position:relative;overflow:hidden;padding:40px 20px 64px;} .ink-overlay {position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 20%,rgba(255,208,121,0.06),transparent 22%),radial-gradient(circle at 85% 10%,rgba(255,208,121,0.08),transparent 20%),radial-gradient(circle at 50% 80%,rgba(97,56,24,0.2),transparent 28%);mix-blend-mode:screen;} .hero,.section-card {position:relative;margin:0 auto;width:min(1120px,100%);} .scroll-panel {border:1px solid rgba(220,180,103,0.24);background:linear-gradient(180deg,rgba(72,43,18,0.88) 0%,rgba(29,16,8,0.94) 100%),#1a0f08;box-shadow:0 24px 60px rgba(0,0,0,0.4),inset 0 1px 0 rgba(255,226,169,0.08),inset 0 0 0 1px rgba(141,104,43,0.08);backdrop-filter:blur(6px);} .hero {padding:56px clamp(24px,4vw,60px);border-radius:32px;} .hero::before,.section-card::before {content:'';position:absolute;inset:14px;border:1px solid rgba(223,184,106,0.14);border-radius:24px;pointer-events:none;} .hero__toolbar {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;} .hero__toolbar-actions {display:inline-flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;} .hero__kicker,.section-heading__eyebrow {margin:0 0 12px;letter-spacing:0.24em;text-transform:uppercase;font-size:0.75rem;color:#d2aa61;} .language-toggle {display:inline-flex;padding:4px;border-radius:999px;border:1px solid rgba(223,184,106,0.18);background:rgba(13,7,3,0.42);gap:4px;} .language-toggle__link {display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:10px 14px;color:#e7d2a0;background:transparent;cursor:pointer;text-decoration:none;transition:background 150ms ease,color 150ms ease,transform 150ms ease;white-space:nowrap;writing-mode:horizontal-tb;line-height:1;} .language-toggle__link:hover,.detail-link:hover,.github-link:hover {transform:translateY(-1px);} .language-toggle__link--active {color:#fff3d4;background:linear-gradient(180deg,rgba(189,128,38,0.38),rgba(109,65,18,0.38));box-shadow:inset 0 1px 0 rgba(255,226,169,0.08);} .github-link {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;color:#e7d2a0;background:rgba(13,7,3,0.42);border:1px solid rgba(223,184,106,0.18);text-decoration:none;transition:background 150ms ease,color 150ms ease,transform 150ms ease;} .github-link:hover,.github-link:focus-visible {color:#fff3d4;background:rgba(201,153,75,0.18);outline:none;box-shadow:0 0 0 3px rgba(210,170,97,0.2);} .github-link__icon {width:22px;height:22px;opacity:0.9;} .hero__title {margin:0;font-size:clamp(3rem,8vw,5.8rem);line-height:1.08;color:#f8e7bd;text-shadow:0 0 24px rgba(255,214,130,0.12);} .hero__title--han {font-family:'Noto Serif TC',serif;font-weight:700;letter-spacing:0.08em;} .hero__title--latin {font-family:'Noto Serif TC',Georgia,serif;font-weight:600;letter-spacing:0.04em;} .hero__subtitle {margin:12px 0 0;font-size:clamp(1.1rem,2.8vw,1.55rem);color:#efd6a1;} .hero__description {max-width:760px;margin:18px 0 0;font-size:1rem;color:rgba(246,228,188,0.9);} .hero__source {display:inline-flex;align-items:center;gap:10px;margin-top:24px;padding:12px 18px;border-radius:999px;text-decoration:none;background:rgba(201,153,75,0.12);border:1px solid rgba(215,171,95,0.26);} .hero__source::before {content:'◉';color:#d2aa61;} .content-grid {display:grid;gap:24px;margin:24px auto 0;width:min(1120px,100%);} .content-grid--detail {width:min(980px,100%);} .section-card {padding:34px clamp(22px,4vw,40px);border-radius:28px;} .section-heading {display:flex;flex-direction:column;gap:8px;margin-bottom:22px;} .section-heading__description {margin:0;max-width:760px;color:rgba(247,233,199,0.84);} .section-heading h2 {margin:0;font-size:clamp(1.6rem,3vw,2.25rem);color:#fdecc6;} .teaching-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;} .teaching-card {position:relative;padding:24px;border-radius:24px;background:linear-gradient(180deg,rgba(120,75,30,0.17),rgba(21,10,4,0.2));border:1px solid rgba(223,184,106,0.18);} .teaching-card__seal {display:grid;place-items:center;width:42px;height:42px;border-radius:50%;margin-bottom:16px;color:#ffde98;background:rgba(255,206,106,0.08);border:1px solid rgba(255,206,106,0.22);} .teaching-card h3,.sutra-home__preview-card h3,.tao-text-section h3 {margin:0 0 10px;font-size:1.25rem;} .teaching-card p,.ritual-list li,.lecture-card__summary,.lecture-detail__body p,.detail-note,.detail-source,.sutra-home__preview-card p,.tao-text-section p {color:rgba(247,233,199,0.9);} .ritual-list {display:grid;gap:14px;margin:0;padding-left:1.4rem;} .practice-block {margin-top:24px;padding-top:22px;border-top:1px solid rgba(223,184,106,0.16);} .practice-block h3 {margin:0 0 14px;color:#fdecc6;font-size:1.2rem;} .lecture-grid,.tao-text-grid {display:grid;gap:18px;} .lecture-card,.sutra-home__preview-card,.tao-text-section,.tao-intro-card {padding:22px;border-radius:24px;background:linear-gradient(180deg,rgba(120,75,30,0.16),rgba(16,8,3,0.22));border:1px solid rgba(223,184,106,0.18);} .lecture-card__header {display:flex;justify-content:space-between;gap:16px;align-items:flex-start;} .lecture-card__eyebrow {margin:0 0 6px;letter-spacing:0.18em;text-transform:uppercase;font-size:0.75rem;color:#d2aa61;} .lecture-card__title {margin:0;font-size:1.35rem;color:#fff0ca;} .lecture-card__title-focus {color:#d7b36a;} .lecture-card__link,.detail-link {display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:rgba(201,153,75,0.12);border:1px solid rgba(215,171,95,0.22);text-decoration:none;white-space:nowrap;} .lecture-card__link--header {flex-shrink:0;} .detail-hero {padding:46px clamp(24px,4vw,56px);border-radius:32px;} .hero__toolbar--detail {margin-bottom:12px;} .detail-actions {display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px;} .lecture-detail {padding:34px clamp(22px,4vw,40px);} .lecture-detail__body {display:grid;gap:16px;} .lecture-detail__body p,.tao-text-section p {margin:0;font-size:1.02rem;line-height:1.88;} .sutra-home__content {display:grid;gap:18px;} .sutra-home__preview {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;} .sutra-home__actions {display:flex;flex-wrap:wrap;gap:12px;align-items:center;} .sutra-home__source {margin-top:0;} .book-card__prompt {margin-top:18px;overflow:hidden;border:1px solid rgba(223,184,106,0.18);border-radius:18px;background:rgba(10,5,2,0.28);} .book-card__prompt-header {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(223,184,106,0.12);} .book-card__prompt-header h4 {margin:0;color:#fdecc6;font-size:0.98rem;} .book-card__copy,.book-card__prompt details summary {display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:999px;color:#f3d89f;background:rgba(201,153,75,0.12);border:1px solid rgba(215,171,95,0.22);cursor:pointer;text-decoration:none;} .book-card__prompt details {padding:0 16px 16px;} .book-card__prompt details summary {width:max-content;margin-top:14px;list-style:none;} .book-card__prompt details summary::-webkit-details-marker {display:none;} .book-card__prompt-body {margin:14px 0 0;padding:16px;overflow-x:auto;border-radius:14px;background:rgba(4,2,1,0.42);color:#f9e9c4;} .book-card__prompt-body code {font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono',monospace;font-size:0.86rem;white-space:pre;} .tao-intro-card {display:grid;gap:12px;} .footer-note {text-align:center;color:rgba(247,233,199,0.68);font-size:0.95rem;margin-top:12px;} @media (max-width:900px) {.teaching-grid,.sutra-home__preview {grid-template-columns:1fr;}} @media (max-width:680px) {.app-shell {padding:20px 12px 40px;} .hero__toolbar,.lecture-card__header,.detail-actions,.sutra-home__actions,.book-card__prompt-header {flex-direction:column;align-items:flex-start;} .hero {padding:40px 22px;} .section-card,.detail-hero,.lecture-detail {padding:26px 18px;} .hero__title {font-size:clamp(2.4rem,12vw,4rem);}}