/* v15: shared title geometry for temporary interfaces. */
.temporary-masthead{font:400 clamp(20px,4vw,30px)/1.2 "Courier New",Courier,monospace;letter-spacing:.02em;text-align:center;color:#000;white-space:nowrap;position:relative;}
.temporary-masthead .brand-button{display:inline-block;position:relative;isolation:isolate;font:inherit;letter-spacing:inherit;color:inherit;vertical-align:top;cursor:default;}
.temporary-masthead .draft-guides{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:-1;}
.temporary-masthead .draft-guides line{stroke-width:.55;stroke-linecap:butt;vector-effect:non-scaling-stroke;opacity:0}
.commonplace-dark .temporary-masthead,.trivia-dark .temporary-masthead{color:#929292}
.commonplace-dark .temporary-masthead .draft-guides,.trivia-dark .temporary-masthead .draft-guides{opacity:.22}
body:not(.archive-page)>.reader-dialog:has(.temporary-masthead){margin:var(--masthead-top) auto 90px;padding-top:0;}
.reader-dialog .temporary-masthead{width:max-content;max-width:100vw;left:50%;transform:translateX(-50%);margin-bottom:32px;}
.universal-search{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;padding:var(--masthead-top) 24px 60px;overflow:auto;background:#fff;}
.universal-search .search-panel{width:min(560px,100%);margin:32px auto 0;text-align:left;}
.universal-search[open]{animation:temporary-enter var(--motion-page) ease both;}
@keyframes temporary-enter{from{opacity:0}to{opacity:1}}
html.page-focus-exit .reader-dialog,html.page-focus-exit .universal-search{opacity:0;transition:opacity var(--motion-page) ease;pointer-events:none}
@media(prefers-reduced-motion:reduce){.temporary-masthead .draft-guides{display:none}.universal-search[open]{animation:none}}

.universal-search[open].search-closing,html.page-focus-exit .universal-search[open]{animation:temporary-exit var(--motion-page) ease both;}
@keyframes temporary-exit{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){.universal-search[open].search-closing,html.page-focus-exit .universal-search[open]{animation:none}}
