/* 实训2 · 欢迎语 + 热门任务 + 技能图谱 */

html:has(body > .stage > .root[data-name="实训中心-2"]),
body:has(> .stage > .root > header.top):has(> .stage > .root[data-name="实训中心-2"]) {
  height: auto;
  min-height: 100%;
  overflow: auto;
}

body:has(> .stage > .root > header.top):has(> .stage > .root[data-name="实训中心-2"]) .stage {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
}

.root[data-name="实训中心-2"] {
  height: auto;
  max-height: none;
  min-height: 100dvh;
  overflow: visible;
}

.root[data-name="实训中心-2"] > .top {
  flex-shrink: 0;
}

.root[data-name="实训中心-2"] > .main.practice-main,
.root[data-name="实训中心-2"] .p2-main {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.p2 {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.25rem 0 0.75rem;
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 1.4vw, 1.25rem);
}

.p2-welcome {
  position: relative;
  flex: 0 0 auto;
  height: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1.375rem;
  border-radius: 18px;
  border: 1px solid var(--practice-border);
  background-color: rgba(8, 14, 36, 0.72);
  background-image:
    linear-gradient(180deg, var(--practice-cyan-08) 0%, transparent 36%),
    var(--practice-glass-panel);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.28) inset,
    0 12px 36px rgba(0, 0, 0, 0.28);
}

.p2-welcome::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    180deg,
    var(--practice-mint) 0%,
    var(--practice-cyan) 45%,
    rgba(var(--practice-cyan-rgb), 0.35) 100%
  );
  box-shadow: 0 0 14px rgba(var(--practice-cyan-rgb), 0.35);
  pointer-events: none;
}

.p2-welcome__figure {
  position: relative;
  flex: 0 0 auto;
  width: clamp(3.75rem, 5.8vw, 5rem);
  height: clamp(3.75rem, 5.8vw, 5rem);
}

.p2-welcome__glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--practice-cyan-rgb), 0.42) 0%,
    rgba(var(--practice-cyan-rgb), 0.08) 52%,
    transparent 72%
  );
  pointer-events: none;
}

.p2-welcome__avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--practice-cyan-18);
}

.p2-welcome__copy {
  min-width: 0;
  flex: 1 1 auto;
}

.p2-welcome h1 {
  margin: 0;
  font-size: var(--practice-font-16);
  line-height: var(--practice-lh-16);
  font-weight: 600;
  color: var(--practice-text);
  text-shadow: 0 0 18px rgba(var(--practice-cyan-rgb), 0.18);
}

.p2-welcome h1 em {
  font-style: normal;
  color: var(--practice-cyan);
}

.p2-welcome__text {
  margin: 0.375rem 0 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-secondary);
}

.p2-stats {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--practice-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    linear-gradient(165deg, rgba(28, 36, 88, 0.38) 0%, rgba(8, 12, 40, 0.48) 100%);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.p2-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 4.75rem;
  padding: 0.875rem 1.25rem;
}

.p2-stat + .p2-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  bottom: 26%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.12) 28%,
    rgba(255, 255, 255, 0.12) 72%,
    transparent
  );
  pointer-events: none;
}

.p2-stat strong {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  color: var(--practice-cyan);
}

.p2-stat strong em {
  font-size: var(--practice-font-14);
  line-height: 1;
  font-style: normal;
  font-weight: 500;
  color: var(--practice-text-muted);
}

.p2-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-muted);
}

.p2-stat__label em {
  margin: 0 0.2em;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.28);
}

.p2-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 22rem);
  gap: clamp(0.875rem, 1.4vw, 1.25rem);
  align-items: stretch;
}

.p2-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.875rem, 1.4vw, 1.25rem);
}

.p2-map,
.p2-hot,
.p2-certs {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(165deg, rgba(28, 36, 88, 0.42) 0%, rgba(8, 12, 40, 0.5) 100%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  overflow: hidden;
}

.p2-hot::after,
.p2-certs::after {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--practice-cyan-rgb), 0.5) 18%,
    rgba(167, 139, 250, 0.55) 50%,
    rgba(var(--practice-cyan-rgb), 0.5) 82%,
    transparent
  );
}

.p2-pane__head {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1rem 0 0.875rem;
  border: 0;
  border-radius: 13px 0 72px 0;
  background: linear-gradient(270deg, rgba(31, 147, 132, 0) 0%, rgba(31, 147, 132, 0.78) 72%);
  box-shadow:
    0 6px 18px rgba(31, 147, 132, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.p2-hot .p2-pane__head {
  background: linear-gradient(270deg, rgba(89, 48, 232, 0) 0%, rgba(89, 48, 232, 0.78) 72%);
  box-shadow:
    0 6px 18px rgba(89, 48, 232, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.p2-certs .p2-pane__head {
  padding: 4px 8px 4px 6px;
  background: linear-gradient(270deg, rgba(251, 146, 60, 0) 0%, rgba(251, 146, 60, 0.42) 72%);
  box-shadow:
    0 6px 18px rgba(251, 146, 60, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.p2-certs[data-p2-on="gaps"] .p2-pane__head {
  background: linear-gradient(270deg, rgba(167, 139, 250, 0) 0%, rgba(167, 139, 250, 0.48) 72%);
  box-shadow:
    0 6px 18px rgba(167, 139, 250, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.p2-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  gap: 4px;
}

.p2-switch__tab {
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: var(--practice-font-14);
  line-height: var(--practice-lh-14);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  white-space: nowrap;
  text-shadow: none;
  cursor: pointer;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.p2-switch__tab:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.p2-switch__tab.is-active {
  font-weight: 600;
  color: var(--practice-text);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.p2-switch__tab.is-active:hover {
  color: var(--practice-text);
  background: rgba(255, 255, 255, 0.2);
}

.p2-pane__title {
  margin: 0;
  font-size: var(--practice-font-16);
  line-height: var(--practice-lh-16);
  font-weight: 600;
  color: var(--practice-text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.p2-map__views {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.p2-map__view {
  min-height: 28px;
  margin: 0;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}

.p2-map__view:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
}

.p2-map__view.is-active {
  font-weight: 600;
  color: var(--practice-text);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.p2-map {
  height: 100%;
  min-height: 20rem;
}

.p2-map__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.p2-map__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.p2-map__stage[hidden],
.p2-map__cards[hidden] {
  display: none;
}

.p2-map__cards {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 5.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--practice-cyan-rgb), 0.25) transparent;
}

.p2-map__cards::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 78%);
  opacity: 0.7;
}

.p2-cards__toolbar,
.p2-cards__grid {
  position: relative;
  z-index: 1;
}

.p2-cards__toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: var(--practice-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%),
    linear-gradient(165deg, rgba(15, 28, 58, 0.92) 0%, rgba(8, 14, 36, 0.88) 100%);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 28px rgba(0, 0, 0, 0.22);
}

.p2-cards__toolbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--practice-cyan-rgb), 0.45) 20%,
    rgba(167, 139, 250, 0.4) 50%,
    rgba(var(--practice-cyan-rgb), 0.45) 80%,
    transparent
  );
}

.p2-cards__selects {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.p2-select {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.p2-select span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  color: var(--practice-text-secondary);
}

.p2-select span .p2-dot {
  width: 7px;
  height: 7px;
}

.p2-select select {
  width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 0 1.75rem 0 0.625rem;
  border: 1px solid var(--practice-border);
  border-radius: var(--practice-radius-md);
  background-color: rgba(6, 12, 32, 0.72);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%2315F7FF' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--practice-text);
  font-family: inherit;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.p2-select--college select {
  border-color: rgba(31, 147, 132, 0.38);
}

.p2-select--major select {
  border-color: var(--practice-border);
}

.p2-select--job select {
  border-color: rgba(167, 139, 250, 0.38);
}

.p2-select--skill select {
  border-color: rgba(251, 191, 36, 0.38);
}

.p2-select--course select {
  border-color: rgba(52, 211, 153, 0.38);
}

.p2-select--status select {
  border-color: rgba(56, 189, 248, 0.38);
}

.p2-select select:hover {
  background-color: rgba(10, 18, 44, 0.88);
}

.p2-select select:focus {
  outline: none;
  border-color: var(--practice-border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 2px rgba(var(--practice-cyan-rgb), 0.18);
}

.p2-select--college select:focus {
  border-color: var(--practice-teal);
}

.p2-select--job select:focus {
  border-color: var(--practice-purple);
}

.p2-select--skill select:focus {
  border-color: var(--practice-amber);
}

.p2-select--course select:focus {
  border-color: var(--practice-green);
}

.p2-select--status select:focus {
  border-color: var(--practice-sky);
}

.p2-select select option {
  color: #111827;
  background: #fff;
}

.p2-cards__count {
  margin: 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-muted);
}

.p2-cards__count em {
  margin: 0 0.15em;
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--practice-cyan);
}

.p2-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.p2-taskcard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  border-radius: var(--practice-radius-xl);
  border: 1px solid var(--practice-border);
  background:
    linear-gradient(165deg, var(--practice-cyan-08) 0%, transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    rgba(8, 14, 36, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.p2-taskcard__cover {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.p2-taskcard__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(8, 14, 36, 0.55) 100%),
    linear-gradient(145deg, transparent 48%, rgba(17, 26, 82, 0.28) 100%);
  pointer-events: none;
}

.p2-taskcard__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.p2-taskcard:hover .p2-taskcard__cover img {
  transform: scale(1.06);
}

.p2-taskcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
  padding: 0.75rem 0.875rem 0.875rem 1.125rem;
}

.p2-taskcard::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--practice-cyan);
  box-shadow: 0 0 10px rgba(var(--practice-cyan-rgb), 0.4);
  pointer-events: none;
}

.p2-taskcard--doing::before {
  background: var(--practice-sky);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.p2-taskcard--done::before,
.p2-taskcard--passed::before {
  background: var(--practice-green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.p2-taskcard--todo::before {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.p2-taskcard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--practice-cyan-rgb), 0.4),
    transparent
  );
}

.p2-taskcard:hover {
  border-color: var(--practice-border-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 32px rgba(0, 0, 0, 0.28);
}

.p2-taskcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.p2-taskcard__title {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-size: var(--practice-font-16);
  line-height: var(--practice-lh-16);
  font-weight: 600;
}

.p2-taskcard__head .p2-status {
  flex-shrink: 0;
}

.p2-taskcard__title a {
  color: var(--practice-text);
  text-decoration: none;
}

.p2-taskcard__title a:hover {
  color: var(--practice-cyan);
}

.p2-taskcard__path {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-muted);
}

.p2-taskcard__path .p2-dot {
  width: 7px;
  height: 7px;
}

.p2-taskcard__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.p2-taskcard__actions .p2-tip-action {
  flex: none;
  min-width: 0;
  padding: 0 0.375rem;
}

.p2-taskcard__actions .p2-tip-action__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p2-map[data-p2-map-mode="cards"] .p2-detail,
.p2-map[data-p2-map-mode="cards"] .p2-continue {
  display: none;
}

.p2-map[data-p2-map-mode="cards"] .p2-map__cards {
  padding-bottom: 0.75rem;
}

@media (max-width: 1100px) {
  .p2-cards__selects {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .p2-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .p2-cards__selects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p2-cards__grid {
    grid-template-columns: 1fr;
  }
}

.p2-map__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(165deg, rgba(0, 0, 0, 0.55) 0%, transparent 78%);
  opacity: 0.85;
}

.p2-map__canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.p2-map__toolbar,
.p2-map__legend {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
  border: 1px solid var(--practice-border-hover);
  background: var(--practice-glass-bubble);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.p2-map__toolbar {
  top: 0.75rem;
  left: 0.75rem;
}

.p2-map__legend {
  left: 0.75rem;
  bottom: 0.75rem;
  border: 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-secondary);
}

.p2-continue {
  position: absolute;
  z-index: 3;
  right: 0.75rem;
  bottom: 0.75rem;
  width: min(18.5rem, calc(100% - 1.5rem));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1rem 0.875rem 1.125rem;
  border-radius: var(--practice-radius-lg);
  border: 1px solid var(--practice-border);
  background:
    linear-gradient(165deg, var(--practice-cyan-08) 0%, transparent 46%),
    var(--practice-glass-panel);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition:
    width 0.22s ease,
    height 0.22s ease,
    padding 0.22s ease,
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.p2-continue::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--practice-cyan);
  box-shadow: 0 0 10px rgba(var(--practice-cyan-rgb), 0.45);
  pointer-events: none;
}

.p2-continue:hover {
  border-color: var(--practice-border-hover);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 16px 32px rgba(0, 0, 0, 0.32);
}

.p2-continue__thumb {
  display: none;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.p2-continue__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--practice-cyan);
  box-shadow: 0 0 8px rgba(var(--practice-cyan-rgb), 0.7);
  animation: p2-continue-pulse 1.6s ease-in-out infinite;
}

.p2-continue__thumb-tag {
  flex-shrink: 0;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: var(--practice-cyan);
}

.p2-continue__thumb-name {
  min-width: 0;
  overflow: hidden;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  color: var(--practice-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

@keyframes p2-continue-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

.p2-continue.is-mini {
  width: auto;
  max-width: 14.5rem;
  height: auto;
  padding: 0.5rem 0.75rem 0.5rem 0.875rem;
  gap: 0;
  cursor: pointer;
}

.p2-continue.is-mini::before {
  top: 8px;
  bottom: 8px;
}

.p2-continue.is-mini .p2-continue__thumb {
  display: flex;
}

.p2-continue.is-mini .p2-continue__head,
.p2-continue.is-mini .p2-continue__name,
.p2-continue.is-mini .p2-continue__meta,
.p2-continue.is-mini .p2-continue__bar,
.p2-continue.is-mini .p2-continue__actions {
  display: none;
}

.p2-continue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
}

.p2-continue__tag {
  margin: 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.375rem;
  padding: 0 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--practice-border-hover);
  background: var(--practice-cyan-10);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: var(--practice-cyan);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.p2-continue__close {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.125rem -0.25rem -0.125rem 0;
  padding: 0;
  border: 0;
  border-radius: var(--practice-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--practice-text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.p2-continue__close:hover {
  color: var(--practice-text);
  background: rgba(255, 255, 255, 0.12);
}

.p2-continue__name {
  margin: 0;
  font-size: var(--practice-font-14);
  line-height: var(--practice-lh-14);
  font-weight: 600;
  color: var(--practice-text);
}

.p2-continue__meta {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-secondary);
}

.p2-continue__bar {
  height: 4px;
  border-radius: 999px;
  background: var(--practice-glass-inset);
  overflow: hidden;
}

.p2-continue__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--practice-btn-send);
  box-shadow: 0 0 10px rgba(var(--practice-cyan-rgb), 0.45);
}

.p2-continue__actions {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.125rem;
}

.p2-continue__actions .p2-btn {
  flex: 1 1 0;
}

.p2-map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.p2-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  transform: rotate(45deg);
  box-shadow: 0 0 8px currentColor;
}

.p2-dot--college {
  background: var(--practice-teal);
  color: var(--practice-teal);
}

.p2-dot--major {
  background: var(--practice-cyan);
  color: var(--practice-cyan);
}

.p2-dot--job {
  background: var(--practice-purple);
  color: var(--practice-purple);
}

.p2-dot--skill {
  background: var(--practice-amber);
  color: var(--practice-amber);
}

.p2-dot--course {
  background: var(--practice-green);
  color: var(--practice-green);
}

.p2-dot--status {
  background: var(--practice-sky);
  color: var(--practice-sky);
}

.p2-tool {
  min-height: 1.5rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--practice-text-secondary);
  font-family: inherit;
  font-size: var(--practice-font-12);
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.p2-tool:hover,
.p2-tool[aria-pressed="true"] {
  color: var(--practice-cyan);
  background: var(--practice-cyan-10);
}

.p2-detail {
  position: absolute;
  z-index: 4;
  top: 0.75rem;
  right: 0.75rem;
  width: min(21rem, calc(100% - 1.5rem));
  max-height: calc(100% - 1.5rem);
  overflow: auto;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(165deg, rgba(15, 28, 58, 0.96) 0%, rgba(8, 14, 36, 0.97) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 48px rgba(0, 0, 0, 0.46);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--practice-cyan-rgb), 0.25) transparent;
  animation: p2-detail-in 220ms ease-out;
}

@keyframes p2-detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.p2-detail[hidden] {
  display: none;
}

.p2-detail__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.p2-detail__top {
  position: relative;
  flex-shrink: 0;
  padding: 14px 40px 14px 14px;
  border-bottom: 1px solid var(--practice-border);
  background: linear-gradient(
    180deg,
    rgba(31, 147, 132, 0.16) 0%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.p2-detail[data-kind="job"] .p2-detail__top {
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.14) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.p2-detail[data-kind="skill"] .p2-detail__top {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.12) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.p2-detail[data-kind="course"] .p2-detail__top {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.12) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.p2-detail__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

.p2-detail__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: var(--practice-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--practice-text-muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.p2-detail__close:hover {
  color: var(--practice-text);
  background: rgba(255, 255, 255, 0.12);
}

.p2-detail__title {
  margin: 0;
  font-size: var(--practice-font-16);
  line-height: var(--practice-lh-16);
  font-weight: 600;
  color: var(--practice-text);
  letter-spacing: 0.01em;
}

.p2-detail__desc {
  margin: 0.5rem 0 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-secondary);
}

.p2-detail__top .p2-btn {
  margin-top: 0.75rem;
}

.p2-detail__top .p2-btn[hidden] {
  display: none;
}

.p2-attr {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--practice-border-hover);
  font-size: var(--practice-font-12);
  line-height: 16px;
  font-weight: 600;
}

.p2-attr--tool {
  color: var(--practice-sky);
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
}

.p2-attr--exec {
  color: var(--practice-amber);
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
}

.p2-attr--scene {
  color: var(--practice-orange);
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(251, 146, 60, 0.12);
}

.p2-attr--job {
  color: var(--practice-purple);
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(167, 139, 250, 0.12);
}

.p2-detail__course {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 12px 12px 14px;
}

.p2-detail__course[hidden] {
  display: none;
}

.p2-tip-tasks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p2-tip-task {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--practice-radius-md);
  border: 1px solid var(--practice-border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.p2-tip-task__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--practice-text);
  text-decoration: none;
  font-size: var(--practice-font-14);
  line-height: var(--practice-lh-14);
  font-weight: 600;
}

.p2-tip-task__main:hover {
  color: var(--practice-cyan);
}

.p2-tip-task__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.375rem;
}

.p2-tip-action {
  --pa-accent: var(--practice-cyan);
  --pa-glow: rgba(var(--practice-cyan-rgb), 0.28);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  flex: 1 1 0;
  min-width: 0;
  min-height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: var(--practice-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    linear-gradient(135deg, rgba(var(--practice-cyan-rgb), 0.12) 0%, rgba(167, 139, 250, 0.08) 100%),
    rgba(6, 18, 42, 0.55);
  color: var(--practice-text-body);
  text-decoration: none;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.p2-tip-action--graph {
  --pa-accent: var(--practice-sky);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.16) 0%, rgba(var(--practice-cyan-rgb), 0.08) 100%),
    rgba(6, 18, 42, 0.55);
}

.p2-tip-action--sim {
  --pa-accent: var(--practice-purple);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    linear-gradient(135deg, rgba(167, 139, 250, 0.14) 0%, rgba(var(--practice-cyan-rgb), 0.06) 100%),
    rgba(10, 14, 40, 0.55);
}

.p2-tip-action__text {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-width: 0;
}

.p2-tip-action__ai {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #031018;
  background: linear-gradient(118deg, #15f7ff 0%, #6ef7c8 52%, #b794f6 100%);
}

.p2-tip-action--sim .p2-tip-action__ai {
  background: linear-gradient(118deg, #ddd6fe 0%, #5eead4 48%, #15f7ff 100%);
}

.p2-tip-action__name {
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 500;
}

.p2-tip-action__arrow {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  color: var(--pa-accent);
  display: inline-flex;
}

.p2-tip-action__arrow svg {
  width: 12px;
  height: 12px;
  display: block;
}

.p2-tip-action:hover {
  border-color: rgba(var(--practice-cyan-rgb), 0.4);
  color: var(--practice-text);
}

.p2-tip-action--sim:hover {
  border-color: rgba(167, 139, 250, 0.42);
}

.p2-tip-action:hover .p2-tip-action__arrow {
  transform: translateX(2px);
}

.p2-detail__block {
  width: 100%;
}

.p2-detail__block h4 {
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--practice-text);
}

.p2-detail__block h4::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--practice-cyan), rgba(var(--practice-cyan-rgb), 0.2));
  box-shadow: 0 0 8px rgba(var(--practice-cyan-rgb), 0.35);
}

.p2-detail__block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.p2-detail__block-head h4 {
  margin: 0;
}

.p2-klist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.p2-kitem {
  padding: 0.5rem 0.625rem;
  border-radius: var(--practice-radius-md);
  border: 1px solid var(--practice-border);
  background: var(--practice-glass-chip);
}

.p2-kitem.is-active {
  border-color: var(--practice-border-hover);
}

.p2-kitem strong {
  display: block;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  color: var(--practice-text);
}

.p2-kitem p {
  margin: 0.25rem 0 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-muted);
}

.p2-chips,
.p2-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.p2-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.375rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.06));
  color: #7dd3fc;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
}

.p2-detail[data-kind="college"] .p2-chip {
  color: var(--practice-mint);
  border-color: rgba(31, 147, 132, 0.5);
  background: linear-gradient(180deg, rgba(31, 147, 132, 0.2), rgba(31, 147, 132, 0.06));
}

.p2-detail[data-kind="major"] .p2-chip {
  color: var(--practice-cyan);
  border-color: var(--practice-border-hover);
  background: linear-gradient(180deg, var(--practice-cyan-14), var(--practice-cyan-08));
}

.p2-detail[data-kind="job"] .p2-chip {
  color: #ddd6fe;
  border-color: rgba(167, 139, 250, 0.5);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.18), rgba(167, 139, 250, 0.06));
}

.p2-detail[data-kind="skill"] .p2-chip {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.18), rgba(251, 191, 36, 0.06));
}

.p2-detail[data-kind="course"] .p2-chip {
  color: #a7f3d0;
  border-color: rgba(52, 211, 153, 0.45);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.16), rgba(52, 211, 153, 0.06));
}

.p2-chip--link {
  cursor: pointer;
}

.p2-chip--link:hover {
  color: var(--practice-cyan);
}

.p2-chip--pre {
  color: var(--practice-purple);
}

.p2-chip--post {
  color: var(--practice-green);
}

.p2-chip em {
  margin-left: 0.25rem;
  font-style: normal;
  font-size: 11px;
  color: var(--practice-text-muted);
}

.p2-res {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.p2-res a {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--practice-radius-md);
  border: 1px solid var(--practice-border);
  background: var(--practice-glass-chip);
  text-decoration: none;
  color: inherit;
}

.p2-res a:hover {
  border-color: var(--practice-border-hover);
}

.p2-res__type {
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  color: var(--practice-sky);
}

.p2-res a[data-kind="micro"] .p2-res__type {
  color: var(--practice-orange);
}

.p2-res a[data-kind="exercise"] .p2-res__type {
  color: var(--practice-amber);
}

.p2-res__name {
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text);
}

.p2-hot__list {
  flex: 0 0 auto;
  overflow: visible;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.p2-hot__item {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 14px;
  border: 1px solid rgba(var(--practice-cyan-rgb), 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
    linear-gradient(115deg, rgba(17, 26, 82, 0.55) 6%, rgba(22, 92, 120, 0.42) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.p2-hot__item:hover {
  border-color: rgba(var(--practice-cyan-rgb), 0.38);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 32px rgba(0, 0, 0, 0.26),
    0 0 24px rgba(var(--practice-cyan-rgb), 0.08);
}

.p2-hot__cover {
  position: relative;
  flex: 0 0 5.5rem;
  width: 5.5rem;
  margin: 0.5rem 0 0.5rem 0.5rem;
  border-radius: var(--practice-radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.p2-hot__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, transparent 50%, rgba(17, 26, 82, 0.35) 100%),
    linear-gradient(180deg, transparent 55%, rgba(8, 12, 40, 0.35) 100%);
  pointer-events: none;
}

.p2-hot__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.p2-hot__item:hover .p2-hot__cover img {
  transform: scale(1.06);
}

.p2-hot__heat {
  position: absolute;
  z-index: 1;
  left: 6px;
  bottom: 6px;
  min-height: 1.125rem;
  padding: 0 0.375rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 14, 36, 0.72);
  color: var(--practice-cyan);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.p2-hot__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0.625rem 0.75rem 0.625rem 0.75rem;
}

.p2-hot__title {
  text-decoration: none;
  color: inherit;
}

.p2-hot__title:hover h3 {
  color: var(--practice-cyan);
}

.p2-hot__body h3 {
  margin: 0;
  font-size: var(--practice-font-14);
  line-height: var(--practice-lh-14);
  font-weight: 600;
  color: var(--practice-text);
}

.p2-hot__go {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 0;
  color: #042f2e;
  background: var(--practice-btn-send);
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(var(--practice-cyan-rgb), 0.22);
}

.p2-hot__go:hover {
  filter: brightness(1.06);
}

.p2-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.25rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  font-size: var(--practice-font-12);
  font-weight: 600;
}

.p2-status--doing {
  color: var(--practice-sky);
  background: var(--practice-cyan-10);
}

.p2-status--done,
.p2-status--passed {
  color: var(--practice-green);
  background: var(--practice-glass-chip);
}

.p2-status--todo {
  color: var(--practice-text-muted);
  background: var(--practice-glass-inset);
}

.p2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-size: var(--practice-font-12);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.p2-btn--primary {
  color: #042f2e;
  background: var(--practice-btn-send);
}

.p2-btn--ghost {
  color: var(--practice-cyan);
  background: var(--practice-cyan-08);
  border: 1px solid var(--practice-border-hover);
}

.p2-btn--ghost:hover {
  background: var(--practice-cyan-14);
}

.p2-btn--sm {
  min-height: 1.75rem;
  padding: 0 0.75rem;
}

.p2-btn:active {
  filter: brightness(1.08);
}

.p2-certs {
  flex: 0 0 auto;
}

.p2-certs__panel[hidden] {
  display: none;
}

.p2-certs__list {
  margin: 0;
  padding: 0.75rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.p2-certs__item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1rem 0.875rem 1.125rem;
  border-radius: var(--practice-radius-lg);
  border: 1px solid var(--practice-border);
  background:
    linear-gradient(165deg, var(--practice-cyan-08) 0%, transparent 46%),
    var(--practice-glass-chip);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 8px 20px rgba(0, 0, 0, 0.16);
  transition:
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.p2-certs__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: var(--practice-amber);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
  pointer-events: none;
}

.p2-certs__item:has(.p2-certs__tag--held)::before {
  background: var(--practice-green);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.35);
}

.p2-certs__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--practice-cyan-rgb), 0.45),
    transparent
  );
  pointer-events: none;
}

.p2-certs__item:hover {
  border-color: var(--practice-border-hover);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 12px 28px rgba(0, 0, 0, 0.22);
}

.p2-certs__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.625rem;
}

.p2-certs__item h3 {
  margin: 0;
  min-width: 0;
  font-size: var(--practice-font-14);
  line-height: var(--practice-lh-14);
  font-weight: 600;
  color: var(--practice-text);
}

.p2-certs__item p {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  color: var(--practice-text-secondary);
}

.p2-certs__tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0 0.625rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
}

.p2-certs__tag--held {
  color: var(--practice-green);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
}

.p2-certs__tag--none {
  color: var(--practice-amber);
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.12);
}

.p2-gaps__item {
  background:
    linear-gradient(165deg, rgba(167, 139, 250, 0.1) 0%, transparent 46%),
    var(--practice-glass-chip);
}

.p2-gaps__item::before {
  background: var(--practice-purple);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.p2-gaps__item::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.45),
    transparent
  );
}

.p2-gaps__item .p2-btn {
  flex-shrink: 0;
}

.p2-certs__panel:has(.p2-gaps__link) .p2-certs__list {
  padding-bottom: 0.375rem;
}

.p2-gaps__link {
  display: inline-flex;
  align-items: center;
  margin: 0 0.75rem 0.75rem;
  padding: 0.25rem 0;
  font-size: var(--practice-font-12);
  line-height: var(--practice-lh-12);
  font-weight: 600;
  color: var(--practice-cyan);
  text-decoration: none;
}

.p2-gaps__link:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .p2-hot__item:hover,
  .p2-certs__item:hover,
  .p2-gaps__item:hover,
  .p2-continue:hover {
    transform: none;
  }

  .p2-hot__item:hover .p2-hot__cover img {
    transform: none;
  }

  .p2-continue__dot {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .p2-body {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
  }
}

@media (min-width: 961px) {
  html:has(body > .stage > .root[data-name="实训中心-2"]),
  body:has(> .stage > .root > header.top):has(> .stage > .root[data-name="实训中心-2"]) {
    height: 100%;
    overflow: hidden;
  }

  body:has(> .stage > .root > header.top):has(> .stage > .root[data-name="实训中心-2"]) .stage,
  .root[data-name="实训中心-2"] {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  .root[data-name="实训中心-2"] > .main.practice-main,
  .root[data-name="实训中心-2"] .p2-main {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .p2 {
    flex: 1 1 auto;
    min-height: 0;
  }

  .p2-side {
    min-height: 0;
    overflow: auto;
  }
}

@media (max-width: 960px) {
  .p2-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .p2-stat:nth-child(3)::before {
    display: none;
  }

  .p2-stat:nth-child(-n + 2)::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.14),
      transparent
    );
    pointer-events: none;
  }

  .p2-body {
    flex: 0 0 auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .p2-map {
    height: var(--p2-map-h, calc(100dvh - var(--top-h) - 16rem));
    min-height: 18rem;
  }

  .p2-map__legend {
    max-width: calc(100% - 1.5rem);
  }

  .p2-map__view {
    padding: 0 0.625rem;
  }
}

@media (max-width: 640px) {
  .p2-stats {
    grid-template-columns: 1fr 1fr;
  }

  .p2-map__legend {
    max-width: calc(100% - 1.5rem);
  }

  .p2-continue:not(.is-mini) {
    width: calc(100% - 1.5rem);
    bottom: 3.25rem;
  }
}
