.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.hero-main {
  min-height: 520px;
  padding: 34px 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-main > div,
.hero-main-stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.prototype-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 31, 61, 0.12);
  border: 1px solid rgba(255, 31, 61, 0.38);
  color: #ffd7de;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.prototype-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.hero-copy {
  max-width: 780px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 0;
}

.hero-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-title-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.hero-title span {
  display: block;
  color: var(--red);
  text-shadow: 0 0 28px rgba(255, 31, 61, 0.18);
}

.hero-feature-shell {
  margin-top: 10px;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: block;
  overflow: hidden;
}

.hero-desc {
  display: none;
}

.hero-actions {
  display: none;
}

.hero-feature {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 8, 10, 0.96);
  color: inherit;
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.hero-feature-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.hero-feature-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.48s ease;
  will-change: transform;
}

.hero-feature-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.hero-feature-slide .hero-feature {
  height: 100%;
}

.hero-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 31, 61, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(6, 6, 8, 0.08) 0%, rgba(6, 6, 8, 0.14) 24%, rgba(6, 6, 8, 0.42) 54%, rgba(6, 6, 8, 0.84) 76%, rgba(6, 6, 8, 0.96) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 61, 0.42);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.26), 0 0 30px rgba(255, 31, 61, 0.08);
}

.hero-feature:hover .hero-feature-image {
  transform: scale(1.04);
}

.hero-feature-media,
.hero-feature-copy {
  position: relative;
  z-index: 2;
}

.hero-feature-media {
  position: absolute;
  inset: 0;
}

.hero-feature-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.76);
  transition: transform 0.42s ease;
}

.hero-feature-copy {
  position: absolute;
  right: 28px;
  bottom: 34px;
  width: min(520px, 58%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  z-index: 3;
}

.hero-feature-copy.is-left {
  left: 28px;
  right: auto;
  bottom: 86px;
  align-items: flex-start;
  text-align: left;
}

.hero-feature-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}

.hero-feature-badge .card-status {
  margin: 0;
}

.hero-feature-date {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-feature-title {
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: flex-end;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  text-wrap: balance;
}

.hero-feature-copy.is-left .hero-feature-title {
  justify-content: flex-start;
}

.hero-feature-title-text {
  display: inline-block;
  position: relative;
  max-width: 100%;
  color: #fff8fb;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.hero-feature-title-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translate(-2px, 2px);
  color: rgba(214, 26, 55, 0.72);
  filter: blur(0.4px);
  opacity: 0.95;
  pointer-events: none;
}

.hero-feature-source {
  max-width: 100%;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

.hero-feature-action {
  margin-top: 18px;
  color: #ffd6dd;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-feature-controls {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  pointer-events: none;
}

.hero-feature-nav,
.hero-feature-dot {
  pointer-events: auto;
}

.hero-feature-nav {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.52);
  color: #fff1f4;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.hero-feature-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 31, 61, 0.46);
  background: rgba(18, 10, 12, 0.74);
}

.hero-feature-nav span {
  transform: translateY(-1px);
}

.hero-feature-dots {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.44);
  backdrop-filter: blur(10px);
}

.hero-feature-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.hero-feature-dot:hover,
.hero-feature-dot.is-active {
  background: var(--red);
  box-shadow: 0 0 16px rgba(255, 31, 61, 0.4);
}

.hero-feature-dot.is-active {
  transform: scale(1.18);
}

.hero-entry-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.entry-card {
  overflow: hidden;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  transition: 0.25s ease;
  min-height: 180px;
}

.entry-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(255,31,61,0.26), transparent 65%);
  opacity: 0;
  transition: 0.25s ease;
}

.entry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 61, 0.45);
  background: linear-gradient(180deg, rgba(255,31,61,0.14), rgba(255,255,255,0.02));
}

.entry-card:hover::after {
  opacity: 1;
}

.entry-tag {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
}

.entry-title {
  margin-top: 2px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.entry-sub {
  margin-top: 8px;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

.entry-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff93a5;
  font-size: 14px;
  font-weight: 800;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-card {
  padding: 20px 24px 24px;
  min-height: 0;
  height: auto;
}

.hero-side .section-kicker {
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.hero-side .section-title {
  margin-top: 0;
  font-size: 30px;
}

#guild {
  isolation: isolate;
  padding: 20px 24px 20px;
  border-color: rgba(255, 31, 61, 0.18);
  box-shadow:
    var(--shadow-red),
    inset 0 0 0 1px rgba(8, 8, 11, 0.48),
    inset 18px 0 26px rgba(8, 8, 11, 0.16),
    inset -18px 0 26px rgba(8, 8, 11, 0.16);
  background:
    linear-gradient(180deg, rgba(8, 8, 11, 0.14) 0%, rgba(8, 8, 11, 0.22) 34%, rgba(8, 8, 11, 0.82) 78%, rgba(8, 8, 11, 0.96) 100%),
    url("../img/home/guild-archive-bg.png");
  background-position: center center, 54% center;
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-clip: padding-box;
}

#guild::before {
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.68) 0%, rgba(8, 8, 11, 0.28) 12%, rgba(8, 8, 11, 0.1) 22%, rgba(8, 8, 11, 0.1) 78%, rgba(8, 8, 11, 0.28) 88%, rgba(8, 8, 11, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, rgba(255, 31, 61, 0.08), transparent 26%);
}

#guild > * {
  position: relative;
  z-index: 1;
}

#guild .section-kicker {
  border-color: rgba(255, 31, 61, 0.42);
  background: rgba(255, 31, 61, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 12px 22px rgba(0,0,0,0.24);
}

#guild .section-title {
  min-height: 0;
  padding-right: 0;
  margin-top: 0;
  color: #fff6f8;
  text-shadow:
    0 0 18px rgba(255, 31, 61, 0.12),
    0 8px 24px rgba(0,0,0,0.22);
}

.guild-summary {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}

#guild .guild-summary {
  position: relative;
  margin-top: 12px;
  padding: 16px 16px 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(90deg, rgba(255, 31, 61, 0.12), rgba(255,255,255,0.02)),
    rgba(0,0,0,0.26);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 16px 26px rgba(0,0,0,0.18);
  overflow-wrap: anywhere;
}

.guild-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#guild .guild-stats {
  margin-top: 14px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.stat-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

#guild .stat-box {
  overflow: hidden;
  min-width: 0;
  min-height: 96px;
  padding: 15px 15px 13px;
  border-radius: 18px;
  border-color: rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(255, 31, 61, 0.11), transparent 58%),
    rgba(9, 8, 11, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 18px 28px rgba(0,0,0,0.18);
}

#guild .stat-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 31, 61, 0.96), rgba(255, 194, 64, 0.56));
  pointer-events: none;
}

#guild .stat-box.is-primary {
  grid-column: span 3;
  min-height: 104px;
  padding-top: 16px;
  background:
    linear-gradient(180deg, rgba(255, 31, 61, 0.16), rgba(255,255,255,0.03)),
    linear-gradient(135deg, rgba(255,255,255,0.05), transparent 46%),
    rgba(29, 8, 13, 0.82);
  border-color: rgba(255, 31, 61, 0.24);
}

#guild .stat-box.is-emphasis {
  border-color: rgba(255, 194, 64, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 194, 64, 0.06), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(255, 31, 61, 0.08), transparent 58%),
    rgba(12, 10, 12, 0.68);
}

#guild .stat-box.is-emphasis::before {
  background: linear-gradient(90deg, rgba(255, 194, 64, 0.88), rgba(255, 31, 61, 0.52));
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 800;
}

#guild .stat-label {
  color: #ffb8c3;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.stat-value {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  font-weight: 700;
}

#guild .stat-value {
  margin-top: 12px;
  color: #fff4f6;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 800;
  overflow-wrap: anywhere;
}

#guild .stat-box.is-primary .stat-value {
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.chip-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#guild-chips:empty {
  display: none;
}

.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}

#guild-system {
  isolation: isolate;
  border-color: rgba(255, 31, 61, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 31, 61, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(9,9,11,0.98), rgba(4,4,6,0.98));
}

#guild-system::before {
  background:
    linear-gradient(140deg, rgba(255,255,255,0.05), transparent 18%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 28px),
    linear-gradient(90deg, transparent 0 72%, rgba(255, 31, 61, 0.1) 72% 74%, transparent 74% 100%);
}

#guild-system::after {
  content: "TACTICAL BOARD / 02";
  position: absolute;
  right: 28px;
  bottom: 20px;
  color: rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  pointer-events: none;
}

#guild-system .title-row {
  position: relative;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#guild-system .section-kicker {
  border-color: rgba(255, 31, 61, 0.4);
  background: rgba(255, 31, 61, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

#guild-system .title-left h2 {
  margin-top: 0;
  text-shadow: 0 0 24px rgba(255, 31, 61, 0.12);
}

.guild-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.guild-network-card {
  position: relative;
  min-height: 352px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(18,18,22,0.84), rgba(7,7,9,0.96)),
    linear-gradient(145deg, rgba(255, 31, 61, 0.09), transparent 48%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  box-shadow:
    0 24px 44px rgba(0,0,0,0.26),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.guild-network-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.guild-network-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 0;
}

.guild-network-card::after {
  content: "";
  position: absolute;
  right: -14px;
  top: -24px;
  width: 138px;
  height: 138px;
  background: radial-gradient(circle, rgba(255, 31, 61, 0.16), transparent 68%);
  pointer-events: none;
}

.guild-network-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.guild-network-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,7,9,0.12) 0%, rgba(7,7,9,0.36) 30%, rgba(7,7,9,0.76) 62%, rgba(7,7,9,0.96) 100%),
    linear-gradient(90deg, rgba(7,7,9,0.94) 0%, rgba(7,7,9,0.76) 22%, rgba(7,7,9,0.42) 54%, rgba(7,7,9,0.68) 76%, rgba(7,7,9,0.9) 100%);
}

.guild-network-bg-image {
  --guild-network-bg-scale: 1.03;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--guild-network-bg-scale));
  opacity: 0.38;
  filter: saturate(0.96) contrast(1.03) brightness(0.9);
}

.guild-network-bg-image.is-contain {
  --guild-network-bg-scale: 0.72;
  object-fit: contain;
  transform: scale(var(--guild-network-bg-scale));
  opacity: 0.18;
  filter: none;
}

.guild-network-card.is-featured {
  grid-column: span 2;
  min-height: 364px;
  border-color: rgba(255, 31, 61, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 31, 61, 0.14), rgba(12,12,15,0.92)),
    linear-gradient(145deg, rgba(255,255,255,0.05), transparent 44%);
}

.guild-network-card.is-featured::before {
  border-color: rgba(255,255,255,0.08);
}

.guild-network-card.is-featured .guild-network-bg-image {
  opacity: 0.42;
  filter: saturate(0.98) contrast(1.04) brightness(0.9);
}

.guild-network-card.is-core::after {
  background: radial-gradient(circle, rgba(255, 31, 61, 0.22), transparent 66%);
}

.guild-network-card.is-leisure {
  border-color: rgba(176, 208, 255, 0.16);
}

.guild-network-card.is-leisure::after {
  background: radial-gradient(circle, rgba(124, 174, 255, 0.14), transparent 70%);
}

.guild-network-card.is-ranking {
  border-color: rgba(255, 214, 120, 0.18);
}

.guild-network-card.is-growth {
  border-color: rgba(255, 149, 112, 0.2);
}

.guild-network-card.is-expanding {
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(10,10,12,0.94)),
    linear-gradient(145deg, rgba(255, 179, 194, 0.08), transparent 48%);
}

.guild-network-card.is-expanding .guild-network-bg-layer {
  opacity: 1;
}

.guild-network-card.is-expanding .guild-network-bg-image {
  opacity: 0.16;
}

.guild-network-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  min-height: 114px;
}

.guild-network-heading {
  min-width: 0;
  display: grid;
  grid-template-rows: 30px 72px;
  row-gap: 10px;
  align-content: start;
}

.guild-network-card.is-featured .guild-network-heading {
  grid-template-rows: 30px auto;
}

.guild-network-kicker {
  width: max-content;
  max-width: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.36);
  color: #ffb8c3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
}

.guild-network-card.is-core .guild-network-kicker {
  color: #ffd2da;
  border-color: rgba(255, 31, 61, 0.3);
}

.guild-network-card.is-leisure .guild-network-kicker {
  color: #d7e7ff;
  border-color: rgba(176, 208, 255, 0.22);
}

.guild-network-card.is-ranking .guild-network-kicker {
  color: #ffe39a;
  border-color: rgba(255, 214, 120, 0.24);
}

.guild-network-card.is-growth .guild-network-kicker {
  color: #ffc6b4;
  border-color: rgba(255, 149, 112, 0.24);
}

.guild-network-card.is-expanding .guild-network-kicker {
  color: #dfdfdf;
  border-color: rgba(255,255,255,0.16);
}

.guild-network-name {
  position: relative;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.04;
  white-space: pre-line;
  text-wrap: balance;
  display: flex;
  align-items: flex-end;
  color: #fff6f8;
  padding-bottom: 14px;
  box-sizing: border-box;
  overflow: hidden;
  text-shadow: 0 0 18px rgba(255, 31, 61, 0.18);
}

.guild-network-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 31, 61, 0.96), rgba(255,255,255,0));
}

.guild-network-card:not(.is-featured) .guild-network-name {
  min-height: 0;
  height: 72px;
}

.guild-network-card.is-featured .guild-network-name {
  font-size: 34px;
  min-height: auto;
}

.guild-network-rank {
  flex-shrink: 0;
  align-self: start;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.42);
  color: #ffe39a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.guild-network-role {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, rgba(255, 31, 61, 0.1), rgba(255,255,255,0.03));
  color: #ffe7eb;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  height: 70px;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guild-network-summary-text {
  margin-top: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.24);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
  height: 130px;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guild-network-details {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 176px;
  min-height: 176px;
  align-content: start;
}

.guild-network-card.has-single-detail .guild-network-detail {
  grid-column: auto;
}

.guild-network-detail {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  height: 82px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.guild-network-detail-label {
  color: #ff9cad;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.guild-network-detail-value {
  margin-top: 8px;
  color: #fff7f8;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.guild-network-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}

.guild-network-state {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 31, 61, 0.26);
  background: rgba(255, 31, 61, 0.14);
  color: #ffcad3;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guild-network-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guild-network-tag {
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.04);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
}

.signal-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

#signal-panel {
  min-height: 314px;
  display: flex;
  flex-direction: column;
  padding-bottom: 28px;
}

#signal-panel .signal-list {
  margin-top: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.signal-item {
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: 0.25s ease;
  min-width: 0;
  min-height: 98px;
}

.signal-item:hover {
  transform: translateX(3px);
  border-color: rgba(255, 31, 61, 0.42);
  background: rgba(255, 31, 61, 0.08);
}

.signal-item > div:first-child {
  min-width: 0;
}

.signal-name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.signal-sub {
  margin-top: 7px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.signal-ver {
  flex-shrink: 0;
  color: #ff9cad;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 900;
}

.block {
  margin-top: 22px;
  padding: 28px;
}

#tools {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(14, 8, 10, 0.82), rgba(8, 8, 11, 0.94)),
    linear-gradient(135deg, rgba(255, 31, 61, 0.20), rgba(255, 31, 61, 0.08) 34%, transparent 68%),
    radial-gradient(circle at 72% 34%, rgba(111, 255, 193, 0.12), transparent 18%),
    url("../img/tools/tool-workshop-control-room.png");
  background-position: center center, center center, 72% 34%, 72% center;
  background-repeat: no-repeat;
  background-size: auto, auto, auto, cover;
  background-clip: padding-box;
}

#tools::before {
  background:
    linear-gradient(90deg, rgba(10, 7, 8, 0.97) 0%, rgba(10, 7, 8, 0.94) 18%, rgba(9, 8, 10, 0.84) 36%, rgba(9, 8, 10, 0.62) 60%, rgba(9, 8, 10, 0.76) 100%),
    linear-gradient(135deg, rgba(255, 31, 61, 0.12), rgba(255, 31, 61, 0.04) 42%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 26%);
}

#tools::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 31, 61, 0.14), transparent 24%),
    radial-gradient(circle at 72% 34%, rgba(111, 255, 193, 0.08), transparent 16%),
    linear-gradient(90deg, transparent 0 60%, rgba(111, 255, 193, 0.03) 74%, transparent 100%);
}

#tools > * {
  position: relative;
  z-index: 1;
}

#tools .section-kicker {
  border-color: rgba(255, 31, 61, 0.26);
  background: rgba(255, 31, 61, 0.10);
  color: #ffd2da;
}

#tools .title-left h2 {
  margin-top: 0;
  text-shadow:
    0 0 18px rgba(255, 31, 61, 0.10),
    0 8px 24px rgba(0, 0, 0, 0.24);
}

#creators .title-left h2,
#guild-hub .title-left h2 {
  margin-top: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.tool-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 18, 20, 0.82), rgba(10, 10, 12, 0.94)),
    linear-gradient(135deg, rgba(255, 31, 61, 0.08), transparent 42%);
  min-height: 0;
  transition: 0.28s ease;
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 31, 61, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%);
  pointer-events: none;
  z-index: 0;
}

.tool-card > * {
  position: relative;
  z-index: 1;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 31, 61, 0.42);
  box-shadow:
    0 22px 40px rgba(255, 0, 64, 0.12),
    0 0 24px rgba(255, 31, 61, 0.08);
}

.tool-type {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 900;
}

.tool-name {
  margin-top: 4px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.04;
}

.tool-desc {
  margin-top: 10px;
  min-height: calc(3 * 1.8em);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}

.tool-card .card-action {
  margin-top: 14px;
  padding-top: 0;
}

.two-col {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.guild-hub-grid,
.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  grid-auto-rows: 248px;
}

.guild-hub-card,
.creator-card {
  height: 248px;
  min-height: 248px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: 0.24s ease;
  overflow: hidden;
}

.creator-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 31, 61, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(9, 9, 10, 0.98) 0%, rgba(9, 9, 10, 0.95) 30%, rgba(9, 9, 10, 0.8) 52%, rgba(9, 9, 10, 0.5) 72%, rgba(9, 9, 10, 0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

.creator-card > :not(.creator-bg-layer) {
  position: relative;
  z-index: 1;
}

.creator-bg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.creator-bg-image {
  position: absolute;
  top: 50%;
  right: 0;
  height: 128%;
  width: auto;
  transform: translateY(-50%) scale(1.02);
  opacity: var(--creator-bg-opacity, 0.18);
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04) brightness(0.96);
}

.guild-hub-card:hover,
.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 61, 0.42);
  background: rgba(255, 31, 61, 0.08);
}

.guild-hub-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guild-hub-desc {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.creator-top {
  display: block;
}

#creators .title-left,
#guild-hub .title-left {
  min-width: 0;
}

#creators .title-row,
#guild-hub .title-row {
  position: relative;
  margin-bottom: 16px;
  padding-bottom: 14px;
  min-height: 74px;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#creators .title-row::after,
#guild-hub .title-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 31, 61, 0.9), rgba(255, 31, 61, 0.22), transparent 100%);
  pointer-events: none;
}

.members-title,
.guild-title {
  white-space: nowrap;
  word-break: keep-all;
}

.creator-info {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-width: 0;
}

.creator-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.creator-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 1px;
}

.avatar {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
  isolation: isolate;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 38%),
    radial-gradient(circle at 76% 78%, rgba(255, 31, 61, 0.18), transparent 42%);
  pointer-events: none;
  z-index: 2;
}

.avatar.has-image {
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.1);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 0 22px rgba(255, 31, 61, 0.14);
}

.creator-card:hover .avatar.has-image {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 28px rgba(255, 31, 61, 0.2);
}

.avatar.is-logo {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(0,0,0,0.48);
}

.avatar.is-logo .avatar-img {
  object-fit: contain;
  padding: 6px;
  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,0.4))
    drop-shadow(0 0 10px rgba(255, 31, 61, 0.16));
}

.avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
  place-items: center;
  font-weight: 900;
  color: var(--red);
  z-index: 1;
}

.avatar-fallback.is-visible {
  display: grid;
}

.creator-name {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-role {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.creator-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  color: var(--text-3);
  font-size: 11px;
  line-height: 1.2;
  flex-wrap: wrap;
}

.creator-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.creator-meta-label {
  color: #a79ea1;
  letter-spacing: 0.08em;
}

.creator-meta-value {
  color: #ffe39a;
  font-weight: 800;
  white-space: nowrap;
}

.creator-meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.creator-bar {
  margin-top: 16px;
  height: 12px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: linear-gradient(90deg, rgba(255,31,61,0.16), rgba(255,255,255,0.03));
}

.guild-hub-card .card-action,
.creator-card .card-action {
  margin-top: auto;
  padding-top: 14px;
}

.recruit {
  margin-top: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 20px;
  align-items: center;
}

.recruit-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.recruit-title span {
  display: block;
  color: var(--red);
}

.recruit-desc {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
  max-width: 650px;
}

.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.recruit-btn {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: 0.24s ease;
}

.recruit-btn:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 31, 61, 0.42);
  background: rgba(255, 31, 61, 0.08);
}

.recruit-btn-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.recruit-btn-sub {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .hero,
  .two-col,
  .recruit {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .hero-side,
  .side-card {
    height: auto;
  }

  .hero-main > div,
  .hero-main-stack {
    min-height: 0;
  }

  .hero-side {
    display: flex;
  }

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

  .title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  #creators .title-row,
  #guild-hub .title-row {
    min-height: 0;
  }

  .guild-network-card.is-featured {
    grid-column: span 1;
  }
}

@media (max-width: 860px) {
  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-entry-grid,
  .guild-stats,
  .guild-network-grid,
  .guild-hub-grid,
  .creator-grid,
  .recruit-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero-main,
  .side-card,
  .block,
  .recruit {
    padding: 22px;
  }

  .hero-main > div {
    height: auto;
  }

  .hero-feature-copy {
    right: 24px;
    bottom: 28px;
    width: min(420px, 58%);
  }

  .hero-feature-copy.is-left {
    left: 24px;
    right: auto;
    bottom: 78px;
  }

  .hero-feature-controls {
    left: 18px;
    bottom: 16px;
  }

  .brand-title {
    font-size: 20px;
  }

  .title-left h2 {
    font-size: 34px;
  }

  .section-title {
    font-size: 28px;
  }

  #guild .section-title {
    min-height: 0;
    padding-right: 0;
  }

  #guild-system::after {
    opacity: 0.5;
  }

  #guild .guild-stats {
    grid-template-columns: 1fr;
  }

  #guild .stat-box.is-primary {
    grid-column: auto;
  }

  .guild-network-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(var(--max), calc(100% - 20px));
    padding-top: 12px;
  }

  .brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .logo-badge {
    padding: 3px;
  }

  .brand-logo {
    transform: scale(1.06);
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-feature-copy {
    right: 18px;
    bottom: 18px;
    width: min(300px, 72%);
  }

  .hero-feature-copy.is-left {
    left: 18px;
    right: auto;
    bottom: 64px;
  }

  .hero-feature-controls {
    left: 12px;
    bottom: 12px;
    gap: 12px;
  }

  .hero-feature-title {
    font-size: 22px;
    max-width: 100%;
  }

  .hero-feature-badge {
    top: 14px;
    right: 14px;
  }

  .hero-feature-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .hero-feature-dots {
    gap: 8px;
    padding: 9px 12px;
  }

  .hero-feature-dot {
    width: 9px;
    height: 9px;
  }

  .entry-title,
  .tool-name,
  .guild-hub-title {
    font-size: 22px;
  }

  .recruit-title {
    font-size: 34px;
  }

  #guild-system::after {
    display: none;
  }

  #guild .stat-box.is-primary .stat-value {
    font-size: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

a.entry-card,
a.tool-card,
a.guild-hub-card,
a.creator-card,
a.recruit-btn {
  display: block;
  color: inherit;
  text-decoration: none;
}

.is-clickable {
  cursor: pointer;
}

.is-disabled {
  opacity: 0.88;
}

.card-status {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.card-status.is-available {
  color: #aaf7c8;
  background: rgba(38, 201, 124, 0.12);
  border-color: rgba(38, 201, 124, 0.28);
}

.card-status.is-planning {
  color: #d2d2d2;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.card-status.is-external {
  color: #ffe39a;
  background: rgba(255, 194, 64, 0.12);
  border-color: rgba(255, 194, 64, 0.28);
}

.card-status.is-updating {
  color: #ffb8c3;
  background: rgba(255, 31, 61, 0.12);
  border-color: rgba(255, 31, 61, 0.28);
}

.card-action {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff93a5;
  font-size: 13px;
  font-weight: 800;
  transition: 0.25s ease;
}

.is-clickable:hover .card-action {
  color: #ffffff;
  transform: translateX(2px);
}

.is-disabled .card-action {
  color: #8f8f8f;
}

.creator-note {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.7;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 3);
}

.tool-card.is-disabled,
.guild-hub-card.is-disabled,
.creator-card.is-disabled,
.recruit-btn.is-disabled {
  background: rgba(255,255,255,0.025);
}

.recruit-btn .card-action {
  margin-top: 14px;
}
