/* Shared type and physical pencil dimensions across all three rooms. */
#stories:not(.viewing-archive) #story-wall-topic,
#relay #relay-round-title,
#poetry #poetry-topic-title{position:relative;isolation:isolate;box-sizing:border-box;width:max-content;max-width:none;font:700 clamp(28px,2.65vw,40px)/1.4 'Gowun Batang',serif;letter-spacing:-.03em;color:#303329;white-space:nowrap;overflow-wrap:normal;word-break:normal;margin-top:16px;margin-bottom:23px}
/* Repeat the middle at its natural aspect ratio; never stretch strokes horizontally. */
#stories:not(.viewing-archive) #story-wall-topic::before,
#relay #relay-round-title::before,
#poetry #poetry-topic-title::before{content:'';position:absolute;top:-.25em;bottom:-.2em;left:-.7em;right:auto;width:calc(100% + 1.4em);box-sizing:border-box;z-index:-1;border-style:solid;border-color:transparent;border-width:0 .7em;background-image:url('assets/graphite-left-v64.svg'),url('assets/graphite-right-v64.svg'),url('assets/graphite-middle-v64.svg');background-size:.7em 100%,.7em 100%,auto 100%;background-position:left top,right top,left top;background-repeat:no-repeat,no-repeat,repeat-x;background-origin:border-box,border-box,content-box;background-clip:border-box,border-box,content-box;opacity:.8;mask-image:radial-gradient(ellipse at center,#0006 0%,#0009 45%,#000 85%);filter:grayscale(1);mix-blend-mode:multiply;pointer-events:none}
#relay .relay-title-row{column-gap:44px}
#relay .relay-topic-header{padding-left:clamp(28px,3vw,40px)}
@media(max-width:720px){
 #stories:not(.viewing-archive) #story-wall-topic,
 #relay #relay-round-title,
 #poetry #poetry-topic-title{font-size:clamp(18px,5.6vw,26px);margin-top:14px;margin-bottom:20px}
 #relay .relay-topic-header{padding-left:20px}
}
/* A single graphite surface; feathered pieces retain the original pencil grain. */
.has-graphite::before{display:none!important}
.graphite-fill{position:absolute;z-index:-1;pointer-events:none;left:-.7em;top:-.25em;width:calc(100% + 1.4em);height:calc(100% + .45em);overflow:visible;opacity:.8;filter:grayscale(1);mix-blend-mode:multiply;mask-image:radial-gradient(ellipse at center,#0006 0%,#0009 45%,#000 85%)}
#series .pencil-topic-title{position:relative;isolation:isolate;display:inline-block;max-width:calc(100% - 1.4em);font:700 clamp(28px,2.65vw,40px)/1.4 'Gowun Batang',serif;letter-spacing:-.03em;color:#303329;margin:14px 0 20px;overflow-wrap:anywhere}
#series .library-context-heading{flex:none;padding:0 28px}
#series .library-context-label{font-size:12px;color:#787966;margin:0}
#series .library-content.is-library-shelf{grid-template-rows:auto auto auto minmax(0,1fr) auto}
#series .library-book-reader{--page-width:min(60cqw,calc((100svh - 440px)*.7),440px)}
.graphite-trail{position:fixed;inset:0;width:100%;height:100%;pointer-events:none!important;z-index:9999}
@media(max-width:720px){#series .pencil-topic-title{font-size:clamp(18px,5.6vw,26px)}#series .library-context-heading{padding:8px 22px 0}#series .library-book-reader{--page-width:min(78cqw,calc((100svh - 340px)*.7),440px)}}
.graphite-fill{font-size:inherit!important}
