/* ================================================================
   PrimeMC V51 — Server Identity
   Gameplay-first, community-first, less fantasy-tourism.
   ================================================================ */
:root{
  --v51-ink:#172127;
  --v51-ink-2:#213039;
  --v51-paper:#eee6dc;
  --v51-paper-2:#f6f0e9;
  --v51-paper-3:#dfd3c6;
  --v51-sakura:#cb788d;
  --v51-sakura-dark:#8d4f61;
  --v51-moss:#6e7a68;
  --v51-gold:#c79c58;
  --v51-line:rgba(27,37,42,.13);
  --v51-radius:20px;
}

/* ---------- Global polish ---------- */
body.prime-v50{background:var(--v51-paper);color:var(--v51-ink)}
body.prime-v50::selection{background:#d894a5;color:#fff}
.v50-index,.v50-eyebrow{font-family:var(--v50-sans);letter-spacing:.16em}
.v50-index{color:var(--v51-sakura-dark)}
[data-v50-reveal]{transform:translateY(18px)}

/* ---------- Navigation ---------- */
.v50-nav-shell{height:76px;grid-template-columns:245px 1fr auto;border-bottom:1px solid rgba(255,255,255,.12)}
.v50-nav.is-scrolled,.v50-nav.is-dark{background:rgba(18,29,35,.92);box-shadow:0 12px 36px rgba(0,0,0,.14)}
.v50-brand-flower{color:#eba6b6}
.v50-brand-copy strong{font-size:1.52rem;letter-spacing:-.025em}
.v50-brand-copy small{letter-spacing:.15em;color:rgba(255,255,255,.54)}
.v50-menu{gap:21px}
.v50-menu a{padding:28px 0 24px;font-size:.73rem;font-weight:600}
.v50-menu a::after{height:3px;border-radius:3px;background:linear-gradient(90deg,var(--v51-sakura),var(--v51-gold))}
.v50-server-link,.v50-login,.v50-account{border-radius:12px;min-height:40px;padding:0 14px}
.v50-server-link{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.16)}
.v50-login{background:#f3e9df;color:#3e3035!important;box-shadow:0 9px 22px rgba(0,0,0,.12)}
.v50-login:hover{background:#fff}

/* ---------- Hero: clearly a Minecraft server ---------- */
.v50-hero.v51-hero{min-height:760px;background:#172127}
.v51-hero .v50-hero-image{background-position:66% 46%;filter:saturate(.9) contrast(.98)}
.v51-hero.v50-hero::before{background:linear-gradient(90deg,rgba(16,27,33,.97) 0%,rgba(16,27,33,.88) 34%,rgba(16,27,33,.38) 66%,rgba(16,27,33,.28)),linear-gradient(0deg,rgba(16,27,33,.85),transparent 38%)}
.v51-hero.v50-hero::after{background:radial-gradient(circle at 78% 38%,rgba(199,156,88,.15),transparent 25%),radial-gradient(circle at 18% 22%,rgba(203,120,141,.13),transparent 28%)}
.v51-hero .v50-hero-shell{min-height:760px;padding:145px 0 62px;grid-template-columns:minmax(0,720px) 340px;grid-template-rows:1fr auto;gap:28px 68px}
.v51-hero .v50-wordmark{margin:12px 0 24px}
.v51-hero .v50-wordmark h1{font-size:clamp(6.2rem,9vw,9.4rem);line-height:.78}
.v51-hero .v50-manifesto{font-size:clamp(2.35rem,3.4vw,3.7rem);max-width:680px;line-height:1}
.v51-hero-lead{max-width:620px;margin:22px 0 0;color:rgba(255,255,255,.68);font-size:.92rem;line-height:1.75}
.v51-hero .v50-hero-actions{margin-top:28px}
.v50-btn{min-height:50px;border-radius:12px;padding:0 18px;gap:28px;box-shadow:none}
.v50-btn.solid{background:linear-gradient(135deg,#e9b5c1,#d98ba0);color:#30252a;box-shadow:0 14px 32px rgba(203,120,141,.18)}
.v50-btn.solid:hover{background:#f2c3cd}
.v50-btn.line{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.22)}
.v50-btn.line:hover{background:rgba(255,255,255,.1)}
.v51-hero-panel{align-self:center;justify-self:end;width:100%;padding:20px 20px 18px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(15,27,33,.48);backdrop-filter:blur(14px);box-shadow:0 22px 60px rgba(0,0,0,.17)}
.v51-panel-label{display:block;margin-bottom:8px;color:#e3a1b1;font-size:.58rem;letter-spacing:.17em;font-weight:700}
.v51-hero-panel>div{display:grid;grid-template-columns:30px 1fr;gap:0 12px;padding:14px 0;border-top:1px solid rgba(255,255,255,.1)}
.v51-hero-panel b{grid-row:1/3;font:600 .72rem var(--v50-serif);color:#d4a15e}
.v51-hero-panel strong{font-size:.86rem;color:#fff}
.v51-hero-panel small{margin-top:3px;color:rgba(255,255,255,.55);font-size:.67rem;line-height:1.45}
.v51-hero .v50-hero-caption{grid-column:1/3;padding-top:18px}
.v51-hero .v50-scroll{display:none}

/* ---------- Shared section typography ---------- */
.v50-section-intro h2,.v50-seasons-head h2,.v50-story-title h2,.v50-portals-head h2,.v50-news-head h2{font-size:clamp(2.7rem,4.3vw,4.7rem);line-height:.95;letter-spacing:-.04em}
.v51-section-copy{max-width:690px;margin:18px 0 0;color:#707170;line-height:1.75;font-size:.9rem}

/* ---------- Moments: editorial mosaic, not tourism cards ---------- */
.v50-memory.v51-memory{padding:92px 0 100px;background:linear-gradient(180deg,#f5eee6 0%,#ece3d8 100%)}
.v51-memory .v50-section-intro{grid-template-columns:1.05fr .75fr;gap:70px}
.v51-memory-grid{width:var(--v50-shell)!important;max-width:1440px!important;margin:46px auto 0;padding:0!important;display:grid!important;grid-template-columns:1.35fr .9fr .9fr;grid-template-rows:260px 260px;gap:14px;overflow:visible!important}
.v51-memory-grid .v50-memory-card{width:auto!important;height:auto!important;margin:0!important;transform:none!important;border-radius:17px;background:#172127;box-shadow:0 20px 45px rgba(48,42,38,.1);position:relative;overflow:hidden}
.v51-memory-grid .v50-memory-card:nth-child(1){grid-column:1;grid-row:1/3}
.v51-memory-grid .v50-memory-card:nth-child(2){grid-column:2;grid-row:1}
.v51-memory-grid .v50-memory-card:nth-child(3){grid-column:3;grid-row:1}
.v51-memory-grid .v50-memory-card:nth-child(4){grid-column:2;grid-row:2}
.v51-memory-grid .v50-memory-card:nth-child(5){grid-column:3;grid-row:2}
.v51-memory-grid .v50-memory-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.75,.2,1),filter .3s;filter:saturate(.93)}
.v51-memory-grid .v50-memory-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,23,28,.88) 0%,rgba(13,23,28,.18) 58%,transparent 78%)}
.v51-memory-grid .v50-memory-card div{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:18px 20px 20px;color:#fff}
.v51-memory-grid .v50-memory-card small{color:#efb3c1;font-size:.54rem}
.v51-memory-grid .v50-memory-card h3{font-size:1.35rem;line-height:1.06;color:#fff}
.v51-memory-grid .v50-memory-card.featured h3{font-size:2.15rem;max-width:620px}
.v51-memory-grid .v50-memory-card p{color:rgba(255,255,255,.66);font-size:.72rem;max-width:590px}
.v51-memory-grid .v50-memory-card:hover img{transform:scale(1.035);filter:saturate(1)}

/* ---------- Gameplay lanes ---------- */
.v50-story.v51-gameplay{padding:105px 0 112px;background:#172127;color:#fff}
.v51-gameplay .v50-story-shell{position:relative}
.v51-gameplay .v50-story-title{width:min(920px,100%);margin-bottom:58px}
.v51-gameplay .v50-story-title h2{color:#f0e8df}
.v51-gameplay .v51-section-copy{color:rgba(255,255,255,.6)}
.v51-gameplay .v50-index{color:#df98aa}
.v51-gameplay-list{display:grid;gap:0}
.v51-gameplay-list article,.v51-gameplay-list article:nth-child(even){display:grid;grid-template-columns:62px minmax(0,.9fr) minmax(360px,1.1fr);gap:30px;align-items:center;padding:38px 0;border-top:1px solid rgba(255,255,255,.11)}
.v51-gameplay-list article:last-child{border-bottom:1px solid rgba(255,255,255,.11)}
.v51-gameplay-list article>span{align-self:start;padding-top:7px;font:600 1.15rem var(--v50-serif);color:#cfa05e}
.v51-gameplay-list article>div{grid-column:2;max-width:560px}
.v51-gameplay-list article>img{grid-column:3;grid-row:1;width:100%;height:330px;object-fit:cover;border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,.19)}
.v51-gameplay-list article:nth-child(2)>img{grid-column:2}
.v51-gameplay-list article:nth-child(2)>div{grid-column:3;padding-left:16px}
.v51-gameplay-list article:nth-child(2)>span{grid-column:1}
.v51-gameplay-list small{display:block;margin-bottom:10px;color:#e2a2b1;letter-spacing:.15em;font-size:.6rem;font-weight:700}
.v51-gameplay-list h3{margin:0 0 13px;font:600 clamp(2rem,3vw,3rem)/1 var(--v50-serif);color:#fff;letter-spacing:-.035em}
.v51-gameplay-list p{margin:0;color:rgba(255,255,255,.62);font-size:.82rem;line-height:1.75}
.v51-gameplay-list a{display:inline-flex;margin-top:18px;color:#f2c2cc;text-decoration:none;font-size:.72rem;font-weight:700}
.v50-story-rail{display:none!important}

/* ---------- Seasons ---------- */
.v50-seasons.v51-seasons{padding:96px 0 108px;background:#dcd0c3}
.v51-seasons .v50-seasons-head{margin-bottom:32px}
.v51-seasons .v50-seasons-head h2{max-width:1100px}
.v51-seasons .v50-season-stage{grid-template-columns:1fr;gap:12px}
.v51-seasons .v50-season-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;order:0;align-content:auto}
.v51-seasons .v50-season-nav button{min-height:64px;padding:0 16px;border:1px solid rgba(37,45,45,.12);border-radius:12px;background:rgba(247,241,233,.5);justify-content:flex-start;transition:.2s}
.v51-seasons .v50-season-nav button:hover{background:rgba(255,255,255,.65)}
.v51-seasons .v50-season-nav button.is-active{background:#172127;color:#fff;border-color:#172127;box-shadow:0 12px 28px rgba(33,40,41,.12)}
.v51-seasons .v50-season-nav button.is-active span{font-size:1.15rem}
.v51-seasons .v50-season-canvas{min-height:560px;border-radius:18px;box-shadow:0 26px 58px rgba(53,46,42,.12)}
.v51-seasons .v50-season-copy{left:42px;bottom:38px;width:min(590px,60%)}
.v51-seasons .v50-season-copy h3{font-size:clamp(3rem,5vw,5.2rem)}
.v51-seasons .v50-season-number{right:22px;bottom:8px;opacity:.85}

/* ---------- Services: functional portal layout ---------- */
.v50-portals.v51-services{padding:100px 0;background:#f2ebe2}
.v51-services .v50-portals-head{display:grid;grid-template-columns:1fr .72fr;gap:60px;align-items:end;margin-bottom:42px}
.v51-services .v50-portals-head .v51-section-copy{grid-column:2;grid-row:1/3;align-self:end;margin:0 0 4px}
.v51-services .v50-portal-map{display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:350px 310px;gap:14px}
.v51-services .v50-portal{position:relative;min-height:0!important;border-radius:18px;overflow:hidden;box-shadow:0 20px 46px rgba(46,39,36,.1);border:0}
.v51-services .v50-portal::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(13,22,27,.88),rgba(13,22,27,.07) 68%);z-index:1;pointer-events:none}
.v51-services .v50-portal img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.75,.2,1)}
.v51-services .v50-portal>div{position:absolute;z-index:2;left:25px;right:25px;bottom:22px;padding:0;background:none}
.v51-services .v50-portal small{font-size:.56rem!important;letter-spacing:.16em;color:#efb5c2!important}
.v51-services .v50-portal h3{margin:7px 0 7px;font-size:clamp(2.15rem,3.5vw,3.9rem)!important;line-height:.9}
.v51-services .v50-portal p{max-width:470px;margin:0;color:rgba(255,255,255,.68)!important;font-size:.75rem;line-height:1.55}
.v51-services .v50-portal span{display:inline-block;margin-top:14px;font-size:.69rem;font-weight:700}
.v51-services .v50-portal:hover img{transform:scale(1.035)}
.v51-services .portal-server{grid-column:1/8;grid-row:1}
.v51-services .portal-shop{grid-column:8/13;grid-row:1}
.v51-services .portal-story{grid-column:1/6;grid-row:2}
.v51-services .portal-tarot{grid-column:6/13;grid-row:2}

/* ---------- News ---------- */
.v50-news.v51-news{padding:98px 0 110px;background:#e5d9cc}
.v51-news .v50-news-head{margin-bottom:30px}
.v51-news .v50-news-head>a{font-size:.7rem;font-weight:700;color:#674955;text-decoration:none;border-bottom:1px solid rgba(103,73,85,.28);padding-bottom:4px}
.v51-news .v50-news-layout{gap:18px}
.v51-news .v50-news-lead{border-radius:18px;overflow:hidden;min-height:520px}
.v51-news .v50-news-lead>div{background:linear-gradient(0deg,rgba(14,23,28,.9),rgba(14,23,28,.06));left:0;right:0;bottom:0;padding:88px 28px 28px}
.v51-news .v50-news-lead h3{font-size:clamp(2.3rem,4vw,4rem)}
.v51-news .v50-news-stack{border-radius:18px;overflow:hidden;background:rgba(246,240,233,.72);border:1px solid var(--v51-line)}
.v51-news .v50-news-stack article{padding:22px;border-bottom:1px solid var(--v51-line)}
.v51-news .v50-news-stack article:last-child{border-bottom:0}

/* ---------- CTA ---------- */
.v50-exit.v51-cta{min-height:390px;background:#172127}
.v51-cta .v50-exit-image{filter:saturate(.78) brightness(.78)}
.v51-cta .v50-exit-shell{padding:78px 0}
.v51-cta h2{font-size:clamp(3rem,5vw,5rem)}
.v51-cta .v50-exit-shell>a{border-radius:12px;background:#e5a7b6;color:#30252a;box-shadow:0 15px 34px rgba(0,0,0,.16)}

/* ---------- Server page ---------- */
.v50-server-intro.v51-server-intro{min-height:520px;background:#172127}
.v51-server-intro .v50-server-intro-image{filter:saturate(.85) brightness(.8);background-position:center 52%}
.v51-server-intro .v50-server-intro-shell{min-height:520px;padding:130px 0 58px;grid-template-columns:minmax(0,760px) 360px;align-items:end}
.v51-server-intro .v50-server-intro-shell>div:first-child{max-width:760px}
.v51-server-intro h1{font-size:clamp(4rem,7vw,7rem);line-height:.86;margin-bottom:18px}
.v51-server-intro p{max-width:680px;color:rgba(255,255,255,.68);line-height:1.75;font-size:.9rem}
.v51-server-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.v51-server-badges span{padding:8px 11px;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);font-size:.65rem;font-weight:700;color:#e8e0d8}
.v51-server-mini{align-self:end;padding:22px;border:1px solid rgba(255,255,255,.15);border-radius:16px;background:rgba(13,24,29,.58);backdrop-filter:blur(14px);color:#fff}
.v51-server-mini small{display:block;font-size:.55rem;letter-spacing:.17em;color:#e8a9b7;font-weight:700}
.v51-server-mini strong{display:block;margin:8px 0 15px;font:600 2.1rem var(--v50-serif);letter-spacing:-.03em}
.v51-server-mini button{width:100%;min-height:42px;border:0;border-radius:10px;background:#eadfd5;color:#3c3035;font-weight:800;cursor:pointer}

.v50-passport-zone.v51-connect-zone{padding:60px 0 70px;background:#eee6dc}
.v51-connect-zone .v50-passport-layout{grid-template-columns:1.15fr .85fr;gap:18px;align-items:stretch}
.v50-passport.v51-connect-card{border-radius:18px;padding:28px;background:#f8f2eb;border:1px solid rgba(39,46,48,.12);box-shadow:0 22px 52px rgba(47,41,38,.09)}
.v51-connect-card .v50-passport-ip{padding:34px 0 28px}
.v51-connect-card .v50-passport-ip strong{font-size:clamp(3.8rem,6vw,6.5rem);line-height:.9;letter-spacing:-.055em}
.v51-connect-card .v50-passport-ip button{border-radius:10px;background:#172127;color:#fff;border:0;padding:0 18px;min-height:44px}
.v51-connect-card .v50-passport-grid{border-radius:13px;overflow:hidden;border:1px solid var(--v51-line)}
.v51-connect-card .v50-passport-grid>div{background:rgba(255,255,255,.45)}
.v50-howto.v51-howto{border-radius:18px;padding:32px;background:#23323a;color:#fff;box-shadow:0 22px 52px rgba(47,41,38,.09)}
.v51-howto .v50-index{color:#e4a7b6}
.v51-howto h2{font-size:3.2rem;margin:12px 0 24px}
.v51-howto ol{margin:0;padding:0;list-style:none}
.v51-howto li{padding:17px 0;border-top:1px solid rgba(255,255,255,.1)}
.v51-howto li:first-child{border-top:0}
.v51-howto code{color:#f0c3cc;background:rgba(255,255,255,.07);padding:2px 5px;border-radius:5px}

.v50-control-room.v51-live-hub{padding:90px 0 96px;background:#172127}
.v51-live-hub .v50-control-head{margin-bottom:30px}
.v51-live-hub .v50-control-head h2{font-size:clamp(3rem,5vw,5rem);color:#fff}
.v51-live-hub .v50-control-head p{color:rgba(255,255,255,.58)}
.v51-live-hub .v50-control-layout{border:1px solid rgba(255,255,255,.11);border-radius:18px;overflow:hidden;background:#1c292f;box-shadow:0 25px 70px rgba(0,0,0,.16)}
.v51-live-hub .v50-live-column{padding:28px;min-height:390px;background:transparent}
.v51-live-hub .v50-live-column.minecraft{background:linear-gradient(180deg,rgba(111,132,105,.11),transparent)}
.v51-live-hub .v50-live-column.discord{background:linear-gradient(180deg,rgba(93,94,143,.11),transparent)}
.v51-live-hub .v50-live-column.quick{background:linear-gradient(180deg,rgba(203,120,141,.09),transparent)}
.v51-live-hub .v50-live-number strong{font-size:clamp(5rem,8vw,7.3rem)}
.v51-live-hub .v50-discord-count strong{font-size:3.3rem}
.v51-live-hub .prime-id-input{border-radius:12px;overflow:hidden;background:#f2ebe2;padding:6px}
.v51-live-hub .prime-id-input input{color:#253036}
.v51-live-hub .prime-id-input button{border-radius:9px;background:#172127;color:#fff}
.v50-server-exit.v51-server-actions{background:#d6c9bc;color:#1d2b31}
.v51-server-actions button{border-radius:10px;background:#172127;color:#fff}
.v51-server-actions a{font-weight:700}

/* ---------- Footer: always visible, informative, not a fantasy map ---------- */
.prime-footer-v51{position:relative;background:#111b20;color:#aeb8ba;border-top:1px solid rgba(255,255,255,.08);font-family:var(--v50-sans);overflow:hidden;clear:both}
.prime-footer-v51 *{box-sizing:border-box}
.prime-footer-v51 a{color:inherit;text-decoration:none}
.prime-footer-v51-accent{height:3px;background:linear-gradient(90deg,#667663 0 20%,#c98b5f 20% 40%,#c8758a 40% 65%,#826d8c 65% 82%,#677f91 82%)}
.prime-footer-v51-status{width:min(1440px,calc(100% - 72px));margin:0 auto;min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid rgba(255,255,255,.08)}
.prime-footer-v51-status-main{display:flex;align-items:center;gap:15px}
.prime-footer-v51-dot{width:9px;height:9px;border-radius:50%;background:#78bd7e;box-shadow:0 0 0 6px rgba(120,189,126,.09)}
.prime-footer-v51-status-main small{display:block;font-size:.54rem;letter-spacing:.15em;color:#849094}
.prime-footer-v51-status-main strong{display:block;margin-top:4px;color:#f3eee8;font-size:.95rem}
.prime-footer-v51-status-actions{display:flex;gap:8px;align-items:center}
.prime-footer-v51-status-actions a,.prime-footer-v51-status-actions button{min-height:40px;padding:0 13px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:transparent;color:#d7ddde;font:700 .65rem var(--v50-sans);cursor:pointer}
.prime-footer-v51-status-actions button{background:#e6dcd2;color:#30272b;border-color:#e6dcd2}
.prime-footer-v51-inner{width:min(1440px,calc(100% - 72px));margin:0 auto;padding:54px 0 46px;display:grid;grid-template-columns:minmax(280px,1.15fr) minmax(0,2fr);gap:72px}
.prime-footer-v51-brand{max-width:390px}
.prime-footer-v51-logo{display:inline-flex;align-items:center;gap:10px;color:#f2ece5!important}
.prime-footer-v51-logo span{color:#e89bad;font-size:1.55rem}.prime-footer-v51-logo strong{font:600 2rem var(--v50-serif)}
.prime-footer-v51-brand>p{margin:18px 0;color:#929da0;font-size:.77rem;line-height:1.75}
.prime-footer-v51-server{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:rgba(255,255,255,.025)}
.prime-footer-v51-server small{display:block;color:#748185;font-size:.5rem;letter-spacing:.13em}
.prime-footer-v51-server strong{display:block;margin-top:4px;color:#e9e4dd;font-size:.88rem}
.prime-footer-v51-server button{border:0;border-radius:8px;background:#29383f;color:#fff;padding:10px 12px;font-size:.62rem;font-weight:800;cursor:pointer}
.prime-footer-v51-socials{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.prime-footer-v51-socials a{padding:7px 9px;border-radius:7px;background:rgba(255,255,255,.05);font-size:.59rem;color:#b7c0c2}
.prime-footer-v51-links{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.prime-footer-v51-links h4{margin:0 0 15px;color:#eee8e1;font-size:.67rem;letter-spacing:.11em;text-transform:uppercase}
.prime-footer-v51-links a{display:block;padding:5px 0;color:#8f9a9d;font-size:.69rem;transition:.18s}
.prime-footer-v51-links a:hover{color:#f1bec9;transform:translateX(2px)}
.prime-footer-v51-bottom{width:min(1440px,calc(100% - 72px));min-height:64px;margin:0 auto;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:20px;color:#657277;font-size:.58rem}
.prime-footer-v51-bottom>div{display:flex;gap:18px;align-items:center}.prime-footer-v51-bottom a:hover{color:#cbd2d3}

/* ---------- Shared/public shell pages ---------- */
body.prime-v50-shell{background:linear-gradient(180deg,#e7ddd2,#f3ece4)!important;color:#233037!important}
body.prime-v50-shell .site-header{background:rgba(18,29,35,.95)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
body.prime-v50-shell .prime-logo{letter-spacing:-.035em}
body.prime-v50-shell .btn-cozy:not(.btn-outline),body.prime-v50-shell .auth-primary,body.prime-v50-shell .checkout-btn,body.prime-v50-shell .primary-action{border-radius:10px!important;background:linear-gradient(135deg,#92586a,#684854)!important;box-shadow:0 12px 26px rgba(63,43,50,.13)!important}
body.prime-v50-shell .btn-cozy:hover,body.prime-v50-shell .auth-primary:hover{transform:translateY(-1px)}
body.prime-v50-shell .site-footer{display:none!important}
body.auth-page.prime-v50-shell{background:radial-gradient(circle at 82% 12%,rgba(203,120,141,.13),transparent 28rem),linear-gradient(145deg,#172127 0%,#26363e 38%,#e6dbcf 38.1%,#f0e8df 100%)!important}
body.auth-page.prime-v50-shell .auth-card{border-radius:22px!important;overflow:hidden!important}

/* ---------- Responsive ---------- */
@media(max-width:1120px){
  .v51-hero .v50-hero-shell{grid-template-columns:1fr 290px;gap:40px}.v51-hero-panel{padding:16px}
  .v51-memory-grid{grid-template-columns:1.15fr 1fr;grid-template-rows:310px 250px 250px}.v51-memory-grid .v50-memory-card:nth-child(1){grid-column:1;grid-row:1/3}.v51-memory-grid .v50-memory-card:nth-child(2){grid-column:2;grid-row:1}.v51-memory-grid .v50-memory-card:nth-child(3){grid-column:2;grid-row:2}.v51-memory-grid .v50-memory-card:nth-child(4){grid-column:1;grid-row:3}.v51-memory-grid .v50-memory-card:nth-child(5){grid-column:2;grid-row:3}
  .v51-gameplay-list article,.v51-gameplay-list article:nth-child(even){grid-template-columns:50px 1fr 370px}.v51-gameplay-list article>img{height:280px}
  .v51-services .v50-portals-head{grid-template-columns:1fr}.v51-services .v50-portals-head .v51-section-copy{grid-column:1;grid-row:auto}.v51-services .v50-portal-map{grid-template-rows:320px 290px}
  .v51-server-intro .v50-server-intro-shell{grid-template-columns:1fr 310px}.v51-connect-zone .v50-passport-layout{grid-template-columns:1fr}.v51-howto ol{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.v51-howto li{border-top:0;border-left:1px solid rgba(255,255,255,.1);padding-left:15px}
  .prime-footer-v51-inner{grid-template-columns:1fr;gap:38px}.prime-footer-v51-brand{max-width:none}.prime-footer-v51-links{gap:24px}
}
@media(max-width:860px){
  .v50-nav-shell{grid-template-columns:1fr auto auto}.v50-menu-toggle{display:block}.v50-menu{display:none}.v50-menu.is-open{display:grid}.v50-nav-actions .v50-server-link{display:none}
  .v51-hero.v50-hero{min-height:720px}.v51-hero .v50-hero-shell{min-height:720px;grid-template-columns:1fr;padding:122px 0 55px}.v51-hero-panel{display:none}.v51-hero .v50-hero-caption{grid-column:1}.v51-hero .v50-wordmark h1{font-size:6.2rem}
  .v51-memory .v50-section-intro{grid-template-columns:1fr;gap:22px}.v51-memory-grid{grid-template-columns:1fr 1fr;grid-template-rows:360px 250px 250px}.v51-memory-grid .v50-memory-card:nth-child(1){grid-column:1/3;grid-row:1}.v51-memory-grid .v50-memory-card:nth-child(2){grid-column:1;grid-row:2}.v51-memory-grid .v50-memory-card:nth-child(3){grid-column:2;grid-row:2}.v51-memory-grid .v50-memory-card:nth-child(4){grid-column:1;grid-row:3}.v51-memory-grid .v50-memory-card:nth-child(5){grid-column:2;grid-row:3}.v51-memory-grid .v50-memory-card.featured h3{font-size:1.8rem}
  .v51-gameplay-list article,.v51-gameplay-list article:nth-child(even){grid-template-columns:46px 1fr}.v51-gameplay-list article>div,.v51-gameplay-list article:nth-child(2)>div{grid-column:2;padding-left:0}.v51-gameplay-list article>img,.v51-gameplay-list article:nth-child(2)>img{grid-column:2;grid-row:auto;height:310px}
  .v51-seasons .v50-season-nav{grid-template-columns:repeat(4,1fr)}.v51-seasons .v50-season-nav button{justify-content:center}.v51-seasons .v50-season-nav button b{display:none}
  .v51-services .v50-portal-map{grid-template-columns:1fr 1fr;grid-template-rows:320px 300px}.v51-services .portal-server,.v51-services .portal-shop,.v51-services .portal-story,.v51-services .portal-tarot{grid-column:auto;grid-row:auto}
  .v51-server-intro .v50-server-intro-shell{grid-template-columns:1fr}.v51-server-mini{max-width:420px}.v51-howto ol{grid-template-columns:1fr}.v51-howto li{border-left:0;border-top:1px solid rgba(255,255,255,.1);padding-left:0}
  .prime-footer-v51-status,.prime-footer-v51-inner,.prime-footer-v51-bottom{width:min(100% - 38px,1440px)}.prime-footer-v51-links{grid-template-columns:1fr 1fr}.prime-footer-v51-status{align-items:flex-start;flex-direction:column;padding:20px 0}.prime-footer-v51-status-actions{width:100%;flex-wrap:wrap}.prime-footer-v51-status-actions a,.prime-footer-v51-status-actions button{flex:1;text-align:center}.prime-footer-v51-bottom{align-items:flex-start;flex-direction:column;padding:18px 0}.prime-footer-v51-bottom>div{flex-wrap:wrap}
}
@media(max-width:620px){
  :root{--v50-shell:calc(100% - 28px)}
  .v50-nav-shell{height:66px}.v50-brand-copy strong{font-size:1.3rem}
  .v51-hero.v50-hero{min-height:650px}.v51-hero .v50-hero-shell{min-height:650px;padding:102px 0 46px}.v51-hero .v50-wordmark h1{font-size:4.55rem}.v51-hero .v50-manifesto{font-size:2.15rem}.v51-hero-lead{font-size:.78rem}.v51-hero .v50-hero-actions{grid-template-columns:1fr 1fr}.v50-btn{padding:0 10px;gap:9px;font-size:.69rem}.v51-hero .v50-hero-caption{font-size:.62rem}
  .v50-memory.v51-memory{padding:70px 0}.v50-section-intro h2,.v50-seasons-head h2,.v50-story-title h2,.v50-portals-head h2,.v50-news-head h2{font-size:2.75rem}.v51-memory-grid{width:calc(100% - 28px)!important;grid-template-columns:1fr;grid-template-rows:360px repeat(4,230px);gap:10px}.v51-memory-grid .v50-memory-card:nth-child(n){grid-column:1;grid-row:auto}.v51-memory-grid .v50-memory-card.featured h3{font-size:1.65rem}
  .v50-story.v51-gameplay{padding:74px 0}.v51-gameplay .v50-story-title{margin-bottom:36px}.v51-gameplay-list article,.v51-gameplay-list article:nth-child(even){grid-template-columns:34px 1fr;gap:12px;padding:28px 0}.v51-gameplay-list article>img,.v51-gameplay-list article:nth-child(2)>img{height:220px}.v51-gameplay-list h3{font-size:2rem}
  .v50-seasons.v51-seasons{padding:72px 0}.v51-seasons .v50-season-nav{gap:5px}.v51-seasons .v50-season-nav button{min-height:50px;padding:0 8px}.v51-seasons .v50-season-nav button span{font-size:.82rem}.v51-seasons .v50-season-nav button.is-active span{font-size:.95rem}.v51-seasons .v50-season-canvas{min-height:480px}.v51-seasons .v50-season-copy{left:20px;right:20px;bottom:25px;width:auto}.v51-seasons .v50-season-copy h3{font-size:3rem}
  .v50-portals.v51-services{padding:72px 0}.v51-services .v50-portal-map{grid-template-columns:1fr;grid-template-rows:repeat(4,280px)}.v51-services .v50-portal h3{font-size:2.6rem!important}.v51-services .v50-portal>div{left:18px;right:18px;bottom:17px}
  .v50-news.v51-news{padding:72px 0}.v51-news .v50-news-lead{min-height:430px}.v51-news .v50-news-lead>div{padding:75px 20px 20px}.v51-news .v50-news-stack article{padding:17px}
  .v50-exit.v51-cta{min-height:330px}.v51-cta .v50-exit-shell{padding:62px 0}.v51-cta h2{font-size:3rem}
  .v50-server-intro.v51-server-intro{min-height:470px}.v51-server-intro .v50-server-intro-shell{min-height:470px;padding:105px 0 42px}.v51-server-intro h1{font-size:4rem}.v51-server-mini{padding:16px}.v51-server-mini strong{font-size:1.7rem}
  .v50-passport-zone.v51-connect-zone{padding:38px 0 48px}.v50-passport.v51-connect-card{padding:20px 16px}.v51-connect-card .v50-passport-ip strong{font-size:3.15rem}.v51-howto{padding:24px 18px!important}.v51-howto h2{font-size:2.5rem}
  .v50-control-room.v51-live-hub{padding:66px 0}.v51-live-hub .v50-live-column{padding:22px;min-height:320px}
  .prime-footer-v51-status,.prime-footer-v51-inner,.prime-footer-v51-bottom{width:calc(100% - 28px)}.prime-footer-v51-inner{padding:40px 0 32px}.prime-footer-v51-links{grid-template-columns:1fr 1fr;gap:26px 20px}.prime-footer-v51-links h4{font-size:.61rem}.prime-footer-v51-links a{font-size:.66rem}.prime-footer-v51-status-actions{display:grid;grid-template-columns:1fr 1fr}.prime-footer-v51-status-actions button{grid-column:1/3}.prime-footer-v51-server{grid-template-columns:1fr}.prime-footer-v51-server button{width:100%}
}
@media(prefers-reduced-motion:reduce){.v51-memory-grid .v50-memory-card img,.v51-services .v50-portal img{transition:none!important}}

/* V55 copy-IP cleanup: secondary server CTAs are links, only the main passport keeps copy. */
.v51-server-mini a{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;
  border:0;border-radius:10px;background:#eadfd5;color:#3c3035!important;
  font-weight:800;text-decoration:none;
}
.v51-server-actions a:last-child{
  background:#172127;color:#fff!important;border-color:#172127;
}
