:root {
  --ink: #20221f;
  --muted: #777a73;
  --line: #d8d7d0;
  --paper: #f4f1eb;
  --paper-deep: #eae7df;
  --white: #fbfaf6;
  --accent: #c85f3d;
  --accent-dark: #a9472d;
  --sage: #707b69;
  --olive: #3e4a3b;
  --dark-band: #282d27;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.7; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1220px, calc(100% - 72px)); margin-inline: auto; }

.announcement-strip { color: #d9ddd4; background: var(--olive); font-size: 12px; }
.announcement-strip__inner { display: flex; align-items: center; min-height: 34px; gap: 18px; }
.announcement-strip__label { display: inline-flex; align-items: center; gap: 7px; color: #f0d8c1; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.announcement-strip__label svg { width: 13px; height: 13px; }
.announcement-strip p { margin: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-strip a { display: inline-flex; align-items: center; gap: 5px; color: #fff; white-space: nowrap; }
.announcement-strip a svg { width: 13px; height: 13px; }

.site-header { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid rgba(32,34,31,.12); }
.site-header__inner { min-height: 78px; display: flex; align-items: center; gap: 54px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { display: block; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.brand__name { display: flex; flex-direction: column; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: .02em; }
.brand__name small { margin-top: 4px; color: var(--muted); font-family: var(--sans); font-size: 7px; font-weight: 600; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: 36px; flex: 1; }
.site-nav__link { position: relative; padding: 27px 0 25px; color: #60645c; font-size: 13px; font-weight: 600; }
.site-nav__link::after { position: absolute; right: 0; bottom: 17px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav__link:hover, .site-nav__link.is-active { color: var(--ink); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.header-service { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 12px; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
.header-service:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.header-service svg { width: 16px; height: 16px; }
.header-service { position: relative; }
.header-service__badge { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--paper); border-radius: 12px; background: #dc453e; color: #fff; font: 600 10px/15px Arial, sans-serif; }
.header-service__badge[hidden] { display: none; }
.floating-service { position: fixed; top: 168px; right: 22px; z-index: 110; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 17px; border: 0; border-radius: 24px; color: #fff; background: #1677ff; box-shadow: 0 8px 24px rgba(22,119,255,.35); font: 700 13px/1 inherit; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.floating-service:hover { background: #0958d9; box-shadow: 0 10px 28px rgba(22,119,255,.45); transform: translateY(-2px); }
.floating-service svg { width: 19px; height: 19px; }
.floating-service__badge { position: absolute; top: -7px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 12px; background: #dc453e; color: #fff; font: 700 10px/16px Arial,sans-serif; }
.floating-service__badge[hidden] { display: none; }
body:has(#modal-backdrop.modal-backdrop--service:not([hidden])) .floating-service { display: none; }
.service-unread-reminder { position: fixed; inset: 0; z-index: 145; display: grid; place-items: center; padding: 20px; background: rgba(22,25,21,.5); }
.service-unread-reminder[hidden] { display: none; }
.service-unread-reminder__dialog { width: min(360px, 100%); padding: 28px; background: var(--paper); box-shadow: 0 18px 65px rgba(0,0,0,.25); }
.service-unread-reminder__dialog h2 { margin: 0 0 14px; font-size: 20px; }
.service-unread-reminder__dialog p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-unread-reminder__dialog .button { display: flex; margin-left: auto; }
.header-account-wrap { position: relative; flex: 0 0 auto; }
.header-account { display: inline-flex; max-width: 138px; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 12px; font-weight: 600; line-height: 1.2; cursor: pointer; appearance: none; transition: color .2s, border-color .2s, background .2s; }
.header-account:hover, .header-account.is-authenticated { color: var(--white); border-color: var(--olive); background: var(--olive); }
.header-account svg { width: 16px; height: 16px; flex: 0 0 auto; }
.header-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-account-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 126px; padding: 5px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 10px 24px rgba(32,34,31,.14); }
.header-account-menu[hidden] { display: none; }
.header-account-menu button { display: block; width: 100%; padding: 9px 12px; border: 0; color: var(--ink); background: transparent; text-align: left; font-size: 12px; line-height: 1.4; cursor: pointer; transition: color .2s, background .2s; }
.header-account-menu button:hover, .header-account-menu button:focus-visible { color: var(--white); background: var(--olive); outline: none; }
.mobile-menu-toggle { display: none; }

.hero { position: relative; min-height: 518px; color: var(--white); background: #454b43; overflow: hidden; }
.hero__slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; opacity: 0; transition: opacity .65s ease, visibility .65s ease; }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-slide__veil { position: absolute; inset: 0; background: rgba(20, 25, 21, .58); }
.hero-slide__content { position: absolute; z-index: 2; inset: 0; display: flex; min-height: 0; height: 100%; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 28px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--sage); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { color: var(--accent); font-family: var(--serif); font-size: 13px; letter-spacing: 0; }
.eyebrow--light { color: #d8ddd5; }
.eyebrow--light span { color: #e6a185; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: 58px; font-weight: 500; letter-spacing: .03em; line-height: 1.2; }
h1 em, h2 em { color: #f0ad91; font-style: normal; }
.hero-slide__desc { margin: 22px 0 30px; color: #e0e4de; font-size: 15px; line-height: 2; }
.hero-slide__actions { display: flex; align-items: center; gap: 27px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 13px; padding: 10px 17px; border: 1px solid transparent; color: var(--white); background: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .04em; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button svg { width: 15px; height: 15px; }
.button:hover { transform: translateY(-2px); }
.button--accent { color: #fff8f2; background: var(--accent); }
.button--accent:hover { background: var(--accent-dark); }
.button.is-reserved, .button.is-reserved:hover { color: #6f746d; border-color: #d4d8d1; background: #d4d8d1; }
.button--quiet { min-height: 35px; padding: 7px 0 7px 15px; color: var(--ink); border-color: var(--line); background: transparent; }
.button--quiet:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.button--full { width: 100%; }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; }
.text-link svg { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.text-link--light { color: #fff; }
.hero__bottom { position: absolute; z-index: 4; right: 0; bottom: 29px; left: 0; display: flex; align-items: center; }
.hero__counter { display: flex; align-items: baseline; gap: 8px; min-width: 80px; color: rgba(255,255,255,.6); font-family: var(--serif); font-size: 13px; }
.hero__counter strong { color: #fff; font-size: 20px; font-weight: 500; }
.hero__dots { display: flex; align-items: center; gap: 7px; }
.hero-dot { width: 31px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.32); transition: width .25s, background .25s; }
.hero-dot.is-active { width: 64px; background: #e6a185; }
.hero__controls { display: flex; gap: 7px; margin-left: auto; }
.icon-button { display: inline-grid; width: 36px; height: 36px; place-items: center; padding: 0; border: 1px solid var(--line); color: var(--ink); background: transparent; transition: color .2s, background .2s, border-color .2s; }
.icon-button svg { width: 16px; height: 16px; }
.icon-button:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.icon-button--light { color: #fff; border-color: rgba(255,255,255,.42); }
.icon-button--light:hover { color: var(--ink); border-color: #fff; background: #fff; }
.icon-button--dark { border-color: #bbbcb5; }

.quick-actions { position: relative; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.quick-actions__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-action { position: relative; display: flex; min-width: 0; align-items: center; gap: 13px; padding: 23px 16px 22px 0; border: 0; border-right: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.quick-action:first-child { padding-left: 0; }
.quick-action:not(:first-child) { padding-left: 25px; }
.quick-action:last-child { border-right: 0; }
.quick-action::before { position: absolute; right: 16px; bottom: 0; left: 16px; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transition: transform .25s; }
.quick-action:hover::before { transform: scaleX(1); }
.quick-action__icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; color: var(--accent); border: 1px solid #dbad9b; }
.quick-action__icon svg { width: 18px; height: 18px; }
.quick-action__icon--live { color: var(--olive); border-color: #b7c2b2; }
.quick-action__copy { display: flex; min-width: 0; flex-direction: column; }
.quick-action__copy strong { font-size: 14px; font-weight: 700; }
.quick-action__copy small { margin-top: 2px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-action__arrow { width: 15px; margin-left: auto; color: #aaa9a0; transition: color .2s, transform .2s; }
.quick-action:hover .quick-action__arrow { color: var(--accent); transform: translate(2px, -2px); }

.section { padding: 72px 0 80px; }
.section--notice { background: var(--paper); }
.section--exhibitions { padding-top: 0; background: var(--paper); }
.section--collections { background: var(--paper-deep); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-family: var(--serif); font-size: 42px; font-weight: 600; letter-spacing: .02em; line-height: 1.18; }
h2 small { display: inline-block; margin-left: 12px; color: #979890; font-family: var(--sans); font-size: 9px; font-weight: 600; letter-spacing: .16em; vertical-align: middle; }

.notice-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 74px; }
.notice-feature { position: relative; display: grid; grid-template-columns: 86px 1fr; min-height: 257px; padding: 31px 37px; border: 1px solid #d3d1c7; background: #eeebe4; overflow: hidden; }
.notice-feature__date { display: flex; flex-direction: column; color: var(--accent); }
.notice-feature__date strong { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; }
.notice-feature__date span { margin-top: 8px; font-size: 11px; letter-spacing: .09em; }
.tag { display: inline-block; padding: 3px 8px; color: var(--accent-dark); background: #f3d8cc; font-size: 10px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; }
.tag--plain { margin-right: 10px; padding: 2px 6px; color: var(--sage); background: #dfe4da; font-size: 9px; vertical-align: 2px; }
.notice-feature h3 { margin: 16px 0 14px; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.45; }
.notice-feature p { max-width: 365px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.notice-feature__mark { position: absolute; right: -4px; bottom: -28px; color: rgba(200,95,61,.09); font-family: var(--serif); font-size: 205px; font-weight: 900; line-height: .8; }
.notice-list { border-top: 1px solid var(--line); }
.notice-item { display: flex; width: 100%; min-height: 85px; align-items: center; gap: 22px; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.notice-item__date { min-width: 75px; color: #94968f; font-family: var(--serif); font-size: 11px; }
.notice-item__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.notice-item__copy b { font-size: 13px; font-weight: 600; line-height: 1.45; }
.notice-item__copy small { margin-top: 4px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-item > svg { width: 15px; color: #aaa9a0; transition: transform .2s, color .2s; }
.notice-item:hover > svg { color: var(--accent); transform: translate(2px, -2px); }

.exhibition-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.exhibition-card__image { position: relative; height: 310px; overflow: hidden; background: #ccd0c5; }
.exhibition-card--feature .exhibition-card__image { height: 410px; }
.exhibition-card__image::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); content: ""; pointer-events: none; }
.exhibition-card__image img, .collection-card__image img, .live-player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.exhibition-card:hover img, .collection-card:hover img { transform: scale(1.04); }
.exhibition-card__status { position: absolute; top: 15px; left: 15px; z-index: 2; padding: 5px 8px; color: #fff; background: rgba(34,40,33,.78); font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.image-arrow { position: absolute; right: 15px; bottom: 15px; z-index: 2; display: grid; width: 35px; height: 35px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(34,40,33,.55); transition: color .2s, background .2s; }
.image-arrow:hover { color: var(--ink); background: #fff; }
.image-arrow svg { width: 15px; height: 15px; }
.exhibition-card__body { padding: 16px 0 0; }
.exhibition-card__body > span { color: var(--accent); font-size: 10px; letter-spacing: .07em; }
.exhibition-card__body h3 { margin: 7px 0 1px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.45; }
.exhibition-card__body p { margin: 0; color: var(--muted); font-size: 12px; }

.section-heading--collections { align-items: center; }
.collection-tools { display: flex; align-items: center; gap: 19px; }
.filter-tabs { display: flex; align-items: center; gap: 20px; }
.filter-tab { position: relative; padding: 7px 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.filter-tab::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transition: transform .2s; }
.filter-tab:hover, .filter-tab.is-active { color: var(--ink); }
.filter-tab.is-active::after { transform: scaleX(1); }
.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection-card { min-width: 0; background: var(--white); }
.collection-card__image { position: relative; height: 275px; overflow: hidden; background: #c7ccc0; }
.collection-card__body { padding: 17px 18px 20px; }
.collection-card__meta { display: flex; justify-content: space-between; color: var(--sage); font-size: 10px; }
.collection-card__body h3 { margin: 8px 0 3px; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.45; }
.collection-card__body p { margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.live-section { color: #f7f5ed; background: var(--dark-band); }
.live-section__inner { display: grid; min-height: 466px; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.live-section__copy { padding: 55px 0; }
.live-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 19px; }
.live-pulse { display: inline-flex; align-items: center; gap: 7px; color: #e3a187; font-size: 11px; font-weight: 600; }
.live-pulse.is-live { color: #94c9a0; }
.live-pulse i { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(200,95,61,.17); }
.live-pulse.is-live i { background: #72bd83; box-shadow: 0 0 0 4px rgba(114,189,131,.16); }
.live-time { color: #afb6aa; font-size: 11px; }
.live-section h2 { font-size: 46px; font-weight: 500; white-space: pre-line; }
.live-section__copy > p:not(.eyebrow) { max-width: 360px; margin: 19px 0 27px; color: #b7beb4; font-size: 13px; line-height: 1.9; }
.live-player { position: relative; height: 354px; background: #535b50; overflow: hidden; }
.live-player__shade { position: absolute; inset: 0; background: rgba(27,33,28,.25); }
.live-player__label { position: absolute; right: 17px; top: 17px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; color: #eef0e9; background: rgba(27,33,28,.7); font-size: 9px; letter-spacing: .12em; }
.live-player__label svg { width: 12px; height: 12px; color: #e3a187; }
.play-button { position: absolute; inset: 0; width: 64px; height: 64px; margin: auto; display: grid; place-items: center; padding-left: 4px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(32,34,31,.56); transition: background .2s, transform .2s; }
.play-button:hover { background: var(--accent); transform: scale(1.06); }
.play-button svg { width: 22px; height: 22px; fill: currentColor; }

.section--about { background: #e1e1d8; }
.about-grid { display: grid; grid-template-columns: .82fr 1fr 1.15fr; gap: 68px; align-items: start; }
.about-intro h2 { font-size: 49px; font-weight: 500; line-height: 1.24; }
.about-intro__line { display: block; width: 51px; height: 2px; margin-top: 29px; background: var(--accent); }
.about-copy { padding-top: 40px; }
.about-copy__lead { margin: 0 0 17px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.6; }
.about-copy > p:not(.about-copy__lead) { margin: 0 0 22px; color: #62675f; font-size: 13px; line-height: 2; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 40px; border-top: 1px solid #bdc1b6; border-left: 1px solid #bdc1b6; }
.about-fact { min-height: 112px; padding: 17px 18px; border-right: 1px solid #bdc1b6; border-bottom: 1px solid #bdc1b6; }
.about-fact strong { display: block; color: var(--accent-dark); font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.about-fact strong span { margin-left: 2px; font-family: var(--sans); font-size: 16px; }
.about-fact span { color: #777c72; font-size: 11px; }

.site-footer { color: #dfe3da; background: var(--olive); }
.site-footer__main { display: flex; min-height: 226px; align-items: flex-start; justify-content: space-between; padding-top: 48px; padding-bottom: 37px; }
.brand--footer .brand__logo { width: 52px; height: 52px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name small { color: #9fa99c; }
.footer-brand p { margin: 17px 0 0; color: #aeb8a9; font-size: 11px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(115px, 1fr)); gap: 58px; }
.footer-links div { display: flex; flex-direction: column; gap: 6px; }
.footer-links strong { margin-bottom: 8px; color: #fff; font-size: 11px; }
.footer-links a, .footer-links button, .footer-links span { padding: 0; border: 0; color: #aeb8a9; background: transparent; font-size: 11px; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: #e5b198; }
.site-footer__bottom { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 16px; border-top: 1px solid rgba(220,228,214,.17); color: #98a391; font-size: 10px; }

.detail-open { overflow: hidden; }
.detail-view { position: fixed; z-index: 90; inset: 0; overflow-y: auto; color: var(--ink); background: var(--paper); }
.detail-view[hidden] { display: none; }
.detail-view__inner { width: min(1120px, calc(100% - 72px)); margin: 0 auto; padding: 22px 0 78px; }
.detail-view__topbar { display: flex; align-items: center; justify-content: space-between; min-height: 42px; border-bottom: 1px solid var(--line); }
.detail-view__back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.detail-view__back:hover { color: var(--accent); }
.detail-view__back svg { width: 16px; height: 16px; }
.detail-view__trail { color: #9b9d95; font-size: 10px; }
.detail-view__content { padding-top: 56px; }
.detail-heading { max-width: 760px; }
.detail-heading h1 { margin: 15px 0 10px; font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); font-weight: 500; line-height: 1.18; }
.detail-view--exhibition .detail-heading h1 { font-size: clamp(30px, 4vw, 48px); }
.detail-heading__lead { max-width: 590px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.detail-heading__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 23px; color: #7d8178; font-size: 11px; }
.detail-heading__meta .tag { color: var(--accent-dark); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(260px, .84fr); gap: 58px; margin-top: 52px; align-items: start; }
.detail-cover { min-height: 410px; margin: 0; background: var(--paper-deep); }
.detail-cover img { width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.detail-cover__empty { display: grid; min-height: 410px; place-items: center; color: #a3a49d; font-size: 12px; }
.detail-copy { padding-top: 8px; }
.detail-copy__lead { margin: 0 0 30px; color: #535950; font-family: var(--serif); font-size: 18px; line-height: 1.9; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid #c6c7be; border-left: 1px solid #c6c7be; }
.detail-fact { min-height: 78px; padding: 13px 15px; border-right: 1px solid #c6c7be; border-bottom: 1px solid #c6c7be; }
.detail-fact dt { color: #989b91; font-size: 10px; }
.detail-fact dd { margin: 7px 0 0; color: var(--ink); font-size: 12px; line-height: 1.6; }
.detail-archive-hash { margin-top: 14px; padding: 12px 15px; border: 1px solid #c6c7be; background: rgba(255,255,255,.24); }
.detail-archive-hash span { display: block; color: #989b91; font-size: 10px; }
.detail-archive-hash code { display: block; margin-top: 6px; color: #4d554b; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.detail-description { max-width: 820px; margin-top: 60px; }
.detail-description h2, .detail-gallery h2 { margin: 0 0 17px; font-family: var(--serif); font-size: 25px; font-weight: 600; }
.detail-description h2::before, .detail-gallery h2::before { display: inline-block; width: 25px; height: 2px; margin: 0 11px 7px 0; background: var(--accent); content: ""; }
.detail-description p { margin: 0; color: #61665d; font-size: 13px; line-height: 2.05; }
.detail-rich-text { color: #61665d; font-size: 13px; line-height: 2.05; }
.detail-rich-text p { margin: 0 0 12px; }
.detail-rich-text__placeholder { color: #9b9d95; }
.detail-rich-text h2, .detail-rich-text h3, .detail-rich-text h4 { margin: 20px 0 8px; color: var(--ink); font-family: var(--serif); line-height: 1.4; }
.detail-rich-text h2 { font-size: 24px; }
.detail-rich-text h3 { font-size: 19px; }
.detail-rich-text ul, .detail-rich-text ol { margin: 8px 0 14px; padding-left: 23px; }
.detail-rich-text blockquote { margin: 15px 0; padding: 8px 15px; border-left: 2px solid var(--accent); color: #777d73; background: rgba(255,255,255,.35); }
.detail-rich-text img { max-width: 100%; height: auto; margin: 14px 0; }
.detail-gallery { margin-top: 58px; }
.detail-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.detail-gallery__item { height: 180px; margin: 0; overflow: hidden; background: var(--paper-deep); }
.detail-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.detail-gallery__item:hover img { transform: scale(1.035); }

/* Collection detail pages use the title and archive facts as the primary
   hierarchy; the generic archive subtitle was repeated above and below the
   cover, so keep that secondary copy out of this view. */
.detail-view--collection .detail-view__inner { padding-top: 10px; }
.detail-view--collection .detail-view__content { padding-top: 22px; }
.detail-view--collection .detail-heading h1 { margin-top: 8px; margin-bottom: 6px; font-size: clamp(30px, 4.3vw, 52px); line-height: 1.14; }
.detail-view--collection .detail-heading__lead,
.detail-view--collection .detail-copy__lead { display: none; }
.detail-view--collection .detail-layout { gap: 42px; margin-top: 28px; }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(22,25,21,.64); }
.modal-backdrop[hidden], .modal[hidden], .service-form[hidden], .modal__success[hidden] { display: none; }
.service-chat[hidden] { display: none; }
.modal { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); padding: 40px 44px 42px; background: var(--paper); overflow-y: auto; box-shadow: 0 18px 65px rgba(0,0,0,.25); }
.modal__close { position: absolute; top: 18px; right: 18px; }
.modal__header { padding-right: 35px; }
.modal__header .eyebrow { margin-bottom: 11px; }
.modal__header h2 { font-size: 31px; }
.modal__header > p:last-child { margin: 9px 0 27px; color: var(--muted); font-size: 12px; }
.service-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.service-form label { display: flex; flex-direction: column; gap: 5px; color: #5f635b; font-size: 11px; font-weight: 700; }
.service-form input, .service-form select, .service-form textarea { width: 100%; padding: 10px 11px; border: 1px solid #d0cec4; outline: 0; color: var(--ink); background: #fbfaf7; font-size: 12px; font-weight: 400; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.service-form input:focus, .service-form select:focus, .service-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,95,61,.12); }
.service-form input::placeholder, .service-form textarea::placeholder { color: #b4b5ae; }
.form-upload { position: relative; display: flex; min-height: 57px; align-items: center; gap: 9px; padding: 10px 12px; border: 1px dashed #c9c8bf; color: var(--muted); background: rgba(255,255,255,.23); font-size: 11px; cursor: pointer; }
.service-form .form-upload { flex-direction: row; }
.form-upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.form-upload:hover { border-color: var(--accent); background: rgba(255,255,255,.48); }
.form-upload__count { margin-left: auto; color: var(--accent); font-size: 10px; white-space: nowrap; }
.form-image-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.form-image-preview:empty { display: none; }
.form-image-preview__item { position: relative; width: 64px; height: 64px; overflow: hidden; border: 1px solid #d0cec4; background: #fbfaf7; }
.form-image-preview__item img { width: 100%; height: 100%; object-fit: cover; }
.form-image-preview__remove { position: absolute; top: 2px; right: 2px; display: grid; width: 18px; height: 18px; place-items: center; padding: 0; border: 0; color: #fff; background: rgba(32,34,31,.72); font-size: 12px; line-height: 1; }
.service-form label[hidden] { display: none; }
.form-upload svg { width: 17px; color: var(--accent); }
.form-upload small { color: #a2a39c; }
.form-note { display: flex; align-items: center; gap: 6px; margin: -2px 0 0; color: #8a8c84; font-size: 10px; }
.form-note svg { width: 14px; color: var(--sage); }
.modal__success { padding: 50px 10px 22px; text-align: center; }
.success-icon { display: grid; width: 56px; height: 56px; margin: 0 auto 17px; place-items: center; color: #fff; background: var(--sage); border-radius: 50%; }
.success-icon svg { width: 24px; }
.modal__success h3 { margin: 0; font-family: var(--serif); font-size: 25px; }
.modal__success p { margin: 7px 0 23px; color: var(--muted); font-size: 12px; }
.service-chat { display: flex; flex-direction: column; min-height: 600px; margin-top: 4px; border: 1px solid #d8d5ca; background: #f7f5ef; }
.modal--service .service-chat { margin-top: 12px; }
.service-chat__bar { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 10px 14px; border-bottom: 1px solid #dedbd1; background: #fbfaf7; }
.service-chat__identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.service-chat__avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; overflow: hidden; border-radius: 50%; background: #dfe4da; color: #5a6255; }
.service-chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.service-chat__identity strong, .service-chat__identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-chat__identity strong { max-width: 250px; color: var(--ink); font-size: 13px; }
.service-chat__identity small { margin-top: 2px; color: #93968e; font-size: 10px; }
.service-chat__refresh { display: grid; width: 30px; height: 30px; place-items: center; padding: 0; border: 0; color: #8c9087; background: transparent; cursor: pointer; }
.service-chat__refresh:hover { color: var(--accent); }
.service-chat__refresh svg { width: 15px; }
.service-chat__actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.service-chat__close { display: none; width: 30px; height: 30px; }
.modal--service > .modal__close { display: none; }
.modal--service .service-chat__close { display: grid; }
.modal--service .service-chat__close svg { width: 14px; height: 14px; }
.service-chat__messages { display: flex; min-height: 420px; max-height: 510px; flex: 1; flex-direction: column; gap: 12px; padding: 17px 14px; overflow-y: auto; }
.service-chat__empty { display: grid; min-height: 360px; place-items: center; color: #a3a49d; font-size: 12px; }
.service-chat__message { display: flex; align-items: flex-end; gap: 7px; }
.service-chat__message.is-self { flex-direction: row-reverse; }
.service-chat__message-avatar { width: 27px; height: 27px; flex: 0 0 27px; overflow: hidden; border-radius: 50%; background: #dfe4da; }
.service-chat__message-avatar img { width: 100%; height: 100%; object-fit: cover; }
.service-chat__bubble { max-width: min(76%, 380px); padding: 9px 11px; border: 1px solid #dfddd4; color: var(--ink); background: #fff; font-size: 12px; line-height: 1.65; word-break: break-word; }
.service-chat__message.is-self .service-chat__bubble { border-color: #d8c0b5; color: #fff; background: var(--accent); }
.service-chat__bubble img { display: block; max-width: min(220px, 100%); max-height: 220px; cursor: zoom-in; object-fit: contain; }
.service-chat__time { margin: 0 4px 2px; color: #a7a89f; font-size: 9px; white-space: nowrap; }
.service-chat__composer { display: flex; align-items: flex-end; gap: 8px; padding: 11px; border-top: 1px solid #dedbd1; background: #fbfaf7; }
.service-chat__composer textarea { min-height: 36px; max-height: 92px; flex: 1; padding: 9px 10px; border: 1px solid #d0cec4; outline: 0; color: var(--ink); background: #fff; font: inherit; font-size: 12px; line-height: 1.45; resize: none; }
.service-chat__composer textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,95,61,.12); }
.service-chat__image { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border: 1px solid #d0cec4; color: #737a70; background: #fff; cursor: pointer; }
.service-chat__image:hover { color: var(--accent); border-color: var(--accent); }
.service-chat__image input { display: none; }
.service-chat__image svg { width: 17px; }
.service-chat__send { min-height: 36px; padding: 0 12px; font-size: 11px; white-space: nowrap; }
.service-chat__send svg { width: 14px; }
.service-chat__hint { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0 12px 11px; color: #999b93; background: #fbfaf7; font-size: 9px; }
.service-chat__hint svg { width: 13px; color: var(--sage); }
.service-chat__lightbox { position: fixed; z-index: 150; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(20,23,19,.8); cursor: zoom-out; }
.service-chat__lightbox img { max-width: min(100%, 900px); max-height: min(100%, 760px); object-fit: contain; box-shadow: 0 12px 50px rgba(0,0,0,.35); }
.live-reminder-backdrop { position: fixed; z-index: 130; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(22,25,21,.64); }
.live-reminder-backdrop[hidden] { display: none; }
.live-reminder-modal { position: relative; width: min(430px, 100%); padding: 38px 38px 34px; color: var(--ink); background: var(--paper); box-shadow: 0 18px 65px rgba(0,0,0,.25); }
.live-reminder-modal__close { position: absolute; top: 16px; right: 16px; }
.live-reminder-modal .eyebrow { margin-bottom: 10px; }
.live-reminder-modal h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.35; }
.live-reminder-modal__text { margin: 12px 0 25px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.live-preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.live-preview-actions .button { flex: 1 1 130px; justify-content: center; }
#live-preview-backdrop .live-reminder-modal { max-height: calc(100dvh - 48px); overflow: auto; }
.toast { position: fixed; z-index: 120; right: 24px; bottom: 24px; max-width: min(360px, calc(100% - 48px)); padding: 12px 16px; color: #fff; background: var(--ink); font-size: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.16); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1040px) {
  .container { width: min(100% - 48px, 860px); }
  .site-header__inner { gap: 26px; }
  .site-nav { gap: 22px; }
  .quick-action:not(:first-child) { padding-left: 16px; }
  .quick-action__copy small { max-width: 130px; }
  .notice-layout { gap: 40px; }
  .about-grid { gap: 35px; }
  .footer-links { gap: 28px; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 600px); }
  .announcement-strip__inner { gap: 10px; }
  .announcement-strip__label { letter-spacing: 0; }
  .announcement-strip p { font-size: 11px; }
  .announcement-strip a { display: none; }
  .site-header__inner { min-height: 68px; justify-content: space-between; gap: 8px; }
  .mobile-menu-toggle { display: grid; }
  .site-nav { position: absolute; top: 67px; right: 0; left: 0; display: none; padding: 8px 18px 17px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 10px 20px rgba(0,0,0,.07); }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .site-nav__link:last-child { border-bottom: 0; }
  .site-nav__link::after { bottom: 0; left: 0; width: 23px; }
  .header-service { flex: 0 0 auto; gap: 6px; margin-left: auto; margin-right: 8px; padding: 8px 10px; font-size: 11px; white-space: nowrap; }
  .floating-service { top: 150px; right: 14px; min-height: 43px; padding: 0 14px; }
  .header-account { max-width: 96px; gap: 5px; padding: 8px; }
  .hero { min-height: 545px; }
  .hero-slide > img { object-position: 60% center; }
  .hero-slide__content { min-height: 0; height: 100%; justify-content: center; padding-top: 10px; }
  .hero h1 { font-size: 43px; }
  .hero-slide__desc { margin-top: 18px; font-size: 13px; }
  .hero__bottom { bottom: 22px; }
  .quick-actions__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-action, .quick-action:first-child, .quick-action:not(:first-child) { padding: 16px 10px 16px 0; border-bottom: 1px solid var(--line); }
  .quick-action:nth-child(odd) { padding-left: 0; }
  .quick-action:nth-child(even) { padding-left: 16px; border-right: 0; }
  .quick-action::before { right: 10px; left: 0; }
  .quick-action:nth-child(even)::before { right: 0; left: 16px; }
  .quick-action__copy small { font-size: 10px; }
  .section { padding: 48px 0 58px; }
  .section-heading { align-items: flex-start; gap: 20px; margin-bottom: 27px; }
  h2 { font-size: 34px; }
  h2 small { display: block; margin: 5px 0 0; font-size: 8px; }
  .notice-layout, .live-section__inner { grid-template-columns: 1fr; gap: 38px; }
  .notice-feature { min-height: 230px; padding: 23px 20px; grid-template-columns: 67px 1fr; }
  .notice-feature__date strong { font-size: 42px; }
  .notice-feature h3 { font-size: 20px; }
  .notice-list { margin-top: 0; }
  .notice-item { gap: 10px; }
  .notice-item__date { min-width: 62px; font-size: 10px; }
  .notice-item__copy b { font-size: 12px; }
  .notice-item__copy small { font-size: 10px; }
  .exhibition-grid { grid-template-columns: 1fr 1fr; gap: 28px 15px; }
  .exhibition-card--feature { grid-column: 1 / -1; }
  .exhibition-card__image, .exhibition-card--feature .exhibition-card__image { height: 260px; }
  .exhibition-card--feature .exhibition-card__image { height: 320px; }
  .exhibition-card__body h3 { font-size: 18px; }
  .section-heading--collections { display: block; }
  .collection-tools { justify-content: space-between; margin-top: 22px; }
  .filter-tabs { gap: 17px; }
  .collection-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
  .collection-card__image { height: 220px; }
  .collection-card__body { padding: 13px 13px 15px; }
  .collection-card__body h3 { font-size: 15px; }
  .collection-card__body p { font-size: 10px; }
  .live-section__inner { padding-top: 54px; padding-bottom: 58px; }
  .live-section__copy { padding: 0; }
  .live-section h2 { font-size: 38px; }
  .live-player { height: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-intro h2 { font-size: 42px; }
  .about-copy { padding-top: 0; }
  .about-facts { margin-top: 4px; }
  .site-footer__main { display: block; padding-top: 39px; }
  .footer-links { margin-top: 35px; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .site-footer__bottom { gap: 12px; flex-wrap: wrap; }
  .detail-view__inner { width: min(100% - 36px, 600px); padding-bottom: 55px; }
  .detail-view__content { padding-top: 38px; }
  .detail-heading h1 { font-size: 42px; }
  .detail-heading__lead { font-size: 16px; }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 34px; }
  .detail-cover, .detail-cover img, .detail-cover__empty { min-height: 320px; }
  .detail-copy { padding-top: 0; }
  .detail-copy__lead { font-size: 16px; }
  .detail-description { margin-top: 42px; }
  .detail-gallery { margin-top: 42px; }
  .detail-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .detail-gallery__item { height: 150px; }
  .modal { padding: 33px 24px 28px; }
  .service-chat { min-height: 560px; }
  .service-chat__messages { min-height: 380px; max-height: 470px; }
  .service-chat__empty { min-height: 320px; }
  .service-chat__message-avatar { width: 25px; height: 25px; flex-basis: 25px; }
  .service-chat__bubble { max-width: 78%; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 28px); }
  .brand__name { font-size: 16px; }
  .brand__name small { font-size: 6px; }
  .brand__logo { width: 42px; height: 42px; }
  .header-service span:not(.header-service__badge) { display: none; }
  .header-service { width: 35px; height: 35px; justify-content: center; padding: 0; }
  .hero { min-height: 520px; }
  .hero h1 { font-size: 36px; }
  .hero-slide__desc { font-size: 12px; }
  .hero-slide__actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero__counter { min-width: 65px; }
  .hero-dot { width: 21px; }
  .hero-dot.is-active { width: 43px; }
  .quick-action__copy strong { font-size: 12px; }
  .quick-action__icon { width: 34px; height: 34px; }
  .quick-action__copy small { font-size: 9px; }
  .quick-action__arrow { display: none; }
  .notice-feature { grid-template-columns: 55px 1fr; }
  .notice-feature__date strong { font-size: 34px; }
  .notice-feature h3 { font-size: 18px; }
  .notice-feature p { font-size: 11px; }
  .exhibition-grid { display: block; }
  .exhibition-card { margin-bottom: 29px; }
  .exhibition-card__image, .exhibition-card--feature .exhibition-card__image { height: 280px; }
  .collection-card__image { height: 175px; }
  .collection-card__meta { font-size: 9px; }
  .filter-tabs { gap: 12px; }
  .filter-tab { font-size: 11px; }
  .about-fact strong { font-size: 28px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .footer-links div:last-child { grid-column: 1 / -1; }
  .detail-view__inner { width: calc(100% - 28px); padding-top: 15px; }
  .detail-view__trail { font-size: 9px; }
  .detail-view__content { padding-top: 30px; }
  .detail-heading h1 { font-size: 34px; }
  .detail-heading__lead { font-size: 14px; }
  .detail-heading__meta { gap: 10px; margin-top: 18px; }
  .detail-cover, .detail-cover img, .detail-cover__empty { min-height: 255px; }
  .detail-copy__lead { font-size: 14px; }
  .detail-facts { grid-template-columns: 1fr 1fr; }
  .detail-fact { min-height: 68px; padding: 10px 11px; }
  .detail-fact dd { margin-top: 5px; font-size: 11px; }
  .detail-description h2, .detail-gallery h2 { font-size: 21px; }
  .detail-description p { font-size: 12px; }
  .detail-gallery__item { height: 122px; }
  .modal { padding-inline: 18px; }
  .service-chat { min-height: 620px; }
  .service-chat__messages { min-height: 440px; max-height: 520px; }
  .service-chat__empty { min-height: 380px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .service-chat__composer { gap: 5px; padding-inline: 7px; }
  .service-chat__send { padding-inline: 9px; }
  .service-chat__send svg { display: none; }
}

@media (max-width: 600px) {
  .service-chat { min-height: 800px; }
  .service-chat__messages { min-height: 660px; max-height: 675px; }
  .service-chat__empty { min-height: 600px; }
}

/* Keep the composer inside short phone viewports while retaining the larger
   conversation area on devices with more vertical space. */
@media (max-width: 600px) {
  .modal--service {
    max-height: calc(100dvh - 24px);
    padding: 12px 8px 8px;
    overflow: visible;
  }
  .modal--service .service-chat { margin-top: 0; }
  .modal--service .service-chat__bar {
    min-height: 52px;
    padding: 6px 8px;
  }
  .modal--service .service-chat__actions { gap: 1px; }
  .modal--service .service-chat__close {
    border-color: #c7c6bd;
    background: var(--paper);
  }
  .modal--service .service-chat__messages {
    padding: 8px;
    gap: 8px;
  }
  .modal--service .service-chat__composer {
    gap: 5px;
    padding: 6px;
  }

  .service-chat {
    height: min(800px, calc(100vh - 150px));
    height: min(800px, calc(100dvh - 150px));
    min-height: 0;
  }
  .service-chat__messages {
    min-height: 0;
    max-height: none;
  }
  .service-chat__empty { min-height: 0; flex: 1; }
}

/* Bound every flex ancestor to the visible viewport, including iOS keyboards.
   Textarea intrinsic width must not push the send/close buttons off screen. */
.modal-backdrop--service {
  inset: auto;
  top: var(--service-vtop, 0px);
  left: var(--service-vleft, 0px);
  width: var(--service-vw, 100vw);
  height: var(--service-vh, 100vh);
  padding: 12px;
  overflow: hidden;
}
.modal-backdrop--service .modal--service {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  height: min(720px, 100%);
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  padding: 12px;
  overflow: hidden;
}
.modal--service .service-chat {
  flex: 1 1 0%;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
}
.modal--service .service-chat__bar,
.modal--service .service-chat__composer { flex: 0 0 auto; min-width: 0; }
.modal--service .service-chat__identity { flex: 1 1 0%; overflow: hidden; }
.modal--service .service-chat__identity > span:last-child { min-width: 0; }
.modal--service .service-chat__messages { flex: 1 1 0%; min-height: 0; min-width: 0; max-height: none; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.modal--service .service-chat__empty { flex: 1; min-height: 0; text-align: center; }
.service-chat__composer textarea { flex: 1 1 0%; width: 0; min-width: 0; }
.service-chat__send { flex: 0 0 auto; }
@media (max-width: 600px) {
  .modal-backdrop--service .modal--service { padding: 8px; }
  .modal--service .service-chat__composer { padding-bottom: max(6px, env(safe-area-inset-bottom, 0px)); }
  .modal--service .service-chat__composer textarea { font-size: 16px; }
}
