:root{
  color-scheme: dark;
  --ink:      #ece9f2;
  --muted:    #a7a3ba;
  --faint:    #6d6982;
  --wall:     #1b1a26;
  --edge:     #34314a;
  --tier:     #e2b64a;
  --tier-dim: rgba(226,182,74,.16);
  --bg: none;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --stencil: "Saira Stencil One", "Impact", "Arial Black", sans-serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*,*::before,*::after{ box-sizing: inherit; }
[hidden]{ display:none !important; }
html{ scroll-padding-top: env(safe-area-inset-top, 0px); }
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  font: 400 17px/1.55 var(--body);
  background:#14131c;
  background-image:
    radial-gradient(ellipse at 30% 35%, rgba(20,19,28,.35) 0%, rgba(20,19,28,.92) 70%),
    var(--bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.tier-s  { --tier:#e2b64a; --tier-dim:rgba(226,182,74,.16); }
.tier-app{ --tier:#e4515f; --tier-dim:rgba(228,81,95,.16); }
.tier-ap { --tier:#e0609f; --tier-dim:rgba(224,96,159,.16); }
.tier-a  { --tier:#c35bd8; --tier-dim:rgba(195,91,216,.16); }
.tier-b  { --tier:#8a6af0; --tier-dim:rgba(138,106,240,.16); }
.tier-c  { --tier:#4b8ef0; --tier-dim:rgba(75,142,240,.16); }
.tier-d  { --tier:#6fa7c8; --tier-dim:rgba(111,167,200,.16); }
.tier-x  { --tier:#a7a3ba; --tier-dim:rgba(167,163,186,.12); }

.theme-ziema, .season-ziema        { --tier:#8fc7e6; --tier-dim:rgba(143,199,230,.16); }
.theme-pavasaris, .season-pavasaris{ --tier:#9ad6a4; --tier-dim:rgba(154,214,164,.15); }
.theme-vasara, .season-vasara      { --tier:#f2bf5e; --tier-dim:rgba(242,191,94,.14); }
.theme-ruduo, .season-ruduo        { --tier:#d29a5a; --tier-dim:rgba(210,154,90,.15); }

a{ color:inherit; }
a:focus-visible, button:focus-visible{ outline:2px solid var(--tier); outline-offset:3px; border-radius:2px; }

.top{
  max-width: 1040px; margin: 0 auto; padding: 22px 24px 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ font: 700 22px/1 var(--cond); letter-spacing:.02em; text-decoration:none; }
.brand span{ color:var(--faint); font-weight:500; }
.nav{ display:flex; gap:18px; margin-right:auto; margin-left:28px; font: 600 16px/1 var(--cond); }
.nav a{ color:var(--muted); text-decoration:none; padding:4px 0; border-bottom:2px solid transparent; }
.nav a:hover{ color:var(--ink); }
.nav a[aria-current="page"]{ color:var(--ink); border-bottom-color:var(--tier); }

main{ max-width:1040px; margin:0 auto; padding: 28px 24px 64px; }

.tierline{ font: 600 15px/1.3 var(--cond); color:var(--tier); margin:0 0 18px; }
.lead{ color:var(--muted); max-width: 68ch; margin:0 0 10px; }
.empty{ color:var(--faint); font-size:16px; margin:6px 0 0; }

.cells{ display:flex; gap:3px; flex-wrap:wrap; }
.cells i{ width:14px; height:18px; background: var(--edge); display:block; }
.cells i.on{ background: var(--tier); }

.stats{ display:grid; grid-template-columns: auto 1fr; gap: 10px 22px; align-items:center; margin:0; }
.stats dt{ font: 500 15px/1 var(--cond); color:var(--faint); }
.stats dd{ margin:0; font: 600 20px/1 var(--cond); }

.stencil{ font: 400 clamp(96px, 15vw, 168px)/.86 var(--stencil); color:var(--ink); opacity:.94; margin:0 0 22px; }
.stencil small{ font-size:.38em; vertical-align:.9em; margin-right:.06em; color:var(--muted); }

.band{
  display:grid; grid-template-columns: 1fr 1fr;
  border-top:1px solid var(--edge); border-bottom:1px solid var(--edge);
  background: rgba(27,26,38,.6);
}
.band > div{ padding: 26px 28px 28px; }
.band > div + div{ border-left:1px solid var(--edge); }
.band.single{ grid-template-columns: 1fr; }
.band h2{ margin:0 0 10px; font: 600 16px/1 var(--cond); color:var(--faint); }

.timeline{ list-style:none; margin:0; padding:0; position:relative; }
.timeline::before{ content:""; position:absolute; left:6px; top:8px; bottom:8px; width:2px; background: var(--edge); }
.timeline > li{ position:relative; padding: 0 0 18px 32px; }
.timeline > li::before{ content:""; position:absolute; left:0; top:7px; width:14px; height:14px; background: var(--wall); border:2px solid var(--muted); }
.timeline > li.now::before{ background: var(--tier); border-color: var(--tier); }

.field{ font: 600 18px/1 var(--cond); padding: 10px 12px; color:var(--ink); background: var(--wall); border:1px solid var(--edge); }
.field:focus{ outline:none; border-color: var(--tier); }
.btn{ font: 600 16px/1 var(--cond); color:#14131c; background: var(--tier); border:0; padding: 12px 18px; cursor:pointer; }
.btn-ghost{ font: 600 13px/1 var(--cond); color:var(--ink); background:transparent; border:1px solid var(--edge); padding:7px 10px; cursor:pointer; }
.btn-ghost:hover{ border-color:var(--muted); }
.msg{ padding: 10px 14px; border-left:3px solid var(--tier); background: rgba(27,26,38,.75); margin: 0 0 18px; max-width: 680px; }
.msg.err{ border-left-color:#e4515f; }

.foot{ margin-top: 36px; color:var(--faint); font-size:14px; display:flex; flex-wrap:wrap; gap: 6px 24px; }

@media (max-width: 760px){
  .top{ flex-wrap:wrap; }
  .nav{ order:3; width:100%; margin:4px 0 0; }
  .band{ grid-template-columns: 1fr; }
  .band > div + div{ border-left:0; border-top:1px solid var(--edge); }
}
@media (prefers-reduced-motion: reduce){ *{ transition:none !important; animation:none !important; } }

.top-right{ display:flex; align-items:center; gap:12px; }
.online{ display:inline-flex; align-items:center; gap:8px; font: 600 15px/1 var(--cond); color:var(--muted); white-space:nowrap; }
.online b{ color:var(--ink); font-size:17px; }
.dot{ width:8px; height:8px; border-radius:50%; background:#5fd38d; display:inline-block; flex:none; animation: pulsas 2.4s ease-out infinite; }
.dot.off{ background:var(--faint); animation:none; }
@keyframes pulsas{
  0%  { box-shadow: 0 0 0 0 rgba(95,211,141,.55); }
  70% { box-shadow: 0 0 0 7px rgba(95,211,141,0); }
  100%{ box-shadow: 0 0 0 0 rgba(95,211,141,0); }
}
a.btn, a.btn-ghost{ display:inline-flex; align-items:center; text-decoration:none; white-space:nowrap; }
a.btn-ghost{ font-size:15px; padding:11px 16px; }

.site-foot{
  max-width:1040px; margin:0 auto; padding: 28px 24px 40px; border-top:1px solid var(--edge);
  display:grid; grid-template-columns: minmax(0,1.3fr) repeat(3, minmax(0,1fr)); gap: 24px 32px;
  color:var(--faint); font-size:14px;
}
.site-foot p{ margin:10px 0 0; line-height:1.6; }
.site-foot p b{ color:var(--muted); font-weight:600; }
.site-foot nav{ display:flex; flex-direction:column; gap:8px; }
.site-foot nav b{ font: 600 15px/1 var(--cond); color:var(--muted); margin-bottom:4px; }
.site-foot nav a{ color:var(--muted); text-decoration:none; }
.site-foot nav a:hover{ color:var(--ink); }
@media (max-width: 760px){ .site-foot{ grid-template-columns: 1fr 1fr; } .site-foot > div{ grid-column: 1/-1; } }
.site-foot .brand{ color:var(--ink); }
body{ overflow-x:hidden; }

.site-foot .partner{ display:grid; gap:3px; padding: 10px 12px; border:1px solid var(--edge); border-left:3px solid var(--tier); }
.site-foot .partner small{ color:var(--faint); font-size:13px; }

.top{ position:relative; }
.nav{ align-items:center; position:relative; }
.nav .nav-m, .burger{ display:none; }
.burger{ width:36px; height:32px; padding: 8px 7px; background:none; border:1px solid var(--edge); cursor:pointer; flex-direction:column; justify-content:space-between; }
.burger i{ display:block; height:2px; background:var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"]{ border-color: var(--tier); }
.burger[aria-expanded="true"] i:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] i:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
.more-menu{
  position:absolute; right:0; top: calc(100% + 10px); z-index:50; min-width: 190px;
  display:grid; padding:6px; background: rgba(20,19,28,.97); border:1px solid var(--edge); border-top:2px solid var(--tier);
  box-shadow: 0 16px 34px rgba(0,0,0,.45);
}
.more-menu[hidden]{ display:none; }
.more-menu a{ padding: 11px 12px; color:var(--muted); text-decoration:none; font: 600 16px/1 var(--cond); border:0; }
.more-menu a:hover{ color:var(--ink); background: rgba(255,255,255,.05); }

.langsw{ display:inline-flex; border:1px solid var(--edge); font: 600 13px/1 var(--cond); letter-spacing:.04em; }
.langsw a{ padding: 7px 8px; color:var(--faint); text-decoration:none; }
.langsw a + a{ border-left:1px solid var(--edge); }
.langsw a:hover{ color:var(--ink); }
.langsw a[aria-current]{ color:var(--ink); background: rgba(255,255,255,.07); box-shadow: inset 0 -2px 0 var(--tier); }

@media (max-width: 760px){
  .nav{ gap:14px; font-size:15px; justify-content:space-between; }
  .nav .nav-x{ display:none; }
  .nav .nav-m{ display:inline; }
  .burger{ display:flex; margin-left:auto; }
  .top-right .top-buy{ display:none; }
}

.fx{ position:fixed; inset:0; pointer-events:none; z-index:30; overflow:hidden; }
.fx i{
  position:absolute; top:-40px; left:var(--x); width:var(--s); height:var(--s); opacity:var(--o);
  background: var(--img) center/contain no-repeat;
  animation: fx-fall var(--d) linear var(--delay) infinite; will-change: transform;
}
@keyframes fx-fall{ to{ transform: translate3d(var(--drift), 112vh, 0) rotate(var(--r)); } }
@keyframes fx-rise{ from{ transform: translate3d(0, 0, 0); opacity:0; } 20%{ opacity:var(--o); } to{ transform: translate3d(var(--drift), -60vh, 0); opacity:0; } }

.fx-ziema i.a{ --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6f3ff' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.4 7l17.2 10M3.4 17L20.6 7M12 2 9.8 4.2M12 2l2.2 2.2M12 22l-2.2-2.2M12 22l2.2-2.2M3.4 7l3 .8M3.4 7l.8-3M20.6 17l-3-.8M20.6 17l-.8 3M3.4 17l3-.8M3.4 17l.8 3M20.6 7l-3 .8M20.6 7l-.8-3'/%3E%3C/svg%3E"); }
.fx-ziema i.b{ --img: radial-gradient(circle, rgba(236,245,255,.95) 0 40%, transparent 70%); background: var(--img); width:calc(var(--s) * .45); height:calc(var(--s) * .45); }
.fx-ruduo i{ --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-4.6 3.6-7.6 7.7-6.6 12.4.8 3.8 4 5.9 6.6 7.4 2.6-1.5 5.8-3.6 6.6-7.4C19.6 9.7 16.6 5.6 12 2z' fill='%23c9853f'/%3E%3Cpath d='M12 4v18M12 10l-3-2M12 14l3.5-2.5M12 17l-3-2' stroke='%23874f1e' stroke-width='1' fill='none'/%3E%3C/svg%3E"); --s:16px; }
.fx-ruduo i.b{ filter: hue-rotate(-18deg) saturate(1.3); }
.fx-ruduo i{ width:calc(var(--s) * 1.4); height:calc(var(--s) * 1.4); }
.fx-pavasaris i{ --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1c4 3 5 9 0 18C5 10 6 4 10 1z' fill='%23f3bdd0'/%3E%3C/svg%3E"); }
.fx-pavasaris i.b{ --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1c4 3 5 9 0 18C5 10 6 4 10 1z' fill='%23fbe3ea'/%3E%3C/svg%3E"); }
.fx-vasara i{
  top:auto; bottom:-20px; width:calc(var(--s) * .4); height:calc(var(--s) * .4);
  background: radial-gradient(circle, rgba(255,214,130,.95) 0 35%, transparent 70%);
  animation-name: fx-rise;
}

.theme-ziema .snowcap{ position:relative; }
.theme-ziema .snowcap::before{
  content:""; position:absolute; left:-1px; right:-1px; top:-7px; height:13px; z-index:2; pointer-events:none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 14' preserveAspectRatio='none'%3E%3Cpath d='M0 7C6 3 12 2 20 4s12 6 22 5 12-6 22-6 14 7 24 7 12-5 22-5 14 6 24 5 10-4 16-4c4 0 8 1 10 3V0H0z' fill='%23eef6ff'/%3E%3Cpath d='M0 7C6 3 12 2 20 4s12 6 22 5 12-6 22-6 14 7 24 7 12-5 22-5 14 6 24 5 10-4 16-4c4 0 8 1 10 3' fill='none' stroke='%23b9d8ee' stroke-width='1'/%3E%3C/svg%3E") 0 0/160px 13px repeat-x;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.theme-ruduo .snowcap, .theme-pavasaris .snowcap{ position:relative; }
.theme-ruduo .snowcap::before, .theme-pavasaris .snowcap::before{
  content:""; position:absolute; right:14px; top:-9px; width:22px; height:22px; z-index:2; pointer-events:none; transform: rotate(-35deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-4.6 3.6-7.6 7.7-6.6 12.4.8 3.8 4 5.9 6.6 7.4 2.6-1.5 5.8-3.6 6.6-7.4C19.6 9.7 16.6 5.6 12 2z' fill='%23c9853f'/%3E%3Cpath d='M12 4v18M12 10l-3-2M12 14l3.5-2.5M12 17l-3-2' stroke='%23874f1e' stroke-width='1' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
}
.theme-pavasaris .snowcap::before{
  transform:none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%23f3bdd0'%3E%3Cellipse cx='12' cy='6' rx='3.4' ry='4.6'/%3E%3Cellipse cx='12' cy='18' rx='3.4' ry='4.6'/%3E%3Cellipse cx='6' cy='12' rx='4.6' ry='3.4'/%3E%3Cellipse cx='18' cy='12' rx='4.6' ry='3.4'/%3E%3C/g%3E%3Ccircle cx='12' cy='12' r='2.4' fill='%23f2d27a'/%3E%3C/svg%3E") center/contain no-repeat;
}

.theme-test{
  position:fixed; right:12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index:60;
  max-width: calc(100vw - 24px); display:grid; gap:2px; padding:4px; background: rgba(20,19,28,.94); border:1px solid var(--edge);
  font: 600 14px/1 var(--cond);
}
.theme-test div{ display:flex; align-items:center; gap:2px; overflow-x:auto; scrollbar-width:none; }
.theme-test div::-webkit-scrollbar{ display:none; }
.theme-test span{ flex:none; width:52px; padding: 0 8px; color:var(--faint); }
.theme-test a{ flex:none; padding: 7px 9px; color:var(--muted); text-decoration:none; white-space:nowrap; }
.theme-test a[aria-current]{ background: var(--tier); color:#14131c; }

.boost{
  max-width:1040px; margin: 14px auto 0; padding: 0 24px;
}
.boost > div{
  display:flex; flex-wrap:wrap; align-items:center; gap: 6px 14px; padding: 10px 14px;
  background: rgba(27,26,38,.75); border:1px solid var(--edge); border-left:3px solid var(--edge);
  font: 500 16px/1.3 var(--cond); color:var(--muted);
}
.boost b{ color:var(--ink); font-weight:600; }
.boost .when{ margin-left:auto; color:var(--ink); font-weight:600; white-space:nowrap; }
.boost.on > div{ border-left-color: var(--tier); background: linear-gradient(90deg, var(--tier-dim), rgba(27,26,38,.75) 60%); }
.boost.on .when{ color:var(--tier); }
.boost .tag{ padding: 3px 7px; background: rgba(255,255,255,.07); color:var(--ink); font-weight:600; }
.boost.on .tag{ background: var(--tier); color:#14131c; }
@media (max-width: 560px){ .boost .when{ margin-left:0; } }
.site-foot .partner small{ white-space:nowrap; }

.brandbox{ display:flex; align-items:center; gap:10px; }
.hol-icon{ display:inline-flex; width:24px; height:24px; }
.hol-icon svg{ width:100%; height:100%; display:block; }
.lt-day .hol-icon{ width:26px; height:18px; animation: wave 3s ease-in-out infinite; transform-origin: left center; }
@keyframes wave{ 50%{ transform: skewY(-4deg) scaleX(.96); } }

.hol-band{ height:6px; }
.hol-band-lt{ background: linear-gradient(#fdb913 0 33.3%, #006a44 33.3% 66.6%, #c1272d 66.6%); }
.hol-band-garland{
  height:18px; display:flex; justify-content:space-between; padding: 0 10px; overflow:hidden;
  background: linear-gradient(transparent 4px, #2f4f3a 4px 6px, transparent 6px);
}
.hol-band-garland i{ width:7px; height:10px; margin-top:5px; border-radius:50% 50% 45% 45%; background:#e4515f; box-shadow: 0 0 8px currentColor; color:#e4515f; animation: bulb 2.4s ease-in-out infinite; }
.hol-band-garland i:nth-child(4n+2){ background:#f2c45e; color:#f2c45e; animation-delay:.6s; }
.hol-band-garland i:nth-child(4n+3){ background:#5fd38d; color:#5fd38d; animation-delay:1.2s; }
.hol-band-garland i:nth-child(4n+4){ background:#8fc7e6; color:#8fc7e6; animation-delay:1.8s; }
@keyframes bulb{ 50%{ opacity:.35; box-shadow:none; } }

.fx-konfeti i{ background: var(--c, #f2c45e); width:calc(var(--s) * .45); height:calc(var(--s) * .8); }
.fx-konfeti i:nth-child(4n+1){ --c:#f27fa6; } .fx-konfeti i:nth-child(4n+2){ --c:#8fc7e6; } .fx-konfeti i:nth-child(4n+3){ --c:#5fd38d; }
.fx-sirdys i{ --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-8-5.2-8-11a4.6 4.6 0 0 1 8-3 4.6 4.6 0 0 1 8 3c0 5.8-8 11-8 11z' fill='%23f2557f'/%3E%3C/svg%3E"); }
.fx-sirdys i.b{ filter: saturate(.6) brightness(1.3); }
.fx-jonvabaliai i{
  top:auto; bottom:-20px; width:calc(var(--s) * .4); height:calc(var(--s) * .4);
  background: radial-gradient(circle, rgba(220,255,140,.95) 0 35%, transparent 70%);
  animation-name: fx-rise;
}
.fx-sikspamiai i{
  top: calc(var(--x) * .5); left:-60px; width:calc(var(--s) * 2.2); height:calc(var(--s) * 1.2); opacity:.5;
  --img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M20 8c1-2 2-2 3 0 3-4 9-6 16-4-4 1-6 4-6 7-2-1-4-1-5 1-1-2-3-3-5-2l-3 3-3-3c-2-1-4 0-5 2-1-2-3-2-5-1 0-3-2-6-6-7 7-2 13 0 16 4 1-2 2-2 3 0z' fill='%236b5577'/%3E%3C/svg%3E");
  animation: fx-fly var(--d) linear var(--delay) infinite;
}
@keyframes fx-fly{
  0%{ transform: translate3d(0,0,0); } 25%{ transform: translate3d(30vw,-20px,0); } 50%{ transform: translate3d(60vw,15px,0); }
  75%{ transform: translate3d(90vw,-10px,0); } 100%{ transform: translate3d(115vw,0,0); }
}

.hol-color.hol-helovinas{ --tier:#f08a2e; --tier-dim:rgba(240,138,46,.17); }
.hol-color.hol-valentino{ --tier:#f27fa6; --tier-dim:rgba(242,127,166,.16); }

.soon{ position:relative; border:1px dashed var(--edge); background: rgba(27,26,38,.45); padding: 18px 20px 20px; overflow:hidden; }
.soon .ghost{ list-style:none; margin:0 0 16px; padding:0; display:grid; gap:6px; }
.soon .ghost li{ height:44px; border-left:3px solid var(--edge); background: linear-gradient(90deg, rgba(52,49,74,.45), rgba(52,49,74,.15) 60%, rgba(52,49,74,.45)); background-size: 200% 100%; animation: ghost 2.6s ease-in-out infinite; }
.soon .ghost li:nth-child(2){ animation-delay:.2s; opacity:.8; } .soon .ghost li:nth-child(3){ animation-delay:.4s; opacity:.6; }
@keyframes ghost{ 50%{ background-position: 100% 0; } }
.soon p{ margin:0; color:var(--muted); max-width: 60ch; }
.soon p b{ color:var(--ink); }
.livechip.off{ color:var(--muted); background: rgba(255,255,255,.05); border-color: var(--edge); }
.livechip.off i{ background: var(--faint); animation:none; }
