/* The charcoal space palette is the default at every viewport and system setting. */
:root{--paper:#121212;--ink:#f2eee7;--blue:#b8a0dd;--faint:#b7b5bc;--line:#353538;--yellow:#f3c66f;--coral:#ef8f94;--sage:#8bc9c0;--surface:#1c1c1e;--surface-raised:#252527;color-scheme:dark}
html{background:var(--paper)}
body{background:var(--paper);background-image:radial-gradient(circle at 18% 21%,#b8a0dd60 0 1px,transparent 1.4px),radial-gradient(circle at 72% 38%,#f3c66f55 0 1px,transparent 1.4px),radial-gradient(circle at 44% 73%,#8bc9c040 0 1px,transparent 1.3px);background-size:239px 257px,359px 317px,419px 397px}
::selection{background:#8274b3;color:#fff0ce}
.preview-bar{background:#0d0d0e;border-bottom:1px solid #303032;color:#bcb9c1}.preview-bar option{background:#1c1c1e}.preview-bar select{background:#232325;color:var(--ink)}.preview-bar button{color:#c4c0ca}
.header{border-color:#333335}.brand>svg{color:var(--yellow)}.brand-name{color:var(--paper);color:var(--ink);font-size:31px;letter-spacing:0;line-height:1.05}.brand-name small{color:#aaa6b0}.nav a{font-family:var(--hand);font-size:22px;font-weight:400;line-height:1.3}.nav a.active{color:var(--yellow)}.nav a.active:after{border-color:var(--yellow)}.admin-link{color:var(--faint)}
.ink-word{display:inline-block;vertical-align:baseline;position:relative;height:1.125em;max-width:100%;line-height:1;white-space:nowrap}.ink-word>svg{display:block;width:100%;height:100%;overflow:visible}.ink-line{letter-spacing:0;font-weight:400}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.brand .ink-word svg{width:100%;height:100%;transform:none}.brand-name>.ink-line{display:block}.intro-copy h1{font-size:64px;line-height:1.05;letter-spacing:0}.intro-copy h1>span{color:var(--blue)}.intro-copy h1>.ink-line{color:var(--ink)}.intro-copy .eyebrow{color:var(--sage)}.intro-copy p,.pocket p,.entry-body{color:#bdbac2}.intro-note,.scribble-note{color:#a69cc9}.section-rule span{color:var(--ink);font-size:29px}.section-rule .tiny{font-size:11px;color:var(--faint)}.favorites-header h2{font-size:31px}.favorites-header p{color:var(--sage)}
.portrait{background:#28282a;border-color:#4b4a50;box-shadow:5px 7px 0 #00000080}.portrait:before{background:#8f80a966}.portrait-sky{background:#19191b;border-color:#454449}.portrait-sky svg{color:var(--yellow);opacity:1}.portrait-caption{color:#dfc9ee}.portrait .lock-badge{background:#4a3c60;color:#fff0ce;border:1px solid #8a75a2}
.pocket-visual:before{background:var(--pocket-color);opacity:.68;border:1px dashed #8274b34d;width:172px;height:152px;top:28px;border-radius:50%;transform:none}.pocket:hover .pocket-visual:before,.pocket:focus-visible .pocket-visual:before{transform:scale(1.06);opacity:1}.pocket img{width:192px;height:192px;image-rendering:pixelated;transform:translateY(0);filter:drop-shadow(0 8px 0 #00000060);transition:transform .22s ease-out,filter .22s;will-change:auto}.pocket:hover img,.pocket:focus-visible img{transform:translateY(-12px);filter:drop-shadow(0 18px 0 #00000080)}.pocket h2{font-size:36px;color:#f9eddb}.pocket h2:after{border-color:var(--yellow)}.pocket .pocket-arrow{color:var(--yellow)}.orbit-lines{color:#74709b;opacity:.55}.favorites .pocket img{width:128px;height:128px}.favorites .pocket h2{font-size:28px}.favorites .pocket-visual:before{width:117px;height:104px;top:30px}.favorites .pocket-visual{height:155px}.favorites .pocket p{font-size:11px}.pocket .sparkle{color:#f3c66f}
img[src^="assets/"][src$=".png"]{image-rendering:pixelated}.category-hero img{width:256px;height:256px;transform:none}.mini-pocket-link img{width:64px;height:64px}.post-media.illustration img{width:192px;height:192px}.post-media.illustration{padding:12px;background:#272729}
.extra-pocket{background:#1c1c1ecc;border-color:#4b494f}.extra-pocket:hover{background:#28282b}.extra-pocket svg{color:#b8a0dd}.extra-pocket h3{font-size:28px}.privacy-tag{background:#263d3e;color:#b0d7cb}.privacy-tag.gold{background:#443b2b;color:#f3d394}.privacy-tag.blue{background:#293c57;color:#b3d2f0}.bottom-scribble{color:#b8a0dd;font-size:22px}.footer{color:#aaa6b0}
.avatar{background:#5d4e38;color:#fff0ce;border-color:#d8b77a}.avatar.blue{background:#324365;border-color:#7d9bcc}.avatar.coral{background:#5e3848;border-color:#c38593}.button{background:#b8a0dd;border-color:#b8a0dd;color:#17151b}.button:hover{box-shadow:3px 4px 0 #8274b345}.button.secondary{background:#242426;border-color:#555158;color:var(--ink)}.button.danger{background:#9b4056;border-color:#bc6476;color:#fff0ed}.back,.post-footer{color:#bbb7c1}
.empty-note,.entry-card,.composer,.post,.tier-board,.admin-table,.profile-form,dialog{background:var(--surface);border-color:#3a393e;box-shadow:0 3px 0 #00000060}.empty-note:before{background:#8672a566}.empty-note>svg{max-width:90px;max-height:100px}.empty-note h2{font-size:34px}.composer-actions{border-color:var(--line)}.post-footer button.liked{color:#ef8f94}.post-media{background:#272729}.side-nav a.active{background:#303033;color:#dfc9ee}.pinned-note{background:#28272a;border-color:#4e4852}.pinned-note p{color:#c3b9c3}.select,.field{background:#151516;border-color:#4b484f;color:var(--ink)}textarea::placeholder,input::placeholder{color:#aaa5b1}.tier-row{border-color:#353437}.tier-label{border-color:#403e44}.tier-empty{color:#b7b2bd}.person-token{background:#272629;border-color:#4b484f}.person-token select{border-color:#625d68}.info-strip{background:#23353a;color:#b1cec9}
.gallery-frame{background:#28282a;border-color:#4b4a50;box-shadow:3px 4px 0 #00000080}.gallery-frame .art-placeholder{background:#243c41}.gallery-frame:nth-child(2) .art-placeholder{background:#2b304f}.gallery-frame:nth-child(3) .art-placeholder{background:#413442}.art-placeholder svg{color:#b3c8df}.gallery-frame p{color:#dfc9ee}.notepaper{background:repeating-linear-gradient(#1c1c1e,#1c1c1e 34px,#333236 35px);border-color:#424046}.notepaper p{color:#c1bdc8}.review-score{color:#f3c66f}.preview-only-note{color:#b4afbc}.soft-divider{border-color:#545058}dialog::backdrop{background:#000000bb}#toast{background:#2b282e;color:#fff0ce;border-color:#8d7aad}.skip{background:var(--yellow);color:#121212}
@media(min-width:1400px){.pocket img{width:192px;height:192px}}
@media(max-width:1050px){.header{gap:15px}.nav{gap:16px}.nav a{font-size:20px}.brand-name{font-size:26px}.intro-copy h1{font-size:58px}.pocket img{width:192px;height:192px}.favorites .pocket img{width:128px;height:128px}}
@media(max-width:760px){.brand-name{font-size:26px}.nav a{font-size:22px}.intro-copy h1{font-size:42px}.about-intro{grid-template-columns:1fr 95px;gap:10px}.portrait{width:94px;height:127px}.portrait-sky{height:84px}.portrait-caption{font-size:14px}.pocket-visual{height:134px}.pocket img{width:128px;height:128px}.pocket-visual:before{width:90px;height:86px;top:24px}.pocket h2{font-size:28px}.pocket p{color:#bdbac2}.favorites-header h2{font-size:28px}.favorites-header p{font-size:17px;max-width:105px}.favorites .pocket-visual{height:150px}.favorites .pocket img{width:128px;height:128px}.favorites .pocket h2{font-size:29px}.favorites .pocket-visual:before{top:25px}.category-hero img{width:128px;height:128px}.category-hero h1{font-size:45px}.extra-pocket h3{font-size:28px}.extra-pocket .privacy-tag{font-size:8px}.section-rule span{font-size:27px}.bottom-scribble{font-size:21px}.view-heading h1{font-size:42px}.welcome h1{font-size:62px}}
@media(max-width:380px){.intro-copy h1{font-size:35px}.brand-name{font-size:23px}.nav a{font-size:20px}.pocket-visual{height:112px}.pocket img{width:96px;height:96px}.pocket-visual:before{width:77px;height:73px;top:22px}.pocket h2{font-size:25px}.about-intro{grid-template-columns:1fr 84px}}
@media(prefers-reduced-motion:reduce){.pocket:hover img,.pocket:focus-visible img{transform:none}}
/* Keep inherited pen colors and rotations local to the doodle, not its letters. */
.intro-copy h1 .ink-word{color:inherit}.intro-note .ink-word svg{transform:none}
@media(max-width:760px){.header{gap:13px}.brand-name{font-size:22px}.header-tools{gap:8px}.header-tools .avatar{width:30px;height:30px}.admin-link{font-size:9px}.nav{gap:8px;justify-content:space-between}.nav a{font-size:18px}.portrait-caption{font-size:12px}.extra-pocket .privacy-tag{position:static;max-width:none;margin-top:8px}.extra-pocket h3{font-size:27px}.intro-copy h1{font-size:38px}}
@media(max-width:380px){.brand-name{font-size:19px}.nav a{font-size:16px}.intro-copy h1{font-size:33px}.header-tools{gap:5px}.intro-copy .eyebrow{font-size:7px;letter-spacing:.8px}.portrait-caption{font-size:11px}}

/* Pixel notebook lettering. Each filled square comes from a 22px word bitmap. */
:root{--hand:'Cosmos Hand',cursive}
.ink-line{font-family:'Cosmos Hand',cursive;font-weight:650;font-kerning:normal;font-feature-settings:'calt' 1;word-spacing:-.07em}
.ink-word.pixel-word{height:1.545455em;vertical-align:-.41em}
.ink-word.pixel-word>svg{width:100%;height:100%;fill:currentColor;stroke:none;shape-rendering:crispEdges;image-rendering:pixelated;transform:none}
.brand-name{font-size:31px;line-height:.95}.brand-name small{margin-top:15px}
.intro-copy h1{font-size:62px;line-height:1.15;letter-spacing:0}.intro-copy p{font-size:13px;margin-top:25px}.nav a{font-size:26px;line-height:1.1}
.pocket h2{font-size:42px;line-height:1.05}.favorites .pocket h2{font-size:30px;line-height:1.1}.section-rule span{font-size:31px}.section-rule .tiny{font-size:11px}
.favorites-header h2{font-size:34px}.favorites-header p{font-size:23px}.extra-pocket h3{font-size:31px}.portrait-caption{font-size:20px;line-height:1}.intro-note{font-size:21px;line-height:1.05}.bottom-scribble{font-size:27px;line-height:1.15}.footer span:first-child{font-size:20px}
.category-hero h1{font-size:68px}.view-heading h1{font-size:55px}.empty-note h2{font-size:37px}.feed-heading h1{font-size:56px}.side-title{font-size:31px}
@media(max-width:1050px){.brand-name{font-size:27px}.nav a{font-size:24px}.intro-copy h1{font-size:56px}}
@media(max-width:760px){.brand-name{font-size:23px}.brand-name small{margin-top:10px}.nav a{font-size:21px}.intro-copy h1{font-size:38px;line-height:1.12}.intro-copy p{font-size:11px;margin-top:17px}.pocket h2{font-size:29px}.favorites .pocket h2{font-size:29px}.favorites-header h2{font-size:29px}.favorites-header p{font-size:20px}.portrait-caption{font-size:13px;line-height:1}.section-rule span{font-size:30px}.extra-pocket h3{font-size:30px}.category-hero h1{font-size:47px}.view-heading h1{font-size:44px}.empty-note h2{font-size:31px}.bottom-scribble{font-size:24px}.footer span:first-child{font-size:17px}.intro-note{display:none}}
@media(max-width:380px){.brand-name{font-size:20px}.nav a{font-size:19px}.intro-copy h1{font-size:33px}.pocket h2{font-size:27px}.portrait-caption{font-size:12px}}
/* Compact portrait notes after changing the display alphabet. */
.portrait-caption{font-size:16px}.intro-note{right:-120px;width:150px;font-size:17px}
@media(max-width:1050px){.intro-note{display:none}}
@media(max-width:760px){.portrait-caption{font-size:12px}}
/* Public entrance and account screens. */
.header-tools{margin-left:auto}.login-link{min-height:44px;padding:9px 22px;font-size:14px}.auth-check{font-size:12px;color:var(--faint)}
.account-menu{position:relative;z-index:10}.account-menu summary{list-style:none;display:flex;align-items:center;gap:9px;cursor:pointer;min-height:44px;font-size:12px}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:focus-visible{outline:3px solid var(--blue);outline-offset:5px}.account-name{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:205px;padding:10px;background:#252527;border:1px solid #555158;border-radius:8px;box-shadow:0 12px 32px #0006}.account-dropdown p{font-size:11px;color:var(--faint);padding:8px 10px}.account-dropdown a,.account-dropdown button{display:block;width:100%;text-align:left;background:transparent;padding:11px 10px;border-radius:5px;font-size:14px}.account-dropdown a:hover,.account-dropdown button:hover{background:#343137}
.public-welcome{padding:8px 0 22px}.public-welcome h1{font-size:86px;line-height:1.02}.public-welcome>p{margin-top:30px;font-size:15px;max-width:480px}.welcome-pockets{max-width:970px;margin:30px auto 45px}.welcome-pockets .gallery-caption{font-size:12px;max-width:500px;margin:5px auto 0;line-height:1.8}.public-gallery-empty{text-align:center;padding:22px 20px 32px;max-width:650px;margin:15px auto;border:1px dashed #4b494f;border-radius:7px;background:#1c1c1e99}.public-gallery-empty>svg{width:75px;height:75px;color:#b8a0dd}.public-gallery-empty h2{font:36px var(--hand);margin:5px 0 8px}.public-gallery-empty p{color:var(--faint);font-size:13px;margin:10px 0 15px}.public-gallery-empty .scribble-note{font-size:23px;color:#f3c66f}
.auth-layout{max-width:500px;margin:0 auto 35px}.auth-card{padding:30px 36px;background:#1c1c1e;border:1px solid #48444d;border-radius:7px 10px 6px 9px}.auth-doodle{display:flex;justify-content:center}.auth-doodle>svg{width:55px;height:60px;color:var(--yellow);transform:rotate(10deg)}.auth-card h1{font:40px/1.1 var(--hand);text-align:center;margin:10px -15px 12px}.auth-card>p{text-align:center;color:var(--faint);font-size:13px;line-height:1.8;margin-bottom:22px}.auth-notice{border:1px solid #685d42;background:#3a3226;border-radius:6px;padding:14px 16px;color:#f2dab2;font-size:13px;margin:18px 0}.auth-notice p{margin:6px 0 0;font-size:12px;line-height:1.8}.google-button{width:100%;background:transparent;border-color:#625b68;color:var(--ink);font-size:14px;min-height:45px}.google-g{font-size:22px;font-weight:700}.auth-divider{display:flex;align-items:center;gap:13px;color:var(--faint);font-size:11px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;background:var(--line);flex:1}.auth-card fieldset{padding:0;margin:0;border:0;min-width:0}.auth-card label{display:block;font-size:13px;margin:13px 0 7px}.auth-card .field{width:100%;min-height:45px;font-size:16px}.auth-card fieldset:disabled{opacity:.55}.auth-submit{width:100%;margin-top:23px;min-height:45px;font-size:14px}.auth-helper{font-size:11px;color:var(--faint);margin-top:6px}.auth-status{color:#f3d394;font-size:13px;line-height:1.7;margin-top:13px}.auth-status:empty{display:none}.auth-links{display:flex;flex-direction:column;gap:12px;align-items:center;margin:23px 0;font-size:13px}.auth-links a{color:#c6ace9;text-decoration:underline;text-underline-offset:4px}.auth-card .auth-privacy{font-size:11px;margin:20px 0 0;padding-top:20px;border-top:1px solid var(--line)}
@media(max-width:760px){.header{flex-wrap:wrap}.header .login-link{min-height:42px;padding:8px 15px;font-size:13px}.public-welcome h1{font-size:65px}.public-welcome>p{font-size:13px;max-width:320px}.welcome-actions .button{min-height:44px;font-size:12px}.welcome-pockets{margin-top:30px}.public-gallery-empty h2{font-size:30px}.auth-card{padding:22px}.auth-card h1{font-size:36px}.auth-layout{margin-top:4px}.account-name{display:none}}
@media(max-width:380px){.header .login-link{padding:7px 12px}.public-welcome h1{font-size:56px}.welcome-actions{flex-wrap:wrap}.auth-card{padding:20px}.auth-card h1{font-size:33px}}
.welcome h1>.ink-line .ink-word{color:var(--ink)}
@media(max-width:760px){.pockets:not(.favorites) .pocket h2{font-size:24px}}
@media(max-width:380px){.pockets:not(.favorites) .pocket h2{font-size:22px}}

/* Short labels and artwork lead the public welcome. */
.public-welcome{padding:0}.public-welcome .welcome-doodles{height:68px}.welcome-pockets{margin:8px auto 32px}.public-welcome h1{font-size:72px}.footer{justify-content:center}.about-intro{margin-bottom:8px}
@media(max-width:760px){.public-welcome h1{font-size:56px}.public-welcome .welcome-doodles{height:58px}.welcome-pockets{margin:8px auto 24px}}
@media(max-width:380px){.public-welcome h1{font-size:50px}}

/* Keep controls discernible and reachable without adding interface copy. */
:root{--control-border:#858589}
::selection{background:#594979;color:#fff0ce}
.field,.select,.person-token select{border-color:var(--control-border)}
.button,.button.small-button,.header .login-link{min-height:44px}
.auth-links a,.auth-privacy a,.footer a,.back{display:inline-flex;align-items:center;min-height:44px}
.footer{font-size:12px;padding-top:12px;padding-bottom:20px}
.footer,.back{background:var(--paper)}
.upload-label{position:relative;border-radius:4px}
.upload-label:has(input:focus-visible){outline:3px solid var(--blue);outline-offset:4px}
.person-token .person-name{min-height:44px;padding:6px;background:transparent;text-align:left}
.person-token select{min-height:44px;max-width:100%;font-size:14px;padding:6px}
.check-label{min-height:44px}
@media(max-width:760px){
 .field,.select,.composer textarea,.person-token select{font-size:16px}
 .account-name{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
}
@media(forced-colors:active){
 .button,.field,.select,.person-token select,dialog{border-color:ButtonText}
 .upload-label:has(input:focus-visible){outline-color:Highlight}
 .pocket-visual:before{border-color:GrayText}
}
.lost-page{padding:clamp(70px,14vh,140px) 0;text-align:center}
.lost-page>img{margin:0 auto 28px;transform:rotate(-12deg)}
.lost-page h1{font-size:clamp(42px,8vw,72px);line-height:1.15;margin:0 0 36px}
