/* download.css - ToyWars Thailand /download (download.html + download.js): site header (same look as /topup), hero, platform cards (PC launcher,
   Android PWA, iPhone/iPad, QR), about, PC install steps, system requirements, FAQ.  Colours follow the game's login screen (deep navy + yellow). */
:root{
  --navy-0: #050817; --navy-1: #0b1640; --navy-2: #13225c; --navy-3: #1c3182; --navy-4: #2a46b0;
  --ink: #eef2ff; --mute: #a9b6e3; --dim: #7383bd;
  --gold: #ffd21f; --gold-2: #ffb300; --gold-ink: #241452;
  --green: #22c06b; --line: rgba(160, 180, 255, .16);
  --font-h: 'Kanit', 'Prompt', 'Leelawadee UI', 'Tahoma', sans-serif;
  --font: 'Prompt', 'Kanit', 'Leelawadee UI', 'Tahoma', sans-serif;
}
*, *::before, *::after{box-sizing: border-box;}
html{-webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px;}
body.tw{margin: 0; min-height: 100vh; background: var(--navy-0); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden;}
a{color: var(--gold);}
button{font: inherit;}
img{max-width: 100%;}
[hidden]{display: none !important;}
.tw-wrap{width: min(100% - 32px, 1100px); margin-left: auto; margin-right: auto;}
svg .fill, svg.fill{fill: currentColor; stroke: none;}

/* ---------------------------------------------------------------- header (mirrors /topup) */
.tw-top{position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, rgba(8, 14, 44, .97), rgba(11, 22, 64, .94)); border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .35); backdrop-filter: blur(6px);}
.tw-top__in{display: flex; align-items: center; gap: 28px; width: min(100% - 32px, 1200px); height: 68px; margin: 0 auto;}
.tw-logo{flex: 0 0 auto; display: block; height: 52px; line-height: 0;}
.tw-logo img{height: 100%; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));}
.tw-nav{display: flex; align-items: center; gap: 6px;}
.tw-nav__a{display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--mute); font-family: var(--font-h);
  font-size: 16.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s;}
.tw-nav__a svg{width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;}
.tw-nav__a:hover{color: #fff; background: rgba(255, 255, 255, .06);}
.tw-nav__a.is-on{color: var(--gold); background: rgba(255, 210, 31, .12); box-shadow: inset 0 0 0 1px rgba(255, 210, 31, .35);}
.tw-nav__a--play{display: none;}
.tw-top__end{display: flex; align-items: center; gap: 10px; margin-left: auto;}
.tw-hbtn{display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; color: #fff; font-family: var(--font-h); font-size: 15.5px; font-weight: 500;
  text-decoration: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background .15s;}
.tw-hbtn:hover{background: rgba(255, 255, 255, .15);}
.tw-hbtn--line{color: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(255, 210, 31, .6); background: transparent;}
.tw-play{display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 24px; border-radius: 999px; font-family: var(--font-h); font-size: 17px;
  font-weight: 600; color: var(--gold-ink); text-decoration: none; white-space: nowrap; background: linear-gradient(180deg, #ffe45c 0%, var(--gold) 45%, var(--gold-2) 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .55) inset, 0 4px 14px rgba(255, 170, 0, .35); transition: transform .1s, filter .15s;}
.tw-play:hover{filter: brightness(1.06);}

/* ---------------------------------------------------------------- buttons */
.dl-btn{display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-h); font-size: 18px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .1s, filter .15s, background .15s;}
.dl-btn svg{width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;}
.dl-btn:active{transform: translateY(1px);}
.dl-btn--gold{color: var(--gold-ink); background: linear-gradient(180deg, #ffe45c 0%, var(--gold) 45%, var(--gold-2) 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .55) inset, 0 6px 20px rgba(255, 170, 0, .35);}
.dl-btn--gold:hover{filter: brightness(1.07);}
.dl-btn--ghost{color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);}
.dl-btn--ghost:hover{background: rgba(255, 255, 255, .14);}
.dl-btn:focus-visible, .tw-nav__a:focus-visible, .tw-hbtn:focus-visible, .tw-play:focus-visible, .dl-jump a:focus-visible, .dl-faq summary:focus-visible{outline: 3px solid #fff; outline-offset: 3px;}
.dl-cta{display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0;}
.dl-cta--stack{margin-top: 4px;}
.dl-cta--stack .dl-btn{flex: 1 1 100%;}

/* ---------------------------------------------------------------- hero */
.dl-hero{position: relative; overflow: hidden; padding: 54px 0 0; isolation: isolate;
  background: radial-gradient(ellipse at 70% 30%, rgba(42, 70, 176, .45), transparent 60%), linear-gradient(180deg, var(--navy-1), var(--navy-0) 92%);}
.dl-hero::before{content: ''; position: absolute; inset: 0; z-index: -1; background: url(/site/img/dl_bg.webp) center top / auto 700px repeat-x; opacity: .4;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);}
.dl-hero__in{display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 30px;}
.dl-kicker{margin: 0 0 6px; font-family: var(--font-h); font-size: 15px; font-weight: 600; letter-spacing: .32em; color: var(--gold);}
.dl-h1{margin: 0; font-family: var(--font-h); font-size: 48px; font-weight: 700; line-height: 1.15; color: #fff; text-shadow: 0 3px 18px rgba(0, 0, 0, .55);}
.dl-h1 span{display: block; margin-top: 6px; font-size: .62em; font-weight: 500; color: var(--gold);}
.dl-sub{margin: 18px 0 0; max-width: 600px; font-size: 17.5px; color: #d6defa;}
.dl-chips{display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none;}
.dl-chips li{padding: 5px 14px; border-radius: 999px; font-size: 14.5px; color: var(--mute); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line);}
.dl-hero__art{margin: 0; justify-self: center; width: min(100%, 440px);}
.dl-hero__art img{display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .55), 0 0 80px rgba(60, 100, 255, .25);
  transform: rotate(2deg);}
.dl-jump{display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 46px; padding: 14px 0; border-top: 1px solid var(--line);}
.dl-jump a{display: inline-flex; align-items: center; gap: 8px; padding: 6px 22px; color: var(--mute); font-family: var(--font-h); font-size: 16px; text-decoration: none;}
.dl-jump a + a{border-left: 1px solid var(--line);}
.dl-jump a:hover{color: #fff;}
.dl-jump svg{width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}

/* ---------------------------------------------------------------- sections */
.dl-sec{padding: 64px 0 0;}
.dl-h2{margin: 0 0 8px; font-family: var(--font-h); font-size: 32px; font-weight: 600; line-height: 1.25; color: #fff;}
.dl-h2::after{content: ''; display: block; width: 56px; height: 4px; margin-top: 12px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-2));}
.dl-lead{margin: 14px 0 26px; color: var(--mute); font-size: 16.5px;}

/* ---------------------------------------------------------------- platform cards */
.dl-card{position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 26px 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(28, 49, 130, .55), rgba(19, 34, 92, .5)); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, .25);}
.dl-card.is-you{box-shadow: inset 0 0 0 2px rgba(255, 210, 31, .75), 0 10px 34px rgba(255, 180, 0, .14);}
.dl-you{position: absolute; top: -12px; right: 20px; padding: 3px 12px; border-radius: 999px; font-family: var(--font-h); font-size: 13.5px; font-weight: 600;
  color: var(--gold-ink); background: var(--gold);}
.dl-card__head{display: flex; align-items: center; gap: 16px; margin-bottom: 16px;}
.dl-ico{display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 16px; color: #fff; background: rgba(255, 255, 255, .08);}
.dl-ico svg{width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;}
.dl-ico--win{color: #4cc2ff; background: rgba(76, 194, 255, .12);}
.dl-ico--and{color: #3ddc84; background: rgba(61, 220, 132, .12);}
.dl-ico--ios{color: #e9edf7; background: rgba(233, 237, 247, .1);}
.dl-ico--qr{color: var(--gold); background: rgba(255, 210, 31, .12);}
.dl-h3{margin: 0; font-family: var(--font-h); font-size: 23px; font-weight: 600; line-height: 1.25; color: #fff;}
.dl-meta{margin: 2px 0 0; font-size: 14.5px; color: var(--mute);}
.dl-card__body > p{margin: 0; color: #d6defa;}
.dl-card--pc{margin-bottom: 22px; background: linear-gradient(120deg, rgba(42, 70, 176, .6), rgba(19, 34, 92, .55) 60%);}
.dl-card--pc .dl-card__body{max-width: 820px;}
.dl-note{margin: 18px 0 0 !important; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; color: var(--mute) !important; background: rgba(5, 8, 23, .45);
  box-shadow: inset 3px 0 0 var(--gold);}
.dl-note b{color: #fff; font-weight: 500;}
.dl-grid{display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;}
.dl-steps{margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s;}
.dl-steps li{position: relative; margin: 0 0 10px; padding-left: 38px; font-size: 15.5px; color: #d6defa; counter-increment: s;}
.dl-steps li::before{content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-family: var(--font-h); font-size: 14px; font-weight: 600; color: var(--gold-ink); background: var(--gold);}
.dl-steps b{color: #fff; font-weight: 500;}
.dl-inl{width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: #4cc2ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;}
.dl-ok{margin: 12px 0 0 !important; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; color: #b9f5d2 !important; background: rgba(34, 192, 107, .15);}
.dl-card--qr .dl-card__body{display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; justify-content: center;}
.dl-qr{display: block; width: 100%; max-width: 230px; height: auto; padding: 12px; border-radius: 18px; background: #fff; image-rendering: pixelated;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);}
.dl-qr__url{margin: 12px 0 0 !important; font-family: var(--font-h); font-size: 17px; letter-spacing: .03em; color: var(--gold) !important;}

/* ---------------------------------------------------------------- about */
.dl-about{display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 36px;}
.dl-about__txt p{margin: 14px 0 0; color: #d6defa; font-size: 16.5px;}
.dl-about__txt b{color: var(--gold); font-weight: 500;}
.dl-facts{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none;}
.dl-facts li{padding: 20px 16px; border-radius: 18px; text-align: center; background: rgba(19, 34, 92, .55); box-shadow: inset 0 0 0 1px var(--line);}
.dl-facts b{display: block; font-family: var(--font-h); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--gold);}
.dl-facts span{font-size: 14.5px; color: var(--mute);}

/* ---------------------------------------------------------------- install steps */
.dl-how{display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: h;}
.dl-how li{position: relative; padding: 52px 20px 22px; border-radius: 20px; background: rgba(19, 34, 92, .55); box-shadow: inset 0 0 0 1px var(--line); counter-increment: h; min-width: 0;}
.dl-how li::before{content: counter(h); position: absolute; top: 16px; left: 20px; font-family: var(--font-h); font-size: 30px; font-weight: 700; line-height: 1; color: var(--gold);}
.dl-how b{display: block; font-family: var(--font-h); font-size: 19px; font-weight: 600; color: #fff;}
.dl-how span{display: block; margin-top: 6px; font-size: 15px; color: var(--mute); overflow-wrap: anywhere;}
code, kbd{padding: 1px 6px; border-radius: 6px; font-family: Consolas, 'Courier New', monospace; font-size: .92em; color: #fff; background: rgba(255, 255, 255, .1);}
.dl-tip{margin: 18px 0 0; font-size: 15px; color: var(--mute);}

/* ---------------------------------------------------------------- specs */
.dl-table-wrap{margin-top: 24px; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: rgba(19, 34, 92, .4);}
.dl-table{width: 100%; border-collapse: collapse; font-size: 15.5px;}
.dl-table caption{padding: 16px 20px 6px; text-align: left; font-family: var(--font-h); font-size: 19px; font-weight: 600; color: #fff;}
.dl-table th, .dl-table td{padding: 12px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line);}
.dl-table thead th{font-family: var(--font-h); font-weight: 600; color: var(--gold); background: rgba(5, 8, 23, .35);}
.dl-table tbody th{width: 24%; font-weight: 500; color: #fff;}
.dl-table td{color: #d6defa;}

/* ---------------------------------------------------------------- faq */
.dl-faq{margin-top: 24px; display: grid; gap: 12px;}
.dl-faq details{border-radius: 16px; background: rgba(19, 34, 92, .5); box-shadow: inset 0 0 0 1px var(--line);}
.dl-faq summary{position: relative; padding: 16px 52px 16px 20px; cursor: pointer; list-style: none; font-family: var(--font-h); font-size: 17.5px; font-weight: 500; color: #fff; border-radius: 16px;}
.dl-faq summary::-webkit-details-marker{display: none;}
.dl-faq summary::after{content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--gold);}
.dl-faq details[open] summary::after{content: '\2212';}
.dl-faq p{margin: 0; padding: 0 20px 18px; color: var(--mute); font-size: 15.5px;}

/* ---------------------------------------------------------------- footer */
.tw-foot{margin-top: 72px; border-top: 1px solid var(--line); background: #04060f;}
.tw-foot__in{display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; width: min(100% - 32px, 1100px); margin: 0 auto; padding: 26px 0 30px;}
.tw-logo--foot{height: 42px;}
.tw-foot__nav{display: flex; flex-wrap: wrap; gap: 6px 18px;}
.tw-foot__nav a{color: var(--mute); text-decoration: none; font-size: 15px;}
.tw-foot__nav a:hover{color: #fff;}
.tw-foot__c{margin: 0 0 0 auto; font-size: 13.5px; color: var(--dim);}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px){
  .dl-h1{font-size: 42px;}
  .tw-top__in{gap: 16px;}
  .tw-nav__a{padding: 0 11px;}
}
@media (max-width: 960px){
  .dl-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .dl-card--qr{grid-column: 1 / -1;}
  .dl-how{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .tw-play{display: none;}
}
@media (max-width: 820px){
  .tw-top__in{flex-wrap: wrap; height: auto; padding: 8px 0 6px; row-gap: 4px;}
  .tw-logo{height: 42px;}
  .tw-nav{order: 3; width: 100%; justify-content: space-between; gap: 4px;}
  .tw-nav__a{flex: 1 1 0; justify-content: center; height: 36px; padding: 0 6px; font-size: 14.5px; gap: 5px;}
  .tw-nav__a svg{width: 16px; height: 16px;}
  .tw-nav__a--play{display: inline-flex; color: var(--gold);}
  .tw-nav__a--play svg{fill: currentColor; stroke: none;}
  .tw-top__end{gap: 6px; min-width: 0;}
  .tw-hbtn{height: 34px; padding: 0 12px; font-size: 14px;}
  html{scroll-padding-top: 110px;}
  .dl-hero{padding-top: 30px;}
  .dl-hero__in{grid-template-columns: 1fr; gap: 26px;}
  .dl-hero__art{order: -1; width: min(72%, 300px);}
  .dl-about{grid-template-columns: 1fr; gap: 24px;}
  .dl-facts{grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media (max-width: 600px){
  body.tw{font-size: 15.5px;}
  .dl-h1{font-size: 31px;}
  .dl-sub{font-size: 16px;}
  .dl-h2{font-size: 25px;}
  .dl-sec{padding-top: 48px;}
  .dl-cta .dl-btn{flex: 1 1 100%;}
  .dl-btn{font-size: 17px; padding: 0 18px;}
  .dl-grid{grid-template-columns: 1fr; gap: 18px;}
  .dl-card{padding: 22px 18px 20px; border-radius: 18px;}
  .dl-ico{width: 50px; height: 50px; border-radius: 14px;}
  .dl-ico svg{width: 28px; height: 28px;}
  .dl-h3{font-size: 21px;}
  .dl-how{grid-template-columns: 1fr;}
  .dl-facts{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .dl-facts b{font-size: 28px;}
  .dl-jump{margin-top: 30px; justify-content: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 0;}
  .dl-jump a{justify-content: center; padding: 8px 6px; font-size: 14.5px;}
  .dl-jump a + a{border-left: 0;}
  .dl-jump a:nth-child(even){border-left: 1px solid var(--line);}
  .dl-table{font-size: 14px;}
  .dl-table th, .dl-table td{padding: 10px 12px;}
  .dl-table caption{padding: 14px 12px 4px;}
  .dl-table tbody th{width: 30%;}
  .tw-foot__c{margin-left: 0; width: 100%;}
}
@media (max-width: 380px){
  .tw-nav__a svg{display: none;}
  .tw-hbtn{padding: 0 10px; font-size: 13.5px;}
  .dl-h1{font-size: 28px;}
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior: auto;}
  .dl-btn, .tw-play{transition: none;}
}

/* ---------------------------------------------------------------- site header v2 (7 menu items: หน้าแรก ดาวน์โหลด เติมเงิน แรงค์ แคลน Discord + เข้าเล่น)
   The same block sits at the end of home.css, topup.css, download.css and rankclan.css so every page's header looks and wraps the same:
   > 1180px one row (menu without icons, online pill = person icon + number, logout = icon);
   721-1180px two rows: logo + online + account, then the whole menu (with icons) incl. "เข้าเล่น";
   <= 720px the menu row scrolls sideways ("เข้าเล่น" first), edge to edge with a fade on the right. */
.tw-top__in{gap: 22px;}
.tw-nav{gap: 2px; min-width: 0;}
.tw-nav__a{padding: 0 12px; white-space: nowrap;}
.tw-nav__a svg{display: none;}
.tw-nav__a--dc svg{display: block; width: 19px; height: 19px; fill: currentColor; stroke: none;}
.tw-nav__a--dc:hover{color: #fff; background: rgba(88, 101, 242, .32);}
.tw-nav__a--play{display: none;}
.tw-top__end{gap: 10px; margin-left: auto;}
.tw-top .tw-online{flex: 0 0 auto; margin-left: -10px; font-size: 0; gap: 6px; padding: 0 11px;}
.tw-top .tw-online b{font-size: 13px;}
.tw-top .tw-online b::before{content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 4px; vertical-align: -1px; background: #8ff0b6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3.5 22a8.5 8.5 0 0 1 17 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7.5' r='4.5'/%3E%3Cpath d='M3.5 22a8.5 8.5 0 0 1 17 0z'/%3E%3C/svg%3E") center / contain no-repeat;}
.tw-chip{max-width: 230px;}
.tw-hout{position: relative; flex: 0 0 auto; width: 38px; padding: 0; font-size: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line);}
.tw-hout::before{content: ''; position: absolute; inset: 0; margin: auto; width: 17px; height: 17px; background: var(--mute);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4M10 8l-4 4 4 4M6 12h10'/%3E%3C/svg%3E") center / contain no-repeat;}
.tw-hout:hover::before{background: #fff;}
.tw-nav__a:focus-visible, .tw-hout:focus-visible, .tw-hbtn:focus-visible, .tw-play:focus-visible{outline: 3px solid #fff; outline-offset: 2px;}
@media (max-width: 1180px){
  .tw-top__in{flex-wrap: wrap; height: auto; padding: 8px 0 6px; row-gap: 4px; gap: 10px;}
  .tw-nav{order: 3; flex: 1 1 100%; width: 100%; justify-content: flex-start; gap: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;}
  .tw-nav::-webkit-scrollbar{display: none;}
  .tw-nav__a{flex: 1 0 auto; justify-content: center; height: 38px; padding: 0 12px; font-size: 15px; gap: 6px;}
  .tw-nav__a svg{display: block; width: 16px; height: 16px;}
  .tw-nav__a--dc svg{width: 17px; height: 17px;}
  .tw-nav__a--play{display: inline-flex; order: -1; color: var(--gold);}
  .tw-nav__a--play svg{fill: currentColor; stroke: none;}
  .tw-play{display: none;}
  .tw-top .tw-online{order: 1; margin-left: 0; height: 30px;}
  .tw-top__end{order: 2; gap: 6px; min-width: 0;}}
@media (max-width: 720px){
  .tw-top__in{gap: 8px;}
  .tw-nav{flex: 0 0 auto; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px; gap: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent);}
  .tw-nav__a{flex: 0 0 auto; height: 36px; padding: 0 11px; font-size: 14.5px; gap: 5px;}
  .tw-nav__a svg{display: block;}
  .tw-guest, .tw-userbox{gap: 6px; min-width: 0;}
  .tw-hbtn{height: 34px; padding: 0 11px; font-size: 13.5px;}
  .tw-chip{height: 34px; max-width: 142px; padding: 0 10px; font-size: 13.5px; gap: 4px;}
  .tw-chip b{font-size: 14.5px;}
  .tw-hout{width: 34px; height: 34px;}
  .tw-top .tw-online{height: 28px; padding: 0 8px; gap: 5px;}
  .tw-top .tw-online i{display: none;}
  .tw-top .tw-online b::before{margin-right: 3px;}}
@media (max-width: 380px){
  .tw-hbtn{padding: 0 8px; font-size: 13px;}
  .tw-chip{max-width: 128px;}}
@media (max-width: 720px){.tw-logo{height: 40px;}}
@media (max-width: 380px){.tw-logo{height: 36px;}}
