/* KiroCards V2: collection, packs, account profiles and original cosmetics. */
.site-header {
  max-width: 1450px;
  padding-left: 40px;
  padding-right: 40px;
}
.site-header nav {
  gap: 15px;
}
.v1-badge {
  display: none;
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff04;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 11px;
  color: #ddd7e6;
  min-height: 39px;
  font-size: 11px;
  font-weight: 650;
  text-align: left;
}
.account-button:hover {
  background: #ffffff0a;
}
.account-button > span > small {
  display: block;
  font-size: 8px;
  color: #867d91;
}
.account-initial {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #3a2937;
  color: #efbcc6;
  border: 1px solid #ffffff15;
  font-size: 9px;
}
.pack-nav {
  position: relative;
}
.pack-nav b {
  display: grid;
  place-items: center;
  border-radius: 100px;
  font-size: 8px;
  background: var(--red);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: -2px;
}
.v2-home-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1176px;
  margin: 15px auto 25px;
  padding: 23px;
  border: 1px solid #e6394630;
  border-radius: 17px;
  background: linear-gradient(120deg, #e639460b, #ffffff02);
}
.strip-mark {
  font-size: 29px;
  color: #ed7782;
}
.v2-home-strip > div:nth-child(2) {
  flex: 1;
}
.v2-home-strip p {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #a794a6;
  margin-bottom: 4px;
}
.v2-home-strip strong {
  font-size: 12px;
  font-weight: 650;
}
.v2-home-strip strong span {
  font-weight: 450;
  color: #9e8c9f;
}
.account-page {
  max-width: 1210px;
  padding: 45px 30px 40px;
  margin: auto;
}
.account-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.account-heading .eyebrow {
  margin-bottom: 12px;
}
.account-heading h1 {
  font-size: 43px;
  margin-bottom: 22px;
}
.account-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.account-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 650;
  color: #928399;
  padding: 12px 2px 14px;
}
.account-tabs button.selected {
  color: #f2d6dd;
  border-color: var(--red);
}
.small-muted {
  font-size: 10px;
  line-height: 1.8;
  color: #94829b;
  margin: 18px 0 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 25px;
}
.identity-panel {
  text-align: center;
  align-self: start;
  padding: 35px 26px;
}
.profile-avatar {
  width: 78px;
  height: 78px;
  border-radius: 23px;
  font-size: 26px;
  margin-bottom: 22px;
}
.identity-panel .mini-tag {
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 9px;
}
.identity-panel h2 {
  font-size: 30px;
  overflow-wrap: anywhere;
  margin-bottom: 15px;
}
.level-pill {
  font-size: 9px;
  padding: 7px 11px;
  border: 1px solid #e6394640;
  border-radius: 100px;
  background: #e6394610;
  color: #ff9daa;
}
.xp-heading {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #a38c9f;
  margin-top: 27px;
  margin-bottom: 9px;
}
.xp-track {
  height: 7px;
  background: #ffffff07;
  border-radius: 100px;
  overflow: hidden;
}
.xp-track > i {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, #e63946, #ff8b9b);
  transition: width 0.4s;
}
.identity-panel .small-muted {
  font-size: 9px;
  line-height: 1.85;
  margin-bottom: 25px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.stats-grid > article {
  background: #ffffff03;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.stats-grid strong {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.stats-grid span {
  font-size: 9px;
  color: #a28ea5;
}
.equipped-panel {
  padding: 23px;
  margin-bottom: 22px;
}
.equipped-panel .section-label {
  font-size: 9px;
}
.equipped-panel .text-button {
  font-size: 9px;
  color: #dcb4c1;
}
.equipped-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.equipped-grid > div {
  text-align: center;
  min-width: 0;
}
.equipped-grid strong {
  font-size: 9px;
  display: block;
  margin: 8px 0 4px;
  overflow-wrap: anywhere;
}
.equipped-grid > div > span {
  font-size: 7px;
  color: #8c7894;
}
.cosmetic-preview {
  height: 123px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.cosmetic-preview:before {
  content: "";
  position: absolute;
  inset: 5px;
  background: radial-gradient(circle, #ffffff05, transparent 65%);
  z-index: -1;
}
.back-preview .card {
  width: 66px;
  height: 95px;
  border-width: 3px;
  border-radius: 9px;
  transform: rotate(-8deg);
}
.back-preview .back-k {
  font-size: 39px;
}
.back-preview .back-label {
  font-size: 4px;
  bottom: 6px;
}
.back-preview .back-orbit {
  inset: 10px 6px;
}
.frame-preview .avatar {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 19px;
}
.effect-preview > span {
  font-size: 49px;
  color: #ec6f7a;
  text-shadow: 0 0 22px #e6394670;
  position: relative;
  z-index: 2;
}
.effect-preview > i {
  position: absolute;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e63946, transparent);
  transform: rotate(-25deg);
}
.victory-preview > .icon {
  width: 36px;
  height: 36px;
  filter: invert(76%) sepia(55%) saturate(417%) hue-rotate(345deg);
  z-index: 1;
}
.victory-preview > i {
  position: absolute;
  width: 62px;
  height: 62px;
  border: 1px solid #e6394640;
  border-radius: 50%;
  background: #e639460a;
}
.recent-rounds {
  padding: 22px;
}
.recent-rounds .section-label {
  font-size: 9px;
}
.recent-rounds > div:not(.section-label) {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 10px;
  color: #a08daa;
}
.recent-rounds > div > span:first-child {
  flex: 1;
  color: #bdadc6;
}
.recent-rounds > div > span.won {
  color: #69cda6;
}
.recent-rounds b {
  font-size: 9px;
  color: #dfb1c0;
  font-weight: 550;
}
.collection-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #a38fa9;
  margin-bottom: 20px;
}
.collection-summary strong {
  color: #e4dce9;
  font-size: 22px;
}
.collection-summary label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  cursor: pointer;
}
.collection-summary input {
  appearance: auto;
  accent-color: var(--red);
  width: 15px;
  height: 15px;
  min-height: 0;
  padding: 0;
}
.collection-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}
.collection-filters button {
  border: 1px solid var(--line);
  background: #ffffff03;
  border-radius: 100px;
  padding: 8px 13px;
  font-size: 9px;
  color: #a691b0;
}
.collection-filters button.selected {
  border-color: #e6394650;
  color: #ffc1cb;
  background: #e6394610;
}
.cosmetics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cosmetic-item {
  --rarity: #b2a8b5;
  border: 1px solid #ffffff0d;
  background: linear-gradient(150deg, #20202a, #191920);
  border-radius: 18px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}
.cosmetic-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rarity);
  opacity: 0.55;
}
.rarity-base {
  --rarity: #898091;
}
.rarity-common {
  --rarity: #b9b1c7;
}
.rarity-rare {
  --rarity: #60aaf6;
}
.rarity-epic {
  --rarity: #b77afb;
}
.rarity-legendary {
  --rarity: #ecc16a;
}
.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  color: var(--rarity);
  font-weight: 650;
  letter-spacing: 0.5px;
}
.item-meta b {
  font-size: 8px;
  font-weight: 500;
  background: #ffffff06;
  padding: 3px 7px;
  border-radius: 100px;
  color: #998ea6;
}
.cosmetic-item.locked .cosmetic-preview {
  opacity: 0.4;
  filter: saturate(0.5);
}
.cosmetic-item h3 {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 9px 0;
}
.cosmetic-item > p {
  font-size: 9px;
  color: #918398;
  line-height: 1.6;
  min-height: 31px;
  margin-bottom: 18px;
}
.cosmetic-item .button {
  font-size: 9px;
  padding: 8px;
  min-height: 36px;
}
.equipped-button {
  border-color: #35b98444 !important;
  background: #35b98411;
  color: #7bcfac;
  opacity: 1 !important;
}
.packs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  gap: 28px;
}
.pack-feature {
  padding: 34px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pack-feature > .eyebrow {
  justify-content: center;
  font-size: 9px;
}
.pack-feature h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.pack-feature > .muted {
  font-size: 12px;
  max-width: 310px;
  margin: 0 auto 26px;
  line-height: 1.8;
}
.pack-feature .button {
  max-width: 330px;
  margin: auto;
}
.pack-free {
  font-size: 9px;
  color: #8e7d96;
  display: block;
  margin-top: 13px;
}
.pack-showcase {
  height: 253px;
  position: relative;
  display: grid;
  place-items: center;
}
.pack-object {
  width: 132px;
  height: 184px;
  position: relative;
  border-radius: 8px;
  background: linear-gradient(
    120deg,
    #7b202e,
    #e63946 35%,
    #af2435 61%,
    #66212d
  );
  border: 1px solid #ff8f9c88;
  box-shadow:
    0 25px 40px #0005,
    inset 0 0 20px #0003;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-9deg);
  isolation: isolate;
}
.pack-object:before,
.pack-object:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, #ff89964d 0 2px, #0002 2px 4px);
  border: 1px solid #ff8f9c33;
}
.pack-object:before {
  top: 0;
  border-radius: 7px 7px 0 0;
}
.pack-object:after {
  bottom: 0;
  border-radius: 0 0 7px 7px;
}
.pack-object > span {
  font-size: 82px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
  color: #fff1e8;
  text-shadow: 3px 4px 0 #8f2332;
  transform: rotate(-7deg);
  z-index: 1;
}
.pack-object > small {
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 4px;
  font-weight: 800;
  color: #ffd3d9;
  z-index: 1;
}
.pack-object > i {
  position: absolute;
  right: 15px;
  top: 17px;
  font-style: normal;
  font-size: 17px;
  color: #ffbabc;
}
.pack-object {
  background-image: linear-gradient(
    120deg,
    #7b202e,
    #e63946 35%,
    #af2435 61%,
    #66212d
  );
}
.pack-orbit {
  position: absolute;
  width: 280px;
  height: 190px;
  border: 1px solid #e6394620;
  border-radius: 50%;
  transform: rotate(-25deg);
  background: radial-gradient(circle, #e6394614, transparent 60%);
}
.pack-orbit:after {
  content: "";
  position: absolute;
  inset: 17px;
  border: 1px dashed #ffffff0b;
  border-radius: 50%;
}
.pack-spark {
  position: absolute;
  right: 19%;
  top: 32px;
  color: #f196a1;
  font-size: 18px;
}
.daily-panel,
.matches-panel {
  padding: 26px;
  margin-bottom: 18px;
}
.daily-panel .mini-tag,
.matches-panel .mini-tag {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.daily-panel h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
.daily-panel > .muted {
  font-size: 11px;
  margin-bottom: 19px;
}
.daily-panel .small-muted {
  font-size: 8px;
  margin-top: 12px;
}
.matches-panel h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 15px;
  margin-top: 10px;
}
.match-dots {
  display: flex;
  gap: 8px;
}
.match-dots i {
  display: block;
  width: 32px;
  height: 5px;
  border-radius: 100px;
  background: #ffffff0a;
}
.match-dots i.filled {
  background: var(--red);
}
.matches-panel .small-muted {
  font-size: 9px;
  line-height: 1.8;
}
.odds-panel {
  padding: 5px 8px 0;
}
.odds-panel .mini-tag {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.odds-panel > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 15px;
}
.odds-panel > div > span {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.odds-panel b {
  margin-left: auto;
  font-weight: 550;
  color: #ac9ab4;
}
.odds-panel i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.rarity-text-common {
  color: #b9b1c7;
}
.rarity-text-rare {
  color: #60aaf6;
}
.rarity-text-epic {
  color: #b77afb;
}
.rarity-text-legendary {
  color: #ecc16a;
}
.opening-history {
  margin-top: 37px;
}
.opening-history > .section-label {
  font-size: 9px;
}
.history-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.history-grid > button {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ffffff03;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  text-align: left;
}
.history-grid > button > span {
  color: #83728e;
  font-size: 8px;
  flex-shrink: 0;
}
.history-grid strong {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.history-grid i {
  font-style: normal;
  font-size: 8px;
  font-weight: 450;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-grid .icon {
  width: 13px;
  height: 13px;
  opacity: 0.35;
}
.guest-pack-art {
  height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 700px;
}
.guest-pack-art .pack-object {
  box-shadow:
    0 0 70px #e6394620,
    0 25px 40px #0005;
}
.auth-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.auth-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #94809e;
  font-size: 11px;
  padding: 10px 0;
}
.auth-tabs button.selected {
  border-color: var(--red);
  color: #e8c8d5;
}
#v2-auth-form label,
#v2-password-form label {
  display: block;
  font-size: 11px;
  color: #b9a5c0;
  margin: 15px 0 0;
}
#v2-auth-form input,
#v2-password-form input {
  margin-top: 6px;
}
#v2-auth-form .button,
#v2-password-form .button {
  margin-top: 15px;
}
.form-error {
  color: #ff7d8f;
  font-size: 11px;
  margin: 8px 0 0;
}
.recovery-code {
  font:
    11px ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 1px;
  margin-bottom: 22px;
  line-height: 1.8;
}
.settings-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.danger {
  color: #ed8195;
}
.opening-stage {
  text-align: center;
}
.opening-stage.sealed {
  padding: 25px 0 15px;
}
.opening-pack {
  margin: 36px auto 27px;
  animation: pack-unseal 0.85s ease-in-out both;
}
.opening-rewards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin: 26px 0 18px;
}
.opening-reward {
  border: 1px solid var(--rarity);
  background: linear-gradient(155deg, #2b2233, #17171f);
  border-radius: 14px;
  padding: 13px 8px;
  min-width: 0;
  animation: reward-reveal 0.55s ease-out backwards;
  animation-delay: calc(var(--reveal-i) * 0.18s);
  box-shadow: 0 0 25px color-mix(in srgb, var(--rarity) 10%, transparent);
}
.opening-reward .rarity-label {
  font-size: 8px;
  color: var(--rarity);
  letter-spacing: 1px;
}
.opening-reward .cosmetic-preview {
  height: 111px;
}
.opening-reward h3 {
  font-size: 10px;
  line-height: 1.35;
  margin: 7px 0 8px;
  min-height: 28px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.opening-reward p {
  font-size: 8px;
  color: #a78daf;
  margin: 0 0 13px;
}
.opening-reward .button {
  font-size: 8px;
  min-height: 30px;
  padding: 7px 14px;
}
.opening-stage .small-muted {
  font-size: 10px;
  margin-bottom: 20px;
}
.round-reward-bar {
  max-width: 720px;
  margin: 0 auto 35px;
  border: 1px solid #e6394630;
  border-radius: 13px;
  background: #e6394608;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.round-reward-bar strong {
  font-size: 15px;
  color: #f39cac;
}
.round-reward-bar > span {
  flex: 1;
  font-size: 10px;
  color: #a587a2;
}
.round-reward-bar .text-button {
  font-size: 10px;
}
.level-mini {
  font-size: 7px;
  color: #b393bb;
}
/* Frames */
.frame-ruby {
  border-color: #e94b61 !important;
  box-shadow: 0 0 0 3px #e6394614;
}
.frame-ice {
  border-color: #91d5ef !important;
  box-shadow:
    0 0 0 3px #459edb1c,
    0 0 18px #75bef329;
  background: linear-gradient(145deg, #1e3347, #32304c) !important;
  color: #bbecff !important;
}
.frame-pulse {
  border-color: #bd7af2 !important;
  box-shadow: 0 0 0 3px #aa6fee16;
  animation: frame-pulse 2.8s ease-in-out infinite;
}
.frame-sovereign {
  border-color: #e8c477 !important;
  background: linear-gradient(145deg, #413124, #302a23) !important;
  color: #f8dda6 !important;
  position: relative;
  box-shadow:
    0 0 0 3px #efc96317,
    0 0 20px #eab25d15;
}
.frame-sovereign:after {
  content: "♛";
  position: absolute;
  right: -5px;
  top: -12px;
  color: #f0ca77;
  font-size: 14px;
  line-height: 1.2;
  text-shadow: 0 1px 4px #000;
}
/* Six original card backs, used by both previews and opponents' mini hands. */
.back-ember .card.back,
.mini-hand.back-ember i {
  background: radial-gradient(ellipse at 40% 70%, #982c31, #23191f 72%);
}
.back-ember .back-orbit {
  background: repeating-linear-gradient(
    35deg,
    #ed614e2e 0 3px,
    transparent 3px 10px
  );
  border-color: #fb7b61;
}
.back-midnight .card.back,
.mini-hand.back-midnight i {
  background:
    repeating-linear-gradient(0deg, #293b65 0 1px, transparent 1px 10px),
    repeating-linear-gradient(90deg, #293b65 0 1px, #111b32 1px 10px);
  color: #88bbf5;
}
.back-midnight .back-k {
  color: #8dbff5;
}
.back-midnight .back-orbit {
  background: #2f67a41a;
  border-color: #599fdc;
}
.back-aurora .card.back,
.mini-hand.back-aurora i {
  background: linear-gradient(
    140deg,
    #235948,
    #263654 40%,
    #533565 72%,
    #213749
  );
  color: #9ee5c9;
}
.back-aurora .back-k {
  color: #b4f5d9;
}
.back-aurora .back-orbit {
  border-color: #9df4d480;
  background: #6be0ae12;
}
.back-royal .card.back,
.mini-hand.back-royal i {
  background: repeating-linear-gradient(
    135deg,
    #d8b35c1b 0 2px,
    #201b18 2px 13px
  );
  color: #eccc87;
  border-color: #e5c078;
}
.back-royal .back-k {
  color: #eacd8d;
}
.back-royal .back-orbit {
  border-color: #c8a563;
  background: #d8a84614;
}
.back-kiro .card.back,
.mini-hand.back-kiro i {
  background: linear-gradient(130deg, #411524, #c12841 48%, #29101f);
  border-color: #ffacb4;
  color: #ffbdc6;
}
.back-kiro .back-k {
  color: #fff4e7;
  text-shadow: 0 0 18px #ffc1d859;
}
.back-kiro .back-orbit {
  border-color: #f7c09b90;
  background: repeating-linear-gradient(
    40deg,
    #ffe8c313 0 2px,
    transparent 2px 9px
  );
}
.back-kiro .back-k:before {
  content: "♛";
  position: absolute;
  top: -17px;
  left: 10px;
  font-size: 23px;
  line-height: 1;
  color: #f4ce90;
  transform: rotate(8deg);
}
.mini-hand.back-kiro:after {
  content: "♛";
  color: #efc18a;
  position: absolute;
  font-size: 12px;
  bottom: -2px;
  right: 10px;
}
/* Shared cosmetic card-play effects and victory celebrations. */
.effect-preview.effect-sparks > span {
  color: #ffa085;
  text-shadow: 0 0 20px #ff634990;
}
.effect-preview.effect-sparks > i {
  background: repeating-linear-gradient(
    90deg,
    transparent 0 4px,
    #ff775a 4px 6px
  );
}
.effect-preview.effect-laser > span {
  color: #77d8e7;
  text-shadow: 0 0 20px #56cfea90;
}
.effect-preview.effect-laser > i {
  background: linear-gradient(90deg, transparent, #63ddec, transparent);
  box-shadow: 0 0 14px #63ddec;
}
.discard.effect-sparks .card {
  animation: pose-sparks 0.65s ease-out;
}
.discard.effect-laser .card {
  animation: pose-laser 0.65s ease-out;
}
.victory-preview.victory-nova > i {
  border-color: #be7dff70;
  background: #9359d11a;
  box-shadow: 0 0 25px #a76bee22;
}
.victory-preview.victory-nova > .icon {
  filter: invert(61%) sepia(40%) saturate(957%) hue-rotate(220deg);
}
.victory-preview.victory-crown > i {
  border-color: #efd18b90;
  background: repeating-conic-gradient(
    #f2c96a0d 0deg 9deg,
    transparent 9deg 18deg
  );
  width: 75px;
  height: 75px;
  box-shadow: 0 0 28px #efd18b20;
}
.result-layout.victory-nova .winner-emblem {
  border-color: #b779ff66;
  background: radial-gradient(circle, #a374ee30, transparent);
  box-shadow: 0 0 70px #a06ae32b;
  animation: win-nova 1.2s ease-out;
}
.result-layout.victory-nova h1 {
  color: #dfc9ff;
}
.result-layout.victory-crown .winner-emblem {
  border-color: #eac47e99;
  background: radial-gradient(circle, #eac47e35, transparent);
  box-shadow: 0 0 80px #eac47e25;
  animation: win-crown 1.2s ease-out;
}
.result-layout.victory-crown .winner-emblem:after {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px solid #eac47e22;
  background: repeating-conic-gradient(
    #eac47e14 0deg 5deg,
    transparent 5deg 15deg
  );
  z-index: -1;
}
.result-layout.victory-crown h1 {
  color: #efd5a0;
}
.result-layout.victory-crown .winner-emblem > .icon {
  filter: invert(82%) sepia(45%) saturate(362%) hue-rotate(350deg);
}
@keyframes frame-pulse {
  50% {
    box-shadow:
      0 0 0 4px #b475f51f,
      0 0 20px #ad73eb35;
  }
}
@keyframes pack-unseal {
  0% {
    transform: rotate(-9deg) scale(1);
  }
  35% {
    transform: rotate(4deg) scale(1.07);
  }
  65% {
    transform: rotate(-4deg) scale(1.1);
    box-shadow: 0 0 70px #e6394670;
  }
  100% {
    transform: rotate(0) scale(0.96);
    opacity: 0.7;
  }
}
@keyframes reward-reveal {
  from {
    opacity: 0;
    transform: perspective(500px) rotateY(65deg) translateY(16px);
  }
  to {
    opacity: 1;
    transform: perspective(500px) rotateY(0) translateY(0);
  }
}
@keyframes pose-sparks {
  30% {
    box-shadow:
      0 0 0 10px #ff704c35,
      0 0 35px #ff704c80;
  }
  100% {
    box-shadow: 0 8px 18px #0006;
  }
}
@keyframes pose-laser {
  30% {
    box-shadow:
      -20px 0 0 #50cde533,
      0 0 35px #50cde590;
  }
  100% {
    box-shadow: 0 8px 18px #0006;
  }
}
@keyframes win-nova {
  0% {
    box-shadow: 0 0 0 0 #b779ff80;
    transform: rotate(-7deg) scale(0.8);
  }
  80% {
    box-shadow: 0 0 0 50px #b779ff00;
    transform: rotate(-7deg) scale(1.07);
  }
}
@keyframes win-crown {
  0% {
    transform: translateY(-20px) rotate(-7deg);
    opacity: 0;
  }
  70% {
    transform: translateY(3px) rotate(-7deg);
    opacity: 1;
  }
}
@media (max-width: 1100px) {
  .site-header {
    padding-left: 25px;
    padding-right: 25px;
  }
  .account-nav {
    gap: 13px;
  }
  .site-header nav {
    gap: 12px;
  }
  .account-button > span:not(.account-initial) {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .v2-home-strip {
    margin-left: 35px;
    margin-right: 35px;
  }
  .packs-layout {
    grid-template-columns: 1fr 335px;
  }
  .pack-feature {
    padding-left: 25px;
    padding-right: 25px;
  }
  .cosmetics-grid {
    gap: 13px;
  }
  .history-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .site-header {
    height: 106px;
    align-items: flex-start;
    padding-top: 18px;
    position: relative;
  }
  .site-header nav {
    padding-top: 4px;
  }
  .account-nav {
    position: absolute;
    bottom: 8px;
    left: 24px;
    right: 24px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 9px;
    gap: 12px;
  }
  .account-nav > .nav-button {
    padding: 3px 0;
    font-size: 10px;
  }
  .account-button {
    min-height: 27px;
    padding: 3px 8px;
    gap: 6px;
    font-size: 9px;
  }
  .account-initial {
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 8px;
  }
  .account-button > span > small {
    display: inline;
    margin-left: 6px;
    font-size: 7px;
  }
  .in-game .site-header {
    height: 105px;
  }
  .in-game .account-nav {
    padding-top: 6px;
  }
  .in-game .account-nav > .nav-button[data-action="v2-collection"] {
    opacity: 0.4;
  }
  .in-game .account-nav > .nav-button[data-action="v2-packs"] {
    opacity: 0.4;
  }
  .v2-home-strip {
    margin: 12px 24px 25px;
    padding: 19px;
    gap: 12px;
  }
  .v2-home-strip strong {
    font-size: 10px;
  }
  .v2-home-strip strong span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
  }
  .v2-home-strip .button {
    font-size: 9px;
    padding: 10px 13px;
  }
  .profile-grid {
    grid-template-columns: 240px 1fr;
    gap: 18px;
  }
  .identity-panel {
    padding: 28px 20px;
  }
  .stats-grid {
    gap: 8px;
  }
  .stats-grid > article {
    padding: 14px;
    min-height: 96px;
  }
  .stats-grid strong {
    font-size: 25px;
  }
  .stats-grid span {
    font-size: 8px;
  }
  .equipped-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .equipped-panel {
    padding: 19px;
  }
  .cosmetics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .packs-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .pack-feature {
    padding: 28px;
  }
  .pack-feature > .eyebrow {
    font-size: 9px;
  }
  .pack-showcase {
    height: 227px;
  }
  .pack-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
  }
  .daily-panel,
  .matches-panel {
    margin: 0;
    padding: 23px;
  }
  .odds-panel {
    grid-column: 1/-1;
    padding: 6px;
  }
  .odds-panel > div {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  .account-page {
    padding: 34px 24px;
  }
  .account-heading h1 {
    font-size: 36px;
  }
  .account-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .account-heading .button {
    font-size: 10px;
    padding: 11px 13px;
  }
  .round-reward-bar {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 600px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .identity-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 24px;
  }
  .profile-avatar {
    width: 65px;
    height: 65px;
    font-size: 22px;
    margin-bottom: 15px;
  }
  .identity-panel .xp-heading,
  .identity-panel .xp-track {
    width: 100%;
    max-width: 360px;
  }
  .identity-panel .button {
    max-width: 360px;
  }
  .identity-panel .small-muted {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .identity-panel h2 {
    font-size: 27px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats-grid > article {
    padding: 16px;
  }
  .equipped-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .equipped-panel .cosmetic-preview {
    height: 95px;
  }
  .equipped-panel .back-preview .card {
    width: 52px;
    height: 77px;
    border-radius: 7px;
  }
  .equipped-panel .back-preview .back-k {
    font-size: 32px;
  }
  .equipped-panel .frame-preview .avatar {
    width: 39px;
    height: 39px;
    font-size: 14px;
    border-radius: 12px;
  }
  .equipped-panel .effect-preview > span {
    font-size: 35px;
  }
  .equipped-panel .victory-preview > .icon {
    width: 28px;
    height: 28px;
  }
  .equipped-panel .victory-preview > i {
    width: 45px;
    height: 45px;
  }
  .equipped-grid strong {
    font-size: 8px;
  }
  .equipped-grid > div > span {
    font-size: 6px;
  }
  .cosmetics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .collection-summary {
    font-size: 10px;
    align-items: flex-start;
    gap: 15px;
  }
  .collection-summary label {
    font-size: 8px;
    padding-top: 5px;
  }
  .collection-summary strong {
    font-size: 20px;
  }
  .cosmetic-item {
    padding: 13px;
  }
  .cosmetic-item h3 {
    font-size: 11px;
  }
  .cosmetic-item > p {
    font-size: 8px;
    min-height: 38px;
  }
  .cosmetic-item .button {
    font-size: 8px;
  }
  .pack-sidebar {
    grid-template-columns: 1fr;
  }
  .odds-panel > div {
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }
  .history-grid {
    grid-template-columns: 1fr;
  }
  .account-heading {
    align-items: flex-start;
  }
  .account-heading .button {
    font-size: 0;
    padding: 11px;
  }
  .account-heading .button > .icon {
    width: 15px;
    height: 15px;
  }
  .account-heading h1 {
    font-size: 33px;
  }
  .account-page {
    padding: 29px 19px;
  }
  .account-tabs {
    margin-bottom: 24px;
    gap: 24px;
  }
  .account-tabs button {
    font-size: 11px;
  }
  .v2-home-strip {
    margin: 8px 20px 22px;
    flex-wrap: wrap;
    padding: 18px;
  }
  .v2-home-strip > div:nth-child(2) {
    flex-basis: calc(100% - 50px);
  }
  .v2-home-strip > .button {
    width: 100%;
    margin-top: 4px;
  }
  .account-nav {
    left: 18px;
    right: 18px;
    gap: 10px;
  }
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }
  .account-button > span:not(.account-initial) {
    max-width: 107px;
  }
  .account-button > span > small {
    display: none;
  }
  .account-button > .icon {
    width: 13px;
    height: 13px;
  }
  .account-nav > .nav-button {
    font-size: 9px;
  }
  .pack-nav b {
    height: 14px;
    min-width: 14px;
    font-size: 7px;
  }
  .pack-feature h2 {
    font-size: 28px;
  }
  .pack-object {
    width: 120px;
    height: 171px;
  }
  .pack-object > span {
    font-size: 70px;
  }
  .pack-object > small {
    font-size: 7px;
    letter-spacing: 3px;
  }
  .opening-rewards {
    gap: 7px;
  }
  .opening-reward {
    padding: 11px 6px;
  }
  .opening-reward .cosmetic-preview {
    height: 95px;
  }
  .opening-reward .back-preview .card {
    width: 48px;
    height: 71px;
  }
  .opening-reward .back-k {
    font-size: 29px;
  }
  .opening-reward .frame-preview .avatar {
    width: 39px;
    height: 39px;
    font-size: 14px;
    border-radius: 12px;
  }
  .opening-reward .effect-preview > span {
    font-size: 34px;
  }
  .opening-reward .victory-preview > .icon {
    width: 27px;
    height: 27px;
  }
  .opening-reward .victory-preview > i {
    width: 42px;
    height: 42px;
  }
  .opening-reward h3 {
    font-size: 8px;
    min-height: 24px;
  }
  .opening-reward p {
    font-size: 7px;
    min-height: 23px;
    margin-bottom: 8px;
  }
  .opening-reward .rarity-label {
    font-size: 7px;
    letter-spacing: 0;
  }
  .opening-reward .button {
    font-size: 7px;
    min-height: 26px;
    padding: 6px 9px;
  }
  .opening-stage h2 {
    font-size: 25px;
  }
  .recovery-code {
    font-size: 9px;
    letter-spacing: 0;
  }
  .round-reward-bar {
    margin: 0 18px 25px;
    padding: 13px 17px;
    gap: 7px 12px;
  }
  .round-reward-bar strong {
    font-size: 13px;
  }
  .round-reward-bar > span {
    font-size: 9px;
    min-width: 55%;
  }
  .round-reward-bar .text-button {
    font-size: 9px;
  }
  .account-page > .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .account-page > .muted {
    font-size: 12px;
  }
  .guest-pack-art {
    height: 230px;
  }
  .recent-rounds > div:not(.section-label) {
    font-size: 9px;
    gap: 10px;
  }
  .recent-rounds b {
    font-size: 8px;
  }
}
@media (max-width: 370px) {
  .account-nav {
    gap: 8px;
  }
  .account-nav > .nav-button {
    font-size: 8px;
    gap: 4px;
  }
  .account-button {
    font-size: 8px;
    padding: 3px 6px;
  }
  .account-initial {
    width: 19px;
    height: 19px;
    font-size: 7px;
  }
  .account-button > span:not(.account-initial) {
    max-width: 75px;
  }
  .cosmetics-grid {
    gap: 9px;
  }
  .cosmetic-item {
    padding: 11px;
  }
  .equipped-grid strong {
    font-size: 7px;
  }
  .stats-grid > article {
    padding: 14px 12px;
  }
  .stats-grid strong {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-pack,
  .opening-reward,
  .frame-pulse,
  .discard .card,
  .result-layout .winner-emblem {
    animation: none !important;
  }
}

.modal-feedback { color: #f6afbd; font-size: 11px; line-height: 1.7; margin: 15px 0 0; }
.modal-feedback:empty { display: none; }
