/* New Year 2027. All overrides are scoped to the user's selected theme. */
html body[data-page].theme-newyear{
 --theme-bg:#071c25;--theme-top:#09232c;--theme-surface:#102f37;--theme-surface-2:#163d43;--theme-border:#35535b;--theme-text:#f4f5eb;--theme-muted:#c0d4d1;--theme-accent:#edd198;--theme-accent-2:#f3c66e;--theme-badge:#b7464e;--theme-chip:#173e44;--theme-hero:#102f37;--theme-input:#0c2730;--theme-footer:#071b24;--theme-toast:#102f37;--theme-toast-visual:#173e44;--theme-toast-border:#b49a60;--theme-nav:#0b252e;--theme-nav-hover:#183c43;
 --site-link:#efcf90;--site-button:#edce8b;--site-on-button:#14282b;
 --au-bg:#071c25;--au-surface:#102f37;--au-soft:#16383f;--au-text:#f4f5eb;--au-muted:#c0d4d1;--au-line:#35535b;--au-gold:#edce8b;--au-link:#f2d69e;--au-head:#09232c;--au-green:#89dbc0;--au-active:#28494a;
 --r44-theme-bg:#071c25;--r44-theme-top:#09232c;--r44-theme-panel:#102f37;--r44-theme-surface:#102f37;--r44-theme-hover:#183c43;--r44-theme-text:#f4f5eb;--r44-theme-muted:#c0d4d1;--r44-theme-border:#35535b;
 --r44-bg:#071c25;--r44-card:#102f37;--r44-text:#f4f5eb;--r44-muted:#c0d4d1;--r44-line:#35535b;
 --ui162-surface:#102f37;--ui162-soft:#16383f;--ui162-text:#f4f5eb;--ui162-muted:#c0d4d1;--ui162-border:#35535b;--ui162-link:#f2d69e;--ui162-button:#edce8b;--ui162-on-button:#14282b;
 --surface:#102f37;--panel:#102f37;--card:#102f37;--page-bg:#071c25;--text:#f4f5eb;--ink:#f4f5eb;--muted:#c0d4d1;--line:#35535b;--soft:#16383f;
 color-scheme:dark;background:#071c25!important;color:#f4f5eb!important;
}
html body.theme-newyear::before{background:radial-gradient(ellipse at 80% 0%,#30594b66,transparent 52%),#071c25!important}
html body.theme-newyear::after{background:none!important;pointer-events:none}
html body.theme-newyear :is(.r44-top,#r44Sidebar,.r44-bottom,.top,.site-footer){background:var(--theme-top)!important;color:var(--theme-text)!important;border-color:var(--theme-border)!important}
html body.theme-newyear :is(.r44-top,#r44Sidebar,.r44-bottom,.top) :is(a,button,input){color:var(--theme-text)!important}
html body.theme-newyear :is(#r44Sidebar,.r44-bottom) a.active{background:#28494a!important;color:#f2d69e!important}
html body.theme-newyear .r44-top{box-shadow:0 2px 18px #0003}
html body.theme-newyear .r44-top::after{content:"";position:absolute;inset:auto 0 -2px;height:4px;background:radial-gradient(circle,#ffe5a5 0 2px,transparent 3px) 0 0/38px 4px repeat-x;pointer-events:none;opacity:.85}
html body.theme-newyear .r44-top input{background:#0c2730!important;border-color:#426067!important}
html body.theme-newyear main.wrap :is(.panel,.card,.feed-v3-post,.sv26-home-section){color:var(--theme-text);border-color:var(--theme-border)}
html body.theme-newyear main.wrap :is(input,textarea,select){color-scheme:dark}
html body.theme-newyear #autumn4{color:var(--au-text)}
html body.theme-newyear #autumn4 :is(.a4-hero-leaves,.a4-night-leaf-layer){display:none!important}
html body.theme-newyear #autumn4::before,html body.theme-newyear #autumn4::after,html body.theme-newyear #autumn4 .a4-hero::after{display:none!important}
html body.theme-newyear #autumn4 .a4-hero{
 min-height:300px;isolation:isolate;padding:32px;gap:18px;align-items:center;justify-content:flex-start;
 background:linear-gradient(90deg,#071c25ed 0%,#071c25c9 32%,#071c2530 62%,transparent 80%),url('/assets/themes/newyear-2027.webp') center/cover!important;
 border:1px solid #ab945d!important;border-radius:22px;box-shadow:0 15px 44px #0004,inset 0 0 28px #e1d6a308;
}
html body.theme-newyear #autumn4 .a4-viewer{order:0!important;width:70px;height:70px;border:3px solid #f2d69e;box-shadow:0 0 0 5px #e2c08318;align-self:center;flex:none}
html body.theme-newyear #autumn4 .a4-greeting{order:1!important;max-width:40%;margin:0!important;text-align:left!important}
html body.theme-newyear #autumn4 .a4-greeting h1{font-size:clamp(23px,2.4vw,34px);color:#fff9ec!important;text-shadow:0 2px 8px #0009}
html body.theme-newyear #autumn4 .a4-greeting p{color:#dfede7!important;line-height:1.6}
html body.theme-newyear #autumn4 .a4-season{color:#f5d99c!important;font-style:normal;letter-spacing:.01em}
html body.theme-newyear #autumn4 .a4-season::before{content:"✦ ";color:#f8d68a}
html body.theme-newyear #autumn4 .a4-stats>a{border-color:#47645f;border-radius:15px;background:linear-gradient(145deg,#153740,#0d2b32);box-shadow:inset 0 1px #c8d5be18}
html body.theme-newyear #autumn4 .a4-layout section{border-color:#355b5e;box-shadow:0 8px 22px #0002,inset 0 1px #e5e6d01a;border-radius:17px}
html body.theme-newyear #autumn4 .section-head h2{color:#f4e8cf}
html body.theme-newyear #autumn4 :is(.a4-lower-section,.a4-promotion){border-color:#41645f;background:#102f37}
html body.theme-newyear #autumn4 :is(.a4-market-card,.a4-group-card,.a4-meetup){background:#173940;border-color:#42615e}
html body.theme-newyear #autumn4 .a4-mini-map{background:linear-gradient(145deg,#143f44,#09252d)!important}
html body.theme-newyear #autumn4 .a4-mini-map::after{content:"✦";position:absolute;right:24px;top:14px;font-size:38px;color:#f2d69e;opacity:.5}
html body.theme-newyear>footer{background:linear-gradient(90deg,#071b24,#0d3037)!important;color:#f4f5eb!important;border-color:#35535b!important}
html body.theme-newyear>footer :is(p,small,a){color:#c0d4d1!important}
html body.theme-newyear>footer :is(b,strong,h3){color:#f2d69e!important}
html body.theme-newyear>footer::after{content:"";display:none!important}
html body.theme-newyear .mail-app-stage:not([data-theme]),
html body.theme-newyear .mail-messages:not([data-background]){background-color:#092832}
html body.theme-newyear :is(.chat-shell,.chat-main,.messenger-viber){--theme-surface:#102f37;--theme-surface-2:#16383f}
html body.theme-newyear .theme-preview-newyear .theme-preview,
.theme-preview-newyear .theme-preview{background:#102f37 url('/assets/themes/newyear-2027.webp') 74% center/cover!important;min-height:96px;overflow:hidden}
.theme-preview-newyear .theme-preview img{width:100%;height:100%;min-height:96px;object-fit:cover;object-position:76% center}
.sv-ny-snow{display:none}
body.theme-newyear .sv-ny-snow{display:block;position:fixed;inset:0;overflow:hidden;pointer-events:none!important;z-index:12;contain:strict}
.sv-ny-snow i{position:absolute;top:-14px;left:var(--x);height:var(--size,4px);width:var(--size,4px);border-radius:50%;background:#fff7e3;opacity:0;box-shadow:0 0 4px #fffa;animation:sv-ny-fall var(--duration,16s) linear infinite;animation-delay:var(--delay,0s);will-change:transform}
@keyframes sv-ny-fall{0%{transform:translate3d(0,-1vh,0);opacity:0}10%{opacity:.65}88%{opacity:.45}100%{transform:translate3d(18px,104vh,0);opacity:0}}
html[data-ny-paused] .sv-ny-snow i{animation-play-state:paused}
body.theme-newyear [data-public-theme="newyear"]{--auth-accent:#edce8b;--auth-text:#f4f5eb;--auth-muted:#c0d4d1}
body.theme-newyear [data-public-theme="newyear"] .auth-community-scene img{content:url('/assets/themes/newyear-2027.webp');object-position:73% center}
body.theme-newyear [data-public-theme="newyear"] .auth-community-heading{background:linear-gradient(0deg,#071c25f5,#071c2588,transparent)}
body.theme-newyear .sv-guest-night{background:#071c25!important;color:#f4f5eb!important}
body.theme-newyear .sv-guest-night .gn-hero{background-image:linear-gradient(90deg,#071c25eb,#071c2533),url('/assets/themes/newyear-2027.webp')!important}
@media(min-width:761px) and (max-width:1100px){html body.theme-newyear #autumn4 .a4-hero{min-height:270px;padding:22px;gap:12px}html body.theme-newyear #autumn4 .a4-viewer{width:52px;height:52px}html body.theme-newyear #autumn4 .a4-greeting{max-width:45%}}
@media(max-width:760px){
 html body.theme-newyear #autumn4 .a4-hero{min-height:355px;padding:205px 16px 22px;gap:12px;align-items:flex-start;border-radius:18px;
 background:linear-gradient(0deg,#0b2831 0%,#0b2831 39%,#0b283166 54%,transparent 71%),url('/assets/themes/newyear-2027.webp') 80% top/auto 200px no-repeat!important}
 html body.theme-newyear #autumn4 .a4-viewer{width:45px;height:45px;align-self:flex-start;margin:0!important}
 html body.theme-newyear #autumn4 .a4-greeting{max-width:calc(100% - 57px);margin:0!important}
 html body.theme-newyear #autumn4 .a4-greeting h1{font-size:21px;line-height:1.25}
 html body.theme-newyear #autumn4 .a4-greeting p{font-size:12px}
 html body.theme-newyear #autumn4 .a4-season{font-size:13px;line-height:1.5}
 .sv-ny-snow i:nth-child(n+7){display:none}
}
@media(prefers-reduced-motion:reduce){.sv-ny-snow{display:none!important}.sv-ny-snow i{animation:none!important}}

html body.theme-newyear .svd-logo-leaves{display:none!important}
html body[data-page].theme-newyear>footer[data-sv-compact-footer]{background-color:#071b24!important;background-image:linear-gradient(90deg,#071b24,transparent),url('/assets/themes/newyear-2027.webp')!important;background-position:right bottom!important}

html body.theme-newyear #r44Menu{background:#16383f!important;color:#f4f5eb!important;border:1px solid #42615e!important}

@media(max-width:900px){html body.theme-newyear .r44-bottom{display:flex!important;flex-wrap:nowrap!important;gap:2px!important}html body.theme-newyear .r44-bottom>a{flex:1 1 0!important;min-width:0!important;max-width:none!important;padding-left:2px!important;padding-right:2px!important}html body.theme-newyear .r44-bottom>a small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
