/* IVLST project-only rules; shared Kaysson header/footer and assets load from ../assets/. */
body.ivlst-page #main{color-scheme:dark;--bg:#09131e;--bg2:#0d1c2b;--surface:#142436;--surface2:#172b40;--line:#294259;--text:#f4f8fd;--muted:#b2c3d1;--red:#ff455a;--blue:#51bff0;--green:#83d7b6;--shadow:0 24px 75px rgba(0,0,0,.25)}
body.ivlst-page #main{min-width:320px;margin:0;background:radial-gradient(ellipse 55% 48rem at 78% 0,rgba(33,91,130,.26),transparent),var(--bg);color:var(--text);font:16px/1.6 Inter,"Segoe UI",Arial,sans-serif}
body.ivlst-page #main a{color:inherit}
body.ivlst-page #main button{font:inherit}
body.ivlst-page #main button,body.ivlst-page #main a{-webkit-tap-highlight-color:transparent}
body.ivlst-page #main button:focus-visible,body.ivlst-page #main a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
body.ivlst-page #main img{display:block;max-width:100%}
body.ivlst-page #main .container{width:min(1190px,calc(100% - 56px));margin-inline:auto}
body.ivlst-page .skip-link{position:absolute;z-index:50;top:-90px;left:20px;padding:12px 18px;background:#fff;color:#000;border-radius:8px}
body.ivlst-page .skip-link:focus{top:18px}
body.ivlst-page #main .hero{position:relative;min-height:665px;padding-block:93px 98px;display:grid;grid-template-columns:1.07fr .93fr;gap:24px;align-items:center}
body.ivlst-page #main .hero-content{position:relative;z-index:2}
body.ivlst-page #main .hero-eyebrow,body.ivlst-page #main .eyebrow{margin:0 0 19px;color:#f88b93;font-weight:800;letter-spacing:.18em;font-size:11px}
body.ivlst-page #main .hero-eyebrow{display:flex;align-items:center;gap:10px}
body.ivlst-page #main .pulse-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px rgba(255,69,90,.13)}
body.ivlst-page #main h1,body.ivlst-page #main h2,body.ivlst-page #main h3,body.ivlst-page #main p{overflow-wrap:break-word}
body.ivlst-page #main h1,body.ivlst-page #main h2,body.ivlst-page #main h3{letter-spacing:-.04em}
body.ivlst-page #main h1{margin:0;font-size:clamp(43px,5.3vw,74px);line-height:1.065;font-weight:850}
body.ivlst-page #main h1 .highlight{color:var(--red)}
body.ivlst-page #main .hero-text{max-width:580px;margin:25px 0 30px;color:var(--muted);font-size:17px;line-height:1.8}
body.ivlst-page #main .hero-actions,body.ivlst-page #main .join-actions{display:flex;flex-wrap:wrap;gap:12px}
body.ivlst-page #main .btn{min-height:49px;padding:12px 20px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-size:13px;font-weight:800;text-decoration:none;transition:transform .2s,background .2s,border-color .2s}
body.ivlst-page #main .btn:hover{transform:translateY(-2px)}
body.ivlst-page #main .btn-primary{background:var(--red);color:#fff;box-shadow:0 9px 30px rgba(255,69,90,.2)}
body.ivlst-page #main .btn-primary:hover{background:#ff6070}
body.ivlst-page #main .btn-ghost{border:1px solid #3a5770;background:#102235;color:#f2f8ff}
body.ivlst-page #main .btn-ghost:hover{background:#19344d}
body.ivlst-page #main .hero-highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
body.ivlst-page #main .hero-highlights>span{display:flex;align-items:center;gap:6px;font-size:11px;color:#c5d6e3;padding:7px 10px;border:1px solid #283f52;border-radius:30px;background:rgba(17,35,52,.85)}
body.ivlst-page #main .hero-highlights>span>span:first-child{color:var(--green)}
body.ivlst-page #main .hero-art{height:465px;position:relative;isolation:isolate}
body.ivlst-page #main .halo{position:absolute;border-radius:50%;filter:blur(25px);z-index:-1}
body.ivlst-page #main .halo-one{background:rgba(40,121,168,.22);width:380px;height:380px;right:4%;top:4%}
body.ivlst-page #main .halo-two{background:rgba(255,69,90,.16);width:230px;height:230px;left:2%;bottom:1%}
body.ivlst-page #main .hero-logo-card{position:absolute;right:11%;top:1%;z-index:3;width:clamp(230px,70%,345px);aspect-ratio:1;border:1px solid rgba(255,255,255,.9);border-radius:22px;overflow:hidden;background:white;box-shadow:var(--shadow);transform:rotate(3deg)}
body.ivlst-page #main .hero-logo-card img{width:100%;height:100%;object-fit:contain}
body.ivlst-page #main .hero-map-card{position:absolute;left:0;bottom:2%;width:61%;height:200px;border:5px solid #15283b;border-radius:19px;overflow:hidden;box-shadow:0 18px 52px rgba(0,0,0,.4);transform:rotate(-6deg)}
body.ivlst-page #main .hero-map-card img{width:100%;height:100%;object-fit:cover}
body.ivlst-page #main .map-card-tag{position:absolute;left:12px;bottom:12px;padding:6px 9px;background:#091523;color:#fff;border:1px solid #3a5670;border-radius:6px;font-size:9px;font-weight:800;letter-spacing:.1em}
body.ivlst-page #main .art-label{position:absolute;z-index:5;right:0;bottom:6%;display:flex;gap:10px;align-items:center;border:1px solid #486681;border-radius:12px;padding:11px 16px;background:#12283c;box-shadow:0 10px 40px rgba(0,0,0,.36);transform:rotate(2deg)}
body.ivlst-page #main .art-label-icon{color:var(--green);font-size:23px}
body.ivlst-page #main .art-label strong,body.ivlst-page #main .art-label small{display:block;line-height:1.3}
body.ivlst-page #main .art-label strong{font-size:12px}
body.ivlst-page #main .art-label small{color:var(--muted);font-size:11px}
body.ivlst-page #main .quickstrip{border-block:1px solid #284056;background:#112132}
body.ivlst-page #main .quickstrip-inner{display:grid;grid-template-columns:repeat(3,1fr)}
body.ivlst-page #main .quickstrip-inner>div{display:flex;align-items:center;gap:14px;padding:22px 24px;border-right:1px solid #2c475b}
body.ivlst-page #main .quickstrip-inner>div:first-child{padding-left:0}
body.ivlst-page #main .quickstrip-inner>div:last-child{border:0}
body.ivlst-page #main .quickstrip strong,body.ivlst-page #main .quickstrip small{display:block}
body.ivlst-page #main .quickstrip strong{font-size:13px}
body.ivlst-page #main .quickstrip small{font-size:11px;color:#9fb6c7}
body.ivlst-page #main .quick-icon{font-size:22px;color:var(--blue);font-weight:700}
body.ivlst-page #main .section{padding-block:103px;scroll-margin-top:85px}
body.ivlst-page #main .section-header{margin-bottom:39px}
body.ivlst-page #main .section-header.narrow{max-width:710px}
body.ivlst-page #main .section-header h2,body.ivlst-page #main .rules-intro h2,body.ivlst-page #main .join-panel h2{margin:0;font-size:clamp(32px,4vw,51px);line-height:1.12}
body.ivlst-page #main .section-header>p:last-child,body.ivlst-page #main .split-heading>p,body.ivlst-page #main .rules-intro>p:not(.eyebrow){margin:19px 0 0;color:var(--muted);font-size:15px;line-height:1.8}
body.ivlst-page #main .section-header.narrow>p:last-child{max-width:680px}
body.ivlst-page #main .features{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
body.ivlst-page #main .feature{padding:24px 20px 28px;border:1px solid #29435a;border-radius:15px;background:linear-gradient(155deg,#14283b,#102030);min-height:235px;transition:transform .2s,border-color .2s}
body.ivlst-page #main .feature:hover{transform:translateY(-4px);border-color:#527992}
body.ivlst-page #main .feature-symbol{display:grid;place-items:center;height:42px;width:42px;border:1px solid #3a5b74;border-radius:10px;background:#193249;color:var(--blue);font-size:24px}
body.ivlst-page #main .feature h3{margin:25px 0 6px;font-size:17px;letter-spacing:-.025em}
body.ivlst-page #main .feature p{margin:0;color:var(--muted);font-size:13px;line-height:1.75}
body.ivlst-page #main .story-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:52px;align-items:center;margin-top:66px;padding-top:60px;border-top:1px solid #233d52}
body.ivlst-page #main .story-copy h3{margin:0;font-size:clamp(27px,3vw,36px);line-height:1.15}
body.ivlst-page #main .story-copy>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.8}
body.ivlst-page #main .text-link{display:inline-block;margin-top:12px;color:#8de0ff;font-weight:700;font-size:13px;text-decoration:none}
body.ivlst-page #main .text-link:hover{text-decoration:underline}
body.ivlst-page #main .image-frame{position:relative;display:block;padding:0;width:100%;overflow:hidden;border:1px solid #3a5369;border-radius:13px;background:#0a1520;cursor:zoom-in}
body.ivlst-page #main .image-frame img{width:100%;height:auto;max-height:390px;object-fit:contain;background:#222}
body.ivlst-page #main .story-image img{object-fit:cover;object-position:top;max-height:375px}
body.ivlst-page #main .zoom-hint{position:absolute;right:12px;bottom:12px;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:#0b1b2bee;backdrop-filter:blur(6px);padding:6px 10px;color:#fff;font-size:11px;font-weight:700}
body.ivlst-page #main .section-tint{background:linear-gradient(180deg,#102032,#101e2d);border-block:1px solid #263e51}
body.ivlst-page #main .split-heading{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:60px}
body.ivlst-page #main .split-heading>p{margin:0 0 2px}
body.ivlst-page #main .training-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}
body.ivlst-page #main .training-list{display:grid;gap:8px}
body.ivlst-page #main .training-item{display:flex;align-items:center;gap:14px;min-height:66px;padding:11px 16px;background:#172b3e;border:1px solid #2a455a;border-radius:10px}
body.ivlst-page #main .training-icon{display:grid;flex-shrink:0;place-items:center;width:37px;height:37px;border:1px solid currentColor;border-radius:9px;font-size:17px;font-weight:800}
body.ivlst-page #main .training-icon.orange{color:#e4ab72;background:#483221}
body.ivlst-page #main .training-icon.red{color:#ff8e98;background:#422634}
body.ivlst-page #main .training-icon.green{color:#92d9a6;background:#1e3b30}
body.ivlst-page #main .training-icon.blue{color:#87b8ff;background:#1b304b}
body.ivlst-page #main .training-item>div{flex:1;min-width:0}
body.ivlst-page #main .training-item strong,body.ivlst-page #main .training-item small{display:block}
body.ivlst-page #main .training-item strong{font-size:13px;line-height:1.4;font-weight:750}
body.ivlst-page #main .training-item small{color:#9db3c5;font-size:11px}
body.ivlst-page #main .training-item>span:last-child{color:#6089a6}
body.ivlst-page #main .training-side{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:19px;border:1px solid #2a455b;border-radius:16px;background:#102235}
body.ivlst-page #main .training-side-tag{align-self:flex-start;font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--green)}
body.ivlst-page #main .training-side img{max-height:none;aspect-ratio:885/545;object-fit:cover}
body.ivlst-page #main .training-side>p{font-size:12px;color:var(--muted);line-height:1.7;margin:0}
body.ivlst-page #main .map-gallery{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:repeat(2,205px);gap:15px}
body.ivlst-page #main .map-tile{position:relative;border:1px solid #42607a;border-radius:16px;overflow:hidden;background:#183247;cursor:zoom-in;padding:0;text-align:left;min-height:0}
body.ivlst-page #main .map-tile-main{grid-row:span 2}
body.ivlst-page #main .map-tile>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
body.ivlst-page #main .map-tile:hover>img{transform:scale(1.055)}
body.ivlst-page #main .map-tile-overlay{position:absolute;inset:auto 0 0;padding:43px 18px 17px;display:flex;justify-content:space-between;align-items:flex-end;background:linear-gradient(transparent,rgba(4,13,23,.9));color:white}
body.ivlst-page #main .map-tile-overlay small,body.ivlst-page #main .map-tile-overlay strong,body.ivlst-page #main .map-tile-overlay span:not(.map-arrow){display:block}
body.ivlst-page #main .map-tile-overlay small{color:#8ad5fa;font-size:9px;font-weight:800;letter-spacing:.2em}
body.ivlst-page #main .map-tile-overlay strong{font-size:21px;line-height:1.3;letter-spacing:-.03em}
body.ivlst-page #main .map-tile-overlay span:not(.map-arrow){font-size:11px;color:#c2d0da}
body.ivlst-page #main .map-arrow{display:grid;place-items:center;border:1px solid #8ca9bb80;background:#102538ca;border-radius:8px;width:32px;height:32px}
body.ivlst-page #main .image-disclaimer{margin:15px 0 0;font-size:11px;color:#9ab0c3}
body.ivlst-page #main .rules-layout{display:grid;grid-template-columns:.86fr 1.14fr;gap:67px}
body.ivlst-page #main .rules-intro>p:not(.eyebrow){font-size:14px}
body.ivlst-page #main .rule-screenshot{margin-top:25px}
body.ivlst-page #main .rule-screenshot img{max-height:320px;object-fit:cover;object-position:top}
body.ivlst-page #main .rules-list{display:grid;gap:0}
body.ivlst-page #main .rules-list article{display:flex;gap:19px;padding:18px 0;border-bottom:1px solid #30495d}
body.ivlst-page #main .rules-list article:first-child{padding-top:0}
body.ivlst-page #main .rules-list article>span{color:var(--red);font-weight:800;font-size:13px;letter-spacing:.08em}
body.ivlst-page #main .rules-list h3{font-size:18px;margin:0 0 5px}
body.ivlst-page #main .rules-list article p{margin:0;color:var(--muted);line-height:1.7;font-size:13px}
body.ivlst-page #main .rule-note{margin-top:19px;display:flex;gap:12px;border:1px solid #4b677e;padding:15px;border-radius:10px;background:#193044}
body.ivlst-page #main .rule-note>span{font-size:21px;color:#88d8f7}
body.ivlst-page #main .rule-note p{margin:0;color:#d2e0eb;font-size:12px;line-height:1.7}
body.ivlst-page #main .join-section{padding-block:103px}
body.ivlst-page #main .join-panel{overflow:hidden;position:relative;display:grid;grid-template-columns:1fr 270px;gap:38px;align-items:center;padding:54px 60px;border:1px solid #466781;border-radius:23px;background:linear-gradient(110deg,#19334a 0%,#10263a 59%,#182c40 100%);box-shadow:var(--shadow)}
body.ivlst-page #main .join-glow{position:absolute;right:90px;top:-125px;width:330px;height:330px;border-radius:50%;background:rgba(68,159,204,.16);filter:blur(28px)}
body.ivlst-page #main .join-copy{position:relative;z-index:2}
body.ivlst-page #main .join-panel h2{max-width:660px}
body.ivlst-page #main .join-copy>p:not(.eyebrow){max-width:650px;color:var(--muted);font-size:15px;line-height:1.8}
body.ivlst-page #main .join-actions{margin-top:27px}
body.ivlst-page #main .join-copy .join-footnote{color:#9db2c4!important;margin:16px 0 0!important;font-size:11px!important}
body.ivlst-page #main .join-logo{position:relative;border-radius:18px;border:1px solid white;background:white;overflow:hidden;transform:rotate(4deg);box-shadow:0 18px 50px #03101a90}
body.ivlst-page #main .join-logo img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
body.ivlst-page .preview-dialog{position:fixed;max-width:min(96vw,1350px);max-height:94vh;width:max-content;padding:15px;border:1px solid #5d7a91;border-radius:15px;color:white;background:#0b1826;box-shadow:0 20px 80px #000c}
body.ivlst-page .preview-dialog::backdrop{background:rgba(0,5,12,.86);backdrop-filter:blur(5px)}
body.ivlst-page .preview-dialog img{max-width:calc(96vw - 30px);max-height:calc(94vh - 94px);width:auto;height:auto;margin:auto;object-fit:contain}
body.ivlst-page .preview-dialog p{text-align:center;font-size:12px;color:var(--muted);margin:10px 24px 0}
body.ivlst-page .preview-close{position:absolute;top:8px;right:9px;width:37px;height:37px;display:grid;place-items:center;background:#10263a;color:white;border:1px solid #648197;border-radius:9px;font-size:25px;cursor:pointer}
body.ivlst-page .preview-close:hover{background:#31485a}
@media(max-width:1100px){body.ivlst-page #main .hero{min-height:610px}
body.ivlst-page #main .hero-logo-card{right:4%}
body.ivlst-page #main .features{grid-template-columns:repeat(2,1fr)}
body.ivlst-page #main .feature{min-height:190px}
body.ivlst-page #main .story-grid{gap:30px}
body.ivlst-page #main .rules-layout{gap:36px}}
@media(max-width:800px){body.ivlst-page #main .hero{padding-top:65px;padding-bottom:55px;grid-template-columns:1fr;min-height:auto;gap:25px}
body.ivlst-page #main .hero-art{height:410px;max-width:550px;width:100%;margin:auto}
body.ivlst-page #main .hero-logo-card{right:9%;width:60%}
body.ivlst-page #main .hero-map-card{left:3%;width:61%}
body.ivlst-page #main .quickstrip-inner>div{padding-inline:10px}
body.ivlst-page #main .quickstrip-inner>div:first-child{padding-left:0}
body.ivlst-page #main .section{padding-block:75px}
body.ivlst-page #main .split-heading,body.ivlst-page #main .training-layout,body.ivlst-page #main .rules-layout{grid-template-columns:1fr;gap:22px}
body.ivlst-page #main .split-heading{align-items:start}
body.ivlst-page #main .story-grid{grid-template-columns:1fr;gap:25px}
body.ivlst-page #main .story-copy{max-width:660px}
body.ivlst-page #main .training-side{max-width:650px}
body.ivlst-page #main .join-panel{grid-template-columns:1fr 185px;padding:35px}
body.ivlst-page #main .map-gallery{grid-template-rows:repeat(2,190px)}}
@media(max-width:570px){body.ivlst-page #main .container{width:calc(100% - 34px)}
body.ivlst-page #main .hero{padding-top:46px}
body.ivlst-page #main .hero h1{font-size:clamp(38px,10vw,53px)}
body.ivlst-page #main .hero-text{font-size:15px}
body.ivlst-page #main .hero-art{height:310px}
body.ivlst-page #main .hero-logo-card{width:64%;border-radius:15px;right:5%}
body.ivlst-page #main .hero-map-card{height:133px;bottom:2%;border-width:3px}
body.ivlst-page #main .art-label{right:0;bottom:1%;padding:8px 10px}
body.ivlst-page #main .art-label strong,body.ivlst-page #main .art-label small{font-size:10px}
body.ivlst-page #main .quickstrip-inner{grid-template-columns:1fr;gap:0}
body.ivlst-page #main .quickstrip-inner>div{padding:13px 0;border-right:0;border-bottom:1px solid #2a4154}
body.ivlst-page #main .quickstrip-inner>div:last-child{border-bottom:0}
body.ivlst-page #main .section{padding-block:56px}
body.ivlst-page #main .features{grid-template-columns:1fr}
body.ivlst-page #main .feature{min-height:auto}
body.ivlst-page #main .story-grid{margin-top:41px;padding-top:39px}
body.ivlst-page #main .map-gallery{grid-template-columns:1fr;grid-template-rows:260px 205px 205px}
body.ivlst-page #main .map-tile-main{grid-row:auto}
body.ivlst-page #main .map-tile-overlay strong{font-size:19px}
body.ivlst-page #main .join-panel{grid-template-columns:1fr;padding:27px 22px}
body.ivlst-page #main .join-logo{width:160px;justify-self:center;grid-row:1}
body.ivlst-page #main .join-actions .btn{width:100%}
body.ivlst-page #main .training-item strong{font-size:12px}
body.ivlst-page #main .hero-actions .btn{width:100%}
body.ivlst-page #main .hero-highlights{margin-top:20px}}
@media(prefers-reduced-motion:reduce){}
/* Project secondary navigation lives below the actual shared main-site header. */
body.ivlst-page #main .ivlst-section-nav{display:flex;justify-content:center;align-items:center;gap:clamp(12px,2vw,28px);flex-wrap:wrap;padding-block:17px 2px;}
body.ivlst-page #main .ivlst-section-nav a{color:#b9dcf4;text-decoration:none;font-weight:700;font-size:13px;padding:7px 2px;}
body.ivlst-page #main .ivlst-section-nav a:hover,body.ivlst-page #main .ivlst-section-nav a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:5px;}
body.ivlst-page #main{flex:1 0 auto;min-width:0;}
body.ivlst-page #site-header,body.ivlst-page #site-footer{width:100%;}
body.ivlst-page #site-header .topbar{width:100%;}
@media(max-width:570px){body.ivlst-page #main .ivlst-section-nav{justify-content:flex-start;gap:4px 16px;padding-block:14px 0}}
