.look-launch,
.look-badge {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 9px;
  text-align: left;
  border: 1px solid #a8c5f64a;
  background: #1c2938;
  color: #eaf4ff;
  border-radius: 11px;
}
.look-launch {
  padding: 5px 8px 5px 5px;
  margin: 0.65rem 0 0.15rem;
}
.look-launch span:nth-child(2) {
  flex: 1;
}
.look-launch b,
.look-launch small {
  display: block;
}
.look-launch b {
  font-size: 13px;
}
.look-launch small {
  font-size: 11px;
  color: var(--muted);
}
.look-thumb {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(
    ellipse at 63% 70%,
    #ac6a6b,
    #344560 67%,
    #263348
  );
  box-shadow: inset 0 0 0 1px #d3d9ff34;
}
.look-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.look-launch:hover,
.look-badge:hover {
  background: #2b4257;
  border-color: #9debd38c;
}
.look-badge {
  width: max-content;
  max-width: 100%;
  gap: 6px;
  padding: 3px 6px 3px 3px;
  font-size: 12px;
  font-weight: 740;
}
.look-badge .look-thumb {
  width: 25px;
  height: 25px;
  border-radius: 6px;
}
#city-resident {
  max-width: 15ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.level-tag {
  font:
    750 9px / 1 Unbounded,
    sans-serif;
  color: #b3f5e3;
  margin-left: 2px;
}

.style-dialog {
  width: min(480px, calc(100% - 18px));
  max-width: none;
  max-height: calc(100dvh - 18px);
  overflow-y: auto;
  margin: auto;
  padding: 13px;
  border-radius: 22px;
  border: 1px solid #8eb2d69c;
  background: linear-gradient(137deg, #233143, #131d2b 77%);
  color: #f4f8ff;
  box-shadow:
    0 25px 80px #030915c4,
    inset 0 1px #d1eeff42;
}
.style-dialog::backdrop {
  background: #070c16c2;
  backdrop-filter: blur(7px);
}
.style-dialog[open] {
  animation: wheel-open 0.34s var(--snap);
}
.style-head {
  position: relative;
  padding: 3px 36px 10px 3px;
}
.style-head h2 {
  font:
    770 20px / 1.23 Unbounded,
    system-ui,
    sans-serif;
  letter-spacing: -0.055em;
}
.style-head .wheel-close {
  inset: -5px -3px auto auto;
  background: #304257;
  border-color: #cae1ff4a;
}
.look-stage {
  --studio-height: min(330px, 42dvh);
  height: var(--studio-height);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--look-tint, #8af3de) 65%, #445570);
  background:
    radial-gradient(ellipse at 66% 55%, #9e5e68b0, transparent 67%),
    linear-gradient(122deg, #112f46, #0d1825 78%);
  box-shadow: inset 0 1px #e2f9ff54;
  transition: border-color 0.3s;
}
.look-horizon {
  position: absolute;
  z-index: -2;
  inset: -7%;
  background:
    linear-gradient(0deg, #122436 1%, transparent 35%, #11243d28),
    url("/media/sunset-bay-mobile.webp") center 56% / cover;
  opacity: 0.26;
  filter: blur(4px);
  animation: coastal-drift 12s ease-in-out infinite alternate;
}
.look-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(
    ellipse at 39% 55%,
    color-mix(in srgb, var(--look-tint, #8af3de) 29%, transparent),
    transparent 63%
  );
  animation: studio-light 4.8s ease-in-out infinite alternate;
}
.look-body {
  position: relative;
  width: min(100%, calc(var(--studio-height) * 1.09));
  aspect-ratio: 1;
  align-self: start;
  transform-origin: 50% 93%;
}
.look-head {
  position: absolute;
  top: 5%;
  left: 26%;
  width: 48%;
  aspect-ratio: 1;
  animation: portrait-breathe 5s ease-in-out infinite alternate;
}
.look-head > img,
.look-outfit {
  display: block;
  width: 100%;
  height: auto;
}
.look-outfit {
  position: absolute;
  top: 45%;
  left: 12%;
  width: 76%;
}
.iris {
  position: absolute;
  top: var(--iris-top);
  transform: translate(-50%, -50%);
  width: 4.5%;
  height: 4%;
  border-radius: 100%;
  mix-blend-mode: color;
  background: radial-gradient(
    circle,
    transparent 21%,
    var(--iris-color) 44% 69%,
    transparent 73%
  );
}
.look-head[data-eyes="amber"] .iris {
  opacity: 0;
}
.iris-left {
  left: var(--iris-left);
}
.iris-right {
  left: var(--iris-right);
}
.wear-cuff,
.wear-chain,
.wear-radio {
  display: none;
  position: absolute;
}
.look-body[data-item="cuff"] .wear-cuff {
  display: block;
  width: 4%;
  height: 5%;
  top: 57.7%;
  right: 26%;
  border: 2px solid #edfaff;
  border-right-color: #7e8b9d;
  border-radius: 50%;
  box-shadow: 0 0 7px #cfedffbd;
}
.look-body[data-item="chain"] .wear-chain {
  display: block;
  width: 21%;
  aspect-ratio: 1.25;
  top: 47%;
  left: 39.5%;
  transform: rotate(-3deg);
  border-radius: 0 0 54% 54%;
  border: 0 solid #cdd6e5;
  border-width: 0 2px 3px;
  filter: drop-shadow(0 2px 1px #101724);
}
.wear-chain::after {
  content: "";
  position: absolute;
  width: 17%;
  aspect-ratio: 0.7;
  top: 93%;
  left: 44%;
  border-radius: 2px;
  background: linear-gradient(126deg, #f9f4db, #9eb5d5 63%, #465268);
  box-shadow: 0 1px 4px #101724;
}
.look-body[data-item="radio"] .wear-radio {
  display: grid;
  place-items: center;
  width: 8%;
  aspect-ratio: 0.66;
  top: 54%;
  right: 25%;
  transform: rotate(8deg);
  border: 1px solid #adbed9;
  border-radius: 16% 16% 21% 21%;
  background: linear-gradient(142deg, #424e59, #161f2e);
  box-shadow: 0 3px 5px #070b13bd;
}
.wear-radio::before {
  content: "";
  position: absolute;
  top: -56%;
  right: 18%;
  width: 2px;
  height: 65%;
  border-radius: 20px;
  background: #b5c4d7;
}
.wear-radio i {
  width: 59%;
  height: 23%;
  border-radius: 2px;
  background: #a3f2ce;
  box-shadow: 0 0 9px #93f4c49e;
  animation: radio-tick 3s steps(1, end) infinite;
}
.look-frame {
  position: absolute;
  z-index: 1;
  inset: 9px;
  pointer-events: none;
}
.look-frame i {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1px solid #bff4e7ad;
}
.look-frame i:nth-child(1) {
  inset: 0 auto auto 0;
  border-width: 1px 0 0 1px;
}
.look-frame i:nth-child(2) {
  inset: 0 0 auto auto;
  border-width: 1px 1px 0 0;
}
.look-frame i:nth-child(3) {
  inset: auto 0 0 auto;
  border-width: 0 1px 1px 0;
}
.look-frame i:nth-child(4) {
  inset: auto auto 0 0;
  border-width: 0 0 1px 1px;
}
@keyframes portrait-breathe {
  to {
    transform: translateY(-1.2%) rotate(0.35deg);
  }
}
@keyframes studio-light {
  to {
    opacity: 0.46;
    transform: translateX(2%);
  }
}
@keyframes radio-tick {
  70%,
  90% {
    opacity: 0.48;
  }
}
.look-tabs,
.look-options {
  display: grid;
  gap: 4px;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-top: 8px;
}
.look-tabs {
  border: 1px solid #b1cdf634;
  border-radius: 10px;
  padding: 3px;
  background: #0e1724;
}
.look-tabs button,
.look-options button {
  min-width: 0;
  min-height: 34px;
  padding: 4px 2px;
  color: #b9cae0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 720;
  font-size: 12px;
}
.look-tabs button[aria-pressed="true"] {
  color: #c6fff0;
  background: #274d51;
  border-color: #8df6d860;
}
.look-options button {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 52px;
  background: #233243;
  border-color: #9fbfeb33;
  border-radius: 9px;
  line-height: 1.15;
}
.look-options button[aria-pressed="true"] {
  color: #e6fff9;
  border-color: #a1eeda;
  background: #31565a;
}
.look-options button i {
  width: 17px;
  height: 17px;
  border: 1px solid #fff8;
  background: var(--choice);
  border-radius: 50%;
}
.style-actions {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.style-actions button {
  min-height: 40px;
  justify-content: center;
}
.style-status {
  color: #ffd5a8;
  font-size: 0.8rem;
}
.style-status:empty {
  display: none;
}

.tasks-hero {
  background:
    radial-gradient(ellipse at 89% 45%, #6d56ae77, transparent 68%),
    linear-gradient(141deg, #243543, #172133);
  color: #edf6ff;
}
.task-hero-art {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: rotate(9deg);
  color: #cdfdf7;
  background: #63b6b426;
  border: 1px solid #bceee57a;
  border-radius: 18px;
  box-shadow: 0 0 48px #c2b2ff30;
}
.task-hero-art .icon {
  width: 43px;
  height: 43px;
}
.level-progress {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 11px;
}
.level-progress > strong {
  color: #c5fff0;
  font:
    750 clamp(12px, 3vw, 16px) / 1.25 Unbounded,
    sans-serif;
  white-space: nowrap;
}
.level-progress small {
  display: block;
  margin-top: 4px;
  color: #c6d3e7;
  font-size: 11px;
}
.level-progress progress,
.task-foot progress {
  display: block;
  width: 100%;
  height: 6px;
  border: 0;
  border-radius: 10px;
  background: #0b1522;
  accent-color: #7be8c8;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #0b1522;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #4caeb4, #a9ebd3);
  border-radius: 10px;
  transition: width 0.32s var(--snap);
}
progress::-moz-progress-bar {
  background: linear-gradient(90deg, #4caeb4, #a9ebd3);
  border-radius: 10px;
}
.task-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.task-card {
  --task-color: #9ee8d7;
  padding: 10px;
  display: grid;
  align-content: space-between;
  gap: 9px;
}
.task-card[data-track="days"] {
  --task-color: #c5c7ff;
}
.task-card[data-track="level"],
.task-card[data-track="cars"] {
  --task-color: #ffc794;
}
.task-card[data-track="raid"] {
  --task-color: #ffaac1;
}
.task-card[data-status="ready"] {
  border-color: #97f7d77a;
  box-shadow:
    inset 0 1px #beffe84a,
    0 5px 17px #8bf8dd1e;
}
.task-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.task-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  color: var(--task-color);
  background: color-mix(in srgb, var(--task-color) 19%, #121d2a);
  border: 1px solid color-mix(in srgb, var(--task-color) 44%, #243343);
}
.task-icon .icon {
  width: 19px;
  height: 19px;
}
.task-info h2 {
  color: #f5f8ff;
  font-size: 13px;
  line-height: 1.17;
}
.task-info small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #b7c9dd;
}
.task-reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #a7f4e1;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.task-reward .motion-art {
  flex: 0 0 25px;
}
.task-foot {
  display: grid;
  grid-template-columns: minmax(35px, 1fr) auto;
  min-height: 31px;
  align-items: center;
  gap: 10px;
}
.task-foot button {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 11px;
}
.task-foot button .icon {
  width: 14px;
  height: 14px;
}
.task-foot > span {
  font-size: 11px;
  font-weight: 730;
  color: #a9bbd1;
}
.task-card[data-status="claimed"] .task-foot > span {
  color: #91e6cc;
}

.podium-card {
  display: block;
  margin-bottom: 11px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 73%, #b1873d2e, transparent 51%),
    linear-gradient(148deg, #23354f, #131c2b 73%);
  border-color: #98bff074;
  color: #f6f8ff;
  transition:
    border-color 0.22s,
    transform 0.22s var(--snap);
}
.podium-card:hover {
  border-color: #daf5ffac;
}
.podium-card:active {
  transform: scale(0.989);
}
.podium-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.podium-heading h2 {
  font-size: 16px;
}
.podium-heading p {
  margin-top: 3px;
  font-size: 11px;
  color: #c1d0e5;
}
.podium-heading > .icon {
  color: #beeeef;
  width: 18px;
  height: 18px;
}
.podium-list {
  margin: 10px auto 0;
  padding: 0;
  max-width: 370px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  list-style: none;
}
.podium-list li {
  --metal: #b6ccfb;
  --step: 32px;
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  text-align: center;
}
.podium-list li[data-rank="1"] {
  --metal: #ffe29a;
  --step: 56px;
}
.podium-list li[data-rank="3"] {
  --metal: #ffb391;
  --step: 23px;
}
.podium-list li strong,
.podium-list li small {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium-list li strong {
  font-size: 12px;
}
.podium-list li small {
  color: var(--metal);
  font-size: 10px;
  font-weight: 750;
}
.podium-list li[data-empty="true"] .rank-avatar {
  opacity: 0.57;
}
.podium-list .rank-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--metal);
  color: var(--metal);
  background: color-mix(in srgb, var(--metal) 19%, #1b2a3b);
  box-shadow: 0 0 12px color-mix(in srgb, var(--metal) 30%, transparent);
}
.podium-list li[data-rank="1"] .rank-avatar {
  width: 50px;
  height: 50px;
}
.podium-step {
  min-height: var(--step);
  width: 100%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--metal) 79%, #476080);
  border-radius: 7px 7px 3px 3px;
  color: #182138;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--metal) 82%, #fff),
    color-mix(in srgb, var(--metal) 45%, #5a6182)
  );
  box-shadow: inset 0 2px #ffffff67;
  animation: podium-rise 0.46s var(--snap) both;
  transform-origin: bottom;
}
.podium-step b {
  font:
    780 16px / 1 Unbounded,
    sans-serif;
}
.podium-list li[data-rank="1"] .podium-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    #fffeeb84 50%,
    transparent 75%
  );
  animation: podium-shine 5s ease-in-out infinite;
}
@keyframes podium-rise {
  from {
    scale: 1 0.74;
    opacity: 0.6;
  }
}
@keyframes podium-shine {
  0%,
  55% {
    transform: translateX(-110%);
  }
  80%,
  100% {
    transform: translateX(110%);
  }
}
.rank-return {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 7px;
  color: #b3e9e2;
  font-size: 12px;
  font-weight: 740;
}
.rank-return .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

body:has(dialog[open]) .entry-sky img,
body:has(dialog[open]) .entry-vehicle img,
body:has(dialog[open]) .scene-lines,
.motion-paused .look-head,
.motion-paused .look-horizon,
.motion-paused .look-stage::after,
.motion-paused .wear-radio i,
.motion-paused .podium-step::after {
  animation-play-state: paused;
}
@media (max-width: 525px) {
  .task-list {
    grid-template-columns: 1fr;
  }
}
@media (max-height: 600px) {
  .look-stage {
    --studio-height: min(280px, 40dvh);
  }
}
@media (prefers-reduced-motion: reduce) {
  .style-dialog[open],
  .look-head,
  .look-horizon,
  .look-stage::after,
  .wear-radio i,
  .podium-step,
  .podium-step::after {
    animation: none;
  }
}
