.vip-layout {
  --ink: var(--yc-ink, #211d36);
  --muted: var(--yc-muted, #645f72);
  --purple: var(--yc-accent, #6545c7);
  --purple-text: var(--yc-accent-hover, #5336ad);
  --soft: var(--yc-accent-soft, #f0ebff);
  --background: var(--yc-bg, #f6f5f8);
  --line: var(--yc-line, #e6e2eb);
  color: var(--ink);
  background: var(--background);
}

.vip-home { container: vip-home / inline-size; display: grid; gap: clamp(18px, 2vw, 28px); min-width: 0; }
.vip-overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.6cqi, 20px); }
.vip-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 225px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, .4fr);
  align-items: center;
  gap: clamp(10px, 2cqi, 22px);
  padding: clamp(21px, 3cqi, 38px);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: radial-gradient(ellipse at 100% 13%, #e1d6fb 0, #f0eaff 34%, transparent 74%),
    linear-gradient(115deg, #fff, #faf7ff 74%);
}

.vip-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 205px);
  height: clamp(104px, 15cqi, 156px);
  pointer-events: none;
}
.vip-art-orbit {
  position: absolute;
  width: 100%;
  height: 72%;
  transform: rotate(-27deg);
  border: 1px solid #b39ade88;
  border-radius: 50%;
  background: radial-gradient(ellipse, #e1d1fa60, transparent 70%);
}
.vip-art-card-shadow, .vip-art-card {
  position: absolute;
  width: 65%;
  height: 71%;
  border-radius: 12px;
}
.vip-art-card-shadow { background: linear-gradient(130deg, #af94ee, #805ed6); transform: translate(10px, 7px) rotate(11deg); }
.vip-art-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: clamp(9px, 1.7cqi, 15px);
  border: 1px solid #fff;
  background: linear-gradient(138deg, #fff, #f3eaff);
  box-shadow: 0 10px 19px #6848a52b;
  transform: rotate(-9deg);
}
.vip-art-card i { width: 93%; height: 4px; border-radius: 8px; background: #d9caef; }
.vip-art-card i:first-child { width: 50%; height: 7px; background: #9c75df; }
.vip-art-card i:last-child { width: 62%; }
.vip-art-icon {
  position: absolute;
  inset: 59% 4% auto auto;
  display: grid;
  place-items: center;
  width: clamp(34px, 4cqi, 44px);
  aspect-ratio: 1;
  transform: rotate(9deg);
  border-radius: 11px;
  background: linear-gradient(140deg, #9977df, #6746c0);
  color: white;
  box-shadow: 0 7px 15px #5e38a927;
}
.vip-art-icon .icon { width: 22px; height: 22px; }
.vip-hero-copy { position: relative; z-index: 1; min-width: 0; }
.vip-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-text);
  font-size: 13px;
  font-weight: 650;
}
.vip-hero-date .icon { width: 15px; height: 15px; }
.vip-hero h1 { margin: 13px 0 0; color: var(--ink); font-size: clamp(31px, 4.2cqi, 47px); line-height: 1.12; font-weight: 790; letter-spacing: -.04em; }
.vip-hero-welcome { margin: 14px 0 0; font-size: clamp(17px, 2cqi, 21px); font-weight: 710; overflow-wrap: anywhere; }
.vip-hero-message { margin: 5px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }

@container vip-home (min-width: 775px) {
  .vip-overview { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); }
}

.vip-workspace, .vip-announcements { min-width: 0; }
.vip-workspace-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 12px; }
.vip-workspace-head h2 { margin: 0; color: var(--ink); font-size: 19px; letter-spacing: -.01em; }
.vip-review { color: var(--purple-text); border-radius: 8px; }
.vip-overview > .vip-announcements {
  display: flex;
  flex-direction: column;
  padding: clamp(15px, 1.9cqi, 22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--yc-surface, #fff);
}
.vip-overview .vip-announcements .vip-workspace-head { margin-bottom: 13px; }
.vip-overview .vip-announcements .actions { align-items: center; gap: 6px; }
.vip-overview .vip-notice-board:has(> .vip-notice-empty:only-child) { flex: 1; }

.vip-notice-board { display: grid; gap: 9px; }
[data-vip-notice-list]:empty { display: none; }
.vip-notice-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 0; padding: 13px 14px; border: 1px solid #ebe5f4; border-radius: 10px; color: #675b7c; background: #fff; }
.vip-overview .vip-notice-empty { min-height: 82px; justify-content: center; align-content: center; border-color: var(--line); background: #faf9fc; }
.vip-notice-empty .icon { flex: none; width: 16px; height: 16px; color: #7757ba; }
.vip-notice-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e0d3f8;
  border-radius: 13px;
  color: #322452;
  background: linear-gradient(105deg, #f0e7ff, #fff);
  text-align: left;
}
.vip-notice-feature:hover { border-color: #bca0ec; }
.vip-notice-feature-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: white; background: #7753ce; }
.vip-notice-feature-icon .icon { width: 20px; height: 20px; }
.vip-notice-feature-copy { display: grid; gap: 3px; overflow: hidden; }
.vip-notice-feature-copy > strong { font-size: 16px; overflow-wrap: anywhere; }
.vip-notice-preview { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #625478; font-size: 13px; }
.vip-notice-feature-arrow { color: #6545b4; }
.vip-notice-feature-arrow .icon { width: 17px; height: 17px; }
.vip-notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #685c7e; font-size: 12px; }
.vip-notice-important { padding: 1px 6px; border-radius: 5px; color: #6534a0; background: #ebdcfa; font-size: 11px; font-weight: 700; white-space: nowrap; }
.vip-notice-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vip-notice-list { display: grid; gap: 7px; }
.vip-notice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  min-height: 47px;
  padding: 9px 11px;
  border: 1px solid #ebe5f4;
  border-radius: 9px;
  color: #352650;
  background: #fff;
  text-align: left;
}
.vip-notice-row:hover { border-color: #c6b4ec; background: #fdfaff; }
.vip-notice-row > strong { grid-column: 2; grid-row: 1; overflow-wrap: anywhere; }
.vip-notice-row > time { grid-column: 3; grid-row: 1; color: #6e627e; font-size: 12px; white-space: nowrap; }
.vip-notice-row > .icon { grid-column: 4; grid-row: 1; width: 13px; height: 13px; color: #7959bd; }
.vip-notice-strip .vip-notice-row { grid-template-columns: auto minmax(0, 1fr) auto; align-content: start; min-height: 76px; }
.vip-notice-strip .vip-notice-row > strong {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.vip-notice-strip .vip-notice-row > .vip-notice-important { grid-column: 1; grid-row: 2; }
.vip-notice-strip .vip-notice-row > time { grid-column: 2; grid-row: 2; }
.vip-notice-strip .vip-notice-row > .icon { grid-column: 3; grid-row: 2; }
.vip-announcement-dialog .vip-notice-meta { padding-bottom: 9px; }
.vip-notice-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.vip-notice-footer { margin-top: 12px; }
.vip-notice-admin-tools { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vip-notice-admin-tools label { display: grid; gap: 4px; }
.vip-notice-admin-row { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid #eee8f5; overflow-wrap: anywhere; }
.vip-notice-admin-row .vip-notice-meta { padding-bottom: 0; }
.vip-notice-admin-row .button { flex: none; }
.vip-announcement-dialog .vip-notice-check { display: flex; align-items: center; gap: 6px; }
.vip-notice-check input[type="checkbox"] { width: 16px; height: 16px; min-height: auto; accent-color: #7753ce; }

.vip-workspace { container-type: inline-size; }
.vip-center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 1.6cqi, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.vip-center-card {
  display: grid;
  align-content: start;
  min-width: 0;
  gap: 11px;
  padding: clamp(10px, 1.15cqi, 14px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--yc-surface, #fff);
  box-shadow: 0 2px 10px #32215408;
}
.vip-center-card h3 { margin: 0; }
.vip-center-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  gap: 10px;
  padding: 8px clamp(10px, 1.25cqi, 15px);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(108deg, var(--purple) 15%, #5265c2 100%);
  font-size: clamp(16px, 1.55cqi, 18px);
  font-weight: 740;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: filter .15s ease-out;
}
.vip-center-link:hover { color: #fff; filter: brightness(1.09); }
.vip-center-link:focus-visible, .vip-center-shortcuts a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.vip-center-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  background: #ffffff20;
}
.vip-center-symbol .icon { width: 19px; height: 19px; stroke-width: 1.9; }
.vip-center-arrow { width: 16px; height: 16px; opacity: .92; }
.vip-center-shortcuts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vip-center-shortcuts a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 44px;
  gap: 9px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--yc-surface, #fff);
  font-size: 14px;
  font-weight: 580;
  line-height: 1.35;
  overflow-wrap: anywhere;
  transition: border-color .15s ease-out, background-color .15s ease-out;
}
.vip-center-shortcuts a:hover { border-color: #caafe9; color: var(--purple-text); background: var(--soft); }
.vip-center-shortcuts .icon { width: 17px; height: 17px; color: var(--purple); }
.vip-center-shortcuts .vip-shortcut-arrow { width: 14px; height: 14px; color: var(--muted); opacity: .75; }
.vip-center-empty { margin: 0; padding: 9px 4px; color: var(--muted); font-size: 13px; }

@container (min-width: 490px) {
  .vip-center-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (min-width: 720px) {
  .vip-center-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.vip-demo { display: flex; align-items: center; gap: 7px; margin: 0; }
.vip-demo .icon { width: 16px; height: 16px; }

.access-card h2 { margin-bottom: 8px; }
.vip-access-switch { margin-top: 16px; color: #605675; }
.vip-access-switch a { margin-left: 5px; color: #6444bc; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.vip-application-result .button { margin-top: 18px; }
.vip-review-card .filter-form { margin-bottom: 16px; }
.vip-review-detail { display: block; margin-top: 4px; color: var(--muted); overflow-wrap: anywhere; }
.vip-access-denied { display: grid; justify-items: start; gap: 12px; max-width: 600px; }
.vip-access-denied > .icon { width: 29px; height: 29px; color: #6549bf; }
.vip-access-denied p { color: var(--muted); }
.academy-layout { --background: #faf6ff; --line: #eee2f6; }
.academy-layout .hero { border-radius: 21px; }
.academy-layout .card { border-radius: 17px; }

@media (max-width: 470px) {
  .vip-hero { grid-template-columns: minmax(0, 1fr); min-height: 190px; padding: 21px 17px; border-radius: 14px; }
  .vip-hero-art { position: absolute; opacity: .3; top: 12%; right: -3%; width: 133px; height: 100px; }
  .vip-art-card { gap: 6px; }
  .vip-art-icon { width: 32px; height: 32px; border-radius: 10px; }
  .vip-art-icon .icon { width: 19px; height: 19px; }
  .vip-hero-welcome { font-size: 15px; }
  .vip-notice-feature { padding: 11px; gap: 9px; }
  .vip-notice-feature-copy > strong { font-size: 14px; }
}

@media (max-width: 350px) { .vip-notice-strip { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .vip-center-link, .vip-center-shortcuts a { transition: none; } }
