:root {
  --bg-main: #0f172a;
  --bg-glass: rgba(30, 41, 59, 0.78);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --panel-bg: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.88);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(129, 140, 248, 0.28);
  --primary: #818cf8;
  --primary-strong: #6366f1;
  --primary-glow: rgba(129, 140, 248, 0.35);
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.2);
  --mint: #34d399;
  --danger: #ef4444;
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  --gradient-text: linear-gradient(90deg, #818cf8, #c084fc);
  --container-max: 1200px;
  --header-height: 76px;
  --glass-shadow: 0 24px 60px rgba(2, 8, 23, 0.46);
  --task-table-header-bg: rgba(15, 23, 42, 0.88);
  --task-table-row-bg: rgba(15, 23, 42, 0.34);
  --task-table-row-hover: rgba(99, 102, 241, 0.12);
  --task-table-section-bg: rgba(30, 41, 59, 0.78);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Pretendard", system-ui, -apple-system, sans-serif;
}

html,
body {
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18) 0%, transparent 30%),
    radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.12) 0%, transparent 26%),
    radial-gradient(circle at 20% 10%, rgba(52, 211, 153, 0.08), transparent 24%),
    #0f172a;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-vibe,
.pr-button {
  background: var(--gradient-main);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-vibe:hover,
.pr-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(99, 102, 241, 0.36);
}

.btn-outline,
.pr-button-ghost,
.pr-button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover,
.pr-button-ghost:hover,
.pr-button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.pr-button-danger {
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.32);
  padding: 11px 18px;
  border-radius: 14px;
  font-weight: 700;
}

.pr-button-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.vibe-card,
.pr-card,
.pr-panel,
.pr-gate,
.pr-logo-panel {
  border-radius: 28px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  box-shadow: var(--glass-shadow);
}

.vibe-card::before,
.pr-card::before,
.pr-panel::before,
.pr-gate::before,
.pr-logo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.pr-site {
  min-height: 100vh;
}

.pr-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pr-shell-inner,
.pr-main {
  width: min(var(--container-max), calc(100% - 32px));
  margin: 0 auto;
}

.pr-shell-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pr-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pr-brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pr-brand-mark img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.pr-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pr-brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pr-brand-subtitle {
  font-size: 0.88rem;
  color: var(--text-sub);
}

.pr-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pr-nav-link {
  padding: 10px 14px;
  color: var(--text-sub);
  border-radius: 999px;
  font-weight: 600;
}

.pr-nav-link:hover,
.pr-nav-link.is-active {
  background: rgba(129, 140, 248, 0.14);
  color: var(--text-main);
}

.pr-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pr-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
}

.pr-user-chip strong {
  display: block;
  font-size: 0.95rem;
}

.pr-user-chip span {
  color: var(--text-sub);
  font-size: 0.82rem;
}

.pr-main {
  padding: 36px 0 84px;
}

.pr-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.86));
  border: 1px solid rgba(129, 140, 248, 0.16);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.pr-hero::after {
  content: "";
  position: absolute;
  top: -12%;
  right: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 68%);
  pointer-events: none;
}

.pr-kicker,
.pr-inline-tag,
.pr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pr-kicker {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-inline-tag,
.pr-badge {
  color: var(--text-main);
  background: rgba(129, 140, 248, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.22);
}

.pr-badge.notice {
  background: rgba(129, 140, 248, 0.16);
}

.pr-badge.minutes {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.22);
}

.pr-badge.photos {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.22);
}

.pr-badge.resources {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.22);
}

.pr-heading-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.pr-heading-icon,
.pr-badge-icon,
.pr-photo-board-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.pr-heading-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
}

.pr-badge-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
}

.pr-heading-icon img,
.pr-badge-icon img,
.pr-photo-board-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pr-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.pr-hero p {
  color: var(--text-sub);
  max-width: 720px;
}

.pr-hero-actions,
.pr-gate-actions,
.pr-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pr-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.pr-logo-panel img {
  width: min(100%, 320px);
  border-radius: 26px;
  object-fit: contain;
  box-shadow: 0 24px 50px rgba(2, 8, 23, 0.26);
}

.pr-grid-3,
.pr-grid-2 {
  display: grid;
  gap: 20px;
}

.pr-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.pr-section {
  margin-top: 28px;
}

.pr-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.pr-section-head h2,
.pr-section-head h3 {
  margin: 0;
  letter-spacing: -0.03em;
}

.pr-section-head p {
  margin-top: 6px;
  color: var(--text-sub);
}

.pr-board-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 210px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pr-board-card:hover,
.pr-post-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-glow);
  box-shadow: 0 22px 44px rgba(2, 8, 23, 0.42);
}

.pr-board-icon {
  font-size: 2rem;
}

.pr-board-card p,
.pr-post-card p,
.pr-card p {
  color: var(--text-sub);
}

.pr-meta-line {
  margin-top: auto;
}

.pr-post-list {
  display: grid;
  gap: 16px;
}

.pr-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.pr-side-note {
  display: grid;
  gap: 22px;
}

.pr-form {
  display: grid;
  gap: 18px;
}

.pr-field {
  display: grid;
  gap: 8px;
}

.pr-field label {
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 700;
}

.pr-help {
  color: var(--text-sub);
  font-size: 0.86rem;
  line-height: 1.55;
}

.pr-list-plain {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-sub);
}

.pr-file-list,
.pr-request-list,
.pr-member-list {
  display: grid;
  gap: 14px;
}

.pr-request-item,
.pr-member-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.44);
  display: grid;
  gap: 14px;
}

.pr-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pr-post-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pr-post-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.pr-post-meta,
.pr-inline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.pr-empty,
.pr-empty-inline {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.pr-footer {
  width: min(var(--container-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
  color: var(--text-sub);
  text-align: center;
  font-size: 0.92rem;
}

.pr-hidden {
  display: none !important;
}

.pr-input,
.pr-select,
.pr-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.76);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
}

.pr-input:focus,
.pr-select:focus,
.pr-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.14);
}

.pr-textarea {
  min-height: 160px;
  resize: vertical;
}

.pr-search {
  min-width: min(380px, 100%);
}

.pr-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pr-toolbar-group,
.pr-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
}

.segmented-button {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-sub);
  background: transparent;
  font-weight: 700;
}

.segmented-button.is-active {
  background: rgba(129, 140, 248, 0.18);
  color: var(--text-main);
}

.filter-chip {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.filter-chip:hover,
.filter-chip.active {
  background: rgba(129, 140, 248, 0.14);
  border-color: rgba(129, 140, 248, 0.26);
  color: var(--text-main);
}

.task-table-wrap {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.2);
}

.task-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
}

.task-table th,
.task-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.task-table th {
  position: sticky;
  top: 0;
  background: var(--task-table-header-bg);
  color: var(--text-sub);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 1;
}

.task-table td {
  background: var(--task-table-row-bg);
}

.task-table tbody tr:hover td {
  background: var(--task-table-row-hover);
}

.pr-board-row {
  cursor: pointer;
}

.pr-table-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pr-table-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-sub);
  font-size: 0.82rem;
}

.pr-row-pin {
  color: #fcd34d;
  font-weight: 700;
}

.pr-cell-center {
  text-align: center;
}

.pr-inline-action {
  background: rgba(129, 140, 248, 0.16);
  color: var(--text-main);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

.pr-inline-action:hover {
  background: rgba(129, 140, 248, 0.24);
}

.pr-divider {
  height: 1px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.08);
}

.pr-post-body {
  color: var(--text-main);
  line-height: 1.8;
  font-size: 0.98rem;
}

.pr-markdown-body > *:first-child {
  margin-top: 0;
}

.pr-markdown-body > *:last-child {
  margin-bottom: 0;
}

.pr-markdown-body h1,
.pr-markdown-body h2,
.pr-markdown-body h3,
.pr-markdown-body h4 {
  margin: 1.3em 0 0.55em;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pr-markdown-body h1 {
  font-size: 1.72rem;
}

.pr-markdown-body h2 {
  font-size: 1.42rem;
}

.pr-markdown-body h3 {
  font-size: 1.16rem;
}

.pr-markdown-body p,
.pr-markdown-body ul,
.pr-markdown-body ol,
.pr-markdown-body blockquote,
.pr-markdown-body pre,
.pr-markdown-body table {
  margin: 0 0 1em;
}

.pr-markdown-body ul,
.pr-markdown-body ol {
  padding-left: 1.4rem;
}

.pr-markdown-body li + li {
  margin-top: 0.32em;
}

.pr-markdown-body a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pr-markdown-body strong {
  color: #ffffff;
}

.pr-markdown-body blockquote {
  padding: 14px 16px;
  border-left: 4px solid rgba(129, 140, 248, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 14px 14px 0;
  color: #cbd5e1;
}

.pr-markdown-body code {
  font-family: "Consolas", "SFMono-Regular", ui-monospace, monospace;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  padding: 0.18em 0.42em;
  font-size: 0.92em;
}

.pr-markdown-body pre {
  background: rgba(2, 8, 23, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  padding: 16px;
  overflow: auto;
}

.pr-markdown-body pre code {
  border: none;
  background: transparent;
  padding: 0;
}

.pr-markdown-body hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.5em 0;
}

.pr-markdown-body img {
  max-width: 100%;
  border-radius: 16px;
}

.pr-post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.pr-post-gallery a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.55);
}

.pr-post-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.pr-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.pr-photo-card {
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}

.pr-photo-card-link {
  display: block;
  color: inherit;
}

.pr-photo-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(15, 23, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-photo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pr-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-sub);
  padding: 18px;
  text-align: center;
}

.pr-photo-card-body {
  padding: 18px 18px 20px;
}

.pr-photo-card-body h3 {
  margin: 12px 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.pr-photo-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.pr-home-photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pr-home-photo-card {
  min-height: 100%;
}

.pr-board-mobile-list {
  display: grid;
  gap: 14px;
}

.pr-board-mobile-card {
  padding: 18px 18px 16px;
  display: grid;
  gap: 14px;
  cursor: pointer;
}

.pr-board-mobile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pr-board-mobile-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.pr-board-mobile-meta {
  display: grid;
  gap: 6px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.pr-board-mobile-actions {
  display: flex;
  justify-content: flex-end;
}

.pr-post-attachments {
  display: grid;
  gap: 12px;
}

.pr-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-attachment-link:hover {
  border-color: rgba(129, 140, 248, 0.24);
}

.pr-form-grid {
  display: grid;
  gap: 18px;
}

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

.pr-form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 700;
}

.pr-gate {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pr-gate h2 {
  margin-bottom: 12px;
}

.pr-gate p {
  color: var(--text-sub);
}

.pr-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.56);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 120;
}

.pr-drawer-overlay.open,
.pr-drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pr-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  width: min(920px, calc(100vw - 48px));
  max-height: min(86vh, 920px);
  height: auto;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 30px;
  box-shadow: var(--glass-shadow);
  transform: translate(-50%, calc(-50% + 24px)) scale(0.98);
  transition: transform 0.24s ease, opacity 0.24s ease;
  z-index: 121;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}

.pr-drawer.open,
.pr-drawer.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.pr-drawer-header,
.pr-drawer-footer {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pr-drawer-footer {
  border-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.pr-drawer-body {
  flex: 1;
  overflow: auto;
  padding: 22px 24px 30px;
}

.pr-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.pr-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pr-toast.is-error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

@media (max-width: 1080px) {
  .pr-shell-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .pr-brand,
  .pr-nav,
  .pr-auth {
    width: 100%;
    justify-content: flex-start;
  }

  .pr-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .pr-nav::-webkit-scrollbar {
    display: none;
  }

  .pr-hero {
    grid-template-columns: 1fr;
  }

  .pr-split,
  .pr-grid-3 {
    grid-template-columns: 1fr;
  }

  .pr-grid-3 {
    grid-template-columns: 1fr;
  }

  .pr-grid-2,
  .pr-form-grid.pr-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pr-shell-inner,
  .pr-main,
  .pr-footer {
    width: min(var(--container-max), calc(100% - 20px));
  }

  .pr-main {
    padding: 22px 0 56px;
  }

  .pr-panel,
  .pr-card,
  .pr-gate,
  .pr-logo-panel,
  .pr-hero {
    padding: 20px;
    border-radius: 22px;
  }

  .pr-drawer {
    width: min(100vw - 24px, 760px);
    max-height: 90vh;
    border-radius: 24px;
  }

  .pr-hero h1 {
    font-size: 2.5rem;
  }

  .pr-section-head,
  .pr-row,
  .pr-post-card-head {
    flex-direction: column;
  }

  .pr-hero-actions,
  .pr-gate-actions,
  .pr-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-vibe,
  .pr-button,
  .btn-outline,
  .pr-button-ghost,
  .pr-button-secondary,
  .pr-button-danger {
    width: 100%;
  }

  .pr-toolbar {
    align-items: stretch;
  }

  .pr-toolbar-group {
    width: 100%;
  }

  .pr-search {
    min-width: 0;
  }

  .segmented-control {
    width: 100%;
    justify-content: stretch;
  }

  .segmented-button {
    flex: 1;
  }

  .pr-filter-row {
    width: 100%;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .task-table-wrap {
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .pr-post-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pr-photo-grid {
    grid-template-columns: 1fr;
  }

  .pr-drawer-header,
  .pr-drawer-footer,
  .pr-drawer-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 520px) {
  .pr-brand {
    align-items: flex-start;
  }

  .pr-brand-mark {
    width: 48px;
    height: 48px;
  }

  .pr-brand-mark img {
    width: 38px;
    height: 38px;
  }

  .pr-brand-title {
    font-size: 1.08rem;
  }

  .pr-brand-subtitle {
    font-size: 0.8rem;
  }

  .pr-nav-link {
    padding: 9px 12px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .pr-hero h1 {
    font-size: 2rem;
  }

  .pr-kicker,
  .pr-inline-tag,
  .pr-badge {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .pr-post-gallery {
    grid-template-columns: 1fr;
  }
}
