
:root {
  --bg: #07040b;
  --bg-2: #11091a;
  --surface: rgba(18, 12, 27, 0.88);
  --surface-2: rgba(12, 8, 18, 0.94);
  --line: rgba(255, 197, 225, 0.14);
  --line-strong: rgba(255, 157, 203, 0.25);
  --text: #fff7fb;
  --muted: #d8cad5;
  --primary: #ff78b5;
  --primary-2: #ffc0df;
  --accent: #fd4d90;
  --green: #87f7b4;
  --warning: #ffd284;
  --danger: #ff8787;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
  --container: min(1260px, calc(100% - 28px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #09050e 0%, #0a0710 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
textarea, input, select {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
}
textarea::placeholder, input::placeholder { color: #cbb9c4; }
textarea { resize: vertical; }
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,121,181,.18), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(255,170,210,.09), transparent 20%),
    linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.82)),
    url('assets/bg.png') center/cover no-repeat;
}
.page-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,4,10,.12), rgba(6,4,10,.95));
}
.container { width: var(--container); margin: 0 auto; }
.page-header { padding: 34px 0 0; }
.section { padding: 64px 0 0; }
.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.card {
  border-radius: var(--radius);
  padding: 24px;
}
.panel-soft {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
}
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.long-text { white-space: pre-wrap; line-height: 1.8; }
.lead-text { font-size: 1.03rem; color: var(--primary-2); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--primary-2);
  font-weight: 800;
  font-size: .74rem;
}
h1, h2, h3 { margin: 10px 0 14px; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); line-height: 1.7; margin: 0; }

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 30px rgba(253,78,143,.28);
}
.btn.secondary {
  color: white;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.btn.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
}
.btn.small { padding: 10px 14px; font-size: .94rem; }
.btn.full { width: 100%; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 6, 11, 0.78);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 86px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
  width: 58px; height: 58px; border-radius: 18px; object-fit: cover;
  border: 1px solid rgba(255,255,255,.1);
}
.brand strong { display: block; font-size: 1.12rem; }
.brand span { color: var(--muted); font-size: .93rem; }
.main-nav {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.main-nav a {
  padding: 11px 15px; border-radius: 999px; color: #f7dbe8; font-weight: 700;
}
.main-nav a.active, .main-nav a:hover { background: rgba(255,255,255,.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.user-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05);
}
.user-chip img { width: 36px; height: 36px; border-radius: 50%; }
.mobile-toggle { display: none; }

.header-band {
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.header-band .container {
  display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 0; align-items: center;
}
.quick-pill {
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.05); font-weight: 700;
}
.quick-pill strong { color: white; }

.hero-shell {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  padding: 28px;
  border-radius: 30px;
}
.hero-panel {
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
}
.hero-actions, .mini-actions, .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 20px; }
.info-box {
  padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
}
.info-box strong { display: block; margin-bottom: 6px; }
.hero-side {
  display: grid; gap: 16px;
}
.hero-image {
  border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); min-height: 280px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.cards-2, .grid-3, .grid-4 {
  display: grid; gap: 18px;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stat-grid, .dashboard-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
}
.stat, .dashboard-grid div {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 16px;
}
.stat span, .dashboard-grid span { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 6px; }

.tag, .pill, .status-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: white; font-weight: 700;
}
.success-tag, .status-pill.accepted { background: rgba(129,255,186,.14); border-color: rgba(129,255,186,.28); color: var(--green); }
.status-pill.rejected { background: rgba(255,125,125,.13); border-color: rgba(255,125,125,.25); color: #ffb7b7; }
.status-pill.open { background: rgba(255,207,123,.14); border-color: rgba(255,207,123,.28); color: var(--warning); }

.profile-head {
  display: flex; align-items: center; gap: 18px;
}
.profile-head img, .profile-hero img {
  width: 96px; height: 96px; border-radius: 22px; object-fit: cover; border: 1px solid rgba(255,255,255,.12);
}
.profile-hero {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
}
.profile-bio-box {
  padding: 18px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
}

.feed-card, .reply-card, .message-card, .news-card {
  border-radius: 24px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.card-meta {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--muted);
  font-size: .92rem; margin: 10px 0 16px;
}
.layout-sidebar {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px;
}
.forum-item {
  width: 100%; text-align: left; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04);
  border-radius: 20px; padding: 16px; color: var(--text); display: flex; justify-content: space-between; gap: 12px; cursor: pointer;
}
.forum-item.active { border-color: var(--line-strong); background: rgba(255,255,255,.08); }
.forum-item strong { display: block; margin-bottom: 6px; }
.forum-item span, .forum-item small { color: var(--muted); }

.shop-hero, .banner-card {
  padding: 24px; border-radius: 26px; background: linear-gradient(135deg, rgba(255,121,181,.18), rgba(255,255,255,.02));
  border: 1px solid rgba(255,157,203,.25);
}
.dark-shop {
  background: linear-gradient(180deg, rgba(11,8,15,.98), rgba(7,5,10,.98));
  border: 1px solid rgba(255,157,203,.16);
}
.dark-shop .price {
  display: inline-flex; margin: 10px 0 16px; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: white; font-weight: 800;
}
.appeal-card, .user-row {
  border-radius: 24px; padding: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.appeal-head, .user-row { display: grid; gap: 14px; }
.user-row { grid-template-columns: 1fr auto; align-items: center; }
.user-row-main { display: flex; align-items: center; gap: 14px; }
.user-row-main img { width: 52px; height: 52px; border-radius: 16px; }
.user-row-side { display: flex; gap: 10px; align-items: center; }
.empty-state {
  padding: 22px; border-radius: 20px; border: 1px dashed rgba(255,255,255,.14); color: var(--muted);
  background: rgba(255,255,255,.03);
}
.form-grid { display: grid; gap: 14px; }
.form-grid.single { grid-template-columns: 1fr; }
.form-note { color: var(--muted); font-size: .95rem; }
label { display: grid; gap: 10px; color: var(--text); font-weight: 600; }
.footer {
  width: var(--container); margin: 64px auto 40px; padding: 24px 0 0;
  border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.mobile-spacer { height: 8px; }

@media (max-width: 980px) {
  .hero-shell, .layout-sidebar, .cards-2, .grid-3, .grid-4, .profile-hero, .topbar-inner, .user-row {
    grid-template-columns: 1fr;
  }
  .main-nav { display: none; }
  .main-nav.show { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .nav-actions { flex-wrap: wrap; }
  .stat-grid, .dashboard-grid, .hero-grid { grid-template-columns: 1fr; }
}


/* --- Design Refresh --- */
.topbar {
  background: rgba(8, 6, 11, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
}
.topbar-inner {
  grid-template-columns: minmax(260px, 330px) 1fr auto;
  gap: 24px;
  min-height: 92px;
  padding: 10px 0;
}
.brand { min-width: 0; gap: 16px; }
.brand img {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(255,120,181,.18);
}
.brand strong { font-size: 1.16rem; letter-spacing: .01em; }
.brand span { display: block; }

.main-nav {
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.main-nav a {
  padding: 12px 16px;
  transition: background .18s ease, transform .18s ease, color .18s ease;
}
.main-nav a.active,
.main-nav a:hover {
  background: linear-gradient(135deg, rgba(255,120,181,.22), rgba(255,255,255,.08));
  color: white;
  transform: translateY(-1px);
}

.nav-actions { gap: 12px; }
.user-chip {
  gap: 12px;
  padding: 10px 14px;
  min-width: 220px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.user-chip img { width: 40px; height: 40px; }
.user-chip > div { display: flex; flex-direction: column; min-width: 0; }
.user-chip strong {
  display: block;
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip span { color: var(--muted); font-size: .84rem; }

.header-band {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.header-band .container { padding: 16px 0; }
.quick-pill {
  padding: 10px 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-shell {
  padding: 30px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(18, 12, 27, 0.88);
}
.hero-panel {
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255,120,181,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
}
.hero-grid { gap: 15px; margin-top: 22px; }
.info-box,
.stat,
.dashboard-grid div,
.feed-card,
.reply-card,
.message-card,
.news-card,
.forum-item,
.shop-hero,
.banner-card,
.profile-bio-box,
.card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.info-box {
  padding: 20px;
  border-radius: 22px;
}
.info-box strong { margin-bottom: 8px; }
.hero-image {
  min-height: 300px;
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
}

.stat,
.dashboard-grid div { padding: 18px; border-radius: 20px; }

.profile-head { gap: 20px; }
.profile-head > div,
.profile-hero > div { min-width: 0; padding-right: 12px; }
.profile-head img,
.profile-hero img {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(255,120,181,.16);
}
.profile-head h3,
.profile-hero h1,
.feed-card h3,
.reply-card h3,
.message-card h3,
.news-card h3,
.forum-item strong {
  overflow-wrap: anywhere;
}
.feed-card,
.reply-card,
.message-card,
.news-card {
  padding: 22px;
  border-radius: 26px;
}
.card-meta { gap: 12px; margin: 12px 0 16px; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,120,181,.08), transparent 22%),
    radial-gradient(circle at 85% 8%, rgba(255,210,235,.05), transparent 18%);
  z-index: -1;
}
.card,
.feed-card,
.reply-card,
.message-card,
.news-card,
.info-box,
.stat,
.dashboard-grid div,
.forum-item {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover,
.feed-card:hover,
.reply-card:hover,
.message-card:hover,
.news-card:hover,
.info-box:hover,
.stat:hover,
.dashboard-grid div:hover,
.forum-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,157,203,.24);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.footer {
  margin-top: 56px;
  padding: 28px 0 48px;
  background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0));
}
.footer strong { display: block; margin-bottom: 6px; }

@media (max-width: 1100px) {
  .topbar-inner { grid-template-columns: 1fr auto; }
  .main-nav { grid-column: 1 / -1; order: 3; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .topbar-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .nav-actions { gap: 8px; }
  .user-chip { min-width: 0; width: 100%; }
  .user-chip strong { max-width: 100%; }
}



/* SakuraVoid Portal Refresh */
:root{
  --portal-top: rgba(14, 10, 18, 0.9);
  --portal-nav: rgba(255,255,255,.045);
  --portal-nav-hover: rgba(255,255,255,.09);
  --portal-highlight: linear-gradient(135deg, rgba(255,120,181,.22), rgba(255,255,255,.03));
  --portal-border: rgba(255,195,226,.18);
  --portal-shadow: 0 28px 90px rgba(0,0,0,.42);
}

body{
  background:
    radial-gradient(circle at 50% -10%, rgba(255,132,188,.09), transparent 30%),
    linear-gradient(180deg, #07050b 0%, #090611 40%, #0a0810 100%);
}

.topbar{
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(18,12,24,.92), rgba(10,8,13,.86));
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.topbar-inner{
  min-height: 96px;
  grid-template-columns: minmax(240px, auto) 1fr auto;
  gap: 26px;
}

.brand{
  gap: 16px;
  min-width: 0;
}
.brand img{
  width: 64px;
  height: 64px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255,120,181,.2);
}
.brand div{
  min-width: 0;
}
.brand strong{
  font-size: 1.18rem;
  letter-spacing: .02em;
}
.brand span{
  display: block;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav{
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.main-nav a{
  position: relative;
  padding: 13px 18px;
  background: var(--portal-nav);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.main-nav a.active,
.main-nav a:hover{
  background: var(--portal-nav-hover);
  border-color: var(--portal-border);
  color: white;
}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:-8px;
  height:3px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.nav-actions{
  gap: 12px;
  min-width: max-content;
}
.nav-actions [data-guest-only]{
  display:none !important;
}
.user-chip{
  min-width: 228px;
  padding: 10px 14px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.user-chip > div{
  min-width: 0;
}
.user-chip strong,
.user-chip span{
  display:block;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-chip img{
  width: 40px;
  height: 40px;
  border-radius: 14px;
}
.btn.primary{
  padding-inline: 22px;
}
.header-band{
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
}
.header-band .container{
  padding-block: 16px;
}
.quick-pill{
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.hero-shell{
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--portal-shadow);
  padding: 30px;
  gap: 24px;
}
.hero-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 14% 14%, rgba(255,120,181,.12), transparent 22%),
    radial-gradient(circle at 90% 8%, rgba(255,192,223,.08), transparent 18%);
}
.hero-panel,
.hero-image,
.shop-hero,
.banner-card{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.hero-panel{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.hero-panel h1{
  max-width: 14ch;
}
.hero-panel p{
  max-width: 64ch;
}
.info-box{
  padding: 20px;
  min-height: 116px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
}

.glass.card,
.glass{
  box-shadow: var(--portal-shadow);
}
.card{
  padding: 26px;
}

.cards-2,
.grid-3,
.grid-4{
  gap: 20px;
}

.feed-card, .reply-card, .message-card, .news-card, .appeal-card, .user-row, .dark-shop{
  box-shadow: 0 18px 45px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.03);
}

.profile-head,
.profile-hero{
  gap: 22px;
}
.profile-head img, .profile-hero img{
  width: 104px;
  height: 104px;
  border-radius: 24px;
}

.profile-hero h1,
.profile-head h3,
.user-row-main strong,
.card h3,
.card h2{
  word-break: break-word;
  overflow-wrap: anywhere;
}

.form-grid label{
  display:grid;
  gap: 8px;
}
textarea, input, select{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
input, textarea{
  min-width: 0;
}

.footer{
  width: var(--container);
  margin: 42px auto 30px;
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}
.footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.footer-links a{
  color: var(--primary-2);
}

.news-hero-strip,
.portal-strip{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.portal-stat{
  padding:18px 20px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.03));
}
.portal-stat span{
  display:block;
  color: var(--muted);
  margin-bottom: 8px;
}
.portal-stat strong{
  font-size: 1.15rem;
}

.clean-link-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.clean-link{
  padding:16px 18px;
  border-radius:18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}
.clean-link strong{
  display:block;
  margin-bottom:6px;
}

@media (max-width: 1100px){
  .topbar-inner{
    grid-template-columns: 1fr;
    padding: 14px 0;
  }
  .main-nav{
    justify-content:flex-start;
  }
  .nav-actions{
    justify-content:flex-start;
  }
  .user-chip{
    min-width: 0;
    width: 100%;
    max-width: 340px;
  }
  .hero-shell, .layout-sidebar, .cards-2, .grid-3, .grid-4, .stat-grid, .dashboard-grid, .portal-strip, .clean-link-grid{
    grid-template-columns: 1fr !important;
  }
}


.main-nav { justify-content: center; }
.main-nav .active-nav { background: rgba(255,255,255,.08); }
.topbar-inner { grid-template-columns: auto 1fr auto; }
.shop-bg-showcase {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12,8,18,.80), rgba(12,8,18,.94)), url('/assets/bg.png') center/cover no-repeat;
  border: 1px solid rgba(255,157,203,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
}
.shop-bg-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,121,181,.20), rgba(255,255,255,.03));
  pointer-events: none;
}
.shop-bg-showcase > * { position: relative; z-index: 1; }
.profile-clean { grid-template-columns: auto auto 1fr; align-items: center; }
.profile-skin { width: 82px; height: 132px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.35)); }
.forum-clean-layout { align-items: start; }
.forum-header-row { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.news-card p.long-text { margin-top: 10px; }
@media (max-width: 900px) {
  .profile-clean { grid-template-columns: auto 1fr; }
  .profile-skin { width: 72px; height: 116px; }
  .forum-clean-layout { grid-template-columns: 1fr; }
}


.topbar-inner { gap: 18px; }
.brand { min-width: 240px; }
.main-nav { gap: 12px; }
.main-nav a { padding: 11px 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.main-nav a.active-nav, .main-nav a.active, .main-nav a:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.14); }
.nav-actions { margin-left: auto; }
.profile-clean { grid-template-columns: auto 1fr; }
.profile-clean .profile-subline { margin-top: 10px; max-width: 42rem; }
.profile-hero img[data-profile-avatar] { width: 126px; height: 126px; border-radius: 28px; box-shadow: 0 20px 34px rgba(0,0,0,.28); }
.profile-skin { display: none !important; }
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.forum-clean-layout { grid-template-columns: .9fr 1.1fr; }
.shop-hero.shop-bg-showcase { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,110,170,.16), rgba(10,7,15,.72)); }
.shop-hero.shop-bg-showcase::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,7,15,.82), rgba(10,7,15,.35)), url('/assets/bg.png') center/cover no-repeat; opacity: .42; }
.shop-hero.shop-bg-showcase > * { position: relative; z-index: 1; }
.dark-shop { backdrop-filter: blur(12px); }
@media (max-width: 900px) {
  .main-nav { width: 100%; justify-content: flex-start; }
  .nav-actions { width: 100%; justify-content: flex-end; }
  .stat-grid { grid-template-columns: 1fr; }
}


.news-actions { display:flex; gap:10px; align-items:center; }
.danger-btn { border-color: rgba(255,135,135,.25)!important; color:#ffd2d2; }
.shop-tier-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04)),
    radial-gradient(circle at top right, rgba(255,120,181,.18), transparent 42%),
    rgba(18,12,27,.92);
  border: 1px solid rgba(255,192,223,.18);
}
.shop-tier-card::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%);
  pointer-events:none;
}
.shop-kicker {
  font-size:.82rem;
  color: var(--primary-2);
  font-weight:700;
}
.profile-clean img[data-profile-avatar] {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}



.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.section-copy{
  margin:10px 0 0;
  color:var(--muted);
  max-width:760px;
  line-height:1.7;
}
.shop-split{
  display:grid;
  gap:24px;
}
.store-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}
.store-card{
  position:relative;
  overflow:hidden;
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(255, 177, 214, .18);
  background:
    linear-gradient(180deg, rgba(21, 14, 30, .94), rgba(12, 8, 18, .98)),
    radial-gradient(circle at top right, rgba(255,120,181,.14), transparent 35%);
  box-shadow:0 22px 60px rgba(0,0,0,.28);
}
.store-card::before{
  content:"";
  position:absolute;
  inset:auto -10% -30% auto;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(255,120,181,.12), transparent 68%);
  pointer-events:none;
}
.rank-card.tier-top{
  border-color:rgba(255, 163, 208, .28);
  box-shadow:0 24px 80px rgba(255,120,181,.12), 0 22px 60px rgba(0,0,0,.28);
}
.merch-card{
  background:
    linear-gradient(180deg, rgba(18, 14, 24, .96), rgba(10, 8, 14, .98)),
    radial-gradient(circle at top right, rgba(255,196,223,.12), transparent 36%);
}
.store-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.store-code{
  color:var(--primary-2);
  font-weight:800;
  font-size:.98rem;
}
.store-card h3{
  margin:0 0 12px;
  font-size:2rem;
  letter-spacing:-.03em;
}
.store-price{
  display:inline-flex;
  align-items:center;
  margin:0 0 16px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.08);
  font-weight:800;
  font-size:1.15rem;
}
.store-text{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.75;
}
.store-list{
  margin:0 0 20px;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.store-list li{
  position:relative;
  padding-left:18px;
  color:var(--text);
}
.store-list li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--primary);
  font-weight:800;
}
.merch-grid .store-card{
  min-height:100%;
}
.footer p{
  line-height:1.7;
}
@media (max-width: 980px){
  .section-head{flex-direction:column;}
  .store-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 700px){
  .store-grid{grid-template-columns:1fr;}
  .store-card h3{font-size:1.65rem;}
}


.author-link{
  color:#ffd1ea;
  text-decoration:none;
  font-weight:700;
}
.author-link:hover{
  text-decoration:underline;
}
.author-role{
  opacity:.78;
}
.profile-bio-box{
  min-height:120px;
}
.user-chip img, [data-profile-avatar]{
  image-rendering:auto;
}
