:root {
    --green: #01291d;
    --green-soft: #164b3a;
    --gold: #d9bd73;
    --cream: #f3eee4;
    --paper: #fffdf9;
    --ink: #15241e;
    --muted: #657069;
    --line: #dedbd2;
}

* { box-sizing: border-box; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
html { color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: #f8f6f1; }
img, video, iframe, object { max-width: 100%; }
a { color: inherit; }
.auth-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: minmax(340px, .9fr) minmax(520px, 1.1fr); }
.brand-panel { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 112px); color: white; background: var(--green); overflow: hidden; }
.brand-panel > * { position: relative; z-index: 1; }
.brand-panel h1 { max-width: 650px; margin: 16px 0 22px; font-family: Georgia, serif; font-size: clamp(40px, 5vw, 70px); font-weight: 500; line-height: 1.05; }
.brand-panel p { max-width: 560px; margin: 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.brand-ribbon { position: absolute; z-index: 0; right: -20%; bottom: -80px; width: 125%; height: 220px; border: 2px solid rgba(217,189,115,.32); border-radius: 50%; transform: rotate(-9deg); }
.brand-ribbon::after { content: ""; position: absolute; inset: 28px -20px -20px 35px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.auth-panel { display: flex; flex-direction: column; padding: 34px clamp(24px, 6vw, 90px) 54px; }
.auth-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 8vh, 82px); }
.brand-name { display: flex; flex-direction: column; margin: 0; line-height: 1; }
.brand-name strong { color: var(--green); font-family: Georgia, serif; font-size: 24px; }
.brand-name span { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.auth-logo-link { width: 132px; display: block; text-decoration: none; }
.auth-logo-link img { display: block; width: 100%; height: auto; max-height: 54px; object-fit: contain; object-position: left center; }
.auth-header nav { display: flex; gap: 20px; }
.auth-header a { padding: 8px 0; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.auth-header a.active { color: var(--green); border-bottom: 2px solid var(--gold); }
.form-card { width: min(100%, 620px); margin: auto; }
.form-card h2 { margin: 9px 0 12px; color: var(--green); font-family: Georgia, serif; font-size: clamp(36px, 5vw, 48px); font-weight: 500; }
.intro { margin: 0 0 30px; color: var(--muted); line-height: 1.55; }
form { display: grid; gap: 18px; }
.form-error, .form-success { padding: 13px 15px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.form-error { color: #7c2925; background: #f7e1de; }
.form-success { color: #164b3a; background: #e0eee8; }
label { display: grid; gap: 7px; color: #39453f; font-size: 13px; font-weight: 750; }
input:not([type="checkbox"]) { width: 100%; min-height: 51px; padding: 0 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font: inherit; outline: none; }
textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font: inherit; line-height: 1.5; resize: vertical; outline: none; }
input:not([type="checkbox"]):focus { border-color: var(--green-soft); box-shadow: 0 0 0 3px rgba(22,75,58,.1); }
textarea:focus { border-color: var(--green-soft); box-shadow: 0 0 0 3px rgba(22,75,58,.1); }
.password-field { position: relative; display: block; }
.password-field input:not([type="checkbox"]) { padding-right: 56px; }
.password-toggle { position: absolute; top: 50%; right: 7px; width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: var(--green); background: transparent; font-size: 18px; line-height: 1; }
.password-toggle:hover { background: var(--cream); }
.password-toggle:focus-visible { outline: 2px solid var(--green-soft); outline-offset: 1px; }
.password-field.is-visible .password-toggle { background: rgba(1,41,29,.1); }
.password-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
label small { color: var(--muted); font-size: 12px; font-weight: 400; }
.pin-note { padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 0 13px 13px 0; background: var(--cream); }
.pin-note strong { color: var(--green); font-size: 13px; }
.pin-note p { margin: 5px 0 0; color: #59645e; font-size: 13px; line-height: 1.5; }
.check-row { grid-template-columns: 19px 1fr; align-items: start; gap: 10px; font-weight: 450; line-height: 1.45; }
.check-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.check-row a { color: var(--green); font-weight: 700; }
button { min-height: 52px; border: 0; border-radius: 28px; color: white; background: var(--green); font: inherit; font-weight: 800; cursor: pointer; }
.forgot-link { margin-top: -6px; color: var(--green); font-size: 13px; font-weight: 750; text-align: right; }
.login-hint { width: min(100%, 620px); display: flex; justify-content: center; gap: 8px; margin: 28px auto 0; color: var(--muted); font-size: 13px; }
.login-hint a { color: var(--green); font-weight: 800; }
footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(24px, 6vw, 80px); color: var(--muted); background: white; font-size: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { text-decoration: none; }
footer .withdrawal-link { color: var(--green); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.status-page, .member-page { min-height: calc(100vh - 72px); padding: clamp(24px, 7vw, 90px); }
.status-page { display: grid; place-items: center; background: var(--cream); }
.status-card { width: min(100%, 650px); padding: clamp(30px, 6vw, 62px); border-radius: 28px; background: white; box-shadow: 0 24px 70px rgba(1,41,29,.1); text-align: center; }
.status-card h1, .empty-dashboard h1, .admin-review-card h1 { margin: 15px 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(34px, 6vw, 52px); font-weight: 500; }
.status-card > p { color: var(--muted); line-height: 1.6; }
.status-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: white; background: var(--green); font-size: 25px; }
.pin-confirmation { margin: 25px 0; padding: 16px; border-radius: 14px; background: var(--cream); }
.member-page { background: #f8f6f1; }
.member-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.member-actions { display: flex; align-items: center; gap: 10px; }
.member-actions .secondary-button { display: inline-flex; align-items: center; text-decoration: none; }
.secondary-button { min-height: 40px; padding: 0 16px; color: var(--green); border: 1px solid var(--line); background: white; }
.empty-dashboard, .admin-review-card { width: min(100%, 1040px); margin: 0 auto; padding: clamp(28px, 5vw, 55px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.empty-dashboard > p { max-width: 670px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.empty-content { margin-top: 30px; padding: 24px; border: 1px dashed #c9c4b8; border-radius: 16px; color: var(--muted); text-align: center; }
.empty-content strong { color: var(--green); }
.empty-content p { margin: 6px 0 0; }
.content-entry { margin-top: 30px; padding: 28px; border-radius: 18px; background: var(--cream); }
.content-entry h2 { margin: 9px 0 7px; color: var(--green); font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.content-entry p { margin: 0; color: var(--muted); }
.action-link { display: inline-flex; min-height: 48px; align-items: center; margin-top: 10px; padding: 0 20px; border-radius: 24px; color: white; background: var(--green); font-weight: 800; text-decoration: none; }
.review-row { display: grid; grid-template-columns: 1fr .7fr 1.3fr; align-items: center; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.review-row > div:first-child, .pin-review { display: flex; flex-direction: column; gap: 4px; }
.review-row span, .review-row small { color: var(--muted); }
.review-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.review-actions button { min-height: 38px; padding: 0 12px; font-size: 12px; }
.review-actions .danger-button { color: #7c2925; border: 1px solid #e5c0bc; background: white; }
.legal-page { min-height: calc(100vh - 72px); padding: clamp(24px, 6vw, 72px); background: #f8f6f1; }
.legal-card { width: min(100%, 880px); margin: 0 auto; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.legal-card h1 { margin: 8px 0 30px; color: var(--green); font-family: Georgia, serif; font-size: clamp(36px, 6vw, 54px); font-weight: 500; }
.legal-card h2 { margin: 32px 0 10px; color: var(--green); font-size: 20px; }
.legal-card p, .legal-card li { color: #4e5c55; line-height: 1.7; }
.legal-card address { color: #4e5c55; font-style: normal; line-height: 1.7; }
.legal-card .back-link { display: inline-flex; margin-bottom: 18px; color: var(--green); font-weight: 800; text-decoration: none; }
.legal-card > .eyebrow { display: block; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--cream); }
.cancellation-form { margin: 28px 0; }
.cancellation-form fieldset { display: grid; gap: 10px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
.cancellation-form legend { padding: 0 6px; color: #39453f; font-size: 13px; font-weight: 750; }
.radio-row { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.radio-row input { width: 18px; height: 18px; min-height: auto; accent-color: var(--green); }
.admin-intro { max-width: 760px; color: var(--muted); line-height: 1.6; }
.admin-list-row { display: grid; grid-template-columns: 1.5fr .7fr .8fr; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.admin-list-row > div { display: grid; gap: 4px; }
.admin-list-row span, .admin-list-row small { color: var(--muted); }
.admin-list-row-wide { grid-template-columns: 1.5fr .6fr .8fr; }
.admin-list-row-wide p { grid-column: 1 / -1; margin: -5px 0 0; padding: 14px; border-radius: 12px; color: var(--muted); background: var(--cream); line-height: 1.55; }
.admin-member-row { grid-template-columns: minmax(250px, 1.5fr) minmax(190px, .8fr) minmax(120px, .5fr); }
.brand-link { text-decoration: none; }
.homepage-logo-link { width: min(144px, 18vw); min-width: 112px; }
.homepage-logo-preview { display: block; width: 100%; height: auto; max-height: 57px; object-fit: contain; object-position: left center; }
.library-shell, .product-detail-shell { width: min(100%, 1180px); margin: 0 auto; padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.library-shell > h1, .product-hero h1 { margin: 10px 0 12px; color: var(--green); font-family: Georgia, serif; font-size: clamp(38px, 6vw, 60px); font-weight: 500; }
.library-intro, .product-hero p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.product-summary-title { margin: 24px 0 6px; color: var(--green); font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.draft-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; padding: 13px 16px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; color: var(--green); background: var(--cream); font-size: 13px; }
.draft-banner span { color: var(--muted); }
.library-tabs { display: flex; gap: 6px; margin: 34px 0 28px; padding: 5px; border-radius: 30px; background: var(--cream); }
.library-tab { flex: 1; min-height: 46px; color: var(--muted); background: transparent; }
.library-tab.is-active { color: white; background: var(--green); }
.library-panel[hidden] { display: none; }
.product-search { max-width: 620px; margin-bottom: 18px; }
.alphabet { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 28px; }
.alphabet button { width: 34px; min-height: 34px; padding: 0; color: var(--green); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 12px; }
.alphabet button:first-child { width: auto; padding: 0 13px; border-radius: 18px; }
.alphabet button.is-active { color: white; border-color: var(--green); background: var(--green); }
.product-grid, .package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-list { display: grid; gap: 8px; }
.product-list-item { border: 1px solid var(--line); border-radius: 14px; background: white; overflow: hidden; }
.product-list-item[hidden] { display: none; }
.product-direct-link { display: grid; grid-template-columns: 1fr auto 28px; align-items: center; gap: 16px; padding: 17px 20px; color: var(--green); font-weight: 800; text-decoration: none; transition: transform .18s ease, color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.product-direct-link small { color: var(--gold); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-direct-link b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 15px; transition: color .18s ease, background-color .18s ease; }
.product-direct-link:hover, .product-direct-link:focus-visible { transform: translateY(-2px); color: white; border-color: var(--green); background: var(--green); box-shadow: 0 12px 28px rgba(1,41,29,.14); outline: none; }
.product-direct-link:hover b, .product-direct-link:focus-visible b { color: var(--green); background: white; }
.product-list-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; color: var(--green); font-weight: 800; cursor: pointer; list-style: none; }
.product-list-item summary::-webkit-details-marker { display: none; }
.product-list-item summary::after { content: "+"; order: 3; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-size: 20px; line-height: 1; }
.product-list-item[open] summary::after { content: "–"; }
.product-list-item summary small { margin-left: auto; color: var(--gold); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.product-list-content { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 24px; padding: 0 20px 20px; border-top: 1px solid var(--line); }
.product-list-content img { width: 180px; aspect-ratio: 1; margin-top: 20px; border-radius: 12px; object-fit: cover; }
.product-list-content p { color: var(--muted); line-height: 1.55; }
.product-list-content a { color: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.product-card { display: grid; grid-template-columns: 130px 1fr; gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(1,41,29,.08); }
.product-card small, .package-card small { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-card h2, .package-card h2 { margin: 6px 0 7px; color: var(--green); font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.product-card p, .package-card p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-card strong { color: var(--green); font-size: 12px; }
.product-art { position: relative; min-height: 126px; display: grid; place-items: end center; padding: 14px; border-radius: 13px; color: rgba(255,255,255,.9); background: radial-gradient(circle at 50% 30%, #d9bd73 0 12%, transparent 13%), linear-gradient(145deg, #164b3a, #01291d); overflow: hidden; }
.product-art::after { content: ""; position: absolute; inset: 18px -28px -46px; border: 1px solid rgba(217,189,115,.55); border-radius: 50%; transform: rotate(-12deg); }
.product-art span { position: relative; z-index: 1; font-family: Georgia, serif; font-size: 13px; text-align: center; }
.product-art img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.package-card, .editorial-empty { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.package-card { color: inherit; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.package-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(1,41,29,.08); }
.package-card > span { color: var(--green); font-size: 12px; font-weight: 800; }
.editorial-empty { color: var(--muted); text-align: center; }
.editorial-empty strong { color: var(--green); }
.no-results { color: var(--muted); text-align: center; }
.back-link { display: inline-flex; margin-bottom: 24px; color: var(--green); font-weight: 800; text-decoration: none; }
.product-hero { display: grid; grid-template-columns: 280px 1fr; align-items: center; gap: clamp(28px, 5vw, 68px); padding: 18px 0 42px; }
.product-art-large { min-height: 310px; aspect-ratio: 1; }
.product-art-large span { font-size: 25px; line-height: 1.1; }
.price-section, .tip-section { padding: 32px 0; border-top: 1px solid var(--line); }
.price-section h2, .tip-section h2 { margin: 0 0 20px; color: var(--green); font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--green); background: var(--cream); font-size: 12px; }
td { color: #46534d; font-size: 13px; }
.price-section > small { display: block; margin-top: 12px; color: var(--muted); }
.tip-card { border-top: 1px solid var(--line); }
.tip-card:last-child { border-bottom: 1px solid var(--line); }
.tip-card summary { display: flex; align-items: center; gap: 12px; padding: 20px 5px; color: var(--green); font-size: 17px; font-weight: 800; cursor: pointer; }
.tip-body { padding: 0 42px 22px; color: var(--muted); line-height: 1.7; }
.health-notice { margin-top: 30px; padding: 20px 22px; border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--cream); }
.health-notice strong { color: var(--green); }
.health-notice p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.shop-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 0 28px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.shop-note strong { color: var(--green); }
.shop-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.content-rights { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.package-art { background: radial-gradient(circle at 35% 28%, #d9bd73 0 8%, transparent 9%), radial-gradient(circle at 65% 34%, #d9bd73 0 9%, transparent 10%), linear-gradient(145deg, #164b3a, #01291d); }
.package-products { padding: 32px 0; border-top: 1px solid var(--line); }
.package-products h2 { margin: 0 0 20px; color: var(--green); font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.package-product-list { display: grid; gap: 9px; }
.package-product-list a { display: grid; grid-template-columns: 38px 1fr 24px; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.package-product-list a > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 800; }
.package-product-list a div { display: grid; gap: 4px; }
.package-product-list a strong { color: var(--green); }
.package-product-list a small { color: var(--muted); line-height: 1.45; }
.package-product-list a b { color: var(--gold); }
.portal-page { width: min(100%, 1500px); margin: 0 auto; }
.portal-header { gap: 28px; }
.portal-nav { display: flex; align-items: center; justify-content: center; gap: 25px; margin-left: auto; }
.portal-nav a { padding: 8px 0; color: var(--muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.portal-nav a:hover, .portal-nav a.is-active { color: var(--green); }
.global-search { position: relative; flex: 0 1 250px; min-width: 190px; display: block; }
.global-search input:not([type="checkbox"]) { min-height: 44px; padding-right: 45px; border-radius: 24px; font-size: 13px; }
.global-search button { position: absolute; top: 5px; right: 5px; width: 34px; min-height: 34px; padding: 0; border-radius: 50%; font-size: 19px; }
.search-page .section-hero { margin-bottom: 20px; }
.search-results { display: grid; gap: 9px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: white; }
.search-result { display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; }
.search-result small { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.search-result h2 { margin: 5px 0; color: var(--green); font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.search-result p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.search-result b { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); }
.search-empty { padding: 34px 18px; color: var(--muted); text-align: center; }
.portal-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); align-items: stretch; gap: 22px; margin-bottom: 24px; }
.portal-hero > div, .access-status, .section-hero, .section-empty { border: 1px solid var(--line); border-radius: 26px; background: white; }
.portal-hero > div { padding: clamp(32px, 6vw, 70px); }
.portal-hero h1, .section-hero h1 { margin: 12px 0 15px; color: var(--green); font-family: Georgia, serif; font-size: clamp(40px, 6vw, 68px); font-weight: 500; line-height: 1.05; }
.portal-hero p, .section-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.access-status { display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 30px; color: white; border-color: var(--green); background: var(--green); }
.access-status strong { font-family: Georgia, serif; font-size: 26px; font-weight: 500; line-height: 1.15; }
.access-status span { color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.55; }
.access-status .eyebrow { color: var(--gold); }
.access-status .payment-price { color: white; font-size: 18px; font-weight: 850; }
.payment-form { margin-top: 6px; }
.payment-form button { width: 100%; padding: 0 18px; color: var(--green); background: white; font-size: 13px; line-height: 1.25; }
.payment-facts { display: grid; gap: 5px; margin: 2px 0; padding-left: 18px; color: rgba(255,255,255,.82); font-size: 11px; line-height: 1.45; }
.payment-message { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; color: white; background: rgba(255,255,255,.12); font-size: 12px; line-height: 1.45; }
.payment-message.is-error { color: #fff4f1; background: rgba(128,25,17,.42); }
.payment-legal { color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.5; }
.payment-legal a { color: white; font-weight: 750; }
.payment-result-card .action-link { justify-content: center; }
.portal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.portal-card { display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 18px; min-height: 180px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; color: inherit; background: white; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease; }
.portal-card:hover, .portal-card:focus-visible { transform: translateY(-4px); color: white; border-color: var(--green); background: var(--green); box-shadow: 0 20px 46px rgba(1,41,29,.2); outline: none; }
.portal-card > span { color: var(--gold); font-family: Georgia, serif; font-size: 24px; }
.portal-card small { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.portal-card h2 { margin: 6px 0 7px; color: var(--green); font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.portal-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.portal-card > b { color: var(--gold); font-size: 23px; }
.portal-card:hover h2, .portal-card:focus-visible h2 { color: white; }
.portal-card:hover p, .portal-card:focus-visible p { color: rgba(255,255,255,.78); }
.portal-card-featured { color: inherit; border-color: var(--line); background: white; }
.portal-card-featured h2 { color: var(--green); }
.portal-card-featured p { color: var(--muted); }
.portal-card-featured:hover, .portal-card-featured:focus-visible { color: white; border-color: var(--green); background: var(--green); }
.portal-card-featured:hover h2, .portal-card-featured:focus-visible h2 { color: white; }
.portal-card-featured:hover p, .portal-card-featured:focus-visible p { color: rgba(255,255,255,.78); }
.portal-pin-note { margin-top: 24px; }
.section-hero { padding: clamp(30px, 6vw, 68px); }
.section-hero .eyebrow { display: block; }
.sunday-page { --sunday-gold: #d9bd73; }
.sunday-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr); gap: 20px; margin-bottom: 20px; }
.sunday-hero-copy, .sunday-main-visual, .sunday-current, .sunday-archive, .sunday-closing { border: 1px solid var(--line); border-radius: 26px; background: white; }
.sunday-hero-copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 76px); background: radial-gradient(circle at 95% 5%, rgba(217,189,115,.19), transparent 28%), white; }
.sunday-hero-copy .back-link { margin-bottom: 42px; }
.sunday-hero-copy h1 { margin: 11px 0 18px; color: var(--green); font-family: Georgia, serif; font-size: clamp(52px, 7vw, 88px); font-weight: 500; line-height: .94; }
.sunday-hero-copy > p { max-width: 670px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.sunday-facts { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 38px; border: 1px solid var(--line); border-radius: 17px; background: var(--line); overflow: hidden; }
.sunday-facts span { display: grid; gap: 5px; padding: 17px; background: #fbfaf7; }
.sunday-facts small { color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.sunday-facts strong { color: var(--green); font-size: 13px; }
.sunday-main-visual { min-height: 620px; display: grid; place-items: center; margin: 0; padding: 34px; background: radial-gradient(circle at 50% 35%, rgba(217,189,115,.14), transparent 45%), white; overflow: hidden; }
.sunday-main-visual img { width: min(100%, 340px); height: auto; max-height: 570px; display: block; border-radius: 16px; object-fit: contain; box-shadow: 0 18px 42px rgba(1,41,29,.13); }
.sunday-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(28px, 5vw, 70px); margin-top: 20px; padding: clamp(30px, 5vw, 54px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.sunday-about-intro h2 { max-width: 720px; margin: 9px 0 17px; color: var(--green); font-family: Georgia, serif; font-size: clamp(34px, 4.5vw, 52px); font-weight: 500; line-height: 1.07; }
.sunday-about-intro p { max-width: 730px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.72; }
.sunday-about-points { display: grid; align-content: center; gap: 10px; }
.sunday-about-points article { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #faf9f5; }
.sunday-about-points article > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(217,189,115,.26); font-family: Georgia, serif; font-size: 12px; }
.sunday-about-points strong { color: var(--green); font-size: 13px; }
.sunday-about-points p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sunday-current, .sunday-archive { margin-top: 20px; padding: clamp(26px, 5vw, 52px); }
.sunday-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sunday-section-heading h2 { margin: 7px 0 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500; line-height: 1.08; }
.sunday-section-heading p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.sunday-live-pill, .sunday-count { flex: 0 0 auto; padding: 10px 15px; border-radius: 999px; color: var(--green); background: rgba(217,189,115,.22); font-size: 11px; font-weight: 850; }
.sunday-current-card { display: grid; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: #faf9f5; }
.sunday-current-card figure { max-width: 380px; margin: 0; }
.sunday-current-card figure img { width: 100%; display: block; border-radius: 15px; box-shadow: 0 18px 42px rgba(1,41,29,.16); }
.sunday-current-copy { position: relative; padding: 28px 34px 28px 0; }
.sunday-date-badge { display: inline-grid; gap: 2px; margin-bottom: 32px; padding: 13px 17px; border-radius: 14px; color: white; background: var(--green); font-family: Georgia, serif; font-size: 23px; line-height: 1; }
.sunday-date-badge small { color: var(--sunday-gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 8px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.sunday-current-copy h3 { max-width: 650px; margin: 8px 0 14px; color: var(--green); font-family: Georgia, serif; font-size: clamp(32px, 4.4vw, 56px); font-weight: 500; line-height: 1.04; }
.sunday-current-copy > p { max-width: 600px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.sunday-current-copy dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.sunday-current-copy dl div { padding-top: 14px; border-top: 1px solid var(--line); }
.sunday-current-copy dt { margin-bottom: 5px; color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.sunday-current-copy dd { margin: 0; color: var(--green); font-size: 14px; font-weight: 750; }
.sunday-access-note { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 14px; padding: 20px 22px; border: 1px solid rgba(217,189,115,.52); border-radius: 17px; background: #faf7ee; }
.sunday-access-note > div:first-child { display: grid; gap: 5px; }
.sunday-access-note strong { color: var(--green); font-family: Georgia, serif; font-size: 18px; font-weight: 500; line-height: 1.25; }
.sunday-access-note p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.sunday-access-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.sunday-access-actions > a, .sunday-access-actions > span { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--green); border-radius: 24px; color: white; background: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; }
.sunday-access-actions .is-secondary { color: var(--green); background: white; }
.sunday-access-actions b { color: var(--gold); }
.sunday-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sunday-topic-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 15px; min-height: 112px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, white, #faf9f5); }
.sunday-topic-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(217,189,115,.25); font-family: Georgia, serif; font-size: 13px; }
.sunday-topic-content { min-width: 0; }
.sunday-topic-card time { display: block; color: var(--gold); font-size: 9px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.sunday-topic-card h3 { margin: 5px 0 4px; color: var(--green); font-family: Georgia, serif; font-size: 20px; font-weight: 500; line-height: 1.14; }
.sunday-topic-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.sunday-closing { display: grid; grid-template-columns: auto minmax(0, 820px); align-items: center; justify-content: space-between; gap: 30px; margin-top: 20px; padding: 34px clamp(24px, 5vw, 52px); color: white; border-color: var(--green); background: var(--green); }
.sunday-closing span { color: var(--gold); font-family: Georgia, serif; font-size: 24px; white-space: nowrap; }
.sunday-closing strong { font-family: Georgia, serif; font-size: clamp(22px, 3vw, 34px); font-weight: 500; line-height: 1.25; }
.section-empty { margin-top: 20px; padding: clamp(32px, 5vw, 56px); text-align: center; }
.section-empty > span { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; color: white; background: var(--green); font-size: 24px; }
.section-empty h2 { margin: 0 0 9px; color: var(--green); font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.section-empty p { max-width: 650px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.download-library { margin-top: 20px; padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.download-category { margin-top: 34px; }
.download-category > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; padding-bottom: 11px; border-bottom: 2px solid var(--gold); }
.download-category > header h3 { margin: 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(25px, 4vw, 34px); font-weight: 500; }
.download-category > header span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.download-heading { margin-bottom: 26px; }
.download-heading h2 { margin: 8px 0 6px; color: var(--green); font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.download-heading p { margin: 0; color: var(--muted); }
.download-list { display: grid; gap: 8px; }
.download-topic { border: 1px solid var(--line); border-radius: 15px; background: white; overflow: hidden; }
.download-topic summary { display: flex; align-items: center; gap: 18px; padding: 18px 20px; color: var(--green); font-family: Georgia, serif; font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.download-topic summary::-webkit-details-marker { display: none; }
.download-topic summary small { margin-left: auto; color: var(--muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.download-topic summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 19px; line-height: 1; }
.download-topic[open] summary { border-bottom: 1px solid var(--line); background: var(--cream); }
.download-topic.is-viewed { background: rgba(1, 74, 52, .10); }
.download-topic.is-viewed[open] summary { background: rgba(1, 74, 52, .10); }
.download-topic[open] summary::after { content: "–"; }
.download-topic .download-formats { padding: 8px 20px 20px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.download-actions a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; }
.download-actions a:first-child { color: white; border-color: var(--green); background: var(--green); }
.download-formats { display: grid; gap: 12px; }
.download-format { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.download-format > strong { color: var(--green); font-size: 12px; }
.video-library { margin-top: 20px; padding: clamp(26px, 5vw, 52px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.video-area-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin: 24px 0 20px; }
.video-area-tab { position: relative; min-height: 168px; display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--green); background: white; text-align: left; box-shadow: none; }
.video-area-tab-concept_money { background: rgba(217, 189, 115, .16); }
.video-area-tab-health { background: rgba(1, 41, 29, .08); }
.video-area-tab[aria-selected="true"] { border-color: var(--green); box-shadow: inset 0 -5px 0 var(--green); }
.video-area-tab > span { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.video-area-tab > strong { padding-right: 118px; font-family: Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1.08; }
.video-area-tab > em { position: absolute; top: 49px; right: 18px; min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 16px; color: var(--muted); background: rgba(255,255,255,.78); font-size: 10px; font-style: normal; font-weight: 800; }
.video-area-tab[aria-selected="true"] > em { color: white; background: var(--green); }
.video-area-tab > p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.video-area-panel[hidden] { display: none; }
.video-active-area { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 800; }
.video-active-area::before { width: 24px; height: 3px; border-radius: 3px; background: var(--gold); content: ""; }
.video-topic-list { display: grid; gap: 10px; }
.video-topic-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.video-topic-group > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; align-items: center; gap: 14px; min-height: 82px; padding: 16px 18px; color: var(--green); cursor: pointer; list-style: none; }
.video-topic-group > summary::-webkit-details-marker { display: none; }
.video-topic-group > summary > span { display: grid; gap: 4px; }
.video-topic-group > summary strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; line-height: 1.15; }
.video-topic-group > summary small { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; }
.video-topic-group > summary > b { color: var(--muted); font-size: 10px; font-weight: 800; white-space: nowrap; }
.video-topic-group > summary::after { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 19px; line-height: 1; content: "+"; }
.video-topic-group[open] > summary { border-bottom: 1px solid var(--line); background: var(--cream); }
.video-topic-group[open] > summary::after { content: "–"; }
.video-topic-group > .video-grid { padding: 16px; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.video-card.has-video { width: 70%; max-width: 920px; margin: 0 auto; grid-column: 1 / -1; grid-template-columns: minmax(320px, 1.3fr) minmax(220px, .7fr); }
.video-card.is-directly-linked { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(218, 182, 95, .16); }
.video-placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--green-soft), var(--green)); }
.video-placeholder span { width: 42px; height: 42px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.12); }
.video-card small { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.video-card h3 { margin: 5px 0 7px; color: var(--green); font-family: Georgia, serif; font-size: 21px; }
.video-card p { margin: 0 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.video-status { color: var(--green-soft); font-size: 11px; font-weight: 800; }
.video-share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.video-share-row button { min-height: 40px; padding: 0 15px; border: 1px solid var(--green); color: var(--green); background: white; font-size: 12px; }
.video-share-row button:hover, .video-share-row button:focus-visible { color: white; background: var(--green); }
.video-share-row span { color: var(--muted); font-size: 11px; font-weight: 700; }
.video-embed-consent { position: relative; aspect-ratio: 16 / 9; min-width: 0; border-radius: 14px; background: linear-gradient(145deg, var(--green-soft), var(--green)); overflow: hidden; }
.video-consent-content { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; padding: 22px; color: white; text-align: center; }
.video-consent-content strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.video-consent-content p { max-width: 410px; margin: 0; color: rgba(255,255,255,.74); font-size: 11px; line-height: 1.45; }
.video-consent-content button { min-height: 40px; margin-top: 4px; padding: 0 18px; color: var(--green); background: white; font-size: 12px; }
.video-play-icon { width: 48px; height: 48px; display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(255,255,255,.12); }
.video-embed-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-fullscreen-button { position: absolute; z-index: 2; top: 10px; right: 10px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.6); color: white; background: rgba(1,41,29,.88); font-size: 12px; box-shadow: 0 5px 18px rgba(0,0,0,.22); }
.video-fullscreen-button:hover, .video-fullscreen-button:focus-visible { background: var(--green); }
.video-embed-consent:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; background: #000; }
.video-embed-consent:-webkit-full-screen { width: 100vw; height: 100vh; aspect-ratio: auto; border-radius: 0; background: #000; }
.video-embed-consent:fullscreen iframe, .video-embed-consent:-webkit-full-screen iframe { width: 100%; height: 100%; }
.knowledge-documents { display: grid; gap: 10px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.knowledge-documents > strong { color: var(--green); font-size: 12px; }
.knowledge-document { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; }
.knowledge-document > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.community-preview-note { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 13px 17px; border: 1px solid #ead99d; border-radius: 14px; color: #66552d; background: #fff7d9; font-size: 12px; line-height: 1.5; }
.community-preview-note strong { flex: 0 0 auto; color: var(--green); }
.community-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.community-feed, .community-sidebar > section { border: 1px solid var(--line); border-radius: 22px; background: white; }
.community-feed { display: grid; gap: 14px; padding: 18px; }
.community-search-shell { display: grid; gap: 9px; padding: 4px 4px 18px; border-bottom: 1px solid var(--line); }
.community-search-shell label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--green); font-size: 15px; }
.community-search-shell label small { color: var(--muted); font-size: 10px; }
.community-search-control { position: relative; }
.community-search-control > span { position: absolute; top: 50%; left: 16px; z-index: 1; color: var(--green); font-size: 22px; transform: translateY(-54%) rotate(-20deg); pointer-events: none; }
.community-search-control input:not([type="checkbox"]) { min-height: 50px; padding-right: 46px; padding-left: 47px; border-radius: 25px; background: #fbfaf7; }
.community-search-control button { position: absolute; top: 50%; right: 8px; width: 34px; min-height: 34px; padding: 0; border-radius: 50%; color: var(--green); background: #ece9e1; font-size: 20px; transform: translateY(-50%); }
.community-search-control button[hidden] { display: none; }
.community-search-status { margin: 0; color: var(--muted); font-size: 10px; }
.community-search-status a { color: var(--green); font-weight: 800; }
.community-topic-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 4px 2px; scrollbar-width: thin; }
.community-topic-tabs a { min-height: 38px; display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0 15px; border: 1px solid var(--line); border-radius: 20px; color: var(--green); background: white; font-size: 11px; font-weight: 800; white-space: nowrap; }
.community-topic-tabs a[data-topic="concept_money"], [data-topic="concept_money"] { --topic-color: #18211d; --topic-accent: #f06000; --topic-border: rgba(240, 96, 0, .28); --topic-fill: rgba(240, 96, 0, .10); --topic-fill-active: rgba(240, 96, 0, .10); }
.community-topic-tabs a[data-topic="health"], [data-topic="health"] { --topic-color: #18211d; --topic-accent: #50c0c0; --topic-border: rgba(80, 192, 192, .30); --topic-fill: rgba(80, 192, 192, .10); --topic-fill-active: rgba(80, 192, 192, .10); }
.community-topic-tabs a[data-topic="community"], [data-topic="community"] { --topic-color: #18211d; --topic-accent: #d050a0; --topic-border: rgba(208, 80, 160, .28); --topic-fill: rgba(208, 80, 160, .10); --topic-fill-active: rgba(208, 80, 160, .10); }
.community-topic-tabs a[data-topic="news"], [data-topic="news"] { --topic-color: #18211d; --topic-accent: #9ac43c; --topic-border: rgba(154, 196, 60, .30); --topic-fill: rgba(154, 196, 60, .10); --topic-fill-active: rgba(154, 196, 60, .10); }
.community-topic-tabs a[data-topic] { color: var(--topic-color); border-color: var(--topic-border); background: var(--topic-fill); }
.community-topic-tabs a:hover, .community-topic-tabs a.is-active { color: white; border-color: var(--green); background: var(--green); box-shadow: 0 7px 18px rgba(1,41,29,.14); }
.community-topic-tabs a[data-topic]:hover, .community-topic-tabs a[data-topic].is-active { color: var(--topic-color); border-color: var(--topic-accent); background: var(--topic-fill-active); }
.community-composer { grid-template-columns: 46px 1fr; align-items: start; gap: 14px; padding: 6px 4px 18px; border-bottom: 1px solid var(--line); }
.community-compose-body { display: grid; gap: 10px; }
.community-compose-body label { color: var(--green); font-size: 15px; }
.community-category-choice { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; border: 0; }
.community-category-choice legend { width: 100%; margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 750; }
.community-category-choice legend strong { color: #8a4739; font: inherit; }
.community-category-choice label { position: relative; cursor: pointer; }
.community-category-choice input { position: absolute; opacity: 0; pointer-events: none; }
.community-category-choice span { min-height: 36px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--topic-border); border-radius: 19px; color: var(--topic-color); background: var(--topic-fill); font-size: 11px; font-weight: 800; }
.community-category-choice input:focus-visible + span { outline: 2px solid var(--topic-accent); outline-offset: 2px; }
.community-category-choice input:checked + span { border-color: var(--topic-accent); background: var(--topic-fill-active); box-shadow: inset 0 0 0 1px var(--topic-accent), 0 6px 14px rgba(1,41,29,.06); }
.community-category-choice input:checked + span::before { margin-right: 6px; content: "✓"; }
.community-compose-body textarea { min-height: 96px; }
.community-compose-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.community-compose-actions button, .comment-composer button { min-height: 40px; padding: 0 16px; font-size: 12px; }
.community-ghost-button { color: var(--green); border: 1px solid var(--line); background: white; }
.community-photo-button, .comment-photo-button { position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; color: var(--green); border: 1px solid var(--line); background: white; font-weight: 800; cursor: pointer; }
.community-photo-button { min-height: 40px; margin-right: auto; padding: 0 15px; border-radius: 22px; font-size: 12px; }
.comment-photo-button { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; font-size: 22px; line-height: 1; }
.community-photo-button input, .comment-photo-button input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.community-photo-button.has-selection, .comment-photo-button.has-selection { border-color: var(--green); background: #edf4f0; }
.community-upload-hint { color: var(--muted); font-size: 9px; }
.community-upload-hint.has-selection, .comment-upload-status.has-selection { color: var(--green); font-weight: 800; }
.community-upload-hint.has-error, .comment-upload-status.has-error { color: #a21e17; font-weight: 800; }
.comment-upload-status { grid-column: 2 / 5; min-height: 0; color: var(--muted); font-size: 9px; line-height: 1.35; }
.community-avatar { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: white; background: var(--green); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.community-avatar.alternate { color: var(--green); background: var(--gold); }
.community-avatar.small { width: 34px; height: 34px; font-size: 10px; }
.community-posts { display: grid; gap: 14px; }
.community-post[hidden] { display: none; }
.community-no-results { display: grid; justify-items: center; gap: 7px; padding: 34px 20px; color: var(--muted); text-align: center; }
.community-no-results[hidden] { display: none; }
.community-no-results > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-size: 23px; transform: rotate(-20deg); }
.community-no-results strong { color: var(--green); font-family: Georgia, serif; font-size: 20px; }
.community-no-results p { margin: 0; font-size: 12px; }
.community-post { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.community-post.is-hidden, .community-comment.is-hidden { opacity: .62; border-style: dashed; }
.community-post-new { animation: community-arrival .35s ease-out; }
@keyframes community-arrival { from { opacity: 0; transform: translateY(-8px); } }
.community-post > header { display: flex; align-items: center; gap: 12px; }
.community-post > header > div:nth-child(2) { display: grid; gap: 3px; }
.community-post > header strong { color: var(--green); font-size: 14px; }
.community-post > header span { color: var(--muted); font-size: 10px; }
.community-post > header .community-topic-badge { margin-left: auto; padding: 6px 9px; border: 1px solid var(--topic-border); border-radius: 14px; color: var(--topic-color); background: var(--topic-fill); font-size: 9px; font-weight: 850; white-space: nowrap; }
.post-menu { width: 34px; min-height: 34px; margin-left: auto; padding: 0; color: var(--muted); background: transparent; }
.community-post-copy { margin: 17px 0; }
.community-post-copy p { margin: 0; color: #34423c; font-size: 14px; line-height: 1.65; }
.community-post-copy p.is-collapsible:not(.is-expanded) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.community-post-toggle { min-height: 32px; margin-top: 5px; padding: 0; color: var(--green); background: transparent; font-size: 11px; font-weight: 850; }
.community-media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0 0 17px; overflow: hidden; border-radius: 14px; }
.community-media-grid[data-count="1"] { grid-template-columns: 1fr; }
.community-media-grid a { min-width: 0; display: block; overflow: hidden; border-radius: 10px; background: #ece9e1; }
.community-media-grid img { width: 100%; height: 230px; display: block; object-fit: cover; }
.community-media-grid[data-count="1"] img { height: auto; max-height: 520px; object-fit: contain; }
.community-media-grid.is-comment { margin: 9px 0 3px; }
.community-media-grid.is-comment img { height: 150px; }
.post-reactions { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.post-reactions form { display: block; }
.post-reactions button { min-height: 30px; padding: 0; color: var(--green); background: transparent; font-size: 11px; }
.report-menu { position: relative; margin-left: auto; }
.report-menu summary { color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; list-style: none; }
.report-menu summary::-webkit-details-marker { display: none; }
.report-menu form { position: absolute; z-index: 5; top: 24px; right: 0; width: 250px; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 12px 32px rgba(1,41,29,.14); }
.report-menu input:not([type="checkbox"]) { min-height: 38px; font-size: 11px; }
.report-menu form button { min-height: 34px; padding: 0 12px; color: white; background: var(--green); }
.moderation-action { display: inline-block; }
.moderation-action button { min-height: 28px; padding: 0; color: #8b3e31; background: transparent; font-size: 10px; }
.moderation-action.is-delete button { color: #a21e17; font-weight: 850; }
.community-edit-panel { margin: 14px 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.community-edit-panel > summary { padding: 11px 14px; color: var(--green); font-size: 11px; font-weight: 850; cursor: pointer; list-style-position: inside; }
.community-edit-panel[open] > summary { border-bottom: 1px solid var(--line); }
.community-edit-panel form { display: grid; gap: 12px; padding: 14px; }
.community-edit-panel form > label { display: grid; gap: 7px; color: var(--green); font-size: 11px; font-weight: 800; }
.community-edit-panel textarea { width: 100%; min-height: 112px; resize: vertical; }
.community-edit-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.community-edit-actions button { min-height: 40px; padding: 0 17px; }
.community-edit-actions small { color: var(--muted); font-size: 10px; }
.community-media-order-form { border-top: 1px solid var(--line); }
.community-media-order-form > strong { color: var(--green); font-size: 12px; }
.community-media-order-form > small { margin-top: -7px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.community-media-order-form > button { justify-self: start; min-height: 40px; padding: 0 17px; }
.community-media-order-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.community-media-order-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 7px; align-items: center; margin: 0; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: grab; }
.community-media-order-item.is-dragging { opacity: .45; }
.community-media-order-item img { grid-column: 1 / -1; width: 100%; height: 130px; display: block; border-radius: 9px; object-fit: cover; }
.community-media-order-item > span { color: var(--green); font-size: 10px; font-weight: 850; }
.community-media-order-item > div { display: flex; gap: 5px; }
.community-media-order-item button { width: 34px; min-height: 32px; padding: 0; color: var(--green); border: 1px solid var(--line); background: white; }
.community-media-order-item button:disabled { opacity: .32; cursor: default; }
.comment-list { display: grid; gap: 11px; padding: 14px 0; }
.community-comment { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.community-comment > div:last-child { padding: 9px 12px; border-radius: 0 13px 13px 13px; background: #f0eee8; }
.community-comment strong { color: var(--green); font-size: 11px; }
.community-comment p { margin: 4px 0 0; color: #46524c; font-size: 12px; line-height: 1.5; }
.community-comment small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.comment-composer { grid-template-columns: 34px 1fr auto auto; gap: 9px; align-items: center; }
.comment-composer input:not([type="checkbox"]) { min-height: 40px; font-size: 12px; }
.community-sidebar { display: grid; gap: 14px; }
.community-sidebar > section { padding: 24px; }
.community-sidebar h2 { margin: 8px 0 14px; color: var(--green); font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.community-sidebar ul { display: grid; gap: 10px; margin: 0; padding-left: 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.community-sidebar .moderation-card { color: white; border-color: var(--green); background: var(--green); }
.moderation-card strong { font-family: Georgia, serif; font-size: 22px; font-weight: 500; }
.moderation-card p { margin: 9px 0 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.6; }
.faq-review-note { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 14px 17px; border: 1px solid #ead99d; border-radius: 14px; color: #66552d; background: #fff7d9; font-size: 12px; line-height: 1.5; }
.faq-review-note strong { flex: 0 0 auto; color: var(--green); }
.faq-library { padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: white; }
.faq-search-control { position: relative; max-width: 760px; margin: 0 auto; }
.faq-search-control > span { position: absolute; top: 50%; left: 17px; z-index: 1; color: var(--green); font-size: 23px; transform: translateY(-54%) rotate(-20deg); pointer-events: none; }
.faq-search-control input:not([type="checkbox"]) { min-height: 54px; padding-right: 48px; padding-left: 49px; border-radius: 28px; background: #fbfaf7; }
.faq-search-control button { position: absolute; top: 50%; right: 9px; width: 36px; min-height: 36px; padding: 0; border-radius: 50%; color: var(--green); background: #ece9e1; font-size: 21px; transform: translateY(-50%); }
.faq-search-control button[hidden] { display: none; }
.faq-search-status { max-width: 760px; margin: 9px auto 30px; color: var(--muted); font-size: 10px; }
.faq-groups { display: grid; gap: 34px; }
.faq-group[hidden] { display: none; }
.faq-group h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--green); font-family: Georgia, serif; font-size: clamp(23px, 3vw, 31px); font-weight: 500; }
.faq-group h2 span { color: var(--gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.faq-list { display: grid; gap: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 15px; background: white; overflow: hidden; }
.faq-item[hidden] { display: none; }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: var(--green); font-size: 14px; font-weight: 800; line-height: 1.45; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; margin-left: auto; border-radius: 50%; color: white; background: var(--green); font-size: 19px; line-height: 1; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); background: var(--cream); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 20px; color: #46524c; font-size: 13px; line-height: 1.65; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 22px; }
.faq-answer a { color: var(--green); font-weight: 750; overflow-wrap: anywhere; }
.faq-source-note { padding: 11px 13px; border-left: 3px solid var(--gold); background: #faf7ee; font-size: 11px; }
.faq-no-results { padding: 36px 20px; color: var(--muted); text-align: center; }
.faq-no-results[hidden] { display: none; }
.faq-no-results strong { color: var(--green); font-family: Georgia, serif; font-size: 22px; }
.faq-no-results p { margin: 7px 0 0; font-size: 12px; }
.pdf-viewer-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.pdf-viewer-heading .back-link { margin-bottom: 16px; }
.pdf-viewer-heading .eyebrow { display: block; }
.pdf-viewer-heading h1 { margin: 7px 0 0; color: var(--green); font-family: Georgia, serif; font-size: clamp(30px, 5vw, 48px); font-weight: 500; }
.pdf-download-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0 19px; border-radius: 24px; color: white; background: var(--green); font-size: 13px; font-weight: 800; text-decoration: none; }
.pdf-frame-shell { min-height: 78vh; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: white; overflow: hidden; }
.pdf-frame { width: 100%; min-height: 76vh; border: 0; border-radius: 14px; background: var(--cream); }
.pdf-fallback { display: grid; place-items: center; align-content: center; min-height: 70vh; padding: 30px; color: var(--muted); text-align: center; }
.pdf-fallback strong { color: var(--green); }

@media (max-width: 860px) {
    .auth-shell { grid-template-columns: 1fr; }
    .brand-panel { min-height: 310px; padding: 56px 24px 72px; }
    .brand-panel h1 { max-width: 580px; font-size: clamp(38px, 10vw, 56px); }
    .brand-panel p { font-size: 16px; }
    .auth-panel { padding: 24px 20px 48px; }
    .auth-header { margin-bottom: 48px; }
    footer { align-items: flex-start; flex-direction: column; }
    .review-row { grid-template-columns: 1fr; }
    .admin-list-row, .admin-list-row-wide { grid-template-columns: 1fr; }
    .member-page { padding: 24px; }
    .member-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-bottom: 28px; }
    .admin-page .member-header { grid-template-columns: 1fr; align-items: flex-start; }
    .admin-page .member-actions { justify-content: flex-start; }
    .portal-header { align-items: center; }
    .member-actions { justify-content: flex-end; flex-wrap: wrap; }
    .member-actions form { display: block; }
    .member-actions .secondary-button, .member-header > form .secondary-button { min-height: 44px; }
    .homepage-logo-link { width: min(133px, 41vw); min-width: 105px; }
    .portal-nav { grid-column: 1 / -1; order: 3; width: 100%; justify-content: flex-start; gap: 22px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .portal-header .homepage-logo-link { grid-column: 1; grid-row: 1; }
    .portal-header .member-actions { grid-column: 2; grid-row: 1; }
    .portal-header .global-search { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; }
    .portal-header .portal-nav { grid-row: 3; }
    .portal-nav::-webkit-scrollbar { display: none; }
    .portal-nav a { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; white-space: nowrap; }
    .portal-hero { grid-template-columns: 1fr; }
    .portal-grid { grid-template-columns: 1fr; }
    .sunday-hero, .sunday-about { grid-template-columns: 1fr; }
    .sunday-main-visual { min-height: 0; padding: 26px; }
    .sunday-main-visual img { width: min(100%, 310px); height: auto; max-height: none; object-fit: contain; }
    .sunday-current-card { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); }
    .sunday-topic-grid { grid-template-columns: 1fr; }
    .sunday-access-note { align-items: stretch; flex-direction: column; gap: 17px; }
    .sunday-access-actions { width: 100%; }
    .sunday-access-actions > a, .sunday-access-actions > span { flex: 1 1 0; }
    .video-grid, .community-layout { grid-template-columns: 1fr; }
    .video-card.has-video { width: 100%; max-width: none; }
    .pdf-viewer-heading { align-items: flex-start; flex-direction: column; }
    .product-grid, .package-grid { grid-template-columns: 1fr; }
    .product-hero { grid-template-columns: 1fr; }
    .product-art-large { width: min(100%, 360px); min-height: 240px; margin: 0 auto; }
    .review-actions button { min-height: 44px; }
    .admin-list-row .secondary-button { min-height: 44px; }
    .report-menu form { width: min(250px, calc(100vw - 48px)); }
}

@media (max-width: 520px) {
    .brand-panel { min-height: auto; padding: 30px 20px 34px; }
    .brand-panel h1 { margin: 10px 0 14px; font-size: clamp(32px, 10.5vw, 43px); }
    .brand-panel p { font-size: 14px; line-height: 1.5; }
    .brand-ribbon { bottom: -130px; height: 190px; }
    .auth-panel { padding: 20px 16px 38px; }
    .auth-header { align-items: center; gap: 14px; margin-bottom: 32px; }
    .auth-header nav { align-items: center; flex-direction: row; gap: 12px; }
    .auth-header a { font-size: 12px; }
    .brand-name strong { font-size: 21px; }
    .form-card h2 { font-size: 34px; }
    .intro { margin-bottom: 24px; }
    input:not([type="checkbox"]), textarea, select { font-size: 16px; }
    button, .action-link, .pdf-download-button { min-height: 48px; }
    .login-hint { align-items: center; flex-direction: column; }
    footer { gap: 18px; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); }
    footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; width: 100%; }
    .status-page, .legal-page { padding: 14px; }
    .status-card, .legal-card { padding: 26px 18px; border-radius: 20px; }
    .legal-card h1 { margin-bottom: 22px; font-size: clamp(28px, 9vw, 36px); line-height: 1.08; overflow-wrap: anywhere; hyphens: auto; }
    .member-page, .portal-page { padding: 14px 14px calc(38px + env(safe-area-inset-bottom)); }
    .member-header { gap: 10px; margin-bottom: 18px; }
    .homepage-logo-link { width: min(108px, 35vw); min-width: 92px; }
    .homepage-logo-preview { max-height: 45px; }
    .member-actions { gap: 6px; }
    .member-actions .secondary-button, .member-header > form .secondary-button { min-height: 42px; padding: 0 13px; font-size: 12px; }
    .portal-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 100%; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.82); overflow: visible; }
    .portal-nav a { min-width: 0; min-height: 42px; justify-content: center; padding: 7px 4px; border-radius: 11px; font-size: 11px; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
    .portal-nav a:hover, .portal-nav a.is-active { background: #edf4f0; }
    .global-search input:not([type="checkbox"]) { min-height: 48px; padding-left: 16px; font-size: 16px; }
    .global-search button { top: 5px; width: 38px; min-height: 38px; }
    .search-results { padding: 12px; border-radius: 18px; }
    .search-result { padding: 15px 14px; }
    .search-result h2 { font-size: 21px; }
    .portal-hero, .section-hero { padding: 24px 18px; border-radius: 18px; }
    .portal-hero h1, .section-hero h1 { max-width: 100%; margin-top: 8px; font-size: clamp(28px, 8.4vw, 34px); line-height: 1.06; overflow-wrap: anywhere; word-break: normal; }
    .portal-hero p, .section-hero p { font-size: 15px; line-height: 1.55; }
    .access-status { padding: 18px; }
    .portal-grid { gap: 10px; }
    .portal-card { grid-template-columns: 32px minmax(0, 1fr) 18px; min-height: 0; padding: 18px 14px; border-radius: 17px; }
    .portal-card > span { font-size: 20px; }
    .portal-card h2 { margin: 4px 0 5px; font-size: 24px; }
    .portal-card p { font-size: 12px; }
    .portal-pin-note { margin-top: 16px; }
    .sunday-hero { gap: 12px; margin-bottom: 12px; }
    .sunday-hero-copy { padding: 25px 18px; border-radius: 18px; }
    .sunday-hero-copy .back-link { margin-bottom: 27px; }
    .sunday-hero-copy h1 { margin-top: 8px; font-size: 46px; }
    .sunday-hero-copy > p { font-size: 15px; line-height: 1.58; }
    .sunday-facts { grid-template-columns: 1fr; margin-top: 24px; }
    .sunday-facts span { padding: 13px 15px; }
    .sunday-main-visual { padding: 22px; border-radius: 18px; }
    .sunday-main-visual img { width: min(82%, 270px); border-radius: 13px; box-shadow: 0 12px 30px rgba(1,41,29,.12); }
    .sunday-about, .sunday-current, .sunday-archive { margin-top: 12px; padding: 23px 15px; border-radius: 18px; }
    .sunday-about { gap: 24px; }
    .sunday-about-intro h2 { font-size: 32px; }
    .sunday-about-intro p { font-size: 14px; line-height: 1.62; }
    .sunday-about-points article { padding: 14px; }
    .sunday-section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 18px; }
    .sunday-section-heading h2 { font-size: 31px; }
    .sunday-current-card { grid-template-columns: 1fr; gap: 12px; padding: 9px; border-radius: 16px; }
    .sunday-current-card figure { max-width: none; }
    .sunday-current-card figure img { border-radius: 12px; box-shadow: none; }
    .sunday-current-copy { padding: 17px 10px 14px; }
    .sunday-date-badge { margin-bottom: 25px; }
    .sunday-current-copy h3 { font-size: 34px; }
    .sunday-current-copy dl { grid-template-columns: 1fr; margin-top: 24px; }
    .sunday-access-note { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px 16px; }
    .sunday-access-actions { align-items: stretch; flex-direction: column; width: 100%; }
    .sunday-access-actions > a, .sunday-access-actions > span { width: 100%; }
    .sunday-topic-grid { grid-template-columns: 1fr; gap: 7px; }
    .sunday-topic-card { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; min-height: 96px; padding: 14px; }
    .sunday-topic-number { width: 32px; height: 32px; font-size: 12px; }
    .sunday-topic-card h3 { font-size: 19px; }
    .sunday-closing { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; padding: 25px 20px; border-radius: 18px; }
    .sunday-closing span { font-size: 20px; }
    .sunday-closing strong { font-size: 24px; }
    .library-shell, .product-detail-shell, .download-library, .video-library, .faq-library { padding: 22px 14px; border-radius: 18px; }
    .library-shell > h1, .product-hero h1 { font-size: 37px; line-height: 1.06; overflow-wrap: anywhere; }
    .library-intro, .product-hero p { font-size: 15px; line-height: 1.55; }
    .library-tabs { gap: 4px; margin: 25px 0 20px; padding: 4px; border-radius: 15px; }
    .library-tab { min-width: 0; min-height: 48px; padding: 0 8px; border-radius: 12px; font-size: 12px; line-height: 1.25; }
    .alphabet { flex-wrap: nowrap; gap: 7px; margin: 16px -14px 20px; padding: 0 14px 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .alphabet::-webkit-scrollbar { display: none; }
    .alphabet button { flex: 0 0 auto; width: 38px; min-height: 38px; }
    .product-card { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 14px; }
    .product-direct-link { grid-template-columns: minmax(0, 1fr) 28px; }
    .product-direct-link small { display: none; }
    .product-direct-link { gap: 10px; padding: 15px 14px; line-height: 1.35; }
    .product-direct-link span { min-width: 0; overflow-wrap: anywhere; }
    .product-list-content { grid-template-columns: 1fr; }
    .product-list-content img { width: 100%; }
    .product-art { min-height: 110px; }
    .product-hero { gap: 20px; padding: 4px 0 28px; }
    .product-art-large { width: min(100%, 320px); min-height: 220px; }
    .product-detail-page .product-detail-shell { width: calc(100% + 28px); margin-right: -14px; margin-left: -14px; padding-right: 18px; padding-left: 18px; border-right: 0; border-left: 0; border-radius: 0; }
    .tip-section, .price-section, .package-products { padding: 24px 0; }
    .tip-section h2, .price-section h2, .package-products h2 { font-size: 26px; line-height: 1.15; overflow-wrap: anywhere; }
    .tip-card summary { align-items: flex-start; padding: 17px 2px; font-size: 15px; line-height: 1.35; }
    .tip-body { width: 100%; padding: 0 0 20px; color: #53615a; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
    .shop-note, .health-notice { padding: 17px 15px; }
    .draft-banner { align-items: flex-start; flex-direction: column; }
    .shop-note { align-items: flex-start; flex-direction: column; gap: 7px; }
    .download-format { grid-template-columns: 1fr; }
    .download-topic summary { gap: 10px; padding: 16px 14px; font-size: 17px; line-height: 1.3; }
    .download-topic summary small { display: none; }
    .download-topic .download-formats { padding: 6px 14px 16px; }
    .download-actions { width: 100%; }
    .download-actions a { min-height: 44px; justify-content: center; flex: 1 1 130px; }
    .video-area-switch { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
    .video-area-tab { min-height: 154px; padding: 18px 16px; border-radius: 16px; }
    .video-area-tab > strong { padding-right: 0; font-size: 27px; }
    .video-area-tab > em { position: static; width: max-content; min-height: 27px; grid-row: 3; padding: 0 9px; }
    .video-area-tab > p { grid-row: 4; }
    .video-topic-group > summary { grid-template-columns: minmax(0, 1fr) 28px; gap: 10px; min-height: 78px; padding: 14px; }
    .video-topic-group > summary > b { display: none; }
    .video-topic-group > summary strong { font-size: 20px; }
    .video-topic-group > .video-grid { padding: 10px; }
    .video-card, .video-card.has-video { grid-template-columns: 1fr; }
    .video-card { padding: 13px; }
    .video-share-row { align-items: flex-start; flex-direction: column; }
    .video-share-row button { width: 100%; min-height: 44px; }
    .video-fullscreen-button { min-height: 44px; }
    .knowledge-document { grid-template-columns: 1fr; }
    .community-feed { gap: 11px; padding: 12px; border-radius: 18px; }
    .community-topic-tabs { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
    .community-composer { grid-template-columns: 1fr; }
    .community-search-shell label { align-items: flex-start; flex-direction: column; gap: 3px; }
    .community-composer > .community-avatar { display: none; }
    .community-compose-actions { align-items: stretch; flex-direction: column-reverse; }
    .community-photo-button { width: 100%; margin: 0; }
    .community-upload-hint { text-align: center; }
    .community-post { padding: 14px; border-radius: 15px; }
    .community-post > header { align-items: flex-start; flex-wrap: wrap; }
    .community-post > header .community-topic-badge { order: 3; margin-left: 58px; }
    .community-post > p { margin: 14px 0; }
    .post-reactions { flex-wrap: wrap; gap: 8px 12px; }
    .report-menu { margin-left: 0; }
    .report-menu form { position: fixed; z-index: 20; top: 50%; right: 16px; left: 16px; width: auto; transform: translateY(-50%); }
    .comment-composer { grid-template-columns: 34px minmax(0, 1fr) 40px; }
    .comment-composer button { grid-column: 2 / 4; }
    .comment-upload-status { grid-column: 2 / 4; }
    .community-media-grid img { height: 180px; }
    .community-media-grid[data-count="1"] img { height: auto; max-height: 420px; }
    .community-media-grid.is-comment img { height: 125px; }
    .community-sidebar > section { padding: 18px; border-radius: 18px; }
    .faq-review-note { align-items: flex-start; flex-direction: column; gap: 4px; }
    .faq-groups { gap: 26px; }
    .faq-group h2 { align-items: flex-start; font-size: 24px; line-height: 1.15; }
    .faq-item summary { padding: 16px; }
    .faq-answer { padding: 17px 16px; }
    .pdf-viewer-heading { gap: 18px; padding: 20px 16px; border-radius: 17px; }
    .pdf-viewer-heading h1 { font-size: 31px; line-height: 1.08; overflow-wrap: anywhere; }
    .pdf-download-button { width: 100%; }
    .pdf-frame-shell { min-height: 68svh; padding: 0; border-radius: 16px; }
    .pdf-frame { min-height: 68svh; border-radius: 15px; }
    .review-row, .admin-list-row { gap: 13px; padding: 18px 0; }
    .review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .review-actions button { width: 100%; }
    .admin-review-card { padding: 24px 16px; border-radius: 18px; }
    .admin-review-card h1 { font-size: 36px; }
    .admin-list-row-wide p { margin-top: 0; }
}

@media (max-width: 370px) {
    .auth-header { align-items: flex-start; }
    .auth-header nav { align-items: flex-end; flex-direction: column; gap: 2px; }
    .member-header { grid-template-columns: 1fr; }
    .member-header > form, .member-actions { justify-self: stretch; }
    .member-header > form .secondary-button, .member-actions .secondary-button { width: 100%; }
    .homepage-logo-link { width: 106px; }
    .portal-nav { grid-column: 1; }
    footer nav { grid-template-columns: 1fr; }
    .portal-card { grid-template-columns: 28px minmax(0, 1fr); }
    .portal-card > b { display: none; }
    .review-actions { grid-template-columns: 1fr; }
}
