/* Главная Sogerero. Эти стили не подключаются к калькуляторам. */
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-cyrillic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-cyrillic-500-normal.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-latin-500-normal.woff2') format('woff2');font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-cyrillic-600-normal.woff2') format('woff2');font-weight:600 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;src:url('/assets/home/fonts/manrope-latin-600-normal.woff2') format('woff2');font-weight:600 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/home/fonts/cormorant-garamond-cyrillic-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/home/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/home/fonts/cormorant-garamond-cyrillic-400-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Cormorant Garamond';src:url('/assets/home/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122}

html:has(body.home){scroll-padding-top:110px;height:auto}
body.home{height:auto;min-height:100vh;display:block;overflow-x:clip;overflow-y:visible;font-family:Manrope,system-ui,sans-serif;font-size:15px;line-height:1.65;color:#f1e9df;background:var(--sky-bg);--home-accent:#ff8b48;--home-muted:#b4afbe;--home-line:#ffffff16}
.home a:hover{opacity:1}
.home h1,.home h2,.home h3,.home p{margin:0;text-align:left}
.home h2{font-size:clamp(30px,3.2vw,44px);line-height:1.15;font-weight:600;letter-spacing:-.03em}
.home h3{font-weight:600;line-height:1.25;letter-spacing:-.025em}
.home a,.home button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.home :focus-visible{outline:2px solid #ffb279;outline-offset:5px}
/* Anchor destinations receive focus for navigation, not a frame around the section. */
.home .home-main:focus,.home .home-main section[tabindex='-1']:focus{outline:none}
.home img{max-width:100%}
.home [hidden]{display:none!important}
.home-container{width:calc(100% - 96px);max-width:1248px;margin-inline:auto}
.home-main{padding:0 0 clamp(32px,5vw,64px);min-width:0}
.home-skip{position:fixed;z-index:100;left:20px;top:12px;padding:12px 20px;background:#ff8b48;color:#14131a;transform:translateY(-150%)}
.home-skip:focus{transform:none}
.ui-icon{display:inline-block;flex-shrink:0;width:22px;height:22px;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}
.icon-arrow-right{--icon:url('/assets/home/icons/arrow-right.svg')}.icon-arrow-up-right{--icon:url('/assets/home/icons/arrow-up-right.svg')}.icon-arrow-down{--icon:url('/assets/home/icons/arrow-down.svg')}.icon-play{--icon:url('/assets/home/icons/play.svg')}.icon-youtube{--icon:url('/assets/home/icons/youtube-logo.svg')}.icon-list{--icon:url('/assets/home/icons/list.svg')}.icon-close{--icon:url('/assets/home/icons/x.svg')}.icon-gift{--icon:url('/assets/home/icons/gift.svg')}.icon-pause{--icon:url('/assets/home/icons/pause.svg')}

.home-header{position:sticky;top:0;z-index:30;background:#0e0f14eb;backdrop-filter:blur(16px);border-bottom:1px solid var(--home-line)}
.home-header-inner{height:82px;display:flex;align-items:center;gap:30px}
.home-brand{display:inline-flex;align-items:center;gap:14px;color:var(--home-accent);font-size:23px;font-weight:600;text-decoration:none;flex-shrink:0}
.home-brand img{display:block;border-radius:10px;width:40px;height:40px;object-fit:cover}
.home-nav{margin-left:auto;display:flex;align-items:center;gap:25px}
.home-nav>a{color:#e2dee5;font-size:13px;position:relative;padding-block:27px;white-space:nowrap;transition:color .2s}
.home-nav>a::after{content:'';position:absolute;left:0;right:0;bottom:13px;height:2px;background:var(--home-accent);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.home-nav>a:hover,.home-nav>a[aria-current]{color:var(--home-accent)}
.home-nav>a[aria-current]::after{transform:scaleX(1)}
.home-nav .home-nav-youtube{display:inline-flex;align-items:center;gap:8px;border:1px solid #ff8b4866;padding:8px 13px;border-radius:9px}
.home-nav-youtube .ui-icon{color:var(--home-accent)}
.home-nav-youtube::after{display:none}
.home-menu-toggle{display:none}

.home-hero{position:relative;isolation:isolate;min-height:660px;overflow:hidden}
.home-hero-art{position:absolute;inset:0 0 auto auto;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 48%;pointer-events:none;mask-image:linear-gradient(#000 72%,transparent 100%)}
.home-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0e0f1470,transparent 75%);mask-image:linear-gradient(#000 72%,transparent 100%);pointer-events:none}
.home-hero-inner{position:relative;min-height:660px;padding-top:100px;padding-bottom:108px}
.home-hero-copy{max-width:720px}
.home-eyebrow{display:flex;align-items:center;gap:16px;text-transform:uppercase;font-size:11px;font-weight:600;letter-spacing:.2em;color:#d9c9b8}
.home-eyebrow>span{color:#7d6e6b}
.home-hero h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(72px,7.8vw,112px);line-height:.98;letter-spacing:-.045em;margin:26px 0 28px;text-shadow:0 2px 24px #0e0f1466}
.home-hero h1 em{display:block;color:var(--home-accent);font-weight:400}
.home-hero-description{font-size:19px;line-height:1.65;color:#e4d9cd;max-width:455px}
.home-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:34px}
.home-button{display:inline-flex;justify-content:center;align-items:center;gap:18px;min-height:48px;padding:12px 22px;border:1px solid transparent;border-radius:9px;font:600 13px/1.4 Manrope,system-ui,sans-serif;text-decoration:none;transition:transform .2s,background .2s,border-color .2s,box-shadow .2s;cursor:pointer}
.home-button-primary{background:#fa833c;color:#171019;border-color:#fa833c}
.home-button-primary:hover{background:#ff995b;border-color:#ff995b;box-shadow:0 6px 25px #fa833c20;transform:translateY(-2px)}
.home-button-secondary{background:#14141c88;color:#eee5dc;border-color:#b8adb16b}
.home-button-secondary:hover{border-color:var(--home-accent);background:#24212a;transform:translateY(-2px)}
.home-button:active{transform:translateY(0) scale(.98)}
.home-button .ui-icon{width:19px;height:19px;transition:transform .2s}
.home-button:hover .icon-arrow-right,.home-text-link:hover .ui-icon,.home-tool:hover .home-tool-arrow{transform:translateX(3px)}
.home-scroll{display:inline-flex;align-items:center;gap:15px;font-size:12px;color:#c0b7be;position:absolute;bottom:40px;left:0;min-height:44px}
.home-scroll .ui-icon{color:var(--home-accent);animation:home-arrow 2.7s ease-in-out infinite}
@keyframes home-arrow{50%{transform:translateY(5px)}}

.home-section{padding-top:70px;scroll-margin-top:-50px}
.home-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}
.home-section-heading .home-eyebrow{color:#a69aab;letter-spacing:.14em;font-size:10px;margin-bottom:15px}
.home-section-heading>p{color:var(--home-muted);font-size:13px;line-height:1.8;max-width:330px}
.home-servers{padding-top:25px;scroll-margin-top:0}
.home-server-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-server-card{background:#191820bc;border:1px solid #b17c4c48;border-radius:15px;padding:25px;min-width:0}
.home-server-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}
.home-server-heading img{width:150px;height:50px;object-fit:contain;object-position:left center;border-radius:4px;filter:saturate(.85)}



.home-server-card>.home-button{width:100%}


.home-text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-size:12px;border:0;background:none;color:#c5b8b0;cursor:pointer;min-height:44px;padding:10px 0}
.home-server-card>.home-text-button{width:100%;margin-top:6px}
.home-text-button:hover{color:var(--home-accent)}
.home-text-button .ui-icon{width:17px;height:17px}
.home-text-link{display:inline-flex;align-items:center;gap:10px;color:var(--home-accent);font-size:13px;min-height:44px}
.home-text-link .ui-icon{width:19px;height:19px;transition:transform .2s}

.home-tools-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;grid-template-rows:245px 245px;gap:18px;scroll-margin-top:110px}
.home-tool{--tool-radius:17px;--tool-border:#514958;display:flex;flex-direction:column;position:relative;overflow:hidden;isolation:isolate;clip-path:inset(0 round var(--tool-radius));border:1px solid transparent;border-radius:var(--tool-radius);background:#171720;min-width:0;padding:26px;color:#eee8e8}
/* The rim sits above the artwork; all composited layers share one rounded clip. */
.home-tool::after{content:'';position:absolute;inset:0;border:1px solid var(--tool-border);border-radius:inherit;z-index:4;pointer-events:none;transition:border-color .2s}
.home-tool:hover,.home-tool:focus-visible{--tool-border:#e49051}
.home-tool:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #ffb279}
.home-tool:focus-visible::after{border-width:3px}
.home-tool>div:first-child{position:relative;z-index:2;pointer-events:none}
.home-category{display:flex;align-items:center;gap:14px;flex-wrap:wrap;color:#ffaf76;font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.home-tool h3{font-size:23px;line-height:1.2}
.home-tool p{font-size:11px;color:var(--home-muted);margin-top:10px;max-width:175px;line-height:1.6}
.home-tool-art{position:absolute;right:0;bottom:8px;width:90%;height:80%;object-fit:contain;mix-blend-mode:lighten;mask-image:linear-gradient(transparent,#000 28%);transition:transform .4s}
.home-tool:hover .home-tool-art{transform:none}
.home-tool-arrow{position:absolute;right:22px;bottom:21px;color:var(--home-accent);z-index:3;width:22px;height:22px;transition:transform .2s}
.home-tool-featured{grid-row:1 / span 2;padding:30px;background:#171720}
.home-tool-featured h3{font-size:37px;line-height:1.13}
.home-tool-featured p{font-size:13px;max-width:300px}
.home-tool-action{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--home-accent);font-size:13px;font-weight:600;position:relative;z-index:3;margin-top:auto}
.home-chest-frame{display:contents}
.home-chest-art{position:absolute;bottom:12px;left:0;width:100%;height:83%;object-fit:contain;object-position:center bottom;mix-blend-mode:lighten;z-index:0;pointer-events:none;transition:transform .5s}
.home-tool-featured:hover .home-chest-art{transform:none}
.home-tool:has(.home-tool-art)::before{content:'';position:absolute;inset:1px;border-radius:inherit;background:linear-gradient(#171720 5%,#171720bb 35%,transparent 65%);z-index:1;pointer-events:none}
.home-tool p{max-width:210px}
.home-tool:not(.home-tool-featured) p{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-featured-items{display:flex;align-items:center;justify-content:center;gap:12px;flex:1;padding:30px 0}
.home-featured-items img{object-fit:contain;border-radius:15px;max-width:45%}
.home-featured-items img:nth-child(1){transform:rotate(-13deg);margin-right:-35px;z-index:-1}.home-featured-items img:nth-child(3){transform:rotate(12deg);margin-left:-35px;z-index:-1}

.home-tables{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.home-table-link{display:flex;align-items:center;gap:18px;padding:28px;background:#191820;border:1px solid #514958;border-radius:15px;color:#f0e9e5;min-width:0;transition:border-color .2s,background .2s}
.home-table-link:hover,.home-table-link:focus-visible{border-color:#e49051;background:#211c27}
.home-table-link img{width:50px;height:50px;border-radius:10px;object-fit:contain}
.home-table-link h3{font-size:18px}
.home-table-link p{font-size:12px;color:var(--home-muted);margin-top:7px;line-height:1.6}
.home-table-link>.ui-icon{margin-left:auto;color:var(--home-accent);width:20px;height:20px}
.home-table-link:hover h3,.home-playlist-list a:hover h3{color:var(--home-accent)}
.home-playlists{display:grid;grid-template-columns:1fr 1.25fr;gap:50px}
.home-playlist-featured{position:relative;display:flex;flex-direction:column;min-height:355px;overflow:hidden;padding:28px;color:#f2e6dc;border-radius:16px;background:#171720 url('/assets/home/phoenix-hero.webp') 57% center/cover;border:1px solid #46404d;isolation:isolate}
.home-playlist-featured::before{content:'';position:absolute;inset:0;background:#0e0f14b3;z-index:-1}
.home-playlist-featured>.icon-play{width:33px;height:33px;color:var(--home-accent);position:absolute;right:28px;top:28px}
.home-playlist-featured h3{font-size:33px;line-height:1.17;margin-top:20px}
.home-playlist-featured p{font-size:12px;line-height:1.8;color:#c8bbc8;margin:15px 0 25px}
.home-playlist-list{display:flex;flex-direction:column;justify-content:space-between}
.home-playlist-list a{display:flex;align-items:center;gap:20px;color:#ede4e2;padding:20px 0;border-bottom:1px solid var(--home-line)}
.home-playlist-list a:first-child{padding-top:10px}
.home-playlist-number{color:#ac8191;font-size:11px;letter-spacing:.05em}
.home-playlist-list h3{font-size:17px}
.home-playlist-list p{font-size:12px;margin-top:7px;color:var(--home-muted)}
.home-playlist-list .ui-icon{margin-left:auto;color:var(--home-accent);width:19px;height:19px}

.home-footer{margin-top:70px;border-top:1px solid #38313c;padding-top:35px;padding-bottom:25px;min-width:0}
.home-footer-top{display:flex;gap:24px;align-items:center}
.home-footer-top>p{font-size:12px;color:#9c909e}
.home-footer-top>.home-text-link{margin-left:auto}
.home-footer nav{display:flex;flex-wrap:wrap;align-items:center;gap:25px;padding-block:22px}
.home-footer nav>a{color:#dfd3dc;font-size:13px;min-height:44px;display:flex;align-items:center}
.home-footer nav>a:hover{color:var(--home-accent)}
.home-motion-toggle{margin-left:auto}
.home-footer-bottom{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--home-line);padding-top:21px;font-size:10px;color:#938595}
.home dialog.modal-backdrop{inset:0;margin:auto;padding:0;width:min(680px,calc(100vw - 32px));height:fit-content;border:1px solid #4f414c;border-radius:17px;max-width:none;max-height:calc(100dvh - 40px);background:#181720;color:#eee5dc;overflow:auto}
.home dialog.modal-backdrop[open]{display:block}
.home dialog::backdrop{background:#070810c9;backdrop-filter:blur(5px)}
.home .modal{width:auto;max-width:none;max-height:none;padding:30px;background:none;border:0;border-radius:0}
.home .modal h3{padding-right:28px;font-size:22px;line-height:1.4;margin-bottom:16px}
.home .modal .content{font-size:14px}.home .modal .server pre{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.home .modal .close{width:44px;height:44px;top:8px;right:8px;display:grid;place-items:center;font-size:22px}
.home .modal a{color:var(--home-accent)}
.home[data-motion='off'] *, .home[data-motion='off'] *::before, .home[data-motion='off'] *::after{animation:none!important;transition:none!important}

@media(min-width:1600px){.home-hero-art{object-position:center 45%}}
@media(max-width:1150px){.home-container{width:calc(100% - 64px)}.home-nav{gap:16px}.home-nav>a{font-size:12px}.home-header-inner{gap:20px}.home-brand{font-size:20px}.home-tools-grid{grid-template-rows:235px 235px;grid-template-columns:1.2fr 1fr 1fr}.home-tool{padding:22px}.home-tool-featured h3{font-size:32px}.home-server-card{padding:20px}.home-server-heading img{width:120px}.home-playlists{gap:30px}.home-hero-copy{max-width:650px}}
@media(max-width:960px){.home-header-inner{height:72px;justify-content:space-between}.home-menu-toggle{display:grid;place-items:center;border:1px solid #625362;background:#1a1721;color:#eee5dc;width:44px;height:44px;border-radius:8px;cursor:pointer}.home-nav{display:none;position:absolute;top:72px;left:0;right:0;background:#15131c;border-bottom:1px solid #4b394d;padding:18px 32px;box-shadow:0 24px 35px #0006}.home-header[data-open='true'] .home-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}.home-nav>a{padding:14px 0;font-size:14px;min-height:48px}.home-nav>a::after{bottom:4px}.home-nav .home-nav-youtube{width:max-content;padding:8px 14px}.home-hero h1{font-size:89px}.home-hero-art{object-position:60% center;opacity:.85}.home-hero::after{background:linear-gradient(90deg,#0e0f1480,transparent)}.home-hero,.home-hero-inner{min-height:610px}.home-hero-inner{padding-top:80px}.home-server-grid{gap:12px}.home-server-heading{flex-wrap:wrap;gap:6px;margin-bottom:16px}.home-server-heading img{width:125px;height:42px}.home-server-card{padding:17px}.home-server-card>.home-button{padding-inline:10px;font-size:11px;gap:8px}.home-tools-grid{grid-template-rows:auto 245px;grid-template-columns:1fr 1fr}.home-tool-featured{grid-column:1 / -1;grid-row:auto;min-height:290px}.home-featured-items{position:absolute;right:45px;top:40px;width:40%;height:200px}.home-tool-featured .home-tool-action{max-width:260px;margin-top:40px}.home-tool:not(.home-tool-featured){min-height:245px}}
@media(max-width:600px){html:has(body.home){scroll-padding-top:90px}.home-container{width:calc(100% - 40px)}.home-header-inner{height:68px}.home-brand{font-size:20px;gap:10px}.home-brand img{width:34px;height:34px}.home-nav{top:68px;padding-inline:20px}.home-header[data-open='true'] .home-nav{grid-template-columns:1fr 1fr;gap:3px 15px}.home-nav>a{font-size:12px}.home-hero,.home-hero-inner{min-height:610px}.home-hero-art{height:420px;object-position:67% center;opacity:.78;mask-image:linear-gradient(#000 30%,transparent 100%)}.home-hero::after{background:linear-gradient(0deg,#0e0f14 15%,#0e0f1430 70%)}.home-hero-inner{padding-top:205px;padding-bottom:85px}.home-hero h1{font-size:clamp(53px,12.5vw,77px);margin:20px 0;line-height:.96}.home-hero-description{font-size:14px;line-height:1.8;max-width:330px}.home-eyebrow{font-size:9px;letter-spacing:.18em;gap:10px}.home-actions{gap:10px;margin-top:24px}.home-actions .home-button{padding:12px 13px;font-size:11px;gap:9px;flex:1;white-space:nowrap}.home-actions .ui-icon{width:16px;height:16px}.home-scroll{bottom:22px;font-size:10px}.home-section{padding-top:55px}.home-servers{padding-top:12px}.home-section-heading{display:block;margin-bottom:23px}.home-section-heading .home-eyebrow{font-size:9px;margin-bottom:12px}.home h2{font-size:30px}.home-section-heading>p{font-size:12px;margin-top:14px}.home-section-heading>p br{display:none}.home-section-heading>.home-text-link{margin-top:10px}.home-server-grid{grid-template-columns:1fr;gap:14px}.home-server-card{padding:22px}.home-server-heading{flex-wrap:nowrap;margin-bottom:18px}.home-server-heading img{width:145px;height:40px}.home-server-card>.home-button{font-size:13px}.home-tools-grid{gap:12px;grid-template-rows:auto auto auto}.home-tool{--tool-radius:13px;padding:18px 14px}.home-tool-featured{min-height:395px;padding:24px}.home-tool-featured h3{font-size:34px}.home-tool-featured p{font-size:12px;max-width:280px}.home-featured-items{position:relative;top:auto;right:auto;width:100%;height:auto;padding:20px 0;flex:1}.home-featured-items img:nth-child(2){width:110px;height:110px}.home-featured-items img:nth-child(1),.home-featured-items img:nth-child(3){width:70px;height:70px}.home-tool-featured .home-tool-action{margin-top:0;max-width:none}.home-tool:not(.home-tool-featured){min-height:230px}.home-tool h3{font-size:19px}.home-tool-featured h3{font-size:34px}.home-category{font-size:8px;letter-spacing:.12em;gap:10px}.home-tool p{font-size:10px}.home-tool-art{width:105%;height:76%;right:-10px;bottom:-8px;border-radius:0}.home-chest-art{height:83%;bottom:5px}.home-tool-featured .home-tool-action{margin-top:auto}.home-tool-arrow{width:18px;height:18px;right:13px;bottom:14px}.home-tables{grid-template-columns:1fr;gap:14px}.home-table-link{padding:22px 18px;gap:14px}.home-table-link img{width:42px;height:42px}.home-table-link h3{font-size:17px}.home-table-link p{font-size:11px}.home-playlists{grid-template-columns:1fr;gap:22px}.home-playlist-featured{min-height:320px;padding:24px}.home-playlist-featured h3{font-size:32px}.home-playlist-list a{gap:15px;padding:21px 0}.home-playlist-list h3{font-size:15px}.home-playlist-list p{font-size:11px}.home-footer{padding-top:25px}.home-footer-top{gap:15px;flex-wrap:wrap}.home-footer-top>p{display:none}.home-footer-top>.home-text-link{font-size:11px}.home-footer nav{gap:6px 22px;padding-block:15px}.home-footer nav>a{font-size:12px}.home-motion-toggle{margin-left:0;font-size:11px}.home-footer-bottom{font-size:9px;gap:10px;align-items:start}.home-footer-bottom>span:last-child{text-align:right;max-width:130px}.home .modal{padding:24px 18px}.home .modal h3{font-size:19px}.home .modal .server pre{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home *, .home *::before, .home *::after{animation:none!important;transition:none!important}}

/* Clear boundaries between the homepage sections. */
.home-section + .home-section{margin-top:64px;padding-top:48px;border-top:1px solid #61546b80;scroll-margin-top:0}
@media(max-width:600px){.home-section + .home-section{margin-top:48px;padding-top:36px}}

/* Tables belong to Useful; playlists retain actual YouTube preview images. */
.home-tools-tables{margin-top:44px;padding-top:28px;border-top:1px solid #61546b80;scroll-margin-top:110px}
.home-subsection-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}
.home-subsection-heading h3{font-size:32px}
.home-subsection-heading p{font-size:12px;color:var(--home-muted)}
.home-playlist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-playlist-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #514958;border-radius:15px;background:#191820;color:#f1e9df;transition:border-color .2s}
.home-playlist-card:hover,.home-playlist-card:focus-visible{border-color:#e49051}
.home-playlist-thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:#11121b}
.home-playlist-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
.home-playlist-play{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(transparent 55%,#08081280)}
.home-playlist-play .ui-icon{width:30px;height:30px;color:white;filter:drop-shadow(0 2px 6px #000)}
.home-playlist-label{position:absolute;right:14px;bottom:13px;padding:5px 10px;border-radius:5px;background:#0c0d16dc;color:#eee;font-size:11px}
.home-playlist-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:23px}
.home-playlist-copy h3{font-size:23px;line-height:1.3}
.home-playlist-copy p{font-size:13px;color:var(--home-muted);margin-top:10px;margin-bottom:14px}
.home-playlist-copy .home-text-link{margin-top:auto}
@media(max-width:600px){.home-tools-tables{margin-top:32px;padding-top:24px}.home-subsection-heading{display:block;margin-bottom:20px}.home-subsection-heading h3{font-size:27px}.home-subsection-heading p{margin-top:10px}.home-playlist-grid{grid-template-columns:1fr;gap:18px}.home-playlist-copy{padding:20px}.home-playlist-copy h3{font-size:21px}}

/* Keep desktop/tablet artwork below the text at every column width. */
@media(min-width:781px){
  .home-tools-grid{grid-template-rows:repeat(2,minmax(300px,auto));grid-auto-rows:minmax(300px,auto)}
  .home-tool:not(.home-tool-featured){gap:12px}
  .home-tool:not(.home-tool-featured)>div:first-child{flex-shrink:0}
  .home-tool-art{position:static;align-self:center;flex-shrink:0;width:100%;height:150px;object-fit:contain;mask-image:none;margin-top:auto}
  .home-tool:has(.home-tool-art)::before{background:none}
}

/* The tablet chest has its own space beside the text, with no cover crop. */
@media(min-width:781px) and (max-width:960px){
  .home-tool-featured>div:first-child{max-width:50%}
  .home-chest-frame{display:block;position:absolute;right:20px;bottom:20px;width:44%;height:calc(100% - 40px);overflow:hidden}
  .home-chest-frame .home-chest-art{left:0;bottom:0;width:100%;height:auto;max-width:none}
  .home-tool-featured .home-tool-action{max-width:48%}
}

/* Stack cards before tablet widths become cramped. Artwork stays in normal flow. */
@media(max-width:780px){
  .home-section-heading,.home-subsection-heading{display:block}
  .home-section-heading>p,.home-subsection-heading>p{margin-top:14px}
  .home-section-heading>.home-text-link{margin-top:10px}
  .home-server-grid,.home-tables,.home-playlist-grid{grid-template-columns:minmax(0,1fr)}
  .home-tools-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;gap:16px}
  .home-tool,.home-tool-featured{grid-column:auto;grid-row:auto;min-height:0;padding:24px;gap:12px}
  .home-tool:not(.home-tool-featured){min-height:0}
  .home-tool h3{font-size:26px}
  .home-tool-featured h3{font-size:32px}
  .home-tool-featured p{font-size:13px}
  .home-category{font-size:10px}
  .home-tool-art{position:static;align-self:center;flex-shrink:0;width:100%;max-width:320px;height:clamp(180px,42vw,260px);object-fit:contain;object-position:center;mask-image:none}
  /* Trim only the empty upper third of the source; keep the whole chest and glow. */
  .home-chest-frame{display:block;position:relative;align-self:center;flex-shrink:0;width:100%;max-width:420px;aspect-ratio:1.45;overflow:hidden}
  .home-chest-frame .home-chest-art{position:absolute;left:0;bottom:0;width:100%;height:auto;max-width:none}
  .home-tool:has(.home-tool-art)::before{background:none}
  .home-tool-featured .home-tool-action{margin-top:0;max-width:none}
  .home-tool-arrow{right:22px;bottom:22px}
}

/* Referral cards put the server artwork first and keep one clear registration action. */
.home-server-card{display:flex;flex-direction:column;position:relative;padding:24px;background:#171720;border-color:#514958;border-radius:17px;transition:border-color .2s}
.home-server-card:hover{border-color:#e49051}
.home-server-heading{position:relative;display:grid;place-items:center;aspect-ratio:1.5;height:auto;min-height:190px;max-height:340px;flex-shrink:0;padding-top:0;margin-bottom:24px;gap:0}

.home-server-art{display:grid;place-items:center;width:100%;max-width:none;height:100%;min-width:0;min-height:0}
.home-server-art img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;filter:none}
.home-server-art-ruoff{display:block;width:min(100%,595px);height:auto;aspect-ratio:1.75;border-radius:14px;overflow:hidden}
.home-server-art-ruoff img{height:auto}

.home-server-card>.home-button{margin-top:auto;min-height:58px;padding:12px 14px;gap:10px;font-size:13px;line-height:1.45;white-space:normal}
.home-server-card>.home-button>span:first-child{min-width:0}
@media(max-width:960px){.home-server-grid{grid-template-columns:minmax(0,1fr)}}
