html[data-exhibition] {--field:#214f40;--letter:#f2efe0;--symbol:#e8b34e;background:var(--field);color:var(--letter);color-scheme:dark}
html[data-exhibition] body {background:var(--field);color:var(--letter);font-family:"All Round Gothic",ui-rounded,"Avenir Next",Avenir,system-ui,sans-serif}
html[data-exhibition] :is(a,button,summary,p,small,label,legend,input,select,.nav a,.leave-button a,#leave-button,#center-text,#overlay,#notice,#notice a,#notice-dismiss,#capture-state,.contact-block,.access-content,.house-content) {color:var(--letter)!important}
html[data-exhibition] :is(button,input,select,option,#center-text,#notice-dismiss) {font-family:inherit}
html[data-exhibition] :is(input,select,option,button:not(#center-text):not(#notice-dismiss)) {background-color:var(--field);border-color:var(--letter)}
html[data-exhibition] input[type=radio]:checked {background:var(--symbol);box-shadow:inset 0 0 0 3px var(--field)}
html[data-exhibition] input::placeholder {color:var(--letter);opacity:.7}
html[data-exhibition] .house-slashes {background-color:var(--symbol)}
html[data-exhibition] .house-home:has(img) img {opacity:0}
html[data-exhibition] .house-home:has(img)::after {content:"";position:absolute;width:25px;height:29px;background:var(--symbol);mask:url(/house-logo.svg) center/contain no-repeat;-webkit-mask:url(/house-logo.svg) center/contain no-repeat}
html[data-exhibition] :is(a,button,summary,input,select):focus-visible {outline:2px solid var(--symbol);outline-offset:3px}

html[data-house-palette="black"] {--field:#000;--letter:#f2f2f2;--symbol:#f2f2f2;color-scheme:dark}
html[data-house-palette="black"][data-poster-page] body {background:var(--field);color:var(--letter);font:1rem/1.5 'Courier Prime','Courier New',monospace}
html[data-house-palette="black"][data-poster-page] a {color:var(--letter)}
html[data-house-palette="black"] .printed-link span {filter:grayscale(1) drop-shadow(0 0 2px white) drop-shadow(0 0 5px #eee)}
html .house-palette-switch,html[data-exhibition] button.house-palette-switch {
  appearance:none;background:transparent;border:0;border-radius:0;padding:.25rem 0;min-height:32px;
  font:inherit;font-size:.8rem;line-height:1.3;text-align:left;color:inherit;cursor:pointer;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em
}
.exhibition-nav {align-items:center;flex-wrap:wrap;row-gap:0}
html .house-palette-switch[hidden] {display:none}
.house-return-footer {display:flex;align-items:center;gap:1.4rem}
html .invitation-return {display:block;margin:2.5rem 0 0}
.home-return {position:fixed;left:max(1.5rem,env(safe-area-inset-left));bottom:max(1.5rem,env(safe-area-inset-bottom));z-index:20}
body:has(#leave-button[style*="block"]) .home-return {bottom:4rem}
@media (max-width:370px) {body:has(#notice.visible) .home-return {bottom:7.25rem}}
html body dialog.house-entrance {
  box-sizing:border-box;inset:0;margin:auto;padding:clamp(1.25rem,5vw,3rem);
  width:min(40rem,calc(100vw - 2rem));max-height:calc(100svh - 2rem);overflow:auto;
  border:1px solid #696b63;background:#101010;color:#f2f2f2
}
.house-entrance::backdrop {background:#080b09f2}
.entrance-layout h2 {margin:0 0 clamp(1.4rem,4vw,2.25rem);font:400 clamp(1.25rem,4vw,1.75rem)/1.2 'Courier Prime','Courier New',monospace;color:#f2f2f2}
.entrance-choices {display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
html body dialog.house-entrance .entrance-choices button {
  display:flex;align-items:flex-start;justify-content:space-between;flex-direction:column;gap:2rem;
  min-height:clamp(8.5rem,22vw,12rem);padding:clamp(.85rem,3vw,1.4rem);border-radius:0;border:1px solid #767873;
  background:#080808;color:#f2f2f2!important;text-align:left;cursor:pointer;font:400 clamp(.9rem,3vw,1.2rem)/1.25 'Courier Prime','Courier New',monospace
}
html body dialog.house-entrance .entrance-choices [data-way="green"] {background:#214f40;border-color:#618375;color:#f2efe0!important;font-family:"All Round Gothic",ui-rounded,"Avenir Next",Avenir,system-ui,sans-serif}
.entrance-choices i {width:1.25rem;height:1.4rem;background:currentColor;mask:url(/house-logo.svg) center/contain no-repeat;-webkit-mask:url(/house-logo.svg) center/contain no-repeat}
.entrance-choices [data-way="green"] i {background:#e8b34e}
html body dialog.house-entrance .entrance-choices button:is(:hover,:focus-visible) {outline:2px solid #f2efe0;outline-offset:2px}

/* The invitation to return breathes only after a path has been chosen. */
html[data-chosen-path] .house-palette-switch {animation:house-return-pulse 18s ease-in-out infinite}
@keyframes house-return-pulse {0%,82%,100%{opacity:.82}90%{opacity:.32}}
html[data-chosen-path] .house-palette-switch:is(:hover,:focus-visible) {animation:none;opacity:1}
html body dialog.path-reminder {width:fit-content;max-width:calc(100vw - 2rem);background:var(--field);color:var(--letter);border-color:currentColor}
.path-reminder::backdrop {background:rgb(0 0 0 / .36)}
.path-reminder h2 {font:inherit;color:inherit;margin:0;outline:none}
.entrance-choices[hidden] {display:none}
@media (prefers-reduced-motion:reduce) {html[data-chosen-path] .house-palette-switch {animation:none}}
