.shell {
  display: flex;
  width: 100%;
  max-width: none;
  height: calc(100vh - var(--header-height));
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--main-bg);
  min-height: 0;
}

.plugin-card-shell,
#plugin-main,
.empty-state {
  min-height: calc(100vh - var(--header-height));
}

.empty-state {
  max-width: 1025px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  place-items: center;
  text-align: left;
  padding: clamp(120px, 18vh, 190px) 0 0;
  color: var(--text-muted);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.plugin-page-hero {
  width: 100%;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  margin-bottom: 32px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 14px;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 179, 53, 0.16), transparent 260px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018));
}

.plugin-page-title {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plugin-page-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(244, 247, 251, 0.72);
  font-size: 1rem;
  line-height: 1.55;
}

.plugin-page-content {
  display: grid;
  gap: 16px;
}

.empty-state-title {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  color: #ffffff;
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.preview-mode-banner strong {
  display: block;
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 900;
}

.preview-mode-banner span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.preview-mode-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid rgba(245, 179, 53, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, #f8c85c, #f5b335);
  color: #101318;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.plugin-inner,
#plugin-main {
  color: var(--text-main);
}

.plugin-card-shell {
  min-height: calc(100vh - var(--header-height));
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#plugin-main {
  min-height: 100%;
}

.preview-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(245, 179, 53, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
