/* jk.ee — Sakura Diary UI. Loaded after the legacy inline styles. */
:root {
  color-scheme: light;
  --jk-canvas:#fff8fc; --jk-canvas-deep:#f8edf5;
  --jk-surface:rgba(255,255,255,.88); --jk-solid:#fff;
  --jk-soft:#fff1f7; --jk-muted-surface:#f7f1f8;
  --jk-ink:#302735; --jk-ink-soft:#5e5162; --jk-muted:#8b7b88; --jk-faint:#b9abb7;
  --jk-border:rgba(117,86,111,.13); --jk-border-strong:rgba(117,86,111,.23);
  --jk-sakura:#e75f9a; --jk-sakura-deep:#c9447d; --jk-sakura-soft:#fde4ef;
  --jk-lilac:#8f76dc; --jk-lilac-soft:#eee9ff; --jk-mint:#62bfa4; --jk-mint-soft:#e5f7f1;
  --jk-shadow-xs:0 2px 10px rgba(66,39,60,.045); --jk-shadow-sm:0 10px 30px rgba(66,39,60,.075);
  --jk-shadow-md:0 20px 55px rgba(66,39,60,.11); --jk-shadow-lg:0 32px 90px rgba(66,39,60,.17);
  --jk-r-sm:12px; --jk-r-md:18px; --jk-r-lg:24px; --jk-r-xl:30px;
  --jk-ease:cubic-bezier(.2,.8,.2,1);
  --jk-font:"DM Sans",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --jk-display:Nunito,"Avenir Next Rounded","Arial Rounded MT Bold",var(--jk-font);
}
html[data-theme="night"] {
  color-scheme:dark; --jk-canvas:#17131e; --jk-canvas-deep:#211927;
  --jk-surface:rgba(39,30,45,.9); --jk-solid:#2a2130; --jk-soft:#342536; --jk-muted-surface:#231c29;
  --jk-ink:#fff4fa; --jk-ink-soft:#ddcbd7; --jk-muted:#ae9aa8; --jk-faint:#7e6d79;
  --jk-border:rgba(255,226,243,.1); --jk-border-strong:rgba(255,226,243,.2);
  --jk-sakura:#ff88b8; --jk-sakura-deep:#f16ca4; --jk-sakura-soft:rgba(255,116,173,.14);
  --jk-lilac:#b09bf5; --jk-lilac-soft:rgba(153,125,239,.15); --jk-mint:#7ed6bc; --jk-mint-soft:rgba(94,194,164,.13);
  --jk-shadow-xs:0 3px 13px rgba(0,0,0,.16); --jk-shadow-sm:0 14px 34px rgba(0,0,0,.2);
  --jk-shadow-md:0 24px 64px rgba(0,0,0,.3); --jk-shadow-lg:0 38px 100px rgba(0,0,0,.42);
}
*,*::before,*::after{box-sizing:border-box}
html{min-width:320px;min-height:100%;scroll-behavior:smooth;background:var(--jk-canvas)}
body.site-shell,body.site-shell button,body.site-shell input,body.site-shell select,body.site-shell textarea{font-family:var(--jk-font)}
body.site-shell{
  min-width:320px;height:auto;min-height:100vh;min-height:100dvh;display:flow-root;margin:0;overflow-x:hidden;color:var(--jk-ink);
  background:radial-gradient(52rem 34rem at -8% -14%,rgba(231,95,154,.17),transparent 68%),radial-gradient(46rem 32rem at 108% 5%,rgba(143,118,220,.15),transparent 70%),linear-gradient(180deg,var(--jk-canvas),var(--jk-canvas-deep));
  font-size:15px;line-height:1.6;letter-spacing:-.008em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility
}
body.site-shell::before{position:fixed;inset:0;z-index:-1;pointer-events:none;content:"";opacity:.42;background-image:linear-gradient(rgba(166,107,139,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(166,107,139,.035) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,#000,transparent 78%)}
body.site-shell.is-ready{animation:jk-page-in .48s var(--jk-ease) both}
body.site-shell a{color:var(--jk-sakura-deep);text-underline-offset:3px}
body.site-shell img{max-width:100%}
body.site-shell button,body.site-shell a,body.site-shell input,body.site-shell textarea,body.site-shell [tabindex]{-webkit-tap-highlight-color:transparent}
body.site-shell :focus-visible{outline:3px solid color-mix(in srgb,var(--jk-lilac) 55%,transparent);outline-offset:3px}
body.site-shell ::selection{color:#fff;background:var(--jk-sakura)}
.skip-link{position:fixed;top:0;left:16px;z-index:10020;padding:10px 15px;color:#fff!important;border-radius:999px;background:var(--jk-sakura-deep);box-shadow:var(--jk-shadow-md);transform:translateY(calc(-100% - 8px));transition:transform .18s var(--jk-ease)}
.skip-link:focus{top:12px;transform:translateY(0);transition:none}

/* Navigation */
body.site-shell .navbar{position:sticky;top:12px;z-index:900;width:min(1440px,calc(100% - 28px));min-height:68px;display:flex;align-items:center;gap:8px;margin:12px auto 0;padding:8px 10px;overflow:visible;border:1px solid var(--jk-border);border-radius:23px;background:color-mix(in srgb,var(--jk-solid) 82%,transparent);box-shadow:var(--jk-shadow-sm);backdrop-filter:blur(20px) saturate(1.25);transition:box-shadow .2s var(--jk-ease),background .2s var(--jk-ease)}
body.site-shell .navbar.is-scrolled{background:color-mix(in srgb,var(--jk-solid) 94%,transparent);box-shadow:var(--jk-shadow-md)}
.navbar-brand{min-width:174px;display:inline-flex!important;align-items:center;gap:11px;padding:2px 12px 2px 4px!important;color:var(--jk-ink)!important;border-radius:18px;text-align:left!important;text-decoration:none}
.brand-mark{position:relative;width:46px;height:46px;flex:0 0 auto;display:grid;place-items:center;overflow:hidden;color:#fff;border:2px solid rgba(255,255,255,.78);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.22),transparent 50%),linear-gradient(135deg,var(--jk-sakura),var(--jk-lilac));box-shadow:0 9px 24px rgba(207,72,133,.26);font-family:var(--jk-display);font-size:17px;font-weight:900;letter-spacing:-.08em}
.brand-mark::before,.brand-mark::after{position:absolute;content:"";border-radius:999px;background:rgba(255,255,255,.26);transform:rotate(-35deg)}
.brand-mark::before{width:64px;height:7px;top:8px;left:-12px}.brand-mark::after{width:54px;height:4px;bottom:8px;right:-14px}.brand-mark span{position:relative;z-index:1}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}.brand-copy strong{font-family:var(--jk-display);font-size:17px;font-weight:850;letter-spacing:-.035em}.brand-copy small{margin-top:5px;color:var(--jk-muted);font-size:9px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
body.site-shell .navbar-left,body.site-shell .navbar-right{float:none;display:flex;align-items:center;gap:3px}body.site-shell .navbar-left{flex:1}body.site-shell .navbar-right{margin-left:auto}
body.site-shell .navbar a:not(.navbar-brand){float:none;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 13px;color:var(--jk-ink-soft);border-radius:14px;font-size:13px;font-weight:700;text-decoration:none;transition:color .16s ease,background .16s ease,transform .16s ease}
body.site-shell .navbar a:not(.navbar-brand):hover,body.site-shell .navbar a[aria-current="page"]{color:var(--jk-sakura-deep);background:var(--jk-sakura-soft)}
body.site-shell .navbar-right a:first-child{border:1px solid var(--jk-border);background:var(--jk-muted-surface)}
body.site-shell .navbar-right a:last-child{color:#fff;background:linear-gradient(135deg,var(--jk-sakura),var(--jk-sakura-deep));box-shadow:0 8px 22px rgba(201,68,125,.2)}
.nav-control{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;padding:0;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:14px;background:var(--jk-muted-surface);cursor:pointer;transition:transform .16s ease,background .16s ease,color .16s ease}
.nav-control:hover{color:var(--jk-sakura-deep);background:var(--jk-sakura-soft);transform:translateY(-1px)}.theme-icon{font-size:16px;line-height:1}.nav-toggle{display:none}
.nav-toggle-lines,.nav-toggle-lines::before,.nav-toggle-lines::after{width:18px;height:2px;display:block;border-radius:99px;background:currentColor;transition:transform .18s ease,opacity .18s ease}.nav-toggle-lines{position:relative}.nav-toggle-lines::before,.nav-toggle-lines::after{position:absolute;left:0;content:""}.nav-toggle-lines::before{top:-6px}.nav-toggle-lines::after{top:6px}.navbar.nav-open .nav-toggle-lines{background:transparent}.navbar.nav-open .nav-toggle-lines::before{top:0;transform:rotate(45deg)}.navbar.nav-open .nav-toggle-lines::after{top:0;transform:rotate(-45deg)}

/* Three-column app shell */
body.site-shell>main.container{position:relative;width:min(1440px,calc(100% - 28px));height:calc(100vh - 144px);height:calc(100dvh - 144px);margin:12px auto}
body.site-shell .main{height:100%;display:grid;grid-template-columns:minmax(238px,278px) minmax(430px,1fr) minmax(255px,310px);gap:16px;overflow:hidden}
body.site-shell .sidebar-left,body.site-shell .main-content,body.site-shell .sidebar-right{min-width:0;max-width:none;height:100%;margin:0;padding:22px;overflow-x:hidden;overflow-y:auto;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:var(--jk-r-xl);background:var(--jk-surface);box-shadow:var(--jk-shadow-sm);scrollbar-width:thin;scrollbar-color:var(--jk-border-strong) transparent;backdrop-filter:blur(18px) saturate(1.1)}
body.site-shell .sidebar-left{flex-basis:auto;display:flex;flex-direction:column;align-items:center;font-size:14px}body.site-shell .main-content{flex-grow:1;padding:clamp(18px,2.1vw,28px)!important;background:color-mix(in srgb,var(--jk-surface) 68%,transparent)!important}body.site-shell .sidebar-right{flex-grow:0}
.panel-kicker{align-self:stretch;margin:0 0 18px;color:var(--jk-muted);font-size:10px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}.right-panel-title{margin-bottom:13px}

/* Identity panel */
body.site-shell .profile-pic{width:132px;height:132px;margin:4px 0 15px;padding:5px;object-fit:cover;border:1px solid rgba(255,255,255,.85);border-radius:42px;background:linear-gradient(135deg,var(--jk-sakura-soft),var(--jk-lilac-soft));box-shadow:0 18px 42px rgba(92,52,78,.18);transform:rotate(-2deg);transition:transform .24s var(--jk-ease),box-shadow .24s var(--jk-ease)}
body.site-shell .profile-pic:hover{transform:rotate(0) translateY(-3px);box-shadow:0 24px 54px rgba(92,52,78,.22)}
body.site-shell .name-and-badge{margin:0;gap:5px}body.site-shell .name-and-badge h3{color:var(--jk-ink);font-family:var(--jk-display);font-size:24px;font-weight:850;letter-spacing:-.04em}.verified-badge{width:19px!important;height:19px!important;margin:0!important}
body.site-shell .username{margin:2px 0 14px;color:var(--jk-muted);font-weight:700}
body.site-shell .buttons-container{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 18px}
body.site-shell .theme-button{min-width:0;min-height:40px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 9px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:13px;background:var(--jk-muted-surface)!important;font-size:12px;font-weight:750;text-decoration:none;opacity:1;transition:transform .16s var(--jk-ease),border-color .16s ease,color .16s ease,background .16s ease}
body.site-shell .theme-button:hover{color:var(--jk-sakura-deep);border-color:color-mix(in srgb,var(--jk-sakura) 35%,var(--jk-border));background:var(--jk-sakura-soft)!important;transform:translateY(-2px)}
body.site-shell .sidebar-left hr{width:100%;height:1px;margin:0 0 17px;border:0;background:linear-gradient(90deg,transparent,var(--jk-border-strong),transparent)}
body.site-shell .sidebar-block{width:100%;margin:0 0 10px;padding:15px 16px;color:var(--jk-ink-soft);border:1px solid rgba(231,95,154,.13);border-radius:var(--jk-r-md);background:radial-gradient(circle at 94% 12%,rgba(255,255,255,.7) 0 4px,transparent 5px),linear-gradient(135deg,var(--jk-sakura-soft),color-mix(in srgb,var(--jk-lilac-soft) 42%,var(--jk-solid)));box-shadow:var(--jk-shadow-xs);cursor:pointer}
body.site-shell .block-text{margin:0;color:inherit;font-family:var(--jk-display);font-size:13px;font-weight:700;line-height:1.55;text-align:center}
body.site-shell .new-block{width:100%;margin:0 0 18px;padding:14px 15px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:var(--jk-r-md);background:var(--jk-muted-surface);box-shadow:none}
body.site-shell .block-content{gap:10px}.site-shell .ip,.site-shell .date-time,.site-shell .ping{color:var(--jk-muted)!important;font-size:11px!important}.site-shell .ip{color:var(--jk-ink-soft)!important;font-weight:800}
body.site-shell .slider{width:100%;min-height:112px;margin:0;overflow:hidden;border-radius:var(--jk-r-md);background:var(--jk-muted-surface)}body.site-shell .slider img{width:100%;height:132px;max-width:none;max-height:none;margin:0;object-fit:cover;border-radius:inherit}

/* Feed cards */
body.site-shell #post-container{display:flex;flex-direction:column;gap:14px}
body.site-shell .blog-post{position:relative;margin:0;padding:22px 22px 18px;overflow:hidden;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:var(--jk-r-lg);background:var(--jk-solid);box-shadow:var(--jk-shadow-xs);word-wrap:break-word;transition:transform .2s var(--jk-ease),border-color .2s ease,box-shadow .2s var(--jk-ease)}
body.site-shell .blog-post::before{position:absolute;inset:0 auto 0 0;width:4px;content:"";background:linear-gradient(180deg,var(--jk-sakura),var(--jk-lilac));opacity:.78}
body.site-shell .blog-post:hover{border-color:color-mix(in srgb,var(--jk-sakura) 28%,var(--jk-border));box-shadow:var(--jk-shadow-sm);transform:translateY(-2px)}
body.site-shell .post-header{align-items:flex-start;gap:18px}.site-shell .post-title{margin:0;color:var(--jk-ink);font-family:var(--jk-display);font-size:clamp(20px,2vw,25px);font-weight:850;line-height:1.15;letter-spacing:-.035em}
body.site-shell .post-date{flex:0 0 auto;margin:0;padding:6px 9px;color:var(--jk-muted);border:1px solid var(--jk-border);border-radius:11px;background:var(--jk-muted-surface);font-size:10px;font-weight:750;line-height:1.25;text-align:right}
body.site-shell .post-content,body.site-shell .blog-post>p{color:var(--jk-ink-soft);line-height:1.7}body.site-shell .post-content p:first-child,body.site-shell .blog-post>p{margin-top:14px}
body.site-shell .post-footer{gap:12px;margin-top:17px;padding-top:14px;color:var(--jk-muted);border-top:1px solid var(--jk-border);font-size:12px}
body.site-shell .post-stats{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.site-shell .post-stats span{margin:0;padding:4px 8px;border-radius:999px;background:var(--jk-muted-surface)}
body.site-shell .post-owner{padding:4px 9px;border-radius:999px;background:var(--jk-sakura-soft);font-weight:800}.site-shell .post-owner a{color:var(--jk-sakura-deep);text-decoration:none}
body.site-shell #loading{margin:16px 0 2px;padding:14px;color:var(--jk-muted);border:1px dashed var(--jk-border-strong);border-radius:var(--jk-r-md);background:var(--jk-muted-surface);text-align:center;font-size:12px;font-weight:700}
body.site-shell .feed-end{margin:4px 0 0;padding:13px;color:var(--jk-muted);border:1px dashed var(--jk-border-strong);border-radius:var(--jk-r-md);background:var(--jk-muted-surface);font-size:12px;font-weight:700;text-align:center}
html[data-theme="night"] body.site-shell .post-stats img{filter:invert(1) brightness(1.35);opacity:.72}

/* Community pulse */
body.site-shell .status-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.site-shell .status-square{width:auto;max-width:none;min-height:88px;height:auto;padding:12px 8px;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:var(--jk-r-md);background:var(--jk-muted-surface);transition:transform .16s var(--jk-ease),background .16s ease,border-color .16s ease}
body.site-shell .status-square:hover{border-color:color-mix(in srgb,var(--jk-sakura) 30%,var(--jk-border));background:var(--jk-sakura-soft);transform:translateY(-2px)}
body.site-shell .status-number,body.site-shell .status-number-bpm{margin:0 0 4px;color:var(--jk-sakura-deep);font-family:var(--jk-display);font-size:22px;font-weight:850;line-height:1}
body.site-shell .status-text{color:var(--jk-muted);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}body.site-shell img.status-text{width:auto;height:32px;object-fit:contain}
body.site-shell .status{margin:10px 0 0;padding:14px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:var(--jk-r-md);background:var(--jk-muted-surface)}.site-shell .status p{margin:0 0 11px;color:inherit;font-size:12px;font-weight:650}.site-shell .status p:last-child{margin-bottom:0}
body.site-shell .friend-icons-container{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.site-shell .friend-icon{width:100%;height:auto;aspect-ratio:1;margin:0;object-fit:cover;border:2px solid var(--jk-solid);border-radius:10px;box-shadow:0 2px 7px rgba(62,37,55,.09);transition:transform .18s var(--jk-ease),border-color .18s ease}.site-shell .friend-icon:hover{z-index:1;border-color:var(--jk-sakura);transform:translateY(-3px) scale(1.08) rotate(1deg)}

/* Cards, content pages and forms */
body.site-shell .form-container,body.site-shell .about-container,body.site-shell .contact-container,body.site-shell .profile-container,body.site-shell .alerts-container,body.site-shell .new-post-container{width:min(100%,760px);max-width:none;margin:0 auto;padding:clamp(22px,4vw,38px);color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:var(--jk-r-xl);background:var(--jk-solid);box-shadow:var(--jk-shadow-sm)}
body.site-shell .form-header,body.site-shell .about-header,body.site-shell .contact-header,body.site-shell .alerts-header{margin-bottom:26px;text-align:left}
body.site-shell .form-header::before,body.site-shell .about-header::before,body.site-shell .contact-header::before,body.site-shell .alerts-header::before{display:inline-flex;align-items:center;min-height:25px;margin-bottom:12px;padding:0 10px;color:var(--jk-sakura-deep);border-radius:999px;background:var(--jk-sakura-soft);content:"jk.ee diary";font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
body.site-shell .form-header h2,body.site-shell .about-header h2,body.site-shell .contact-header h2,body.site-shell .alerts-header h2,body.site-shell .new-post-form-container h2,body.site-shell .drafts-container h2{margin:0 0 7px;color:var(--jk-ink);font-family:var(--jk-display);font-size:clamp(27px,4vw,36px);font-weight:850;line-height:1.1;letter-spacing:-.04em}
body.site-shell .form-header p,body.site-shell .about-header p,body.site-shell .contact-header p,body.site-shell .alerts-header p{margin:0;color:var(--jk-muted);font-size:14px}.site-shell .form-body{display:grid;grid-template-columns:1fr;gap:0}
body.site-shell label{display:block;margin:0 0 7px;color:var(--jk-ink-soft);font-size:12px;font-weight:800}
body.site-shell input[type="text"],body.site-shell input[type="email"],body.site-shell input[type="password"],body.site-shell input[type="url"],body.site-shell select,body.site-shell textarea,body.site-shell .input-field,body.site-shell .textarea-field,body.site-shell #newPostForm input[type="text"],body.site-shell #newPostForm textarea{width:100%;min-height:48px;margin:0 0 17px;padding:11px 14px;color:var(--jk-ink);border:1px solid var(--jk-border-strong);border-radius:14px;outline:none;background:var(--jk-muted-surface);font-size:14px;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
body.site-shell textarea,body.site-shell .textarea-field{min-height:112px;resize:vertical}.site-shell input:focus,.site-shell select:focus,.site-shell textarea:focus,.site-shell .input-field:focus,.site-shell .textarea-field:focus{border-color:var(--jk-lilac);background:var(--jk-solid);box-shadow:0 0 0 4px color-mix(in srgb,var(--jk-lilac) 15%,transparent)}.site-shell input::placeholder,.site-shell textarea::placeholder{color:var(--jk-faint)}
body.site-shell .form-submit-button,body.site-shell .submit-comment-btn,body.site-shell .edit-btn,body.site-shell .save-btn,body.site-shell #newPostForm>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;color:#fff;border:0;border-radius:14px;background:linear-gradient(135deg,var(--jk-sakura),var(--jk-sakura-deep));box-shadow:0 9px 23px rgba(201,68,125,.2);font-size:13px;font-weight:800;cursor:pointer;transition:transform .16s var(--jk-ease),box-shadow .16s var(--jk-ease)}
body.site-shell .form-submit-button{width:100%;margin-top:4px}.site-shell .form-submit-button:hover,.site-shell .submit-comment-btn:hover,.site-shell .edit-btn:hover,.site-shell .save-btn:hover,.site-shell #newPostForm>button:hover{box-shadow:0 13px 30px rgba(201,68,125,.27);transform:translateY(-2px)}
body.site-shell .cancel-btn,body.site-shell #newPostForm>button[type="button"]{color:var(--jk-ink-soft);border:1px solid var(--jk-border);background:var(--jk-muted-surface);box-shadow:none}
body.site-shell .form-footer-text,body.site-shell .about-footer,body.site-shell .contact-footer,body.site-shell .profile-footer{margin-top:20px;color:var(--jk-muted);font-size:12px;text-align:center}
body.site-shell .about-body p,body.site-shell .contact-body p,body.site-shell .about-body li,body.site-shell .contact-body li{color:var(--jk-ink-soft);line-height:1.8}.site-shell .about-body h3,.site-shell .contact-body h3{margin:26px 0 8px;color:var(--jk-sakura-deep);font-family:var(--jk-display);font-size:19px}

/* Comments */
body.site-shell .comment-section{margin-top:20px;padding:20px;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:var(--jk-r-lg);background:var(--jk-muted-surface)}.site-shell .comment-form h4,.site-shell .comments-display h4{margin:0 0 14px;color:var(--jk-ink);font-family:var(--jk-display);font-size:19px}
body.site-shell .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:0}.site-shell .comment,.site-shell .comments-display .comment{margin-top:10px;padding:14px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:15px;background:var(--jk-solid)}.site-shell .reply-comment{margin:10px 0 0 14px;padding:0 0 0 13px;border-left:2px solid var(--jk-sakura);background:transparent}.site-shell .comment-author,.site-shell .comment-content{color:var(--jk-ink-soft)}.site-shell .reply-link{color:var(--jk-sakura-deep);font-size:11px;font-weight:800}

/* Profile, alerts and editor */
body.site-shell .profile-header{display:flex;align-items:center;gap:18px;padding:0 0 22px;border-bottom:1px solid var(--jk-border)}.site-shell .profile-icon-container{width:90px;height:90px}.site-shell .user-avatar{border:4px solid var(--jk-solid);box-shadow:var(--jk-shadow-sm)}.site-shell .upload-overlay{display:grid;place-items:center;padding:7px;border:2px solid var(--jk-solid);background:var(--jk-sakura-deep)}.site-shell .profile-info{min-width:0;margin:0}.site-shell .profile-info h2,.site-shell .profile-info p{margin:0;color:var(--jk-ink)}.site-shell .profile-body{padding:24px 0 0}.site-shell .info-group{padding:12px 0;border-bottom:1px solid var(--jk-border)}.site-shell .info-group p{margin:0;color:var(--jk-ink-soft)}
body.site-shell .alert-item,body.site-shell .draft-item{margin:0 0 10px;padding:14px 16px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:15px;background:var(--jk-muted-surface);box-shadow:none}.site-shell .new-post-container{width:min(100%,940px)}.site-shell .drafts-container{margin-bottom:28px}
body.site-shell .editor-container{overflow:hidden;border:1px solid var(--jk-border-strong);border-radius:var(--jk-r-md);background:var(--jk-solid)}.site-shell .editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border-bottom:1px solid var(--jk-border);background:var(--jk-muted-surface)}.site-shell .toolbar-btn{min-height:34px;margin:0;padding:0 11px;color:var(--jk-ink-soft);border:1px solid var(--jk-border);border-radius:10px;background:var(--jk-solid);box-shadow:none;font-size:11px}.site-shell .toolbar-btn:hover{color:var(--jk-sakura-deep);background:var(--jk-sakura-soft)}.site-shell .editor-area,.site-shell .preview-area{min-height:280px;color:var(--jk-ink);background:var(--jk-solid)}
body.site-shell pre{max-width:100%;overflow-x:auto;padding:14px;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:14px;background:var(--jk-muted-surface);box-shadow:none;white-space:pre-wrap;word-wrap:break-word}

/* Notices, image viewer and utility controls */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.site-shell .warning-popup{position:fixed;z-index:10010;top:auto;right:20px;bottom:20px;width:min(380px,calc(100% - 32px));min-width:0;max-width:none;padding:16px 48px 16px 17px;color:var(--jk-ink);border:1px solid color-mix(in srgb,var(--jk-sakura) 34%,var(--jk-border));border-radius:18px;background:color-mix(in srgb,var(--jk-solid) 94%,var(--jk-sakura-soft));box-shadow:var(--jk-shadow-lg);backdrop-filter:blur(18px);animation:jk-toast-in .28s var(--jk-ease) both}
body.site-shell .warning-popup h3{margin:0 0 2px;color:var(--jk-sakura-deep);font-family:var(--jk-display);font-size:14px}body.site-shell .warning-popup p{margin:0;color:var(--jk-ink-soft);font-size:12px;line-height:1.5}
body.site-shell .close-btn{position:absolute;top:0;right:-34px;width:30px;height:30px;display:grid;place-items:center;padding:0;color:var(--jk-muted);border:1px solid var(--jk-border);border-radius:10px;background:var(--jk-muted-surface);font-size:18px;line-height:1;cursor:pointer}
body.site-shell .progress-bar{position:absolute;right:0;bottom:-16px;left:0;width:100%;height:3px;margin:0;border-radius:0 0 18px 18px;background:linear-gradient(90deg,var(--jk-sakura),var(--jk-lilac))}
body.site-shell .imgModal-container{position:fixed;inset:0;z-index:10000;width:100%;height:100%;padding:clamp(18px,4vw,54px);align-items:center;justify-content:center;background:rgba(27,18,29,.82);backdrop-filter:blur(14px)}
body.site-shell .imgModal-content{max-width:min(1040px,92vw);max-height:86vh;overflow:auto;border-radius:var(--jk-r-lg);box-shadow:var(--jk-shadow-lg)}body.site-shell .imgModal-content img{width:auto;max-width:100%;max-height:84vh;display:block;margin:auto;border-radius:inherit;object-fit:contain}
body.site-shell .imgModal-close{position:fixed;z-index:1;top:22px;right:22px;width:44px;height:44px;display:grid;place-items:center;padding:0;color:#fff;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:rgba(255,255,255,.1);font-size:26px;line-height:1;cursor:pointer;backdrop-filter:blur(10px)}
.jk-scroll-top{position:fixed;z-index:900;right:20px;bottom:20px;width:46px;height:46px;display:grid;place-items:center;padding:0;color:#fff;border:0;border-radius:15px;background:linear-gradient(135deg,var(--jk-sakura),var(--jk-lilac));box-shadow:0 13px 30px rgba(105,68,126,.25);cursor:pointer;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .18s ease,transform .18s var(--jk-ease)}.jk-scroll-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
body.site-shell.modal-open{overflow:hidden}.navbar.is-scrolled{box-shadow:0 14px 36px rgba(66,39,60,.12)}
.site-footer{width:min(1440px,calc(100% - 28px));display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto;padding:1px 12px 14px;color:var(--jk-muted);font-size:10px;text-align:center}.site-footer strong{color:var(--jk-sakura-deep);font-family:var(--jk-display);font-size:12px}.site-footer span+span::before{margin-right:10px;color:var(--jk-faint);content:"·"}

/* Responsive rhythm */
@media (max-width:1180px){
  body.site-shell>main.container{height:auto;min-height:calc(100vh - 96px);min-height:calc(100dvh - 96px)}
  body.site-shell .main{height:auto;grid-template-columns:minmax(220px,252px) minmax(0,1fr);align-items:start;overflow:visible}
  body.site-shell .sidebar-left,body.site-shell .main-content,body.site-shell .sidebar-right{height:auto;overflow:visible}
  body.site-shell .sidebar-left{position:sticky;top:88px}
  body.site-shell .sidebar-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px}
  body.site-shell .sidebar-right>.right-panel-title{grid-column:1/-1;margin-bottom:0}body.site-shell .sidebar-right>.status-container{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:0!important}body.site-shell .sidebar-right>.status-container:nth-of-type(2){grid-template-columns:repeat(3,minmax(0,1fr))}.site-shell .sidebar-right>.status{margin:0}
  body.site-shell .friend-icons-container{grid-template-columns:repeat(8,minmax(0,1fr))}
}
@media (max-width:940px){
  body.site-shell .navbar{width:calc(100% - 20px);min-height:64px;margin:10px auto;padding:8px 10px}
  body.site-shell .navbar-brand{margin-right:auto}.brand-copy small{display:none}.nav-toggle{display:grid}
  body.site-shell .navbar-left,body.site-shell .navbar-right{position:absolute;top:calc(100% + 7px);right:0;left:0;display:none;flex-wrap:wrap;padding:9px;border:1px solid var(--jk-border);background:var(--jk-solid);box-shadow:var(--jk-shadow-md)}
  body.site-shell .navbar-left{border-radius:18px 18px 0 0}body.site-shell .navbar-right{top:calc(100% + 66px);justify-content:flex-start;border-top:0;border-radius:0 0 18px 18px}
  body.site-shell .navbar.nav-open .navbar-left,body.site-shell .navbar.nav-open .navbar-right{display:flex}
  body.site-shell .navbar a:not(.navbar-brand){min-height:39px;padding:0 11px}body.site-shell .navbar-right{margin-left:0}
  body.site-shell>main.container{width:calc(100% - 20px);margin:10px auto}
  body.site-shell .main{gap:12px;grid-template-columns:218px minmax(0,1fr)}
  body.site-shell .sidebar-left,body.site-shell .main-content,body.site-shell .sidebar-right{padding:18px;border-radius:24px}
  body.site-shell .profile-pic{width:112px;height:112px;border-radius:34px}.site-shell .buttons-container{grid-template-columns:1fr}.site-shell .theme-button{min-height:36px}
  .site-footer{width:calc(100% - 20px)}
}
@media (max-width:720px){
  body.site-shell{font-size:14px}
  body.site-shell .navbar{top:8px;margin:8px auto}.site-shell .brand-mark{width:38px;height:38px;border-radius:13px}.site-shell .brand-copy strong{font-size:16px}
  body.site-shell .main{display:flex;flex-direction:column;gap:11px}
  body.site-shell .sidebar-left,body.site-shell .main-content,body.site-shell .sidebar-right{width:100%;max-width:none;margin:0}
  body.site-shell .sidebar-left{position:relative;top:auto;display:grid;grid-template-columns:94px minmax(0,1fr);align-items:center;column-gap:16px;text-align:left}
  body.site-shell .sidebar-left>.panel-kicker{grid-column:1/-1;margin-bottom:5px}.site-shell .profile-pic{grid-row:2/5;width:94px;height:94px;margin:0;border-radius:29px}.site-shell .name-and-badge{justify-content:flex-start}.site-shell .name-and-badge h3{font-size:22px}.site-shell .username{text-align:left}.site-shell .buttons-container{grid-column:1/-1;grid-template-columns:repeat(3,1fr);margin:14px 0 13px}.site-shell .sidebar-left>hr{grid-column:1/-1}.site-shell .sidebar-block,.site-shell .new-block,.site-shell .sidebar-left>.slider{grid-column:1/-1}.site-shell .sidebar-left>.slider{display:none}
  body.site-shell .main-content{order:2;padding:14px!important;background:color-mix(in srgb,var(--jk-surface) 82%,transparent)!important}body.site-shell .sidebar-left{order:1}body.site-shell .sidebar-right{order:3;display:grid;grid-template-columns:1fr;gap:10px;padding:14px}
  body.site-shell .sidebar-right>.right-panel-title{margin:4px 4px 0}body.site-shell .sidebar-right>.status-container{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}body.site-shell .sidebar-right>.status-container:nth-of-type(2){grid-template-columns:repeat(3,minmax(0,1fr))}
  body.site-shell .status-square{min-height:75px;padding:10px 4px}.site-shell .status-number,.site-shell .status-number-bpm{font-size:18px}.site-shell .status-text{font-size:8px}.site-shell img.status-text{height:25px}
  body.site-shell .friend-icons-container{grid-template-columns:repeat(8,minmax(0,1fr))}
  body.site-shell .blog-post{padding:18px 17px 15px;border-radius:20px}.site-shell .blog-post::before{width:3px}.site-shell .post-header{display:block}.site-shell .post-title{font-size:21px}.site-shell .post-date{display:inline-flex;margin-top:8px;text-align:left}.site-shell .post-footer{align-items:flex-start;flex-direction:column}.site-shell .post-owner{align-self:flex-start}
  body.site-shell .form-container,body.site-shell .about-container,body.site-shell .contact-container,body.site-shell .profile-container,body.site-shell .alerts-container,body.site-shell .new-post-container{padding:21px 17px;border-radius:22px}
  body.site-shell .form-row{grid-template-columns:1fr;gap:0}.site-shell .profile-header{align-items:flex-start;flex-direction:column}.site-shell .profile-icon-container{width:78px;height:78px}
  body.site-shell .warning-popup{right:12px;bottom:12px;width:calc(100% - 24px)}.jk-scroll-top{right:13px;bottom:13px}
  .site-footer{flex-wrap:wrap;padding:7px 14px 18px}.site-footer span:last-child{flex-basis:100%}.site-footer span:last-child::before{content:""}
}
@media (max-width:480px){
  .theme-toggle,.nav-toggle{width:39px;height:39px}body.site-shell .navbar-left,body.site-shell .navbar-right{gap:2px}body.site-shell .navbar-right{top:calc(100% + 66px)}
  body.site-shell .sidebar-left{grid-template-columns:78px minmax(0,1fr);padding:15px}.site-shell .profile-pic{width:78px;height:78px;border-radius:24px}.site-shell .buttons-container{gap:5px}.site-shell .theme-button{padding:0 5px;font-size:11px}
  body.site-shell .main-content{padding:10px!important}.site-shell #post-container{gap:10px}.site-shell .blog-post{padding:17px 14px 14px}.site-shell .post-title{font-size:19px}.site-shell .post-content{line-height:1.65}
  body.site-shell .sidebar-right>.status-container{grid-template-columns:repeat(2,minmax(0,1fr))}body.site-shell .sidebar-right>.status-container:nth-of-type(2){grid-template-columns:repeat(3,minmax(0,1fr))}body.site-shell .friend-icons-container{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@media (prefers-contrast:more){body.site-shell{--jk-border:rgba(72,45,67,.35);--jk-border-strong:rgba(72,45,67,.56)}html[data-theme="night"] body.site-shell{--jk-border:rgba(255,255,255,.32);--jk-border-strong:rgba(255,255,255,.55)}}
@keyframes jk-page-in{from{opacity:0}to{opacity:1}}@keyframes jk-toast-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}

/* --------------------------------------------------------------------------
   Editorial architecture — the homepage is a journal, not a dashboard.
   Legacy hooks remain in place, but their visual and spatial roles are new.
   -------------------------------------------------------------------------- */
:root{--jk-editorial:"Fraunces",Georgia,serif;--jk-mint-deep:#367f70;--jk-hero-cream:#fffaf5}
html[data-theme="night"]{--jk-mint-deep:#8bd6c2;--jk-hero-cream:#251d29}

body.site-shell.view-home>main.container,
body.site-shell.view-focus>main.container{width:min(1320px,calc(100% - 32px));height:auto;min-height:0;margin:22px auto 0}

body.site-shell.view-home .main{height:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);grid-template-areas:"hero hero" "feed discover";align-items:start;gap:42px 38px;overflow:visible}

/* Editorial hero */
body.site-shell .site-hero{grid-area:hero;min-height:510px;display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);overflow:hidden;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:38px;background:var(--jk-hero-cream);box-shadow:0 24px 70px rgba(66,39,60,.11)}
.site-hero .hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:58px 42px 54px 58px}
.site-hero .hero-copy::after{position:absolute;z-index:-1;right:-72px;bottom:-100px;width:240px;height:240px;content:"";border:1px solid color-mix(in srgb,var(--jk-sakura) 22%,transparent);border-radius:50%;box-shadow:0 0 0 28px color-mix(in srgb,var(--jk-sakura) 4%,transparent),0 0 0 60px color-mix(in srgb,var(--jk-lilac) 3%,transparent)}
.hero-eyebrow,.section-eyebrow{margin:0 0 18px;color:var(--jk-mint-deep);font-size:10px;font-weight:850;letter-spacing:.145em;text-transform:uppercase}.hero-eyebrow span{width:7px;height:7px;display:inline-block;margin-right:8px;border-radius:50%;background:var(--jk-mint);box-shadow:0 0 0 5px var(--jk-mint-soft)}
.site-hero h1{max-width:590px;margin:0;color:var(--jk-ink);font-family:var(--jk-editorial);font-size:clamp(48px,4.5vw,67px);font-weight:600;line-height:.98;letter-spacing:-.055em}.site-hero h1 em{display:block;color:var(--jk-sakura-deep);font-style:italic;font-weight:600}
.hero-intro{max-width:540px;margin:24px 0 0;color:var(--jk-ink-soft);font-size:15px;line-height:1.75}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:30px}.hero-actions a{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:0 18px;border-radius:15px;font-size:12px;font-weight:800;text-decoration:none;transition:transform .18s var(--jk-ease),box-shadow .18s ease,background .18s ease}.hero-actions a:hover{transform:translateY(-2px)}.hero-primary{color:#fff!important;background:linear-gradient(135deg,var(--jk-sakura),var(--jk-sakura-deep));box-shadow:0 12px 28px rgba(201,68,125,.22)}.hero-secondary{color:var(--jk-ink-soft)!important;border:1px solid var(--jk-border-strong);background:var(--jk-solid)}
.hero-byline{display:flex;align-items:center;gap:11px;margin-top:27px;color:var(--jk-muted);font-size:11px}.hero-byline img{width:40px;height:40px;object-fit:cover;border:3px solid var(--jk-solid);border-radius:13px;box-shadow:var(--jk-shadow-xs)}.hero-byline strong{display:block;color:var(--jk-ink-soft);font-size:12px}
.site-hero .hero-media{position:relative;min-width:0;min-height:510px;margin:0;overflow:hidden;background:var(--jk-mint-soft)}.site-hero .hero-media::after{position:absolute;inset:auto 0 0;height:42%;pointer-events:none;content:"";background:linear-gradient(to top,rgba(24,42,37,.48),transparent)}.site-hero .hero-media>img{width:100%;height:100%;display:block;object-fit:cover;object-position:61% center;transition:transform 1s var(--jk-ease)}.site-hero:hover .hero-media>img{transform:scale(1.018)}
.hero-media figcaption{position:absolute;z-index:2;top:22px;right:22px;display:flex;flex-direction:column;align-items:flex-end;padding:10px 13px;color:#fff;border:1px solid rgba(255,255,255,.32);border-radius:13px;background:rgba(28,54,47,.36);font-size:9px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(10px)}.hero-media figcaption span{font-size:8px;opacity:.72}
.hero-stat-ribbon{position:absolute;z-index:2;right:20px;bottom:20px;left:20px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;color:#fff;border:1px solid rgba(255,255,255,.28);border-radius:18px;background:rgba(30,48,43,.55);backdrop-filter:blur(16px)}.hero-stat-ribbon>div{padding:13px 15px;border-right:1px solid rgba(255,255,255,.18)}.hero-stat-ribbon>div:last-child{border-right:0}.hero-stat-ribbon strong{display:block;font-family:var(--jk-editorial);font-size:21px;font-weight:600;line-height:1}.hero-stat-ribbon span{display:block;margin-top:4px;font-size:8px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;opacity:.78}

/* Story index */
body.site-shell.view-home .main-content{grid-area:feed;min-width:0;width:100%;max-width:none;height:auto!important;margin:0;padding:0!important;overflow:visible!important;border:0;border-radius:0;background:transparent!important;box-shadow:none;backdrop-filter:none}
.diary-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin:0 0 10px;padding:6px 2px 25px;border-bottom:1px solid var(--jk-border-strong)}.diary-section-head>div{max-width:630px}.diary-section-head .section-eyebrow{margin-bottom:10px}.diary-section-head h2{margin:0;color:var(--jk-ink);font-family:var(--jk-editorial);font-size:clamp(38px,4vw,52px);font-weight:600;line-height:1;letter-spacing:-.045em}.diary-section-head p:last-child{margin:12px 0 0;color:var(--jk-muted);font-size:13px}.diary-section-head>a{flex:0 0 auto;display:inline-flex;align-items:center;gap:11px;margin-bottom:4px;padding:9px 0;color:var(--jk-ink-soft);border-bottom:1px solid var(--jk-border-strong);font-size:11px;font-weight:800;text-decoration:none}.diary-section-head>a:hover{color:var(--jk-sakura-deep);border-color:var(--jk-sakura)}
body.site-shell.view-home #post-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;counter-reset:story}
body.site-shell.view-home .blog-post{position:relative;min-width:0;min-height:250px;display:flex;flex-direction:column;margin:0;padding:31px 0 28px 55px;overflow:visible;color:var(--jk-ink);border:0;border-bottom:1px solid var(--jk-border-strong);border-radius:0;background:transparent;box-shadow:none;counter-increment:story;cursor:pointer;transition:transform .2s var(--jk-ease),color .2s ease}
body.site-shell.view-home .blog-post::before{position:absolute;inset:33px auto auto 0;width:auto;height:auto;content:counter(story,decimal-leading-zero);color:var(--jk-sakura-deep);background:none;font-family:var(--jk-editorial);font-size:20px;font-weight:600;line-height:1;opacity:.72}
body.site-shell.view-home .blog-post:hover{border-color:var(--jk-border-strong);box-shadow:none;transform:translateX(4px)}
body.site-shell.view-home .blog-post:first-child{grid-column:1/-1;min-height:272px;margin:17px 0 12px;padding:42px 42px 36px 112px;overflow:hidden;border:1px solid color-mix(in srgb,var(--jk-sakura) 20%,var(--jk-border));border-radius:30px;background:radial-gradient(circle at 92% 14%,rgba(255,255,255,.7) 0 7px,transparent 8px),linear-gradient(135deg,var(--jk-sakura-soft),color-mix(in srgb,var(--jk-lilac-soft) 54%,var(--jk-solid)));box-shadow:var(--jk-shadow-xs)}
body.site-shell.view-home .blog-post:first-child::before{top:46px;left:37px;color:var(--jk-sakura-deep);font-size:45px;letter-spacing:-.06em;opacity:.42}
body.site-shell.view-home .blog-post:first-child:hover{box-shadow:var(--jk-shadow-sm);transform:translateY(-2px)}
body.site-shell.view-home .post-header{align-items:flex-start;gap:18px}.site-shell.view-home .post-title{font-family:var(--jk-editorial);font-size:clamp(24px,2.3vw,31px);font-weight:600;line-height:1.1;letter-spacing:-.035em}.site-shell.view-home .blog-post:first-child .post-title{max-width:720px;font-size:clamp(31px,3vw,42px)}
body.site-shell.view-home .post-date{padding:5px 8px;border:0;border-radius:0;background:transparent;font-size:9px;letter-spacing:.05em;text-transform:uppercase}.site-shell.view-home .blog-post>p{display:-webkit-box;margin:17px 0 0;overflow:hidden;color:var(--jk-ink-soft);font-size:13px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:5}.site-shell.view-home .blog-post:first-child>p{max-width:760px;font-size:14px;-webkit-line-clamp:3}
body.site-shell.view-home .post-footer{margin-top:auto;padding-top:17px;border-top:1px solid var(--jk-border)}.site-shell.view-home .post-stats span{background:color-mix(in srgb,var(--jk-muted-surface) 76%,transparent)}.site-shell.view-home .post-owner{background:var(--jk-solid)}
body.site-shell.view-home .blog-post:last-of-type:nth-child(even){grid-column:1/-1;min-height:220px}.site-shell.view-home .blog-post:last-of-type:nth-child(even)>p{max-width:760px}
body.site-shell.view-home #loading,body.site-shell.view-home .feed-end{grid-column:1/-1;margin-top:20px}

/* Discovery rail */
body.site-shell.view-home .sidebar-right{grid-area:discover;position:sticky;top:92px;width:100%;max-width:none;height:auto!important;display:block;margin:0;padding:28px;overflow:visible!important;color:var(--jk-ink);border:1px solid var(--jk-border);border-radius:30px;background:var(--jk-solid);box-shadow:var(--jk-shadow-xs);backdrop-filter:none}
.discovery-head{margin:0 0 22px}.discovery-head .panel-kicker{margin:0 0 8px}.discovery-head h2{margin:0;color:var(--jk-ink);font-family:var(--jk-editorial);font-size:32px;font-weight:600;line-height:1;letter-spacing:-.04em}.discovery-head>p:last-child{margin:10px 0 0;color:var(--jk-muted);font-size:11px;line-height:1.6}
body.site-shell.view-home .sidebar-right>.status-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0!important}.site-shell.view-home .sidebar-right>.rhythm-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:7px!important}
body.site-shell.view-home .status-square{min-height:83px;padding:13px 7px;border:0;border-radius:16px;background:var(--jk-muted-surface)}.site-shell.view-home .status-square:nth-child(1){background:var(--jk-sakura-soft)}.site-shell.view-home .status-square:nth-child(2){background:var(--jk-lilac-soft)}.site-shell.view-home .status-number,.site-shell.view-home .status-number-bpm{font-family:var(--jk-editorial);font-size:23px;font-weight:600}.site-shell.view-home .status-text{font-size:8px}
body.site-shell.view-home .sidebar-right>.status{margin:10px 0 0;padding:16px;border:0;border-radius:18px;background:var(--jk-muted-surface)}body.site-shell.view-home .sidebar-right>.daily-note{background:linear-gradient(135deg,var(--jk-mint-soft),color-mix(in srgb,var(--jk-sakura-soft) 42%,var(--jk-solid)))}.daily-note>span,.visitor-heading>span{color:var(--jk-mint-deep);font-size:8px;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.daily-note p{margin:7px 0 0!important;font-family:var(--jk-editorial);font-size:13px!important;font-weight:600!important;line-height:1.5}
.visitor-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.visitor-heading small{color:var(--jk-muted);font-size:8px}.site-shell.view-home .visitor-card p{display:none}.site-shell.view-home .friend-icons-container{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.site-shell.view-home .friend-icon{border-radius:8px}

/* Focus routes: auth, static pages, profile, editor and individual posts. */
body.site-shell.view-focus>main.container{width:min(960px,calc(100% - 32px));min-height:calc(100vh - 160px);margin-top:28px}
body.site-shell.view-focus .main{height:auto;display:block;overflow:visible}
body.site-shell.view-focus .site-hero,body.site-shell.view-focus .sidebar-left,body.site-shell.view-focus .sidebar-right{display:none!important}
body.site-shell.view-focus .main-content{width:100%;max-width:none;height:auto!important;margin:0;padding:0!important;overflow:visible!important;border:0;border-radius:0;background:transparent!important;box-shadow:none;backdrop-filter:none}
body.site-shell.view-focus #post-container{display:block}
body.site-shell.view-focus .form-header h2,body.site-shell.view-focus .about-header h2,body.site-shell.view-focus .contact-header h2,body.site-shell.view-focus .alerts-header h2,body.site-shell.view-focus .new-post-form-container h2,body.site-shell.view-focus .drafts-container h2{font-family:var(--jk-editorial);font-weight:600;letter-spacing:-.04em}
body.site-shell.view-post #post-container{width:min(100%,820px);margin:0 auto}
body.site-shell.view-post .blog-post{padding:clamp(24px,5vw,52px);border:1px solid var(--jk-border);border-radius:30px;background:var(--jk-solid);box-shadow:var(--jk-shadow-sm);cursor:default}
body.site-shell.view-post .blog-post::before{display:none}.site-shell.view-post .blog-post>p{display:block;overflow:visible;font-size:15px;line-height:1.85;-webkit-line-clamp:unset}.site-shell.view-post .post-title{font-family:var(--jk-editorial);font-size:clamp(34px,5vw,50px);font-weight:600;letter-spacing:-.045em}
body.site-shell.view-post .comment-section{border-radius:28px}.site-shell.view-post .comment-form h4,.site-shell.view-post .comments-display h4{font-family:var(--jk-editorial);font-size:22px;font-weight:600}

/* Structural responsive behavior */
@media (max-width:1120px){
  body.site-shell.view-home .main{grid-template-columns:minmax(0,1fr) 300px;gap:28px 22px}
  body.site-shell .site-hero{min-height:450px;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}.site-hero .hero-copy{padding:44px 32px 42px 42px}.site-hero .hero-media{min-height:450px}.site-hero h1{font-size:clamp(44px,5vw,57px)}
  body.site-shell.view-home .sidebar-right{padding:22px}
}
@media (max-width:900px){
  body.site-shell.view-home>main.container{width:calc(100% - 20px);margin-top:14px}
  body.site-shell.view-home .main{grid-template-columns:1fr;grid-template-areas:"hero" "feed" "discover";gap:28px}
  body.site-shell .site-hero{min-height:430px;grid-template-columns:.92fr 1.08fr;border-radius:30px}.site-hero .hero-copy{padding:38px 27px 36px 34px}.site-hero .hero-media{min-height:430px}.site-hero h1{font-size:clamp(40px,6vw,51px)}.hero-intro{font-size:13px}.hero-stat-ribbon{right:14px;bottom:14px;left:14px}.hero-stat-ribbon>div{padding:11px 9px}.hero-stat-ribbon strong{font-size:18px}
  body.site-shell.view-home .sidebar-right{position:relative;top:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:22px}.site-shell.view-home .discovery-head{grid-column:1/-1}.site-shell.view-home .sidebar-right>.status-container{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}.site-shell.view-home .sidebar-right>.rhythm-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.site-shell.view-home .sidebar-right>.status{margin:0}.site-shell.view-home .visitor-card{grid-column:2}.site-shell.view-home .daily-note{grid-column:1}
}
@media (max-width:720px){
  body.site-shell.view-home>main.container,body.site-shell.view-focus>main.container{width:calc(100% - 16px);margin-top:12px}
  body.site-shell .site-hero{display:flex;flex-direction:column;min-height:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.site-hero .hero-media{order:1;min-height:300px;border:1px solid var(--jk-border);border-radius:28px;box-shadow:var(--jk-shadow-sm)}.site-hero .hero-copy{order:2;margin:-25px 10px 0;padding:32px 24px 27px;border:1px solid var(--jk-border);border-radius:26px;background:var(--jk-hero-cream);box-shadow:var(--jk-shadow-sm)}.site-hero .hero-copy::after{display:none}.site-hero h1{font-size:clamp(37px,11vw,48px)}.hero-eyebrow{margin-bottom:14px;font-size:8px}.hero-intro{margin-top:18px;line-height:1.65}.hero-actions{margin-top:23px}.hero-byline{margin-top:22px}.hero-media figcaption{top:14px;right:14px}.hero-stat-ribbon{right:12px;bottom:12px;left:12px}.hero-stat-ribbon span{font-size:7px}
  .site-hero .hero-media>img{position:absolute;inset:0;height:100%;object-position:61% center}.hero-media figcaption{right:auto;left:14px;align-items:flex-start}
  .diary-section-head{align-items:flex-start;flex-direction:column;padding:2px 3px 21px}.diary-section-head h2{font-size:40px}.diary-section-head>a{margin:0}.diary-section-head p:last-child{font-size:12px}
  body.site-shell.view-home #post-container{grid-template-columns:1fr;gap:0}.site-shell.view-home .blog-post{min-height:0;padding:27px 4px 25px 48px}.site-shell.view-home .blog-post::before{top:29px;font-size:16px}.site-shell.view-home .blog-post:first-child{padding:31px 20px 28px 72px;border-radius:24px}.site-shell.view-home .blog-post:first-child::before{top:36px;left:20px;font-size:30px}.site-shell.view-home .blog-post:first-child .post-title{font-size:29px}.site-shell.view-home .post-title{font-size:24px}.site-shell.view-home .post-date{margin-top:7px}.site-shell.view-home .blog-post>p{font-size:13px;-webkit-line-clamp:4}.site-shell.view-home .blog-post:last-of-type:nth-child(even){grid-column:auto;min-height:0}
  body.site-shell.view-home .sidebar-right{display:block;padding:19px;border-radius:24px}.site-shell.view-home .sidebar-right>.status-container{grid-template-columns:repeat(2,minmax(0,1fr))}.site-shell.view-home .sidebar-right>.rhythm-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:7px!important}.site-shell.view-home .sidebar-right>.status{margin-top:9px}.site-shell.view-home .friend-icons-container{display:flex;gap:7px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:none}.site-shell.view-home .friend-icons-container::-webkit-scrollbar{display:none}.site-shell.view-home .friend-icon{width:44px;flex:0 0 44px}
  body.site-shell.view-focus>main.container{min-height:calc(100vh - 145px)}
}
@media (max-width:480px){
  .site-hero .hero-media{min-height:255px}.site-hero .hero-copy{margin-top:-18px;padding:27px 20px 23px}.site-hero h1{font-size:36px}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions a{width:100%}.hero-byline{display:none}.hero-stat-ribbon>div{padding:9px 6px}.hero-stat-ribbon strong{font-size:16px}.hero-stat-ribbon span{font-size:8px;letter-spacing:.04em}
  .diary-section-head h2{font-size:36px}.site-shell.view-home .blog-post:first-child{padding-left:58px}.site-shell.view-home .blog-post:first-child::before{left:16px;font-size:26px}.site-shell.view-home .post-header{display:block}.site-shell.view-home .status-text{font-size:9px}
}


body.site-shell #diary-feed{scroll-margin-top:100px}

/* Field-note edition: remove dashboard furniture and let the stories breathe. */
body.site-shell.view-home .main{grid-template-areas:"hero hero" "feed discover";gap:42px 38px}
body.site-shell.view-home .sidebar-right.field-note{grid-area:discover;position:sticky;top:96px;width:100%;height:auto!important;display:block;margin:0;padding:0;overflow:visible!important;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.field-note-image{position:relative;width:100%;aspect-ratio:4/5;margin:0;overflow:hidden;border:1px solid var(--jk-border);border-radius:28px;background:var(--jk-muted-surface);box-shadow:var(--jk-shadow-xs)}
.field-note-image img{width:100%;height:100%;display:block;object-fit:cover;object-position:62% center;transition:transform .7s var(--jk-ease)}.field-note:hover .field-note-image img{transform:scale(1.018)}
.field-note-image::after{position:absolute;inset:auto 0 0;height:34%;pointer-events:none;content:"";background:linear-gradient(to top,rgba(20,28,25,.58),transparent)}
.field-note-image figcaption{position:absolute;z-index:1;right:16px;bottom:15px;left:16px;color:#fff;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.field-note-copy{padding:27px 2px 25px;border-bottom:1px solid var(--jk-border-strong)}.field-note-copy .section-eyebrow{margin-bottom:10px}.field-note-copy h2{margin:0;color:var(--jk-ink);font-family:var(--jk-editorial);font-size:clamp(29px,2.6vw,36px);font-weight:600;line-height:1.02;letter-spacing:-.045em}.field-note-copy>p:last-child{margin:15px 0 0;color:var(--jk-ink-soft);font-size:12px;line-height:1.75}
.field-note-themes{padding:23px 2px 18px;border-bottom:1px solid var(--jk-border-strong)}.field-note-themes>span{color:var(--jk-muted);font-size:8px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}.field-note-themes ol{margin:12px 0 0;padding:0;list-style:none}.field-note-themes li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:13px 0;border-top:1px solid var(--jk-border)}.field-note-themes li>span{color:var(--jk-sakura-deep);font-family:var(--jk-editorial);font-size:15px}.field-note-themes li div{display:flex;flex-direction:column}.field-note-themes strong{color:var(--jk-ink-soft);font-size:11px}.field-note-themes small{margin-top:3px;color:var(--jk-muted);font-size:9px;line-height:1.5}
.field-note-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:20px 0 0}.field-note-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 10px;color:var(--jk-ink-soft);border:1px solid var(--jk-border-strong);border-radius:13px;background:var(--jk-solid);font-size:10px;font-weight:800;text-align:center;text-decoration:none;transition:color .16s ease,border-color .16s ease,transform .16s var(--jk-ease)}.field-note-actions a:hover{color:var(--jk-sakura-deep);border-color:var(--jk-sakura);transform:translateY(-2px)}

@media (max-width:900px){
  body.site-shell.view-home .main{grid-template-areas:"hero" "feed" "discover";gap:28px}
  body.site-shell.view-home .sidebar-right.field-note{position:relative;top:auto;display:grid;grid-template-columns:minmax(260px,.86fr) minmax(0,1.14fr);grid-template-areas:"field-image field-copy" "field-image field-themes" "field-image field-actions";gap:0 28px;padding:0;border:0;background:transparent;box-shadow:none}
  .field-note-image{grid-area:field-image;height:100%;min-height:520px;aspect-ratio:auto}.field-note-copy{grid-area:field-copy;padding-top:8px}.field-note-themes{grid-area:field-themes}.field-note-actions{grid-area:field-actions;align-self:end;padding-bottom:4px}
}
@media (max-width:620px){
  body.site-shell.view-home .sidebar-right.field-note{display:block}
  .field-note-image{width:100%;height:auto;min-height:0;aspect-ratio:4/3;border-radius:24px}.field-note-image img{object-position:62% 34%}
  .field-note-copy{padding-top:24px}.field-note-actions{padding-bottom:0}
}
