/* Editorial layer: phrases stay intact, while user titles remain fully readable. */
:root{--editorial-gold:#a18b5c;--editorial-deep:#20372d}
h1,h2,h3,.door-title{word-break:normal;line-break:strict;overflow-wrap:normal;text-wrap:balance}
.copy-unit{display:inline-block;white-space:nowrap;max-inline-size:100%;vertical-align:baseline;letter-spacing:inherit}
.copy-unit-long{white-space:normal;word-break:normal;overflow-wrap:anywhere}
p,.details,.bottom-note,.modal-copy,.gallery-intro,.field{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
.page-intro{background:none;border:0;box-shadow:none;padding:24px 0 8px;margin:28px 0 32px;max-width:850px}
.page-intro .eyebrow{font-size:10px;letter-spacing:.18em;line-height:1.8;color:#897950}
.page-title{font-size:clamp(29px,3.4vw,46px);line-height:1.65;letter-spacing:.035em;margin:15px 0 20px;font-weight:400}
.page-intro>p{font-size:14px;line-height:2.15;max-width:47em;color:#6a7167}
.hero{min-height:650px;padding:76px 7% 60px;background-image:linear-gradient(90deg,#15211cde,#15211c90 60%,#15211c30),url('assets/palace-gallery.webp')}
.hero>div:first-child{max-width:680px}
.hero h1{font-size:clamp(36px,4.7vw,64px);line-height:1.55;letter-spacing:.035em;max-width:10.8em;font-weight:400;margin:28px 0 30px}
.hero>div>p{max-width:34em;line-height:2.1;font-size:14px}
.hero .eyebrow{font-size:10px;line-height:1.8;letter-spacing:.19em}
.hero .entrance-actions{align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px}
.hero .btn{min-width:0;min-height:54px;padding:17px 25px;gap:36px;letter-spacing:.08em}
.hero .text-link{line-height:1.8;font-size:12px;letter-spacing:.04em}
.hero .issue{font-size:9px;letter-spacing:.13em;margin-top:38px}
.btn,.text-link,.scene-control,.cover-entry{max-width:100%;line-height:1.7}
.btn{white-space:normal;text-wrap:balance;word-break:normal;line-break:strict}
.btn.small{letter-spacing:.035em}
.bottom-note{font-size:12px;line-height:2.05;letter-spacing:.015em;max-width:66em}
.section-head h2{font-size:clamp(26px,3.2vw,40px);line-height:1.65;letter-spacing:.025em;max-width:18em}
.event h3,.widget-banner h3{line-height:1.65;letter-spacing:.035em}
.exhibition-hero{gap:36px;align-items:stretch}
.exhibition-cover{padding:65px 28px 52px;min-height:640px;justify-content:center;gap:0;background-image:linear-gradient(#17221d28,#17221d70),url('assets/palace-gallery.webp')}
.exhibition-cover>.eyebrow{color:#f7f0dd;text-shadow:0 2px 12px #0009;font-size:9px;letter-spacing:.16em;line-height:1.8;margin:0 0 30px}
.exhibition-cover .framed{width:min(78%,330px);max-width:100%}
.exhibition-cover .mat{padding:14px;background:#f4efe2}
.exhibition-cover img{height:auto;aspect-ratio:1;object-fit:cover;max-width:100%}
.exhibition-cover .cover-plaque{container-type:inline-size;width:100%;max-width:440px;margin-top:32px;padding:25px 22px 22px;background:#f4eddbf5;border:1px solid #b5a37e;box-shadow:0 10px 30px #18261c30}
.exhibition-cover .cover-plaque>span{color:#766d58;font-size:9px;letter-spacing:.15em;line-height:1.8}
.exhibition-cover .cover-plaque h2{font-size:clamp(23px,7.2cqi,30px);line-height:1.65;letter-spacing:.035em;margin:18px 0 14px;color:#2d3d30;font-weight:400}
.cover-plaque p{font-size:12px;line-height:1.9;letter-spacing:.03em;color:#6e7366;margin:0}
.cover-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;margin-top:23px;padding:15px 0 0;border:0;border-top:1px solid #c6b899;background:transparent;color:#293f31;font-size:12px;letter-spacing:.07em;text-align:left}
.cover-entry span{transition:transform .25s ease}.cover-entry:hover span{transform:translateX(4px)}
.exhibition-copy{padding:40px 26px 32px;border-top:1px solid #b9a67c;background:transparent}
.exhibition-copy h2{font-size:clamp(28px,3.2vw,40px);line-height:1.7;letter-spacing:.035em;margin:22px 0}
.exhibition-copy>p{font-size:14px;line-height:2.2;letter-spacing:.015em}
.exhibit-features h3{font-size:21px;line-height:1.7;letter-spacing:.02em}.exhibit-features p{font-size:13px;line-height:1.95}
.editor-section-head{flex-wrap:wrap;align-items:baseline;gap:10px}.editor-section-head h2{font-size:20px;line-height:1.65;letter-spacing:.015em}.editor-section-head>span{font-size:9px}
.field{font-size:12px;line-height:1.9}.field input,.field textarea,.field select{font-size:16px;line-height:1.7;letter-spacing:0}
.modal-title{font-size:clamp(26px,3.5vw,38px);line-height:1.65;letter-spacing:.025em;margin:20px 0 24px}
.modal-copy,.privacy-copy{font-size:13px;line-height:2.05}
.invitation-card h3{font-size:clamp(22px,3vw,28px);letter-spacing:.025em;line-height:1.7}
.gallery-title h1{line-height:1.65;letter-spacing:.035em;overflow-wrap:normal}.gallery-label h2{line-height:1.7;letter-spacing:.03em}.gallery-author{line-height:1.9;font-size:12px}
.gallery-intro{font-size:13px;line-height:2.05;letter-spacing:.015em}
.discovery-caption h2,.archive-caption h3,.card-info h3{line-height:1.65;letter-spacing:.025em}
.door-title{font-size:clamp(18px,2.2vw,25px);line-height:1.6;letter-spacing:.025em}.door-description{line-height:1.9;margin-top:9px}
header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:26px;align-items:center}header nav{display:flex;justify-content:center;overflow-x:auto;gap:23px;min-width:0;scrollbar-width:thin}header nav button{white-space:nowrap;flex:0 0 auto;font-size:12px;letter-spacing:.055em;min-height:44px}header .member-entry{font-size:11px;min-height:40px}header .brand{font-size:30px}
/* A small, tactile preview that leads into real actions. */
.entrance-experience{margin:0 0 62px}.entrance-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px}.entrance-section-heading .eyebrow{font-size:9px;letter-spacing:.16em}.entrance-section-heading>p{font:19px/1.6 var(--serif);margin:0}
.entrance-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #c6b99b;border-bottom:1px solid #c6b99b;margin-bottom:30px}
.entrance-tabs>button{display:flex;align-items:center;gap:15px;position:relative;padding:22px 20px;border:0;background:transparent;text-align:left;color:#747b70;font-size:14px;letter-spacing:.06em;min-width:0;line-height:1.65}.entrance-tabs>button small{font:12px Georgia;color:#a08b60}.entrance-tabs>button span{margin-left:auto;font-size:16px}.entrance-tabs>button::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#7f6a40;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}.entrance-tabs>button[aria-selected=true]{color:#233c2e;background:#e9e4d738}.entrance-tabs>button[aria-selected=true]::after{transform:scaleX(1)}
.entrance-panel{display:grid;grid-template-columns:1.06fr 1fr;gap:0;border:1px solid #c8bc9e;background:#ece7da}
.entrance-art{padding:35px 35px 22px;background:linear-gradient(#10261b33,#10261b77),url('/assets/palace-gallery.webp') center/cover;min-width:0}
.entrance-art-link{display:block;position:relative;width:100%;padding:9px;background:#a9956e;border:1px solid #9d8b68;box-shadow:0 15px 35px #0004;overflow:hidden;text-align:left}
.entrance-photo{display:block;width:100%;aspect-ratio:1.1;object-fit:cover;transition:transform .5s ease}
.entrance-art-hint{position:absolute;bottom:20px;right:22px;padding:10px 14px;color:#f7efdf;background:#1c322ccf;border:1px solid #dfd3b940;font-size:11px;letter-spacing:.06em}
.entrance-art-label{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:22px;color:#f4ecdb}.entrance-art-label>div:first-child{display:flex;flex-direction:column;gap:8px}.entrance-art-label small{font-size:8px;letter-spacing:.16em;color:#dfd1b2}.entrance-art-label [data-title]{font:19px/1.6 var(--serif);letter-spacing:.03em}.entrance-pager{display:flex;align-items:center;gap:10px;flex-shrink:0}.entrance-pager button{min-width:40px;min-height:44px;border:0;color:#f4ecdb;background:transparent;font-size:17px}.entrance-pager>span{font:10px Georgia;letter-spacing:.08em}
.entrance-copy{padding:52px 42px;align-self:center;min-width:0}.entrance-copy>.eyebrow{font-size:9px;letter-spacing:.13em;color:#8a744c;line-height:1.8}.entrance-copy h2{font:400 clamp(27px,3vw,39px)/1.75 var(--serif);letter-spacing:.025em;margin:24px 0}.entrance-copy>p{font-size:14px;line-height:2.15;color:#6c7467;margin:0 0 30px}.entrance-copy .btn{font-size:12px;min-height:50px;letter-spacing:.04em}.entrance-footnote{display:block;font-size:11px;line-height:1.95;color:#7d7e70;margin-top:22px}
@media(hover:hover) and (pointer:fine){.entrance-art-link:hover .entrance-photo{transform:scale(1.035)}}
@media(max-width:800px){
 header{grid-template-columns:minmax(0,1fr) auto;gap:10px 18px;padding:18px 22px 8px}header .brand{font-size:28px;grid-column:1;grid-row:1}header .member-entry{grid-column:2;grid-row:1;font-size:10px;padding:9px 12px}header nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;gap:25px;border-top:1px solid #d1c8b7;margin-top:7px;padding:2px 0 0}header nav button{font-size:12px;min-height:45px;letter-spacing:.035em}nav button.active:after{bottom:0}
 .hero{min-height:580px;padding:46px 28px 42px;margin-bottom:36px}.hero h1{font-size:clamp(29px,8.5vw,38px);max-width:11em;line-height:1.7;margin:23px 0 26px;letter-spacing:.025em}.hero .btn{font-size:13px}.hero .entrance-actions{align-items:flex-start;gap:20px}.hero>div>p{font-size:13px}.hero .eyebrow{font-size:8px}.hero .issue{font-size:8px}
 .page-intro{padding:16px 0 0;margin:22px 0 30px}.page-title{font-size:clamp(27px,7.4vw,34px);line-height:1.7;letter-spacing:.025em}.page-intro>p{font-size:13px;line-height:2.1}
 .exhibition-hero{gap:24px}.exhibition-cover{padding:48px 22px 38px;min-height:0}.exhibition-cover .cover-plaque{padding:24px 16px 20px;margin-top:27px}.exhibition-cover .cover-plaque h2{font-size:clamp(22px,7.5cqi,27px);letter-spacing:.025em;line-height:1.8;margin:16px 0 13px}.exhibition-cover .framed{width:min(82%,310px)}.cover-plaque p{font-size:11px}.exhibition-copy{padding:27px 8px}.exhibition-copy h2{font-size:29px;line-height:1.8}.exhibition-copy>p{font-size:13px;line-height:2.15}.sample-entry{padding-top:24px}.sample-entry .camera-actions{gap:18px;flex-wrap:wrap}
 .editor-layout>section{padding:22px 18px}.editor-section-head h2{font-size:18px}.editor-bottom{padding:20px 10px}.editor-bottom .camera-actions{gap:18px}.editor-bottom .btn{font-size:13px;min-height:48px}
 .modal-title{font-size:27px;line-height:1.75;letter-spacing:.015em}.modal-copy,.privacy-copy{font-size:13px;line-height:2.1}dialog{padding:32px 22px}.invitation-management h3{font-size:22px;line-height:1.7}
 .section-head h2{font-size:27px;line-height:1.7}.event h3{font-size:23px;line-height:1.75}.widget-banner h3{font-size:24px;line-height:1.75}
 .entrance-section-heading{display:block}.entrance-section-heading>p{margin:14px 0 0;font-size:21px}.entrance-tabs{margin-bottom:22px}.entrance-tabs>button{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:7px;padding:15px 10px;font-size:12px;letter-spacing:0}.entrance-tabs>button small{width:100%;font-size:10px}.entrance-tabs>button>span{display:none}.entrance-panel{grid-template-columns:1fr}.entrance-art{padding:24px 24px 17px}.entrance-photo{aspect-ratio:1.3}.entrance-art-label [data-title]{font-size:18px}.entrance-pager{gap:3px}.entrance-copy{padding:30px 24px 32px}.entrance-copy h2{font-size:28px;line-height:1.8;margin:20px 0}.entrance-copy>p{font-size:13px;line-height:2.15}.entrance-copy .btn{width:100%;justify-content:space-between;text-align:center;font-size:12px;min-height:51px}.entrance-experience{margin-bottom:40px}
}
@media(max-width:360px){.hero{padding-inline:22px}.hero h1{font-size:28px}.page-title{font-size:25px}.cover-plaque h2{font-size:22px}.entrance-art{padding:20px 18px 15px}.entrance-copy{padding-inline:19px}.entrance-copy h2{font-size:25px}.entrance-tabs>button{font-size:11px;padding-inline:7px}.door-title{font-size:18px}.btn{padding-inline:18px}}
@media(prefers-reduced-motion:reduce){.copy-unit,.entrance-photo,.cover-entry span,.entrance-tabs>button::after{transition:none!important;animation:none!important}}
.storage-note{border-top:1px solid #c8bea7;padding-top:23px;margin-top:32px;max-width:65em}.storage-note p{font-size:12px;color:#73796c;line-height:2.05;letter-spacing:.01em;margin:0 0 14px}.invitation-management .bottom-note{margin:14px 0;line-height:2.05}.support-panel>.bottom-note{margin:15px 0;line-height:2.05}.discovery-page [data-status]{line-height:2.1}.account-notice .btn{margin-top:12px}
.brand-symbol{display:block;width:36px;height:36px;border-radius:8px;flex-shrink:0;box-shadow:0 1px 3px #17251d16}header .brand{gap:12px}header .brand>span{margin-left:3px}.support-panel>.eyebrow::before{content:'';display:inline-block;width:24px;height:24px;margin-right:10px;vertical-align:middle;background:url('/icons/shakkei-symbol.svg') center/contain no-repeat;border-radius:5px}@media(max-width:800px){.brand-symbol{width:32px;height:32px;border-radius:7px}header .brand{gap:11px}}
/* The foyer previews architecture only: exhibited photographs are discovered inside. */
.entrance-art.entrance-lobby{padding:0;background:none;min-height:340px}
.entrance-foyer{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:24px;width:100%;height:100%;min-height:340px;padding:40px;border:0;text-align:left;color:#f4e8cd;background:linear-gradient(0deg,#10251eeb,#10251e22),url('/assets/palace-gallery.webp') 80% center/cover;transition:background-size .5s}
.entrance-foyer>.eyebrow{font-size:9px;color:inherit;letter-spacing:.16em}.entrance-foyer>strong{font:400 32px/1.8 var(--serif);letter-spacing:.06em}.entrance-foyer>span:last-child{font-size:12px;line-height:1.8;padding-bottom:8px;border-bottom:1px solid #d5c29d99}
.lobby-invitation{font:17px/2.2 var(--serif);letter-spacing:.06em;text-align:center;margin:40px auto 55px;color:#64705f}
#museumDirectory{scroll-margin-top:25px}.lobby-glass-emblem{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;border:1px solid #f6e9be55;border-radius:28px;padding:35px 24px;background:#ffffff0d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);min-height:240px}.lobby-glass-emblem>span{font:10px/1.8 Georgia;letter-spacing:.17em;color:#eadfc5}.lobby-glass-emblem>small{font:17px/1.8 var(--serif);color:#eadfc5}
@media(max-width:700px){.entrance-art.entrance-lobby,.entrance-foyer{min-height:300px}.entrance-foyer{padding:32px 27px}.entrance-foyer>strong{font-size:29px}.lobby-invitation{font-size:15px;margin:30px auto 40px}}
.letters-desk{color:#354333}.letters-desk h2{font:30px/1.7 var(--serif)}.letters-note{font-size:12px;line-height:2}.letter-compose,.guest-letter{padding:24px;margin:24px 0;border:1px solid #c6b48a;background:linear-gradient(120deg,#fff9e9,#ede2c9);box-shadow:0 8px 18px #42351c12}.letters-desk label{display:block;font-size:13px;line-height:1.9;margin:12px 0}.letters-desk input:not([type=checkbox]),.letters-desk textarea{display:block;box-sizing:border-box;width:100%;padding:12px;border:1px solid #bbaa88;background:#fffdf6;color:#354333;font:16px/1.8 var(--serif)}.letters-desk small{font-size:11px;line-height:1.9}.letter-consent{display:flex!important;gap:10px;align-items:flex-start}.letter-consent input{margin-top:6px;flex-shrink:0}.guest-letter h4{font:20px/1.8 var(--serif)}.guest-letter p{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/2 var(--serif)}.guest-letter blockquote{margin:20px 0 0;padding:14px;border-left:2px solid #a58b59;background:#fff9}.letter-actions{display:flex;flex-wrap:wrap;gap:12px}.letter-actions button,.letters-desk [data-unblock]{border:0;border-bottom:1px solid #b9a57a;background:none;color:#526047;min-height:44px;font-size:12px}.letters-desk [data-letters-status]{font-size:13px;line-height:2}.letter-sent .guest-letter:first-of-type{animation:letter-delivered .7s ease-out}@keyframes letter-delivered{from{opacity:.3;transform:translateY(15px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.letter-sent .guest-letter{animation:none}}
.letter-compose{position:relative;overflow:hidden;perspective:700px}.letter-sealing .letter-compose::after{content:'借景';position:absolute;inset:0;background:linear-gradient(150deg,#f7ecd4,#cfb98e);display:grid;place-items:center;font:28px var(--serif);color:#7c4835;transform-origin:top;animation:seal-sent-letter .8s ease-in-out both;z-index:2}.letters-desk [data-sent-list]{display:flex;flex-direction:column;align-items:flex-start;gap:15px}@keyframes seal-sent-letter{from{transform:rotateX(-100deg);opacity:0}40%{opacity:1}to{transform:rotateX(0);opacity:1}}@media(prefers-reduced-motion:reduce){.letter-sealing .letter-compose::after{animation:none}}

/* Anonymous viewing: navigation is neutral; appreciation has its own red light. */
.vote-position{display:flex;justify-content:center;gap:12px;margin:24px 0 12px}
.vote-position i{width:7px;height:7px;border:1px solid #9a8b6b;border-radius:50%;background:transparent}
.vote-position i.current{background:#9a8b6b;box-shadow:0 0 0 3px #9a8b6b22}
.vote-actions{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.vote-actions .vote-nav{min-height:48px;padding:12px 10px;border:1px solid #b4ad98;background:transparent;color:var(--green);font:inherit;font-size:13px;cursor:pointer}
.vote-actions .vote-nav:hover{background:#ded8c755}
.vote-actions .heart{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;background:transparent;color:var(--green);font-size:13px;padding:12px 18px}
.vote-actions .heart.liked{background:#ae294809;color:var(--green);border-color:#ba7785}
.heart-icon{display:inline-block;font-size:23px;line-height:1;color:inherit}
.heart.liked .heart-icon{color:#c83250;text-shadow:0 0 8px #e6527880,0 0 17px #db42634d}
.heart.just-liked .heart-icon{animation:appreciation-glow 650ms ease-out both}
.vote-actions button:focus-visible{outline:2px solid #998460;outline-offset:4px}
@keyframes appreciation-glow{0%{transform:scale(.8);text-shadow:none}40%{transform:scale(1.3);text-shadow:0 0 9px #f24a73,0 0 25px #e65278aa}100%{transform:scale(1);text-shadow:0 0 8px #e6527880,0 0 17px #db42634d}}
@media(max-width:600px){.vote-actions{grid-template-columns:1fr 1fr;gap:12px}.vote-actions .heart{grid-column:1/-1;grid-row:1;min-height:54px}.vote-actions #prev{grid-column:1;grid-row:2}.vote-actions #next{grid-column:2;grid-row:2}}
@media(prefers-reduced-motion:reduce){.heart.just-liked .heart-icon{animation:none}}

header .member-entry[data-session="signed-in"]{background:#253e32;color:#f3ecdb;border-color:#a39369}header .member-entry[data-session="signed-in"] .member-icon{color:#e0ca92}.platform-account{max-width:760px;margin:0 auto 70px}.platform-account h2{font-size:clamp(24px,4vw,36px)}

.saved-exhibitions{margin:30px 0 48px;padding:24px;border:1px solid #b5a47c}.saved-exhibitions article{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-top:1px solid #c9bfa8}.saved-exhibitions h3{font-size:24px;font-weight:400;margin:10px 0}.saved-exhibitions p{font-size:15px;line-height:1.8}.saved-exhibitions article span{font-size:13px}@media(max-width:600px){.saved-exhibitions article{display:block}.saved-exhibitions article button{min-height:48px;margin:4px 10px 4px 0}}
