/* Entry screens use a neutral palette; signed-in screens keep their own theme. */
body:has(.entry-layout){--accent:#171717;--accent-soft:#eeeeee;--on-accent:#fff;--accent-hover:#353535;--avatar-text:#454545;--shadow:#0000000c}
[data-theme="dark"] body:has(.entry-layout){--accent:#f4f4f4;--accent-soft:#282828;--on-accent:#171717;--accent-hover:#dcdcdc;--avatar-text:#ddd;--shadow:#00000040}
body:has(.entry-layout) .theme-mini-photo{background:#d9d9d9}body:has(.entry-layout) .dark .theme-mini-photo{background:#575757}
.entry-layout{--entry-surface:#fff;--entry-input:#fafafa;--entry-line:#dedede;--entry-text:#171717;--entry-muted:#727272;--entry-hover:#f2f2f2;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:86px;min-height:100dvh;max-width:1180px;margin:auto;padding:28px 32px;background:var(--bg);color:var(--entry-text)}
[data-theme="dark"] .entry-layout{--entry-surface:#161616;--entry-input:#161616;--entry-line:#363636;--entry-text:#f4f4f4;--entry-muted:#a7a7a7;--entry-hover:#252525}
.entry-showcase{position:relative;align-self:center;width:100%;max-width:640px;height:640px;min-width:0;pointer-events:none;user-select:none}
.entry-post{position:absolute;overflow:hidden;background:var(--entry-surface);border:1px solid var(--entry-line);border-radius:10px;box-shadow:0 10px 30px #00000009,0 3px 8px #00000007}
.entry-post-main{top:0;left:0;width:63%;z-index:2}.entry-post-secondary{top:104px;right:0;width:38%;z-index:1}
.entry-post-header{display:flex;align-items:center;gap:10px;min-height:69px;padding:13px 16px}.entry-post-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--entry-hover);color:var(--entry-text);font-size:13px;font-weight:650}.entry-post-author{min-width:0;flex:1}.entry-post-author strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;font-weight:650}.entry-post-author small{display:block;font-size:10px;color:var(--entry-muted);margin-top:3px}.entry-post-header>.icon{width:19px;height:19px;color:var(--entry-muted)}
.entry-post-photo{overflow:hidden;background:var(--entry-hover)}.entry-post-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center}.entry-post-secondary .entry-post-photo img{aspect-ratio:1/1.08}.entry-post-secondary .entry-post-header{padding:12px;gap:8px;min-height:65px}.entry-post-secondary .entry-post-avatar{width:31px;height:31px;font-size:11px}.entry-post-secondary .entry-post-author strong{font-size:11px}
.entry-post-footer{display:flex;align-items:center;gap:17px;min-height:55px;padding:13px 16px}.entry-post-stat{display:inline-flex;align-items:center;gap:7px;font-size:11px}.entry-post-stat .icon{width:20px;height:20px}.entry-post-save{margin-left:auto}.entry-post-save .icon{width:18px;height:18px}.entry-post-secondary .entry-post-footer{gap:12px;padding:12px;min-height:50px}.entry-post-secondary .entry-post-stat{font-size:10px;gap:5px}.entry-post-secondary .entry-post-stat .icon{width:18px;height:18px}
.entry-panel{min-width:0;display:flex;flex-direction:column}.entry-panel-top{display:flex;justify-content:flex-end;align-items:center;min-height:44px}.entry-appearance{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:9px 11px;border-radius:14px;background:transparent;color:var(--entry-muted);font-size:12px;transition:background .15s,color .15s}.entry-appearance:hover{background:var(--entry-hover);color:var(--entry-text)}.entry-appearance .icon{width:17px;height:17px}
.entry-form-stage{display:flex;align-items:center;justify-content:center;flex:1;padding:40px 0 46px}.entry-form{width:100%;max-width:360px}.entry-heading{text-align:center;margin-bottom:31px}.entry-brand{display:flex;justify-content:center;margin-bottom:37px}.entry-brand .wordmark,.wordmark.entry-brand{color:var(--entry-text);font-size:63px;font-weight:700;letter-spacing:-4px;line-height:1.1}.entry-brand .wordmark span,.wordmark.entry-brand span{color:inherit}.entry-heading h1{font-size:28px;font-weight:700;letter-spacing:-.65px;line-height:1.25;margin:0}
.entry-field{margin-top:22px}.entry-field label{display:block;margin-bottom:9px;color:var(--entry-text);font-size:13px;font-weight:600}.entry-input-wrap{position:relative;display:flex;align-items:center;min-height:52px;border:1px solid var(--entry-line);border-radius:6px;background:var(--entry-input);transition:border-color .15s,box-shadow .15s}.entry-input-wrap:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.entry-input-wrap:has([aria-invalid="true"]){border-color:var(--danger)}.entry-input{width:100%;min-width:0;min-height:50px;border:0!important;border-radius:6px;background:transparent;color:var(--entry-text);padding:13px 14px;font-size:16px;line-height:1.4;outline:none!important;box-shadow:none}.entry-input[name="password"]{padding-right:52px}.entry-input::placeholder{color:var(--entry-muted);opacity:.8}.entry-eye{position:absolute;right:3px;top:3px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:5px;background:transparent;color:var(--entry-muted)}.entry-eye:hover{background:var(--entry-hover);color:var(--entry-text)}.entry-eye svg{width:20px;height:20px}
.entry-hint{font-size:11px;line-height:1.5;color:var(--entry-muted);margin:7px 0 0}.entry-error{font-size:12px;line-height:1.5;color:var(--danger);min-height:18px;margin:10px 0}.entry-submit{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:51px;border-radius:6px;padding:13px 18px;background:var(--accent);color:var(--on-accent);font-size:15px;font-weight:650;transition:background .15s,transform .15s}.entry-submit:hover:not(:disabled){background:var(--accent-hover)}.entry-submit:active:not(:disabled){transform:none}.entry-submit:disabled{cursor:pointer;opacity:.7}.entry-spinner{position:absolute;right:18px;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:entry-spin .7s linear infinite}
.entry-switch{display:flex;align-items:center;justify-content:center;gap:18px;margin:30px 0 0;font-size:13px;text-align:center}.entry-switch::before,.entry-switch::after{content:"";height:1px;background:var(--entry-line);flex:1}.entry-switch a{font-size:14px;flex-shrink:0;font-weight:650;color:var(--entry-text)}.entry-switch a:hover{text-decoration:underline;text-underline-offset:4px}.entry-account-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;line-height:1.6;color:var(--entry-muted);text-align:center;margin-top:37px}.entry-account-note>.icon{display:none}.entry-footer{text-align:center;color:var(--entry-muted);font-size:10px;padding:10px 0;letter-spacing:.15px}
@keyframes entry-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.entry-layout{gap:52px;padding:24px 30px;grid-template-columns:minmax(0,1fr) 330px}.entry-showcase{height:555px}.entry-post-main{width:66%}.entry-post-secondary{width:35%;top:94px}.entry-post-header{padding:12px;gap:8px;min-height:61px}.entry-post-avatar{width:30px;height:30px;font-size:11px}.entry-post-author strong{font-size:10px}.entry-post-author small{font-size:9px}.entry-post-footer{padding:12px;gap:12px;min-height:50px}.entry-post-secondary .entry-post-author strong{font-size:10px}.entry-brand .wordmark{font-size:60px}}
@media(max-width:800px){.entry-layout{display:flex;flex-direction:column;max-width:500px;min-height:100dvh;gap:0;padding:16px 28px 12px}.entry-showcase{display:none}.entry-panel{flex:1}.entry-panel-top{min-height:40px}.entry-appearance{padding:10px;min-width:40px}.entry-appearance span{display:none}.entry-form-stage{padding:32px 0 48px}.entry-form{max-width:360px}.entry-brand{margin-bottom:30px}.entry-brand .wordmark{font-size:58px}.entry-heading{margin-bottom:29px}.entry-heading h1{font-size:27px}.entry-field{margin-top:21px}.entry-account-note{margin-top:35px}.entry-footer{padding:8px 0}}
@media(max-width:360px){.entry-layout{padding:14px 22px 10px}.entry-form-stage{padding-top:22px}.entry-brand .wordmark{font-size:53px}.entry-heading h1{font-size:25px}.entry-switch{gap:12px;font-size:12px}.entry-switch a{font-size:13px}.entry-account-note{font-size:10px}}
@media(prefers-reduced-motion:reduce){.entry-spinner{animation:none;border-right-color:currentColor}.entry-submit:active:not(:disabled){transform:none}}
