
:root{
  --bg:#050506;
  --text:#f8fafc;
  --muted:rgba(248,250,252,.72);
  --dim:rgba(248,250,252,.46);
  --line:rgba(255,255,255,.16);
  --accent:#22d3ee;
  --accent2:#a78bfa;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,Arial,Helvetica,sans-serif}
a{color:inherit}
body.landing{
  overflow-x:hidden;
  background:
    radial-gradient(circle at 50% 48%,rgba(34,211,238,.13),transparent 24%),
    radial-gradient(circle at 30% 45%,rgba(116,80,255,.23),transparent 38%),
    radial-gradient(circle at 72% 47%,rgba(17,169,132,.15),transparent 37%),
    linear-gradient(110deg,#050506 0%,#090718 48%,#03100d 100%);
}
.page{
  position:relative;
  min-height:100svh;
  width:100%;
  max-width:1600px;
  margin:0 auto;
  overflow:hidden;
  display:grid;
  place-items:center;
  padding:24px 18px 24px;
}
.noise{
  position:absolute;inset:0;pointer-events:none;opacity:.26;
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:radial-gradient(circle at center,#000 0 78%,transparent 100%);
}
.logo-field{
  position:absolute;
  inset:0;
  z-index:1;
}
.service-chip,.game-chip{
  display:inline-flex;
  align-items:center;
  min-width:0;
  gap:8px;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:0 12px 32px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}
.service-chip{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:var(--w);
  height:var(--h);
  transform:translate(-50%,-50%);
  padding:5px 10px 5px 6px;
}
.service-chip img,.game-chip img{
  flex:0 0 auto;
  display:block;
  object-fit:contain;
  border-radius:8px;
  background:rgba(255,255,255,.06);
}
.service-chip span,.game-chip span{
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  letter-spacing:.01em;
}
.service-chip.tier-1{
  z-index:3;
  background:rgba(255,255,255,.122);
  border-color:rgba(255,255,255,.25);
  opacity:1;
}
.service-chip.tier-1 img{width:32px;height:32px;border-radius:10px}
.service-chip.tier-1 span{font-size:16px;font-weight:900;color:#fff}
.service-chip.tier-2{
  z-index:2;
  background:rgba(255,255,255,.083);
  border-color:rgba(255,255,255,.17);
  opacity:.90;
}
.service-chip.tier-2 img{width:24px;height:24px}
.service-chip.tier-2 span{font-size:13px;font-weight:820;color:rgba(255,255,255,.80)}
.service-chip.tier-3{
  z-index:1;
  background:rgba(255,255,255,.060);
  border-color:rgba(255,255,255,.13);
  opacity:.72;
}
.service-chip.tier-3 img{width:19px;height:19px;border-radius:7px}
.service-chip.tier-3 span{font-size:11.5px;font-weight:750;color:rgba(255,255,255,.65)}
.hero{
  position:relative;
  z-index:6;
  width:min(92vw,500px);
  padding:24px 22px 18px;
  text-align:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:34px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.135),rgba(255,255,255,.048)),
    rgba(18,22,30,.90);
  box-shadow:0 28px 90px rgba(0,0,0,.66),0 0 0 1px rgba(255,255,255,.035) inset;
  backdrop-filter:blur(24px);
}
.brand{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:12px;
  font-size:18px;
  font-weight:900;
  letter-spacing:.02em;
}
.brand-mark{
  width:38px;height:38px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#fff;font-weight:950;
  box-shadow:0 14px 36px rgba(34,211,238,.22);
}
h1{
  margin:0;
  font-size:clamp(48px,5.5vw,72px);
  line-height:.94;
  letter-spacing:-.065em;
}
.hero-subtitle{
  margin:16px auto 0;
  max-width:430px;
  color:var(--muted);
  font-size:17px;
  line-height:1.42;
}

.hero-logo-wall{
  margin:18px auto 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hero-logo-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.hero-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.075);
  box-shadow:0 12px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.hero-logo img{
  display:block;
  width:28px;
  height:28px;
  object-fit:contain;
  border-radius:8px;
}

.hero-tags{
  margin:16px auto 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}
.hero-tag{
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.80);
  font-size:13px;
  font-weight:750;
}
.qr-wrap{
  width:clamp(150px,14vw,206px);
  margin:16px auto 12px;
  padding:10px;
  border-radius:26px;
  background:#fff;
  box-shadow:0 22px 55px rgba(0,0,0,.45);
}
.qr-wrap img{display:block;width:100%;border-radius:17px}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  min-width:230px;
  padding:0 30px;
  border-radius:999px;
  background:linear-gradient(135deg,#22d3ee,#a78bfa);
  color:#040509;
  text-decoration:none;
  font-size:18px;
  font-weight:950;
  box-shadow:0 18px 48px rgba(34,211,238,.22);
}
.scan-note{
  margin:11px 0 0;
  color:var(--dim);
  font-size:13px;
}
.gaming-card{
  margin:14px auto 0;
  width:100%;
  padding:12px 12px;
  border:1px solid rgba(34,211,238,.20);
  border-radius:22px;
  background:rgba(4,12,22,.60);
}
.gaming-card-title{
  margin-bottom:9px;
  color:#fff;
  font-size:14px;
  line-height:1.25;
  font-weight:850;
}
.game-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.game-chip{
  max-width:195px;
  height:34px;
  padding:5px 11px 5px 6px;
  background:rgba(255,255,255,.085);
  border-color:rgba(255,255,255,.17);
}
.game-chip img{width:22px;height:22px}
.game-chip span{font-size:13px;color:#fff;font-weight:820}
.legal{
  position:absolute;
  z-index:7;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  width:min(1120px,calc(100% - 40px));
  text-align:center;
  color:rgba(255,255,255,.58);
  font-size:10.5px;
  line-height:1.35;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  background:rgba(4,8,14,.58);
  box-shadow:0 14px 36px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(10px);
}
@media (min-width:1500px){
  .hero{width:510px}
}

@media (min-width:981px) and (max-width:1300px){
  .hero{width:min(88vw,500px)}
}
@media (max-height:760px) and (min-width:980px){
  .page{padding:10px 16px}
  .hero{width:430px;padding:18px 20px 14px;border-radius:29px}
  h1{font-size:56px}
  .hero-subtitle{margin-top:12px;font-size:15px}
  
.hero-logo-wall{
  margin:18px auto 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hero-logo-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.hero-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.075);
  box-shadow:0 12px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.hero-logo img{
  display:block;
  width:28px;
  height:28px;
  object-fit:contain;
  border-radius:8px;
}

.hero-tags{margin-top:12px}
  .qr-wrap{width:150px;margin-top:14px}
  .gaming-card{padding:10px;margin-top:10px}
  .service-chip.tier-1{transform:translate(-50%,-50%) scale(.88)}
  .service-chip.tier-2{transform:translate(-50%,-50%) scale(.86)}
  .service-chip.tier-3{transform:translate(-50%,-50%) scale(.82)}
  .legal{font-size:9.2px;bottom:7px}
}
@media (max-width:980px){
  .page{
    display:grid;
    place-items:center;
    overflow:hidden;
    min-height:100svh;
    padding:14px 12px 18px;
  }
  .hero{
    width:min(500px,92vw);
    margin:0 auto;
  }
  .logo-field{
    position:absolute;
    inset:0;
    display:block;
    z-index:1;
  }
  .service-chip{
    position:absolute;
    left:var(--x);
    top:var(--y);
    width:var(--w);
    height:var(--h);
  }
  .service-chip.tier-1{
    transform:translate(-50%,-50%) scale(.82);
    opacity:.78;
  }
  .service-chip.tier-2{
    transform:translate(-50%,-50%) scale(.72);
    opacity:.52;
  }
  .service-chip.tier-3{
    transform:translate(-50%,-50%) scale(.62);
    opacity:.34;
  }
  .service-chip:nth-child(n+62){display:none}
  .legal{
    position:absolute;
    left:50%;
    bottom:10px;
    transform:translateX(-50%);
    width:min(94vw,900px);
    margin:0;
  }
}
@media (max-width:620px){
  .page{padding:10px 8px 12px}
  .hero{
    width:min(94vw,420px);
    padding:16px 12px 12px;
    border-radius:25px;
  }
  .brand{font-size:15px;margin-bottom:9px}
  .brand-mark{width:32px;height:32px;border-radius:12px}
  h1{font-size:clamp(38px,12vw,46px)}
  .hero-subtitle{font-size:14px;margin-top:11px}
  
.hero-logo-wall{
  margin:18px auto 16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hero-logo-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.hero-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:15px;
  background:rgba(255,255,255,.075);
  box-shadow:0 12px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
}
.hero-logo img{
  display:block;
  width:28px;
  height:28px;
  object-fit:contain;
  border-radius:8px;
}

.hero-tags{margin-top:11px;gap:6px}
  .hero-tag{font-size:12px;padding:6px 8px}
  .qr-wrap{width:min(42vw,164px);margin-top:13px;margin-bottom:10px;border-radius:22px}
  .cta{min-width:200px;min-height:48px;font-size:16px}
  .scan-note{font-size:12px;margin-top:8px}
  .gaming-card{margin-top:10px;padding:10px 8px;border-radius:18px}
  .gaming-card-title{font-size:12.5px}
  .game-chip{height:30px;max-width:175px}
  .game-chip img{width:19px;height:19px}
  .game-chip span{font-size:12px}
  .service-chip.tier-1{transform:translate(-50%,-50%) scale(.66);opacity:.54}
  .service-chip.tier-2{transform:translate(-50%,-50%) scale(.55);opacity:.32}
  .service-chip.tier-3{display:none}
  .service-chip:nth-child(n+38){display:none}
  .legal{
    font-size:8.5px;
    padding:6px 8px;
    border-radius:11px;
    bottom:6px;
  }
}

/* Brochure */
body.brochure{min-height:100vh;background:#111;display:grid;place-items:center;padding:24px}
.sheet{
  width:148mm;min-height:210mm;position:relative;overflow:hidden;border-radius:6mm;padding:10mm;
  background:
    radial-gradient(circle at 50% 24%,rgba(34,211,238,.23),transparent 38%),
    radial-gradient(circle at 82% 66%,rgba(167,139,250,.18),transparent 33%),
    linear-gradient(180deg,#050506,#090b16 58%,#050506);
  box-shadow:0 30px 100px rgba(0,0,0,.55);
}
.sheet::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.42;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:9mm 9mm;
}
.sheet-content{position:relative;z-index:2}
.brochure-brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:850}
.brochure-title{margin:16mm 0 0;font-size:38px;line-height:.98;letter-spacing:-.05em;font-weight:950}
.brochure-subtitle{margin:7mm 0 0;color:rgba(255,255,255,.74);font-size:15px;line-height:1.45}
.brochure-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10mm 0}
.brochure-chip{
  display:flex;align-items:center;gap:8px;min-height:36px;padding:6px 8px;
  border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.075);
}
.brochure-chip img{width:24px;height:24px;border-radius:8px;object-fit:contain}
.brochure-chip span{font-size:12px;font-weight:800}
.brochure-note{
  margin-top:8mm;padding:4mm 5mm;border-radius:6mm;border:1px solid rgba(34,211,238,.20);
  background:rgba(255,255,255,.06);font-size:13px;line-height:1.35;
}
.brochure-qr-row{display:grid;grid-template-columns:38mm 1fr;gap:9mm;align-items:center;margin-top:9mm}
.brochure-qr{padding:2.5mm;border-radius:7mm;background:#fff}
.brochure-qr img{width:100%;display:block;border-radius:4mm}
.brochure-cta{font-size:22px;font-weight:950;line-height:1.1}
.brochure-cta span{display:block;margin-top:4mm;color:rgba(255,255,255,.62);font-size:12px;font-weight:500;line-height:1.4}
.brochure-legal{
  position:absolute;left:9mm;right:9mm;bottom:7mm;z-index:3;
  color:rgba(255,255,255,.38);font-size:7.2px;line-height:1.35;text-align:center;
}
.print-hint{margin:14px auto 0;text-align:center;color:rgba(255,255,255,.55);font-size:13px}
@media print{
  body.brochure{padding:0;background:#000}
  .sheet{width:148mm;min-height:210mm;border-radius:0;box-shadow:none}
  .print-hint{display:none}
}


@media (max-height:680px){
  .hero{
    transform:scale(.94);
    transform-origin:center center;
  }
  .legal{
    font-size:8.8px;
    padding:6px 10px;
    bottom:6px;
  }
}

@media (max-height:600px){
  .hero{
    transform:scale(.86);
  }
  .service-chip.tier-1{opacity:.56}
  .service-chip.tier-2{opacity:.34}
  .service-chip.tier-3{opacity:.18}
}


@media (max-height:680px){
  .hero-logo-wall{margin:12px auto 10px;gap:7px}
  .hero-logo-row{gap:7px}
  .hero-logo{width:34px;height:34px;border-radius:12px}
  .hero-logo img{width:23px;height:23px}
}

@media (max-height:600px){
  .hero-logo-wall{margin:9px auto 8px;gap:5px}
  .hero-logo-row{gap:5px}
  .hero-logo{width:30px;height:30px;border-radius:10px}
  .hero-logo img{width:20px;height:20px}
}


/* V9: iPhone mini / small mobile viewport height fix */
@media (max-width:480px){
  .page{
    min-height:100dvh;
    min-height:100svh;
    padding:6px 6px calc(env(safe-area-inset-bottom, 0px) + 66px);
    overflow:hidden;
    display:grid;
    place-items:center;
  }

  .hero{
    width:min(92vw,370px);
    max-height:calc(100dvh - 92px);
    padding:12px 10px 10px;
    border-radius:22px;
    overflow:hidden;
  }

  .brand{
    font-size:14px;
    margin-bottom:8px;
    gap:8px;
  }

  .brand-mark{
    width:30px;
    height:30px;
    border-radius:11px;
  }

  .hero-logo-wall{
    margin:10px auto 9px;
    gap:5px;
  }

  .hero-logo-row{
    gap:5px;
  }

  .hero-logo{
    width:30px;
    height:30px;
    border-radius:10px;
  }

  .hero-logo img{
    width:20px;
    height:20px;
    border-radius:6px;
  }

  .hero-tags{
    margin-top:8px;
    gap:5px;
  }

  .hero-tag{
    font-size:11px;
    padding:5px 7px;
  }

  .qr-wrap{
    width:min(37vw,138px);
    margin:11px auto 9px;
    padding:8px;
    border-radius:20px;
  }

  .qr-wrap img{
    border-radius:13px;
  }

  .cta{
    min-width:190px;
    min-height:44px;
    padding:0 22px;
    font-size:15px;
  }

  .scan-note{
    margin-top:7px;
    font-size:11px;
  }

  .gaming-card{
    margin-top:9px;
    padding:8px 8px;
    border-radius:17px;
  }

  .gaming-card-title{
    margin-bottom:7px;
    font-size:11.5px;
    line-height:1.15;
  }

  .game-row{
    gap:5px;
  }

  .game-chip{
    height:26px;
    max-width:168px;
    padding:3px 8px 3px 4px;
  }

  .game-chip img{
    width:17px;
    height:17px;
    border-radius:6px;
  }

  .game-chip span{
    font-size:10.5px;
  }

  .legal{
    bottom:calc(env(safe-area-inset-bottom, 0px) + 6px);
    width:calc(100% - 18px);
    max-height:48px;
    overflow:hidden;
    padding:5px 7px;
    border-radius:11px;
    font-size:7.7px;
    line-height:1.22;
    color:rgba(255,255,255,.60);
    background:rgba(4,8,14,.70);
  }

  .service-chip.tier-1{
    transform:translate(-50%,-50%) scale(.58);
    opacity:.42;
  }

  .service-chip.tier-2{
    transform:translate(-50%,-50%) scale(.50);
    opacity:.26;
  }

  .service-chip.tier-3{
    display:none;
  }

  .service-chip:nth-child(n+34){
    display:none;
  }
}

@media (max-width:390px){
  .hero{
    width:min(92vw,352px);
    padding:10px 9px 9px;
  }

  .hero-logo-wall{
    margin:8px auto 8px;
    gap:4px;
  }

  .hero-logo-row{
    gap:4px;
  }

  .hero-logo{
    width:28px;
    height:28px;
  }

  .hero-logo img{
    width:19px;
    height:19px;
  }

  .hero-tags{
    margin-top:7px;
    gap:4px;
  }

  .hero-tag{
    font-size:10.5px;
    padding:4px 6px;
  }

  .qr-wrap{
    width:min(36vw,130px);
    margin:9px auto 8px;
    padding:7px;
  }

  .cta{
    min-width:178px;
    min-height:41px;
    font-size:14px;
  }

  .scan-note{
    display:none;
  }

  .gaming-card{
    margin-top:8px;
    padding:7px 7px;
  }

  .game-chip{
    height:24px;
  }

  .game-chip span{
    font-size:10px;
  }

  .legal{
    max-height:42px;
    font-size:7.2px;
    padding:4px 6px;
  }
}

/* Very short visual viewport, common inside iPhone mini in-app browser */
@media (max-width:480px) and (max-height:720px){
  .page{
    padding-top:4px;
    padding-bottom:calc(env(safe-area-inset-bottom, 0px) + 54px);
  }

  .hero{
    transform:scale(.92);
    transform-origin:center center;
  }

  .legal{
    max-height:38px;
    font-size:6.9px;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 4px);
  }
}

@media (max-width:480px) and (max-height:650px){
  .hero{
    transform:scale(.86);
  }

  .legal{
    display:none;
  }
}


/* V10: high-quality official brand SVGs + Telegram CTA icon */
.official-logo-tile,
.official-logo-chip {
  background: rgba(255,255,255,.125);
}

.hero-logo.official-logo-tile img.official-logo-img,
.service-chip.official-logo-chip img.official-logo-img {
  background: #fff;
  padding: 3px;
  object-fit: contain;
  border-radius: 9px;
}

.hero-logo.official-logo-tile img.official-logo-img {
  width: 29px;
  height: 29px;
}

.service-chip.official-logo-chip img.official-logo-img {
  width: 32px;
  height: 32px;
}

.cta {
  gap: 10px;
}


}

}

}


/* V11: robust inline Telegram icon for CTA button */
.cta{
  gap: 10px;
}
.cta-telegram-badge{
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
}
.cta-telegram-svg{
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width:620px){
  .cta-telegram-badge{
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}
@media (max-width:480px){
  .cta{
    gap: 8px;
  }
  .cta-telegram-badge{
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}
@media (max-width:390px){
  .cta-telegram-badge{
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }
}


/* V12: compact EA / Ubisoft icons in hero grid */
.hero-logo.brand-ea-tile,
.hero-logo.brand-ubisoft-tile {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  overflow: hidden;
}

.hero-logo.brand-ea-tile img.brand-ea-img,
.hero-logo.brand-ubisoft-tile img.brand-ubisoft-img {
  width: 26px !important;
  height: 26px !important;
  max-width: 26px !important;
  max-height: 26px !important;
  padding: 2px !important;
  margin: 0 !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  display: block !important;
}

.service-chip.brand-ea-chip img.brand-ea-chip-img,
.service-chip.brand-ubisoft-chip img.brand-ubisoft-chip-img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  padding: 3px !important;
  object-fit: contain !important;
  border-radius: 9px !important;
  background: #ffffff !important;
}

@media (max-width:620px){
  .hero-logo.brand-ea-tile img.brand-ea-img,
  .hero-logo.brand-ubisoft-tile img.brand-ubisoft-img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    padding: 2px !important;
    border-radius: 7px !important;
  }
}

@media (max-width:480px){
  .hero-logo.brand-ea-tile,
  .hero-logo.brand-ubisoft-tile {
    width: 30px !important;
    height: 30px !important;
  }

  .hero-logo.brand-ea-tile img.brand-ea-img,
  .hero-logo.brand-ubisoft-tile img.brand-ubisoft-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    padding: 1.5px !important;
    border-radius: 6px !important;
  }
}

@media (max-width:390px){
  .hero-logo.brand-ea-tile,
  .hero-logo.brand-ubisoft-tile {
    width: 28px !important;
    height: 28px !important;
  }

  .hero-logo.brand-ea-tile img.brand-ea-img,
  .hero-logo.brand-ubisoft-tile img.brand-ubisoft-img {
    width: 19px !important;
    height: 19px !important;
    max-width: 19px !important;
    max-height: 19px !important;
    padding: 1.5px !important;
  }
}


/* V13: Telegram proxy help / fallback modal */
.proxy-help-toggle{margin:8px auto 0;padding:0;border:0;background:transparent;color:rgba(255,255,255,.70);font:inherit;font-size:13px;font-weight:800;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.proxy-help-toggle:hover{color:#fff}.proxy-modal[hidden]{display:none!important}.proxy-modal{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px}.proxy-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.62);backdrop-filter:blur(12px)}.proxy-modal-card{position:relative;z-index:1;width:min(430px,94vw);max-height:min(82dvh,720px);overflow:auto;padding:22px 18px 18px;border:1px solid rgba(255,255,255,.18);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.045)),rgba(18,22,30,.96);box-shadow:0 28px 90px rgba(0,0,0,.66),0 0 0 1px rgba(255,255,255,.035) inset;text-align:center}.proxy-modal-close{position:absolute;top:10px;right:12px;width:34px;height:34px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(255,255,255,.07);color:rgba(255,255,255,.82);font-size:26px;line-height:1;cursor:pointer}.proxy-modal-kicker{color:rgba(34,211,238,.92);font-size:13px;font-weight:900;letter-spacing:.03em}.proxy-modal-title{margin:6px 34px 8px;color:#fff;font-size:24px;line-height:1.1}.proxy-modal-text,.proxy-reserve-text{margin:0 auto 14px;color:rgba(255,255,255,.68);font-size:14px;line-height:1.35}.proxy-options,.proxy-copy-grid{display:grid;gap:8px}.proxy-option,.proxy-copy{min-height:44px;display:flex;align-items:center;justify-content:center;border-radius:999px;text-decoration:none;font-weight:950;font-size:15px}.proxy-option{background:linear-gradient(135deg,#22d3ee,#a78bfa);color:#040509;box-shadow:0 14px 34px rgba(34,211,238,.16)}.proxy-reserve{margin-top:14px;padding:14px;border:1px solid rgba(34,211,238,.18);border-radius:20px;background:rgba(4,12,22,.58)}.proxy-reserve-title{margin-bottom:7px;color:#fff;font-size:15px;font-weight:950}.proxy-copy{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:rgba(255,255,255,.90);cursor:pointer}.proxy-copy-status{min-height:18px;margin-top:9px;color:rgba(134,239,172,.95);font-size:13px;line-height:1.25}.proxy-modal-open body{overflow:hidden}
@media (max-width:480px){.proxy-help-toggle{margin-top:5px;font-size:11.5px}.proxy-modal{padding:10px}.proxy-modal-card{width:min(92vw,360px);max-height:min(80dvh,610px);padding:18px 13px 13px;border-radius:22px}.proxy-modal-title{font-size:20px}.proxy-modal-text,.proxy-reserve-text{font-size:12.5px}.proxy-option,.proxy-copy{min-height:38px;font-size:13px}.proxy-reserve{padding:11px;border-radius:17px}}
@media (max-width:390px){.proxy-help-toggle{margin-top:4px;font-size:11px}.proxy-modal-card{max-height:78dvh}}
@media (max-width:480px) and (max-height:720px){.proxy-help-toggle{font-size:10.5px;margin-top:3px}}


/* V14: standalone proxy landing page for astramind.dpdns.org / ktobudu.online */
.proxy-page-body{
  min-height:100vh;
  margin:0;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(34,211,238,.16), transparent 32%),
    radial-gradient(circle at 30% 65%, rgba(116,80,255,.20), transparent 38%),
    radial-gradient(circle at 72% 58%, rgba(17,169,132,.14), transparent 36%),
    linear-gradient(110deg,#050506 0%,#090718 48%,#03100d 100%);
}

.proxy-page{
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:18px;
}

.proxy-page-card{
  width:min(430px,94vw);
  padding:24px 18px 18px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.045)),
    rgba(18,22,30,.96);
  box-shadow:0 28px 90px rgba(0,0,0,.66), 0 0 0 1px rgba(255,255,255,.035) inset;
  text-align:center;
  backdrop-filter:blur(18px);
}

.proxy-page-brand{
  margin-bottom:14px;
}

.proxy-page-title{
  margin:6px 0 10px;
  color:#fff;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.03em;
}

@media (max-width:480px){
  .proxy-page{
    padding:10px;
  }

  .proxy-page-card{
    width:min(92vw,360px);
    padding:20px 13px 13px;
    border-radius:24px;
  }

  .proxy-page-title{
    font-size:24px;
  }
}

@media (max-width:390px){
  .proxy-page-card{
    padding:18px 12px 12px;
  }

  .proxy-page-title{
    font-size:22px;
  }
}


/* V15: download buttons for Telegram clients on proxy page */
.proxy-download-title {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.proxy-download-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.proxy-download {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 999px;
  background: rgba(34,211,238,.10);
  color: rgba(255,255,255,.94);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.proxy-download:hover {
  background: rgba(34,211,238,.16);
  color: #fff;
}

@media (max-width:480px){
  .proxy-download-title {
    margin-top: 11px;
    font-size: 13px;
  }

  .proxy-download {
    min-height: 36px;
    font-size: 12.5px;
  }
}


/* V16: proper styled Telegram client download buttons */
.proxy-downloads {
  margin-top: 14px;
}

.proxy-download-title {
  margin: 0 0 8px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}

.proxy-download-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 0 !important;
}

.proxy-download,
.proxy-download:visited {
  min-height: 46px !important;
  width: 100% !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border: 1px solid rgba(34,211,238,.28) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(167,139,250,.14)) !important;
  color: rgba(255,255,255,.96) !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.10) !important;
  white-space: normal !important;
}

.proxy-download:hover,
.proxy-download:active {
  background: linear-gradient(135deg, rgba(34,211,238,.26), rgba(167,139,250,.20)) !important;
  color: #fff !important;
}

.proxy-download .download-icon {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
  fill: currentColor !important;
  opacity: .96 !important;
}

.proxy-download span {
  display: inline-block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

@media (min-width: 520px){
  .proxy-download-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width:480px){
  .proxy-downloads {
    margin-top: 11px;
  }

  .proxy-download-title {
    margin-bottom: 7px !important;
    font-size: 13px !important;
  }

  .proxy-download {
    min-height: 38px !important;
    padding: 7px 10px !important;
    gap: 8px !important;
    font-size: 12.5px !important;
  }

  .proxy-download .download-icon {
    width: 19px !important;
    height: 19px !important;
    flex-basis: 19px !important;
  }
}

@media (max-width:390px){
  .proxy-download {
    min-height: 36px !important;
    font-size: 12px !important;
  }

  .proxy-download .download-icon {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
  }
}
