:root{
  --hic-game-blue:#206bc4;
  --hic-game-blue-2:#4c8fe0;
  --hic-game-green:#2fb344;
  --hic-game-orange:#f59f00;
  --hic-game-red:#d63939;
  --hic-game-ink:#182433;
}
.login-game-stage{
  position:fixed;
  inset:0 auto 0 0;
  width:66.6667vw;
  min-width:0;
  overflow:hidden;
  z-index:1;
  background:
    radial-gradient(circle at 20% 20%,rgba(76,143,224,.18),transparent 35%),
    radial-gradient(circle at 80% 75%,rgba(47,179,68,.10),transparent 32%),
    linear-gradient(145deg,#eef5ff 0%,#f8fbff 46%,#f2f7fd 100%);
  border-right:1px solid rgba(98,105,118,.12);
  user-select:none;
}
.login-game-stage::before,
.login-game-stage::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  filter:blur(2px);
}
.login-game-stage::before{
  width:420px;height:420px;left:-170px;bottom:-120px;
  background:radial-gradient(circle,rgba(32,107,196,.10),transparent 68%);
}
.login-game-stage::after{
  width:360px;height:360px;right:-130px;top:-90px;
  background:radial-gradient(circle,rgba(47,179,68,.08),transparent 70%);
}
#hic-login-game-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  cursor:default;
}
.login-game-stage.is-running #hic-login-game-canvas{cursor:none}
.login-page{
  position:relative;
  z-index:3;
  pointer-events:none;
  justify-items:end;
  padding:24px;
  padding-left:calc(66.6667vw + 24px);
  padding-right:24px;
}
.login-card{pointer-events:auto;cursor:auto}
.hic-game-panel{
  position:absolute;
  left:26px;
  top:24px;
  z-index:4;
  width:min(330px,calc(100% - 52px));
  pointer-events:none;
}
.hic-game-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  color:var(--hic-game-ink);
  font-weight:700;
  letter-spacing:-.01em;
}
.hic-game-brand-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--hic-game-green);
  box-shadow:0 0 0 6px rgba(47,179,68,.10);
}
.hic-game-kicker{
  font-size:11px;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--hic-game-blue);
  margin-bottom:5px;
}
.hic-game-title{
  margin:0;
  font-size:28px;
  line-height:1.04;
  letter-spacing:-.035em;
  color:var(--hic-game-ink);
}
.hic-game-subtitle{
  margin-top:8px;
  color:#667382;
  font-size:13px;
  line-height:1.45;
}
.hic-game-start{
  position:absolute;
  inset:auto auto 26px 26px;
  z-index:5;
  width:min(400px,calc(100% - 52px));
  padding:14px 16px;
  border:1px solid rgba(98,105,118,.16);
  border-radius:14px;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  box-shadow:0 14px 34px rgba(24,36,51,.10);
}
.hic-game-start-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.hic-game-start-icon{
  width:38px;height:38px;border-radius:11px;
  display:grid;place-items:center;
  background:rgba(32,107,196,.10);
  color:var(--hic-game-blue);
  font-size:21px;
  flex:0 0 auto;
}
.hic-game-start-copy strong{display:block;color:var(--hic-game-ink);font-size:13px}
.hic-game-start-copy span{display:block;color:#667382;font-size:12px;margin-top:2px}
.hic-game-hud{
  position:absolute;
  right:22px;
  top:22px;
  z-index:5;
  display:none;
  grid-template-columns:repeat(2,minmax(88px,1fr));
  gap:8px;
  width:218px;
  pointer-events:none;
}
.hic-game-hud.is-visible{display:grid}
.hic-game-stat{
  padding:9px 10px;
  border-radius:11px;
  border:1px solid rgba(98,105,118,.14);
  background:rgba(255,255,255,.84);
  backdrop-filter:blur(10px);
  box-shadow:0 9px 24px rgba(24,36,51,.07);
}
.hic-game-stat-label{
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#8a94a3;
}
.hic-game-stat-value{
  margin-top:2px;
  font-size:17px;
  font-weight:800;
  color:var(--hic-game-ink);
  font-variant-numeric:tabular-nums;
}
.hic-game-funnel{
  position:absolute;
  left:26px;
  bottom:112px;
  z-index:4;
  display:none;
  align-items:center;
  gap:7px;
  padding:9px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(98,105,118,.13);
  backdrop-filter:blur(10px);
  pointer-events:none;
}
.hic-game-funnel.is-visible{display:flex}
.hic-game-funnel-step{
  display:flex;align-items:center;gap:6px;
  color:#667382;font-size:11px;font-weight:600
}
.hic-game-funnel-step strong{color:var(--hic-game-ink);font-variant-numeric:tabular-nums}
.hic-game-funnel-arrow{color:#a4adba}
.hic-game-toast{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  z-index:8;
  width:min(380px,calc(100% - 48px));
  padding:22px;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(98,105,118,.15);
  box-shadow:0 24px 60px rgba(24,36,51,.18);
  text-align:center;
}
.hic-game-toast h3{margin:0 0 6px;font-size:22px;letter-spacing:-.025em}
.hic-game-toast p{margin:0 0 16px;color:#667382;font-size:13px}
.hic-game-toast .btn{pointer-events:auto}
.hic-game-paused-badge{
  position:absolute;
  left:50%;top:22px;
  transform:translateX(-50%);
  z-index:6;
  display:none;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(24,36,51,.86);
  color:#fff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
}
.hic-game-paused-badge.is-visible{display:block}
@media(max-width:1199.98px){
  .login-game-stage{display:none!important}
  .login-page{justify-items:center;padding-right:24px}
}
@media(prefers-reduced-motion:reduce){
  .login-game-stage{display:none!important}
  .login-page{justify-items:center;padding-right:24px}
}
@media(min-width:1200px){
  .login-page{
    grid-template-columns:2fr 1fr;
    justify-items:stretch;
  }
  .login-card{
    grid-column:2;
    width:min(430px,calc(100% - 48px));
    justify-self:center;
  }
}

.hic-game-sound{
  position:absolute;
  right:20px;
  bottom:18px;
  z-index:7;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(98,105,118,.16);
  border-radius:50%;
  background:rgba(255,255,255,.88);
  box-shadow:0 8px 22px rgba(24,36,51,.10);
  backdrop-filter:blur(10px);
  display:grid;
  place-items:center;
  color:#7b8794;
  cursor:pointer;
}
.hic-game-sound:hover{background:#fff;color:var(--hic-game-blue)}
.hic-game-sound-svg{
  width:22px;
  height:22px;
  display:block;
  overflow:visible;
}
.hic-game-sound-svg path{
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hic-game-sound-speaker{
  fill:currentColor!important;
  stroke:currentColor!important;
}
.hic-game-sound-wave{
  opacity:.18;
  transform-origin:12px 12px;
}
.hic-game-sound-muted{
  opacity:.9;
}
.hic-game-sound.is-on{
  color:var(--hic-game-blue);
  border-color:rgba(32,107,196,.28);
  background:rgba(255,255,255,.98);
}
.hic-game-sound.is-on .hic-game-sound-muted{display:none}
.hic-game-sound.is-on .hic-game-sound-wave-1{animation:hicSoundWave 1s ease-in-out infinite}
.hic-game-sound.is-on .hic-game-sound-wave-2{animation:hicSoundWave 1s ease-in-out .18s infinite}
@keyframes hicSoundWave{
  0%,100%{opacity:.3;transform:scale(.96)}
  50%{opacity:1;transform:scale(1.06)}
}

.hic-game-highscore-toast{
  width:min(720px,calc(100% - 48px));
  max-height:calc(100vh - 56px);
  overflow:auto;
  text-align:left;
  padding:24px;
}
.hic-game-over-kicker{
  color:var(--hic-game-red);
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-align:center;
}
.hic-game-highscore-toast>h3{
  text-align:center;
  margin-top:4px;
}
.hic-game-result-score{
  text-align:center;
  color:var(--hic-game-blue);
  font-size:44px;
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
}
.hic-game-highscore-toast>p{text-align:center;margin-top:7px}
.hic-game-highscore-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(220px,.9fr);
  gap:18px;
  margin-top:18px;
}
.hic-game-highscore-intro{
  font-size:13px;
  font-weight:700;
  color:var(--hic-game-ink);
  margin-bottom:9px;
}
.hic-game-highscore-form{
  display:grid;
  gap:8px;
}
.hic-game-marketing{
  display:flex;
  gap:7px;
  align-items:flex-start;
  color:#667382;
  font-size:10px;
  line-height:1.35;
  cursor:pointer;
}
.hic-game-marketing input{margin-top:2px;flex:0 0 auto}
.hic-game-form-status{
  min-height:14px;
  font-size:10px;
  line-height:1.35;
  color:#667382;
}
.hic-game-form-status.is-success{color:var(--hic-game-green);font-weight:700}
.hic-game-form-status.is-error{color:var(--hic-game-red);font-weight:700}
.hic-game-verify-hint{
  font-size:9px;
  line-height:1.4;
  color:#8a94a3;
}
.hic-game-retry{margin-top:8px;width:100%}
.hic-game-leaderboard{
  border:1px solid rgba(98,105,118,.13);
  border-radius:13px;
  background:#f8fbff;
  padding:12px;
  min-height:190px;
}
.hic-game-leaderboard-title{
  font-size:12px;
  font-weight:800;
  color:var(--hic-game-ink);
  padding:2px 2px 8px;
}
.hic-game-leaderboard-row{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  padding:8px 4px;
  border-top:1px solid rgba(98,105,118,.10);
  font-size:11px;
}
.hic-game-leaderboard-row strong{font-variant-numeric:tabular-nums;color:var(--hic-game-blue)}
.hic-game-rank{
  width:20px;height:20px;
  display:grid;place-items:center;
  border-radius:50%;
  background:#eaf2ff;
  color:var(--hic-game-blue);
  font-size:9px;
  font-weight:800;
}
.hic-game-nick{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#52606d;
  font-weight:700;
}
.hic-game-personal-best{
  margin-bottom:8px;
  padding:7px 8px;
  border-radius:9px;
  background:#eaf7ed;
  color:#22863a;
  font-size:10px;
}
.hic-game-leaderboard-empty,
.hic-game-leaderboard-loading{
  color:#8a94a3;
  font-size:11px;
  padding:20px 4px;
  text-align:center;
}
@media(max-width:1450px){
  .hic-game-highscore-toast{width:min(620px,calc(100% - 40px))}
  .hic-game-highscore-grid{grid-template-columns:1fr}
  .hic-game-leaderboard{min-height:auto}
}
