/* V51 — screenshot-inspired ModTide home; scoped to new sections. */
:root{--v51-accent:#39c7ff;--v51-muted:#9fb4c9;--v51-panel:#101f31;--v51-border:#22364a;--v51-ease:cubic-bezier(.2,.75,.25,1)}
.v51-hero{isolation:isolate;position:relative;overflow:hidden;background:#0a1625;padding:48px 0 42px;border-bottom:1px solid #1d3046;text-align:center}.v51-ambient{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 0%,#143658 0,transparent 60%),radial-gradient(circle,#71c9ff14 1px,transparent 1px);background-size:auto,23px 23px;animation:v51-ambient 12s ease-in-out infinite alternate}.v51-hero-inner{max-width:920px;position:relative;animation:v51-in .65s var(--v51-ease) both}.v51-hero-logo{width:68px;height:68px;margin:0 auto 16px;filter:drop-shadow(0 0 25px #149cff60)}.v51-hero-logo img{width:100%;height:100%;object-fit:contain;animation:v51-float 5s ease-in-out infinite}.v51-kicker{font-size:11px;font-weight:800;letter-spacing:.13em;color:#60d4ff}.v51-hero h1{font:800 clamp(33px,5.1vw,66px)/1.05 Outfit,Inter,sans-serif;letter-spacing:-.035em;margin:14px auto;color:#f2f6fc;max-width:880px}.v51-tagline{color:var(--v51-accent);font-weight:800;font-size:clamp(17px,2.4vw,24px);margin:0 0 30px}.v51-search{display:flex;align-items:center;gap:12px;background:#14263a;border:1px solid #22384d;border-radius:13px;max-width:800px;margin:0 auto 13px;padding:9px 12px 9px 17px;text-align:left;transition:.22s}.v51-search:focus-within{border-color:#39c7ff;box-shadow:0 0 0 4px #39c7ff18}.v51-search>svg{color:#a5b9cf}.v51-search input{color:#eef7ff;background:none;border:0;outline:none;flex:1;min-width:0;font-size:14px;padding:10px 0}.v51-search input::placeholder{color:#9cbbd1}.v51-search button{border:0;border-radius:8px;display:grid;place-items:center;background:#213d57;color:#91dbff;width:34px;height:34px;cursor:pointer}.v51-search kbd{font:500 11px Inter,sans-serif;white-space:nowrap;border:1px solid #3a4c60;border-radius:6px;color:#a8bed1;padding:5px}.v51-category-grid{max-width:800px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.v51-category-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#112337;border:1px solid transparent;border-radius:12px;min-height:84px;padding:14px 6px;transition:transform .2s var(--v51-ease),background .2s,border-color .2s;animation:v51-in .55s var(--v51-ease) both}.v51-category-grid a:nth-child(2){animation-delay:.05s}.v51-category-grid a:nth-child(3){animation-delay:.1s}.v51-category-grid a:nth-child(4){animation-delay:.15s}.v51-category-grid a:nth-child(5){animation-delay:.2s}.v51-category-grid a:nth-child(6){animation-delay:.25s}.v51-category-grid a:hover{transform:translateY(-3px);background:#1a3850;border-color:#39c7ff70}.v51-category-grid svg{width:24px;height:24px;color:var(--v51-accent)}.v51-category-grid strong{font:700 13px Inter,sans-serif}.v51-hero-foot{display:flex;align-items:center;justify-content:center;gap:8px;color:#b5c6d6;font-size:13px;margin:20px 0}.v51-hero-foot svg{color:var(--v51-accent);width:15px;height:15px}.v51-hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.v51-hero-actions a{display:flex;align-items:center;gap:7px;border:1px solid #254561;background:#12253b;border-radius:10px;padding:9px 13px;color:#c5e8ff;font-size:12px;font-weight:700;transition:.2s}.v51-hero-actions a:hover{background:#22496a;transform:translateY(-2px)}.v51-hero-actions svg{width:15px;height:15px}
#discover-dropdown{width: min(570px,calc(100vw - 32px));padding:16px!important;left:0!important;border-radius:17px!important;background:#0d1420!important;box-shadow:0 22px 70px #0009!important;border:1px solid #26384c!important;overflow:auto;max-height:calc(100dvh - 90px);backdrop-filter:blur(20px)}.v51-mega-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #253346;padding-top:13px}.v51-mega-label{display:block;color:#a9b8c8;font-size:11px;letter-spacing:.04em;margin:0 0 6px}.v51-mega-columns a{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;padding:9px 8px;border-radius:8px;transition:.18s;white-space:nowrap}.v51-mega-columns a svg{color:#38caff;width:17px;height:17px}.v51-mega-columns>div:nth-child(2) a svg{color:#a0c0dd}.v51-mega-columns a:hover{background:#192e43!important;transform:translateX(2px)}.v51-mega-ai{display:flex!important;align-items:center;gap:12px;padding:13px;border-radius:11px;background:#14314e;color:#eaf6ff;margin-top:7px;transition:.2s}.v51-mega-ai>svg:first-child{color:#39c7ff}.v51-mega-ai>svg:last-child{margin-left:auto;width:14px}.v51-mega-ai span{display:grid;gap:5px}.v51-mega-ai strong{font:700 14px Inter,sans-serif}.v51-mega-ai small{color:#b8d0e6;font-size:12px}
.v51-section{padding:43px 0}.v51-section + .v51-section{padding-top:24px}.v51-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}.v51-section-head h2,.v51-server-banner h2,.v51-connect-title h2{font:800 clamp(26px,3.4vw,37px)/1.12 Outfit,Inter,sans-serif;letter-spacing:-.025em;margin:7px 0}.v51-section-head p,.v51-server-banner p{font-size:14px;color:var(--v51-muted);margin:0;line-height:1.6}.v51-more{display:inline-flex;align-items:center;gap:7px;color:#66d1ff;font-weight:700;font-size:13px;white-space:nowrap;margin-top:13px}.v51-section-head .v51-more{margin:0}.v51-more:hover{text-decoration:underline}.v51-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.v51-project,.v51-community-card,.v51-server-card{overflow:hidden;background:#101c2b;border:1px solid #26364a;border-radius:16px;transition:transform .23s var(--v51-ease),border-color .23s,box-shadow .23s;animation:v51-in .45s var(--v51-ease) both}.v51-project:hover,.v51-community-card:hover,.v51-server-card:hover{transform:translateY(-3px);border-color:#399dce;box-shadow:0 14px 35px #0004}.v51-project-art{height:145px;background:radial-gradient(ellipse at center,#254d71,#10243b);display:grid;place-items:center;position:relative;overflow:hidden;color:#66b9ec}.v51-project-art img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.v51-project:hover .v51-project-art img{transform:scale(1.045)}.v51-art-icon img{width:80px;height:80px;object-fit:contain;border-radius:12px}.v51-project-art>svg{width:42px;height:42px}.v51-project-art>span{position:absolute;top:10px;left:10px;background:#071521db;color:#c8def0;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:700;text-transform:capitalize}.v51-project-body{padding:15px;display:flex;flex-direction:column;gap:6px}.v51-project-body>strong{font-size:19px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v51-project-body>small,.v51-project-meta,.v51-status{font-size:12px;color:#9bb0c7}.v51-project-body p{font-size:13px;color:#b9cada;line-height:1.5;margin:3px 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:39px}.v51-project-meta{display:flex;align-items:center;gap:6px}.v51-project-meta>span{margin-left:auto;display:flex;gap:4px;align-items:center}.v51-project-meta svg{width:14px;height:14px}.v51-placeholder{height:245px;border-radius:16px;background:linear-gradient(100deg,#101e30 20%,#1a2b41 45%,#101e30 70%);background-size:300% 100%;animation:v51-shimmer 1.8s infinite}.v51-empty{padding:25px;border:1px dashed #2b4058;border-radius:13px;color:var(--v51-muted);font-size:14px;line-height:1.6}.v51-empty a,.v51-empty button{color:#6dd7ff;background:none;border:0;cursor:pointer;text-decoration:underline}.v51-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v51-collection{display:flex;align-items:center;gap:12px;min-height:96px;padding:16px;background:linear-gradient(120deg,var(--theme),#111e2e 90%);border:1px solid #ffffff15;border-radius:13px;transition:.23s}.v51-collection:hover{transform:translateY(-3px);border-color:#75caff70;filter:brightness(1.15)}.v51-collection>svg:first-child{width:30px;height:30px;color:#d7f2ff}.v51-collection>svg:last-child{margin-left:auto;width:15px;color:#c4daec}.v51-collection span{display:grid;gap:5px}.v51-collection strong{font-size:19px}.v51-collection small{color:#c1d1e1;font-size:12px}.v51-community-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v51-community-card{padding:15px}.v51-community-card>a{display:flex;gap:12px;align-items:center;min-height:75px}.v51-community-card>a>div:last-child{min-width:0}.v51-community-card img,.v51-community-icon{width:58px;height:58px;flex:none;object-fit:cover;border-radius:12px;background:#1b3854;display:grid;place-items:center;color:var(--v51-accent)}.v51-community-icon svg{width:26px;height:26px}.v51-community-card p{font-size:12px;color:var(--v51-muted);margin:5px 0;overflow-wrap:anywhere}.v51-community-actions{display:flex;gap:8px;margin-top:13px}.v51-community-actions button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;font-size:12px;padding:9px 6px;border:1px solid #294159;border-radius:8px;background:#162a3e;color:#c1e5ff;cursor:pointer;transition:.18s}.v51-community-actions button:hover,.v51-community-actions button[aria-pressed=true]{background:#244c65;color:#6bdbff}.v51-community-actions svg{width:15px;height:15px}.v51-server-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;background:radial-gradient(ellipse at 90% 50%,#1b4f77,#102339 65%);padding:30px;border:1px solid #2b4c68;border-radius:19px}.v51-server-banner .btn{margin-top:20px}.v51-server-orb{display:grid;place-items:center;width:125px;height:125px;flex:none;border:1px solid #39c7ff60;border-radius:50%;background:#39c7ff0d;box-shadow:0 0 40px #39c7ff20,inset 0 0 22px #39c7ff20;animation:v51-float 4s ease-in-out infinite}.v51-server-orb svg{width:53px;height:53px;color:var(--v51-accent)}
.v51-connect-panel{border-radius:17px;background:#0b1828;border:1px solid #22374a;padding:25px;overflow:hidden}.v51-connect-title{display:flex;align-items:center;gap:10px}.v51-connect-title>svg{color:var(--v51-accent);width:25px;height:25px}.v51-connect-title h2{margin:0;font-size:25px}.v51-connect-panel>p{color:#b6c6d8;font-size:14px;margin:12px 0 18px}.v51-connect-diagram{display:grid;grid-template-columns:1fr 56px 1fr;align-items:center;gap:4px}.v51-device{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:9px;min-height:120px;border-radius:12px;background:#163149;border:1px solid transparent;transition:.22s}.v51-device:hover{transform:translateY(-3px);border-color:#39c7ff80;background:#1b405c}.v51-device svg{width:32px;height:32px;color:var(--v51-accent);animation:v51-float 4s ease-in-out infinite}.v51-device:last-child svg{animation-delay:-2s}.v51-device strong{font:700 15px Inter,sans-serif}.v51-device small{color:#a8c5db;font-size:11px}.v51-wire{height:45px;display:grid;place-items:center;position:relative;overflow:hidden}.v51-wire svg{color:var(--v51-accent);z-index:1;background:#0b1828;width:20px;height:20px}.v51-wire:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px dashed #39c7ff6b}.v51-wire span{width:7px;height:7px;border-radius:50%;background:#68dbff;box-shadow:0 0 10px #39c7ff;position:absolute;top:19px;left:0;animation:v51-travel 2s linear infinite}.v51-connect-checks{display:grid;gap:13px;border-radius:10px;background:#12263a;margin:13px 0;padding:15px}.v51-connect-checks>div{display:flex;align-items:center;gap:8px;font-size:13px}.v51-connect-checks svg{width:16px;height:16px;color:#42dc9e}.v51-connect-checks .v51-planned svg{color:#c1a56a}.v51-connect-checks span{margin-left:auto;color:#9ab5ca;font-size:11px;text-align:right}.v51-connect-actions{display:flex;flex-wrap:wrap;gap:9px}.v51-connect-panel .v51-status{font-size:12px;margin:14px 0 0}.v51-connect-page{max-width:850px}.v51-subpage{padding:45px 0 75px;animation:v51-in .45s var(--v51-ease) both}.v51-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:18px 0}.v51-form label{display:grid;gap:7px;color:#adbed0;font-size:12px;flex:0 1 180px}.v51-form label:first-child{flex:1 1 240px}.v51-form .field{background:#142338;border-color:#30455c;min-width:0;flex:1 1 160px}.v51-form select.field{flex:0 1 170px}.v51-server-card{padding:16px}.v51-server-top{display:flex;align-items:center;gap:10px;margin-bottom:13px}.v51-server-top>div:last-child{display:grid;gap:4px}.v51-server-top strong{font-size:19px}.v51-server-top small{font-size:12px;color:#9bb0c7}.v51-server-card code{display:block;background:#091523;color:#bce4ff;padding:10px;border-radius:8px;overflow-wrap:anywhere}.v51-server-state{font-size:12px;margin-top:13px;min-height:36px;color:#a2b6c9}.v51-server-state small{display:block;margin-top:5px}.v51-online{color:#48dfa3}.v51-offline{color:#f5a5a5}.v51-neutral{color:#a2b6c9}.v51-status{line-height:1.6}.v51-project:focus-visible,.v51-category-grid a:focus-visible,.v51-collection:focus-visible,.v51-device:focus-visible,.v51-more:focus-visible,.v51-community-actions button:focus-visible,#discover-dropdown a:focus-visible{outline:2px solid #56d4ff;outline-offset:2px}
@keyframes v51-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes v51-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes v51-travel{from{left:-5px;opacity:0}20%,80%{opacity:1}to{left:100%;opacity:0}}@keyframes v51-ambient{to{opacity:.65;transform:scale(1.04)}}@keyframes v51-shimmer{to{background-position:-150% 0}}
@media(max-width:950px){#discover-dropdown{left:0!important}.v51-card-grid,.v51-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.v51-hero{padding:35px 0 26px}.v51-hero-logo{width:53px;height:53px}.v51-hero h1{font-size:clamp(32px,8vw,42px)}.v51-desktop-break{display:none}.v51-tagline{margin-bottom:22px}.v51-category-grid{gap:7px}.v51-category-grid a{min-height:74px}.v51-category-grid strong{font-size:11px}.v51-search kbd{display:none}.v51-section{padding:30px 0}.v51-section-head{align-items:flex-start;flex-direction:column;gap:3px}.v51-card-grid,.v51-community-grid{grid-template-columns:1fr}.v51-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v51-collection{padding:10px;gap:7px;min-height:82px}.v51-collection>svg:first-child{width:22px;height:22px}.v51-collection>svg:last-child{display:none}.v51-collection strong{font-size:16px}.v51-collection small{font-size:10px}.v51-server-banner{padding:20px}.v51-server-orb{display:none}.v51-connect-panel{padding:15px}.v51-connect-diagram{grid-template-columns:1fr 32px 1fr}.v51-device{min-height:105px}.v51-device small{font-size:10px;text-align:center}.v51-connect-checks{padding:12px;gap:10px}.v51-connect-checks>div{font-size:11px}.v51-connect-checks span{font-size:10px}.v51-connect-actions .btn{font-size:12px;padding:10px}.v51-form select.field{flex:1 1 125px}.v51-subpage{padding:30px 0 65px}}
@media(prefers-reduced-motion:reduce){.v51-hero *,.v51-section *,.v51-subpage *,.v51-subpage,#discover-dropdown *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.v51-collection{background-image:linear-gradient(105deg,var(--theme) 5%,#0a1829d9 65%,#0a18299c),var(--v51-cover,none);background-size:cover;background-position:center}.v51-collection:has([hidden]){background-color:#142338}
