#view-pass {
  position: relative;
  overflow: hidden;
  padding: 16px 14px 32px;
  color: #eef6ff;
  background:
    radial-gradient(ellipse at 50% -10%, #2a6ea8 0%, transparent 46%),
    radial-gradient(circle at 80% 18%, #8b1e32 0%, transparent 22%),
    linear-gradient(180deg, #07131f 0%, #0c2740 34%, #12382d 78%, #07140f 100%);
}
#view-pass .xp-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
#view-pass .xp-sky i {
  position: absolute; top: -12px; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; opacity: .75; box-shadow: 0 0 8px #fff;
  animation: xp-fall linear infinite;
}
#view-pass .xp-sky i:nth-child(1) { left: 6%; animation-duration: 8s; }
#view-pass .xp-sky i:nth-child(2) { left: 16%; width: 3px; height: 3px; animation-duration: 11s; animation-delay: -3s; }
#view-pass .xp-sky i:nth-child(3) { left: 28%; animation-duration: 9s; animation-delay: -6s; }
#view-pass .xp-sky i:nth-child(4) { left: 39%; width: 7px; height: 7px; animation-duration: 13s; animation-delay: -2s; }
#view-pass .xp-sky i:nth-child(5) { left: 51%; animation-duration: 7.5s; animation-delay: -4s; }
#view-pass .xp-sky i:nth-child(6) { left: 62%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: -8s; }
#view-pass .xp-sky i:nth-child(7) { left: 73%; animation-duration: 12s; animation-delay: -1s; }
#view-pass .xp-sky i:nth-child(8) { left: 84%; width: 4px; height: 4px; animation-duration: 9.5s; animation-delay: -5s; }
#view-pass .xp-sky i:nth-child(9) { left: 92%; animation-duration: 14s; animation-delay: -7s; }
#view-pass .xp-sky i:nth-child(10) { left: 22%; animation-duration: 15s; animation-delay: -9s; }
#view-pass .xp-sky i:nth-child(11) { left: 47%; width: 3px; height: 3px; animation-duration: 8.5s; animation-delay: -2.5s; }
#view-pass .xp-sky i:nth-child(12) { left: 68%; animation-duration: 11.5s; animation-delay: -6.5s; }
@keyframes xp-fall {
  0% { transform: translateY(0); }
  100% { transform: translateY(110vh); }
}
#view-pass .xp-lights {
  position: absolute; left: 0; right: 0; top: 0; height: 18px;
  background:
    linear-gradient(#16324a, #16324a) center 2px / 100% 2px no-repeat,
    radial-gradient(circle at 12px 8px, #ff5d6c 0 3px, transparent 4px),
    radial-gradient(circle at 36px 8px, #ffe08a 0 3px, transparent 4px),
    radial-gradient(circle at 60px 8px, #7dffb2 0 3px, transparent 4px);
  background-size: auto, 72px 18px, 72px 18px, 72px 18px;
  filter: drop-shadow(0 0 6px #ffe08a88);
}
#view-pass .xp-top, #view-pass .xp-note, #view-pass .xp-hero, #view-pass .xp-rail,
#view-pass .xp-detail, #view-pass .xp-tabs, #view-pass #xp-board, #view-pass .xp-shop { position: relative; z-index: 1; }
#view-pass .xp-top { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#view-pass .xp-back {
  width: 36px; height: 36px; flex: none; border: 1px solid #d7ecff66; border-radius: 50%;
  background: #0c2030cc; color: #f4fbff; font: 22px Georgia, serif;
}
#view-pass .xp-kicker { color: #9fd7ff; font-size: 8px; letter-spacing: .16em; }
#view-pass h1 {
  margin: 2px 0 0; color: #fff;
  font: 400 28px/1 Georgia, serif;
  text-shadow: 0 0 18px #7ec8ff88;
}
#view-pass .xp-seal {
  margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, #fff, #d7ecff 30%, #7eb6e6);
  box-shadow: 0 0 16px #9fd7ff;
}
#view-pass .xp-note { margin: 8px 0 0; color: #c5d7ea; font-size: 11px; }
#view-pass .xp-hero {
  margin-top: 14px; padding: 14px; border-radius: 18px;
  border: 1px solid #ffffff2e;
  background:
    linear-gradient(180deg, #ffffff14, transparent 28%),
    linear-gradient(145deg, #1a4d78cc, #123528e6 70%);
  box-shadow: inset 0 1px #fff6, 0 12px 28px #0006;
  backdrop-filter: blur(6px);
}
#view-pass .xp-hero-copy { display: flex; align-items: center; gap: 12px; }
#view-pass .xp-level-no {
  width: 58px; height: 58px; display: grid; place-items: center; flex: none;
  border-radius: 50%; color: #7a1424;
  background:
    radial-gradient(circle at 32% 28%, #fff 0 8%, #ffe7a8 18%, #e23b4a 62%, #8d1828 100%);
  box-shadow: 0 0 0 4px #ffffff22, 0 8px 16px #0006, inset 0 -8px 12px #5a0d18aa;
  font: 700 20px Georgia, serif;
}
#view-pass .xp-hero b { display: block; color: #fff; font: 18px Georgia, serif; }
#view-pass .xp-hero small { color: #d5e6f5; font-size: 11px; }
#view-pass .xp-bar { height: 10px; margin: 14px 0 12px; border-radius: 99px; background: #061018aa; box-shadow: inset 0 1px 3px #0008; overflow: hidden; }
#view-pass .xp-bar span { display: block; height: 100%; width: 42%; border-radius: inherit; background: linear-gradient(90deg, #7dffb2, #ffe08a 55%, #ff5d6c); box-shadow: 0 0 12px #ffe08a; }
#view-pass .xp-switch, #view-pass .xp-tabs { display: flex; gap: 6px; }
#view-pass .xp-switch button, #view-pass .xp-tabs button {
  border: 1px solid #ffffff33; border-radius: 999px; background: #06101866; color: #e7f3ff;
  padding: 7px 12px; font-size: 12px;
}
#view-pass .xp-switch button.is-on, #view-pass .xp-tabs button.is-on {
  border-color: #fff6; color: #3a1020;
  background: linear-gradient(180deg, #fff6, #ffd0d6 30%, #e23b4a);
  box-shadow: 0 0 12px #ff5d6c66;
}
#view-pass .xp-rail {
  display: flex; gap: 10px; overflow-x: auto; margin: 8px -14px 4px; padding: 18px 14px 8px;
  scroll-snap-type: x proximity;
}
#view-pass .xp-node {
  position: relative; flex: none; width: 46px; height: 46px; scroll-snap-align: center;
  border: 0; border-radius: 50%; color: #12324a; font: 700 11px Georgia, serif;
  background: radial-gradient(circle at 32% 28%, #fff 0 10%, #d7f1ff 28%, #7eb6e6 70%, #2d6d9a);
  box-shadow: inset 0 -6px 8px #1a4a6e88, 0 6px 0 #0b2433;
}
#view-pass .xp-node::before {
  content: ""; position: absolute; left: 50%; top: -10px; width: 8px; height: 10px;
  transform: translateX(-50%); border-radius: 3px 3px 0 0; background: #d7ecff;
}
#view-pass .xp-node.is-done {
  color: #083222;
  background: radial-gradient(circle at 32% 28%, #fff 0 10%, #d9ffe8 28%, #3dce86 72%, #14784a);
}
#view-pass .xp-node.is-now {
  color: #5c1020;
  background: radial-gradient(circle at 32% 28%, #fff 0 12%, #ffe7a8 24%, #ff5d6c 70%, #8d1828);
  box-shadow: 0 0 0 3px #ffe08a, 0 0 16px #ff5d6c, inset 0 -6px 8px #5a0d18aa;
}
#view-pass .xp-node.is-case::after {
  content: "★"; position: absolute; right: -2px; bottom: -2px; font-size: 11px; color: #ffe08a;
  text-shadow: 0 0 6px #000;
}
#view-pass .xp-detail, #view-pass .xp-task {
  margin-top: 8px; padding: 14px; border-radius: 16px; color: #eef6ff;
  border: 1px solid #ffffff2a;
  background: linear-gradient(180deg, #ffffff12, #0c2030cc 24%);
  box-shadow: inset 0 1px #fff4;
}
#view-pass .xp-detail h2, #view-pass .xp-task b { margin: 0 0 6px; color: #fff; font: 17px Georgia, serif; }
#view-pass .xp-detail p, #view-pass .xp-task p { margin: 0; color: #d5e4f2; font-size: 13px; line-height: 1.45; }
#view-pass .xp-prizes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
#view-pass .xp-prize { padding: 10px; border-radius: 12px; background: #071722cc; color: #f3fbff; font-size: 12px; line-height: 1.35; }
#view-pass .xp-prize span { display: block; margin-bottom: 4px; color: #9fd7ff; font-size: 9px; letter-spacing: .1em; }
#view-pass .xp-prize.is-plus { background: linear-gradient(180deg, #5a1830, #2a1020); box-shadow: inset 0 0 0 1px #ffd0d666; }
#view-pass .xp-prize.is-plus span { color: #ffd0d6; }
#view-pass .xp-tabs { margin-top: 14px; overflow-x: auto; }
#view-pass .xp-task .xp-meter { height: 7px; margin-top: 8px; border-radius: 99px; background: #061018; overflow: hidden; }
#view-pass .xp-task .xp-meter i { display: block; height: 100%; background: linear-gradient(90deg, #3dce86, #ffe08a); }
#view-pass .xp-task small { color: #b7cbe0; }
.xp-tile[hidden] { display: none !important; }
.refresh-design .xp-tile { color: #d7ecff; border-color: #9fd7ff55; background: linear-gradient(160deg, #1a4d7833, #12352822); }

#view-pass .xt { position: relative; z-index: 1; margin-top: 14px; }
#view-pass .xt-card {
  padding: 14px 12px 12px; border-radius: 22px; border: 1px solid #ffffff2e;
  background:
    linear-gradient(180deg, #ffffff18, transparent 18%),
    radial-gradient(ellipse at 50% 0%, #9fd7ff33, transparent 42%),
    linear-gradient(180deg, #12324ccc, #0b2418f2);
  box-shadow: inset 0 1px #fff6, 0 16px 30px #0005;
}
#view-pass .xt-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-end; }
#view-pass .xt-top b { display: block; color: #fff; font: 20px Georgia, serif; }
#view-pass .xt-top small, #view-pass .xt-rule { color: #c5d7ea; font-size: 11px; line-height: 1.4; }
#view-pass .xt-meter { height: 8px; margin: 8px 0 0; border-radius: 99px; background: #061018; overflow: hidden; }
#view-pass .xt-meter i { display: block; height: 100%; background: linear-gradient(90deg, #7dffb2, #ffe08a); }
#view-pass .xt-stage { height: 340px; display: grid; place-items: center; touch-action: none; }
#view-pass .xt-grow { transition: transform .45s ease; transform-origin: 50% 92%; }
#view-pass .xt-grow[data-rank="1"] { transform: scale(.78); }
#view-pass .xt-grow[data-rank="2"] { transform: scale(.88); }
#view-pass .xt-grow[data-rank="3"] { transform: scale(.96); }
#view-pass .xt-grow[data-rank="4"] { transform: scale(1); }
#view-pass .xt-sway { position: relative; width: 250px; height: 330px; transform-origin: 50% 96%; }
#view-pass .xt-sway.is-sway { animation: xt-sway .7s ease; }
@keyframes xt-sway { 0% { transform: rotate(0); } 35% { transform: rotate(-1.6deg); } 70% { transform: rotate(1.2deg); } 100% { transform: rotate(0); } }
#view-pass .xt-sway svg { width: 100%; height: 100%; filter: drop-shadow(0 18px 12px #0008); }
#view-pass .xt-hook {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #fff;
}
#view-pass .xt-hook.is-locked { cursor: default; }
#view-pass .xt-hook.is-locked i {
  display: block; width: 10px; height: 10px; margin: 13px auto; border-radius: 50%; background: #ffffff33;
}
#view-pass .xt-hook.is-open i {
  display: block; width: 14px; height: 14px; margin: 11px auto; border-radius: 50%;
  border: 1px dashed #ffe08a; background: #ffe08a22;
}
#view-pass .xt-ornament {
  position: relative; display: block; width: 28px; height: 28px; margin: 4px auto; border-radius: 50%;
  box-shadow: inset -4px -6px 8px #0006, 0 6px 8px #0006, 0 0 10px #fff3;
}
#view-pass .xt-ornament::after {
  content: ""; position: absolute; left: 12px; top: 8px; width: 7px; height: 5px; border-radius: 50%; background: #fff8;
}
#view-pass .xt-hook { position: absolute; }
#view-pass .is-red { background: radial-gradient(circle at 32% 28%, #fff 0 10%, #ffb3ba 18%, #e23b4a 62%, #6e1020); }
#view-pass .is-gold { background: radial-gradient(circle at 32% 28%, #fff 0 10%, #fff1c2 20%, #e2b14a 64%, #7a4e10); }
#view-pass .is-ice { background: radial-gradient(circle at 32% 28%, #fff 0 12%, #e7f6ff 24%, #7eb6e6 68%, #1d4e78); }
#view-pass .is-bell { border-radius: 40% 40% 46% 46%; background: radial-gradient(circle at 32% 24%, #fff6, #ffe08a 30%, #c9893d 70%, #6a4010); }
#view-pass .is-candy { background: repeating-linear-gradient(135deg, #fff 0 4px, #e23b4a 4px 8px); }
#view-pass .is-cone { border-radius: 40% 40% 50% 50%; background: radial-gradient(circle at 30% 20%, #e7c39a, #8a5a32 55%, #3a2414); }
#view-pass .is-bow { border-radius: 30%; background: radial-gradient(circle at 30% 30%, #ffd0d6, #c42334 60%, #6e1020); }
#view-pass .is-icicle { height: 34px; width: 14px; border-radius: 40% 40% 50% 50%; background: linear-gradient(#fff, #b9ddf5 40%, #7eb6e6); }
#view-pass .xt-tray { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; }
#view-pass .xt-piece {
  flex: none; width: 42px; height: 42px; border: 1px solid #ffffff33; border-radius: 14px; background: #06101888;
}
#view-pass .xt-piece .xt-ornament { width: 22px; height: 22px; margin: 10px auto; }
#view-pass .xt-piece.is-icicle-btn .xt-ornament { height: 26px; width: 10px; margin-top: 8px; }
#view-pass .xt-actions { display: flex; gap: 8px; margin-top: 8px; }
#view-pass .xt-actions button {
  flex: 1; border: 1px solid #ffe08a55; border-radius: 999px; padding: 8px 10px;
  background: #06101888; color: #fff; font-size: 12px;
}
#view-pass .xt-actions button:disabled { opacity: .45; }
#view-pass .xt-rule { margin: 8px 2px 0; }
#view-pass .xt-ghost { position: fixed; z-index: 50; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; }
#view-pass .xp-shop {
  margin-top: 14px; padding: 14px; border-radius: 18px; border: 1px solid #ffffff2e;
  background:
    linear-gradient(180deg, #ffffff14, transparent 30%),
    linear-gradient(145deg, #1a4d78cc, #123528e6 70%);
  box-shadow: inset 0 1px #fff6, 0 12px 28px #0006;
}
#view-pass .xp-shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
#view-pass .xp-shop h2 { margin: 0; color: #fff; font: 22px Georgia, serif; }
#view-pass .xp-coins { margin: 0; color: #ffe08a; font-size: 13px; }
#view-pass .xp-shop-empty { margin: 10px 0 0; color: #c5d7ea; font-size: 14px; }
#view-pass .xp-shop-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
#view-pass .xp-shop-item b { display: block; color: #fff; }
#view-pass .xp-shop-item small { color: #c5d7ea; }
#view-pass .xp-shop-item button {
  border: 1px solid #ffe08a55; border-radius: 999px; padding: 8px 12px;
  background: #06101888; color: #fff;
}
#view-pass .xp-shop-item button:disabled { opacity: .45; }
