/* Apple Brawl site. Look of the Banan ID page / the game: frame colour, slanted outlined buttons, the game's fonts. */
@font-face { font-family: "Pusia"; src: url("fonts/pusia-bold.otf") format("opentype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Lilita One"; src: url("fonts/lilita-one.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #e7e7e7; --ink: #111827; --card: #ffffff; --soft: #f1f4f8; --soft2: #d5dbe5; --muted: #5b6475; --dim: #8b93a3;
  --red: #ff3346; --blue: #1f72f2; --yellow: #ffbf00;
  --shadow: 0 5px 0 rgba(17,24,39,.25);
  --ol: 1.5px 0 0 #000, -1.5px 0 0 #000, 0 1.5px 0 #000, 0 -1.5px 0 #000, 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000, 0 3px 0 #000;
  --ol2: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink),
         1.5px 1.5px 0 var(--ink), -1.5px 1.5px 0 var(--ink), 1.5px -1.5px 0 var(--ink), -1.5px -1.5px 0 var(--ink), 0 4px 0 var(--ink);
  --ol3: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink),
         2.2px 2.2px 0 var(--ink), -2.2px 2.2px 0 var(--ink), 2.2px -2.2px 0 var(--ink), -2.2px -2.2px 0 var(--ink), 0 6px 0 var(--ink), 2px 6px 0 var(--ink), -2px 6px 0 var(--ink);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body { color: var(--ink); font: 16px/1.45 "Pusia", "Trebuchet MS", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: hidden; }
button { font-family: inherit; }
img { -webkit-user-drag: none; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 6px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.embed .top, .embed .foot, .embed .doc-nav { display: none !important; }
.outline { color: #fff; text-shadow: var(--ol2); }
:focus-visible { outline: 3px solid #1f72f2; outline-offset: 3px; }

/* background particles (the game's skulls / snow / confetti): under everything, never takes taps */
#fx { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.top, .wrap, .foot { position: relative; z-index: 1; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 18px 20px 10px; }

/* ---------------------------------------------------------------- brand */
.brand { font-family: "Lilita One", "Pusia", sans-serif; font-size: 28px; line-height: 1; color: #fff; letter-spacing: .5px; white-space: nowrap; text-shadow: var(--ol2); }
.brand b { color: var(--red); font-weight: 400; }
.brand.big { font-size: 44px; text-shadow: var(--ol3); margin-bottom: 10px; }
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { width: 44px; height: 44px; border-radius: 10px; border: 3px solid var(--ink); box-shadow: 0 3px 0 rgba(17,24,39,.3); margin-right: 10px; }

/* ---------------------------------------------------------------- game buttons: slanted, outlined text */
.btn { display: inline-block; vertical-align: top; padding: 0; border: 3px solid var(--ink); border-radius: 7px; cursor: pointer; text-decoration: none;
       transform: skewX(-8deg); position: relative; top: 0; color: #fff; font-size: 19px; line-height: 1.2; letter-spacing: .4px; text-shadow: var(--ol);
       background: linear-gradient(#ffdc3c, #ffbf00); box-shadow: inset 0 -6px 0 #d58d00, inset 0 3px 0 rgba(255,255,255,.45), 0 4px 0 var(--ink);
       -webkit-transition: filter .12s; transition: filter .12s; }
.btn > span { display: flex; align-items: center; justify-content: center; text-align: center; transform: skewX(8deg); padding: 11px 22px 15px; }
.btn:hover { filter: brightness(1.06); }
.btn:active { top: 3px; box-shadow: inset 0 -4px 0 #d58d00, inset 0 3px 0 rgba(255,255,255,.45), 0 1px 0 var(--ink); }
.btn.blue { background: linear-gradient(#45a2ff, #1f72f2); box-shadow: inset 0 -6px 0 #1550bf, inset 0 3px 0 rgba(255,255,255,.35), 0 4px 0 var(--ink); }
.btn.green { background: linear-gradient(#4fe81c, #22b800); box-shadow: inset 0 -6px 0 #158200, inset 0 3px 0 rgba(255,255,255,.35), 0 4px 0 var(--ink); }
.btn.red { background: linear-gradient(#ff5a5a, #e02a2a); box-shadow: inset 0 -6px 0 #a11717, inset 0 3px 0 rgba(255,255,255,.3), 0 4px 0 var(--ink); }
.btn.gray { background: linear-gradient(#a3a3a3, #7b7b7b); box-shadow: inset 0 -6px 0 #555, inset 0 3px 0 rgba(255,255,255,.3), 0 4px 0 var(--ink); }
.btn.blue:active { box-shadow: inset 0 -4px 0 #1550bf, 0 1px 0 var(--ink); }
.btn.green:active { box-shadow: inset 0 -4px 0 #158200, 0 1px 0 var(--ink); }
.btn.gray:active { box-shadow: inset 0 -4px 0 #555, 0 1px 0 var(--ink); }
.btn.small { font-size: 16px; }
.btn.small > span { padding: 7px 16px 10px; }
.btn.wide { display: block; width: 100%; margin-top: 14px; }
.btn img { width: 28px; height: 28px; object-fit: contain; margin-right: 9px; flex: none; }
.btn.big { font-size: 22px; }
.btn.big > span { padding: 13px 24px 17px; }
.btn .bt { display: block; text-align: left; }
.btn.big small { display: block; font-size: 12px; line-height: 1.1; letter-spacing: .3px; margin-top: 2px; opacity: .95; }
.row { display: flex; flex-wrap: wrap; margin: 14px 0 6px; }
.row .btn { margin: 0 12px 10px 0; }

/* ---------------------------------------------------------------- tabs (nav + filters) */
.tabs { display: flex; }
.tab { display: flex; align-items: center; justify-content: center; margin: 0 4px; padding: 0; border: 3px solid var(--ink); border-radius: 7px; flex: none;
       transform: skewX(-8deg); color: #fff; font-size: 15px; cursor: pointer; min-height: 42px; text-decoration: none; text-shadow: var(--ol);
       background: linear-gradient(#45a2ff, #1f72f2); box-shadow: inset 0 -5px 0 #1550bf, 0 3px 0 var(--ink); }
.tab > span { display: flex; align-items: center; transform: skewX(8deg); padding: 3px 12px 7px; white-space: nowrap; }
.tab img { width: 24px; height: 24px; object-fit: contain; margin-right: 6px; }
.tab.on { background: linear-gradient(#ffdc3c, #ffbf00); box-shadow: inset 0 -5px 0 #d58d00, 0 3px 0 var(--ink); }
.tab:hover { filter: brightness(1.06); }
.tab i { font-style: normal; font-size: 12px; margin-left: 6px; background: rgba(17,24,39,.35); border-radius: 5px; padding: 1px 6px 2px; text-shadow: none; }

/* ---------------------------------------------------------------- header */
.top { position: -webkit-sticky; position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 3px solid transparent;
       -webkit-transition: border-color .2s, box-shadow .2s; transition: border-color .2s, box-shadow .2s; }
.top.scrolled { border-bottom-color: var(--ink); box-shadow: 0 3px 0 rgba(17,24,39,.15); }
.top-in { max-width: 1140px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; }
.nav { display: flex; margin: 0 auto; padding: 0 12px; }
.nav .tab { margin: 0 3px; font-size: 14px; }
.nav .tab > span { padding: 3px 9px 7px; }
.nav .tab img { width: 22px; height: 22px; margin-right: 5px; }
.dl-top { flex: none; }

/* ---------------------------------------------------------------- cards */
.card { background: var(--card); border: 3px solid var(--ink); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); }
.card.hl { box-shadow: var(--shadow), inset 0 0 0 4px #ffc400; }
.sec { margin: 46px 0 0; }
.sec-head { margin-bottom: 18px; }
.h2 { display: flex; align-items: center; font-size: 34px; line-height: 1.1; color: #fff; text-shadow: var(--ol3); letter-spacing: .4px; }
.h2 img { width: 44px; height: 44px; object-fit: contain; margin-right: 12px; filter: drop-shadow(0 3px 0 rgba(17,24,39,.35)); }
.sec-head .muted { margin-top: 10px; font-size: 15px; }
h3 { font-size: 19px; line-height: 1.2; margin-bottom: 4px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 18px; gap: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 rgba(17,24,39,.3);
        background: #0a5fc6; min-height: 540px; display: flex; align-items: center; }
.hero-art { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; display: block; }
.hero-art:after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
                  background: linear-gradient(90deg, rgba(1,64,170,.92) 0%, rgba(1,74,185,.72) 34%, rgba(1,80,190,0) 62%); }
.hero-body { position: relative; padding: 40px 44px; max-width: 680px; }
.pill { display: inline-flex; align-items: center; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 8px; padding: 4px 12px 5px;
        font-size: 14px; box-shadow: 0 3px 0 rgba(17,24,39,.35); transform: skewX(-8deg); }
.live { width: 10px; height: 10px; border-radius: 50%; background: #22c800; border: 2px solid var(--ink); margin-right: 8px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px rgba(34,200,0,.25); } }
.title { font-family: "Lilita One", "Pusia", sans-serif; font-size: 84px; line-height: .95; color: #fff; letter-spacing: 1px; margin: 18px 0 14px; text-shadow: var(--ol3); }
.title b { color: var(--red); font-weight: 400; display: inline-block; }
.lead { font-size: 21px; line-height: 1.35; margin: 0 0 24px; max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; align-items: flex-start; }
.cta .btn { margin: 0 14px 14px 0; }
.hero-stats { display: flex; margin-top: 12px; }
.hs { display: flex; align-items: center; background: rgba(255,255,255,.96); border: 3px solid var(--ink); border-radius: 9px; padding: 6px 12px 6px 8px; margin-right: 10px;
      box-shadow: 0 3px 0 rgba(17,24,39,.35); }
.hs img { width: 30px; height: 30px; object-fit: contain; margin-right: 8px; }
.hs b { font-weight: 400; font-size: 16px; }

/* ---------------------------------------------------------------- features */
.feat { display: flex; align-items: flex-start; }
.f-ico { flex: none; width: 60px; height: 60px; border-radius: 10px; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center;
         margin-right: 14px; box-shadow: inset 0 -5px 0 rgba(0,0,0,.18), 0 3px 0 rgba(17,24,39,.3); }
.f-ico img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }
.feat p { font-size: 14px; margin: 2px 0 0; }
.c-yellow { background: linear-gradient(#ffe46b, #ffbf00); } .c-blue { background: linear-gradient(#6bb8ff, #1f72f2); }
.c-red { background: linear-gradient(#ff8a8a, #e02a2a); } .c-purple { background: linear-gradient(#d68bff, #8a3be0); }
.c-green { background: linear-gradient(#8cf06a, #22b800); } .c-cyan { background: linear-gradient(#8ef0ff, #17a5d6); }

/* ---------------------------------------------------------------- brawlers: one showcase card */
.show { display: flex; align-items: stretch; padding: 22px; }
.show-stage { position: relative; flex: none; width: 290px; height: 290px; margin-right: 26px; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden;
              background: radial-gradient(circle at 50% 36%, rgba(255,255,255,.6), rgba(255,255,255,0) 68%), var(--r1, #b9eaff);
              box-shadow: inset 0 -7px 0 rgba(0,0,0,.14), 0 4px 0 rgba(17,24,39,.25); }
.show-stage img { width: 100%; height: 100%; display: block; }
.show-stage.pop img { animation: heroIn .38s cubic-bezier(.2,.9,.3,1.2); }
@keyframes heroIn { from { transform: translateX(26px) scale(.94); opacity: 0; } }
.show-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.show-name { font-size: 42px; line-height: 1.05; color: #fff; text-shadow: var(--ol3); margin: 0 0 12px; letter-spacing: .5px; }
.show-tags .rchip, .show-tags .chip { vertical-align: middle; }
.show-desc { font-size: 16px; margin: 12px 0 16px; }
.thumbs { display: flex; flex-wrap: wrap; margin: auto -4px -6px; padding-top: 4px; }
.th { flex: none; width: 52px; height: 52px; padding: 0; margin: 0 4px 10px; border: 3px solid var(--ink); border-radius: 8px; overflow: hidden; cursor: pointer;
      background: var(--r1); position: relative; top: 0; box-shadow: 0 3px 0 rgba(17,24,39,.3); -webkit-transition: top .1s; transition: top .1s; }
.th img { width: 100%; height: 100%; display: block; }
.th:hover { top: -3px; }
.th.on { top: -3px; box-shadow: 0 0 0 3px #ffc400, 0 0 0 6px var(--ink), 0 5px 0 rgba(17,24,39,.3); z-index: 1; }
.r0 { --r1: #b9eaff; --r2: #36a0dc; } .r1 { --r1: #68fd58; --r2: #23ad1b; } .r2 { --r1: #5ab3ff; --r2: #1f6fe8; }
.r3 { --r1: #d850ff; --r2: #9227cf; } .r4 { --r1: #fe5e72; --r2: #d11d3a; } .r5 { --r1: #fff11e; --r2: #e39b00; }

/* ---------------------------------------------------------------- modes */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 16px; gap: 16px; }
.mc { background: #fff; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.mc-top { display: flex; align-items: center; padding: 10px 12px; border-bottom: 3px solid var(--ink); min-height: 86px;
          background: linear-gradient(var(--m1), var(--m2)); box-shadow: inset 0 -5px 0 rgba(0,0,0,.15); }
.mc-top img { width: 62px; height: 62px; object-fit: contain; flex: none; margin-right: 8px; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); }
.mc-top b { font-weight: 400; font-size: 17px; line-height: 1.15; color: #fff; text-shadow: var(--ol); }
.mc-body { padding: 10px 12px 14px; font-size: 13px; color: var(--muted); }
.m-gemgrab { --m1: #c47bff; --m2: #8b3fe6; } .m-showdown { --m1: #8de04d; --m2: #4fa821; } .m-duo { --m1: #7fd34a; --m2: #3d961a; }
.m-bounty { --m1: #5fd8ff; --m2: #1a9be0; } .m-heist { --m1: #ff8ad8; --m2: #c93a9a; } .m-brawlball { --m1: #6fa8ff; --m2: #2f63e0; }
.m-roborumble { --m1: #ff7a7a; --m2: #d43030; } .m-biggame { --m1: #ffb04d; --m2: #e06b17; }

/* ---------------------------------------------------------------- chips, notes */
.chips { display: flex; flex-wrap: wrap; margin: 10px 0 2px; }
.chip { display: inline-flex; align-items: center; font-size: 13px; padding: 3px 10px; border-radius: 6px; background: var(--soft); color: var(--muted);
        border: 2px solid var(--soft2); margin: 0 7px 7px 0; }
.chip img { width: 17px; height: 17px; object-fit: contain; margin-right: 6px; }
.chip.y { background: #fff4cc; color: #8a5a00; border-color: #ffd866; }
.chip.g { background: #e3ffd9; color: #135c00; border-color: #9fe58a; }
.mc .chip { font-size: 12px; margin: 0 0 6px; }
.note { border-radius: 8px; padding: 8px 12px; margin: 14px 0 0; font-size: 14px; border: 3px solid var(--ink); display: flex; align-items: center; }
.note img { width: 24px; height: 24px; object-fit: contain; margin-right: 10px; flex: none; }
.note.info { background: #e3efff; color: #0b3d73; }
.note.warn { background: #fff1cf; color: #6b4300; }

/* ---------------------------------------------------------------- steps */
.step { position: relative; padding-top: 22px; display: flex; flex-direction: column; }
.step p { font-size: 15px; flex: 1; }
.step .btn.wide { margin-top: 16px; }
.num { width: 50px; height: 50px; margin-bottom: 12px; border: 3px solid var(--ink); border-radius: 8px; transform: skewX(-8deg); display: flex; align-items: center; justify-content: center;
       background: linear-gradient(#ffdc3c, #ffbf00); box-shadow: inset 0 -5px 0 #d58d00, 0 3px 0 var(--ink); }
.num span { transform: skewX(8deg); font-family: "Lilita One", sans-serif; font-size: 30px; color: #fff; text-shadow: var(--ol); margin-top: -3px; }

/* ---------------------------------------------------------------- Banan ID */
.banan { display: flex; align-items: center; padding: 26px; }
.banan-pic { position: relative; flex: none; width: 300px; height: 260px; border-radius: 10px; border: 3px solid var(--ink); overflow: hidden; margin-right: 28px;
             background: radial-gradient(circle at 50% 40%, #d79bff, #8a3be0 55%, #5a1fb0); display: flex; align-items: center; justify-content: center;
             box-shadow: inset 0 -6px 0 rgba(0,0,0,.2); }
.banan-pic img { width: 92%; height: auto; filter: drop-shadow(0 6px 0 rgba(0,0,0,.25)); }
.banan-pic .tag { position: absolute; left: 10px; top: 10px; background: #ffc400; color: #fff; border: 3px solid var(--ink); border-radius: 7px; padding: 2px 10px 4px;
                  font-size: 14px; text-shadow: var(--ol); transform: skewX(-8deg); }
.banan-body { flex: 1; min-width: 0; }
.banan-body > p { font-size: 17px; max-width: 560px; }
.profile-demo { display: flex; align-items: center; max-width: 400px; margin: 10px 0 4px; padding: 10px; background: var(--soft); border: 3px solid var(--ink); border-radius: 10px; }
.ava { flex: none; width: 50px; height: 50px; border-radius: 9px; border: 3px solid var(--ink); background: #1f72f2; overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who { margin-left: 12px; min-width: 0; flex: 1; }
.who .name { font-size: 17px; line-height: 1.2; }
.who .sub { color: var(--muted); font-size: 12px; }
.online { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22c800; border: 2px solid var(--ink); margin-left: 6px; vertical-align: 1px; }
.pd-stat { display: flex; align-items: center; background: #fff; border: 2px solid var(--soft2); border-radius: 8px; padding: 4px 10px; font-size: 16px; }
.pd-stat img { width: 24px; height: 24px; object-fit: contain; margin-right: 6px; }
.pd-stat b { font-weight: 400; }

/* ---------------------------------------------------------------- rules (short) */
.rules-head { display: flex; align-items: center; }
.rules-head h3 { font-size: 24px; }
.rules-list { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 10px 18px; gap: 10px 18px; }
.rules-list li { position: relative; padding: 9px 12px 9px 40px; background: var(--soft); border: 2px solid var(--soft2); border-radius: 8px; font-size: 14px; color: var(--muted); }
.rules-list li:before { content: ""; position: absolute; left: 10px; top: 10px; width: 20px; height: 20px; background: url("img/ui/check.png") center / contain no-repeat; }
.rules-list b { color: var(--ink); font-weight: 400; }
.accept { margin: 14px 2px 0; }
.accept a, .note a { color: #1769e0; }

/* ---------------------------------------------------------------- channels */
.chans .btn { display: block; }
.chans .btn > .chan { justify-content: flex-start; text-align: left; padding: 10px 16px 14px; }
.chan img { width: 38px; height: 38px; margin-right: 12px; }
.chan .ct { flex: 1; min-width: 0; font-size: 20px; }
.chan .ct small { display: block; font-size: 12px; opacity: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 56px; border-top: 3px solid var(--ink); background: rgba(255,255,255,.55); }
.foot-in { max-width: 1140px; margin: 0 auto; padding: 24px 20px 30px; text-align: center; }
.foot .logo { justify-content: center; display: inline-flex; }
.foot-links { margin: 14px 0 6px; }
.foot-links a { display: inline-block; margin: 0 10px 6px; color: var(--muted); font-size: 14px; }
.foot-links.legal { margin-top: 0; }
.foot-links.legal a { font-size: 13px; color: var(--dim); }
.disclaimer { max-width: 680px; margin: 8px auto; font-size: 12px; color: var(--dim); }
.age { display: inline-block; font-size: 12px; line-height: 1; color: var(--ink); border: 2px solid var(--ink); border-radius: 5px; padding: 3px 5px; margin-right: 8px; vertical-align: 1px; background: #fff; }
.copy { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- modal */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,14,24,.6); display: flex; align-items: center;
         justify-content: center; padding: 16px; z-index: 30; }
.modal .box { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 20px; width: 100%; max-width: 440px;
              max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 6px 0 rgba(17,24,39,.4); animation: pop .16s ease-out; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.modal .x { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 8px; border: 3px solid var(--ink); background: #ff4747; color: #fff;
            font: 900 22px/30px Arial, sans-serif; text-align: center; cursor: pointer; padding: 0; box-shadow: inset 0 -4px 0 #b81d1d, 0 3px 0 rgba(17,24,39,.35); }
.modal h3 { font-size: 24px; margin: 4px 46px 8px 0; }
.modal .btn.wide { margin-top: 12px; }
.hm-top { display: flex; align-items: center; margin-right: 40px; }
.hm-pic { flex: none; width: 116px; height: 116px; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; margin-right: 14px;
          background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%), var(--r1); }
.hm-pic img { width: 100%; height: 100%; display: block; }
.hm-name { font-size: 28px; line-height: 1.1; color: #fff; text-shadow: var(--ol2); margin-bottom: 8px; }
.rchip { display: inline-block; font-size: 13px; padding: 2px 10px 3px; border-radius: 6px; border: 2px solid var(--ink); background: var(--r2); color: #fff; text-shadow: var(--ol); margin: 0 6px 6px 0; }
.hm-desc { margin: 14px 0 4px; font-size: 15px; }

/* ---------------------------------------------------------------- document pages (rules, terms, privacy, consents) */
.doc-top .top-in { justify-content: space-between; }
.doc-nav { flex-wrap: wrap; margin: 6px 0 12px -4px; }
.doc-nav .tab { margin-bottom: 10px; font-size: 14px; min-height: 38px; }
.doc { padding: 30px 36px 34px; }
.doc-title { font-size: 36px; line-height: 1.12; color: #fff; text-shadow: var(--ol3); letter-spacing: .3px; margin: 0 0 10px; }
.doc-meta { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.doc-lead { font-size: 16px; margin: 0 0 16px; }
.toc { background: var(--soft); border: 2px solid var(--soft2); border-radius: 8px; padding: 12px 16px; margin: 0 0 8px; -webkit-columns: 2; columns: 2; -webkit-column-gap: 24px; column-gap: 24px; }
.toc a { display: block; padding: 3px 0; font-size: 14px; color: #1769e0; text-decoration: none; -webkit-column-break-inside: avoid; break-inside: avoid; }
.toc a:hover { text-decoration: underline; }
.doc-body { font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 15.5px; line-height: 1.62; color: #283041; }
.doc-body h2 { font-family: "Pusia", "Trebuchet MS", sans-serif; font-size: 22px; line-height: 1.25; color: var(--ink); margin: 30px 0 10px; padding-top: 4px; scroll-margin-top: 130px; }
.doc-body p { margin: 7px 0; }
.doc-body .pt { padding-left: 46px; text-indent: -46px; }
.doc-body .pt > b:first-child { display: inline-block; width: 46px; text-indent: 0; font-weight: 700; color: var(--ink); }
.doc-body ul { margin: 6px 0 8px; padding-left: 24px; }
.doc-body li { margin: 4px 0; }
.doc-body a { color: #1769e0; }
.doc-body strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 10px 0 6px; -webkit-overflow-scrolling: touch; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; min-width: 560px; }
.doc-body th, .doc-body td { border: 2px solid var(--soft2); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--soft); font-family: "Pusia", sans-serif; font-weight: 400; color: var(--ink); }
.doc-box { background: #fff7d6; border: 3px solid var(--ink); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.doc-box.blue { background: #e3efff; }
.fill { background: #fff1a8; color: #6b4300; border-bottom: 2px dashed #e0a800; border-radius: 3px; padding: 0 3px; }
.doc-sign { margin-top: 26px; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1040px) {
  .modes { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .chans { grid-template-columns: 1fr; }
  .show-stage { width: 240px; height: 240px; margin-right: 20px; }
  .show-name { font-size: 36px; }
  .title { font-size: 70px; }
}

/* ---------------------------------------------------------------- header in two rows: the tabs scroll under the logo */
@media (max-width: 1180px) {
  html { scroll-padding-top: 122px; }
  .top-in { flex-wrap: wrap; padding: 8px 20px 0; }
  .dl-top { margin-left: auto; }
  .nav { order: 3; width: calc(100% + 40px); margin: 8px -20px 0; padding: 4px 18px 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .tab img { display: block; width: 20px; height: 20px; }
  .nav .tab > span { padding: 2px 10px 6px; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  html { scroll-padding-top: 118px; }
  .top-in { padding: 8px 14px 0; }
  .brand { font-size: 24px; }
  .logo img { width: 38px; height: 38px; margin-right: 8px; }
  .nav { width: calc(100% + 28px); margin: 8px -14px 0; padding: 4px 12px 10px; }
  .nav .tab { min-height: 36px; font-size: 14px; }
  .wrap { padding: 14px 16px 6px; }

  .hero { display: block; min-height: 0; border-radius: 12px; background: linear-gradient(#0a64cf, #0146ac); }
  .hero-art { position: relative; height: 0; padding-bottom: 66%; }
  .hero-art img { position: absolute; top: 0; left: 0; object-position: 72% 50%; }
  .hero-art:after { background: linear-gradient(180deg, rgba(1,64,170,0) 55%, rgba(10,100,207,1) 100%); }
  .hero-body { padding: 0 18px 20px; margin-top: -54px; max-width: none; }
  .title { font-size: 54px; margin: 14px 0 10px; }
  .lead { font-size: 17px; margin-bottom: 18px; }
  .cta { display: block; }
  .cta .btn { display: block; margin: 0 0 14px; }
  .btn.big { font-size: 20px; }
  .hero-stats { margin-top: 4px; }
  .hs { flex: 1; flex-direction: column; padding: 6px 4px 7px; margin-right: 8px; text-align: center; }
  .hs:last-child { margin-right: 0; }
  .hs img { margin: 0 0 3px; width: 26px; height: 26px; }
  .hs b { margin: 0; font-size: 13px; line-height: 1.1; }

  .sec { margin-top: 38px; }
  .h2 { font-size: 28px; }
  .h2 img { width: 36px; height: 36px; margin-right: 10px; }
  .grid3 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 15px; }
  .feats { gap: 10px; }
  .feat { padding: 12px; }
  .f-ico { width: 50px; height: 50px; margin-right: 12px; }
  .f-ico img { width: 32px; height: 32px; }
  .feat h3 { font-size: 17px; }
  .feat p { font-size: 13px; }
  /* showcase: portrait + name in one row, description, one scrolling row of thumbnails */
  .show { display: grid; grid-template-columns: 116px 1fr; grid-column-gap: 14px; column-gap: 14px; padding: 14px; }
  .show-info { display: contents; }
  .show-stage { width: 116px; height: 116px; margin: 0; border-radius: 10px; }
  .show-head { grid-column: 2; align-self: center; min-width: 0; }
  .show-name { font-size: 28px; margin-bottom: 8px; text-shadow: var(--ol2); }
  .show-desc { grid-column: 1 / -1; font-size: 14px; margin: 12px 0 10px; }
  .thumbs { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
            margin: 0 -14px -4px; padding: 8px 12px 6px; }
  .thumbs::-webkit-scrollbar { display: none; }
  .th { width: 50px; height: 50px; margin-bottom: 6px; }
  .rules-list { grid-template-columns: 1fr; }
  .rules-head h3 { font-size: 20px; }
  .modes { grid-template-columns: 1fr; gap: 10px; }
  .mc { flex-direction: row; }
  .mc-top { flex: none; width: 108px; flex-direction: column; justify-content: center; text-align: center; min-height: 0; padding: 10px 6px;
            border-bottom: 0; border-right: 3px solid var(--ink); box-shadow: inset -5px 0 0 rgba(0,0,0,.12); }
  .mc-top img { width: 54px; height: 54px; margin: 0 0 4px; }
  .mc-top b { font-size: 14px; }
  .mc-body { padding: 10px 12px 12px; font-size: 13px; }
  .banan { display: block; padding: 15px; }
  .banan-pic { width: 100%; height: 210px; margin: 0 0 16px; }
  .banan-pic img { width: auto; height: 92%; }
  .brand.big { font-size: 36px; }
  .banan-body > p { font-size: 16px; }
  .row .btn { display: block; width: 100%; margin-right: 0; }
  .doc { padding: 18px 16px 22px; }
  .doc-title { font-size: 28px; }
  .toc { -webkit-columns: 1; columns: 1; }
  .doc-body { font-size: 15px; }
  .doc-body h2 { font-size: 19px; margin-top: 24px; }
  .doc-body .pt { padding-left: 38px; text-indent: -38px; }
  .doc-body .pt > b:first-child { width: 38px; }
  .doc-nav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 10px; padding: 4px 14px 4px; scrollbar-width: none; }
  .doc-nav::-webkit-scrollbar { display: none; }
  .chans .btn > .chan { padding: 9px 14px 13px; }
  .chan .ct { font-size: 18px; }
}
@media (max-width: 360px) {
  .title { font-size: 46px; }
  .show { grid-template-columns: 96px 1fr; }
  .show-stage { width: 96px; height: 96px; }
  .show-name { font-size: 24px; }
  .dl-top { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live, .modal .box { animation: none; }
}
