:root {
  --bg: #edf6ff;
  --bg-deep: #dcecff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(247, 251, 255, 0.78);
  --surface-strip: rgba(255, 255, 255, 0.34);
  --surface-strip-strong: rgba(255, 255, 255, 0.48);
  --text: #0f172a;
  --muted: #5f6f86;
  --line: rgba(128, 177, 224, 0.24);
  --line-strong: rgba(78, 141, 214, 0.22);
  --accent: #2778ea;
  --accent-deep: #1455ae;
  --accent-soft: rgba(39, 120, 234, 0.12);
  --teal: #18a5c9;
  --shadow: 0 24px 72px rgba(109, 149, 204, 0.16);
  --shadow-soft: 0 10px 24px rgba(111, 153, 207, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1400px;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(125, 211, 252, 0.34), transparent 22%),
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.8), transparent 24%),
    radial-gradient(circle at 86% 6%, rgba(59, 130, 246, 0.18), transparent 18%),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 46%, #e7f0fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 88%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

.template-shell {
  padding: 0 0 104px;
}

.template-header,
.hero-panel,
.board-panel,
.template-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: clamp(12px, 2vw, 24px);
}

.template-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0 0;
  padding-inline: clamp(12px, 2vw, 24px);
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(12, 38, 96, 0.1), rgba(12, 38, 96, 0.02) 72%, transparent);
  border-bottom: 0;
}

.template-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.template-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(84px, 14vw, 108px);
  flex-shrink: 0;
}

.template-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter:
    drop-shadow(0 6px 10px rgba(255, 255, 255, 0.18))
    drop-shadow(0 10px 18px rgba(39, 120, 234, 0.16));
}

.template-brand-copy {
  display: grid;
  gap: 1px;
}

.template-brand-copy strong {
  font-size: 0.84rem;
  line-height: 1;
}

.template-brand-copy small,
.hero-topline-chip,
.hero-eyebrow,
.board-eyebrow,
.board-tip,
.notice-tag,
.notice-index {
  font-family: "DM Sans", sans-serif;
}

.template-brand-copy small {
  color: rgba(20, 85, 174, 0.66);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-main {
  display: grid;
  gap: 0;
}

.hero-panel,
.board-panel,
.floating-bar {
  border: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-panel,
.board-panel {
  position: relative;
  overflow: visible;
  border-radius: 0;
}

.hero-panel {
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
  background:
    linear-gradient(180deg, rgba(222, 238, 255, 0.86), rgba(239, 247, 255, 0.66)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0));
  border-bottom: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.7;
}

.hero-glow-left {
  top: -10px;
  left: -24px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.24), transparent 72%);
}

.hero-glow-right {
  top: -18px;
  right: 0;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(191, 219, 254, 0.28), transparent 74%);
}

.hero-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  position: relative;
  z-index: 1;
}

.hero-topline-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(39, 120, 234, 0.08);
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-topline-chip.soft {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.hero-eyebrow,
.board-eyebrow {
  margin: 7px 0 0;
  color: var(--accent);
  font-size: 0.63rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero-panel h1,
.board-head h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-panel h1 {
  font-size: clamp(1.46rem, 3.5vw, 2.5rem);
  text-wrap: pretty;
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 72ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.floating-bar-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  flex-shrink: 0;
}

.hero-cta,
.floating-bar-link,
.floating-bar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible,
.floating-bar-link:hover,
.floating-bar-button:hover {
  transform: translateY(-2px);
}

.hero-cta-primary,
.floating-bar-link {
  border-color: rgba(88, 156, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(76, 149, 255, 0.34), rgba(34, 108, 236, 0.18));
  color: var(--accent-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 24px rgba(39, 120, 234, 0.14);
}

.hero-cta-secondary,
.floating-bar-button {
  border-color: rgba(127, 180, 231, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(120, 191, 255, 0.16), rgba(120, 191, 255, 0.04));
  color: rgba(15, 23, 42, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.hero-visual-art {
  position: relative;
  z-index: 0;
  width: min(100%, 760px);
  min-height: 0;
  margin: 0 auto -72px;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 68%,
    rgba(0, 0, 0, 0.28) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 68%,
    rgba(0, 0, 0, 0.28) 88%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-visual-art img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 20px 36px rgba(39, 120, 234, 0.1))
    drop-shadow(0 44px 88px rgba(93, 135, 207, 0.12));
}

.board-panel {
  z-index: 1;
  margin-top: -24px;
  padding-top: 16px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
}

.board-panel::before {
  content: "";
  position: absolute;
  inset: 0 clamp(8px, 2vw, 24px) auto;
  height: 220px;
  background:
    radial-gradient(circle at 14% 24%, rgba(57, 134, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(38, 173, 255, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(120, 191, 255, 0.1), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.notice-grid {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0;
  border-top: 1px solid rgba(143, 187, 235, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(234, 244, 255, 0.08)),
    linear-gradient(90deg, rgba(87, 157, 255, 0.03), rgba(39, 120, 234, 0.01));
}

.notice-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(76, 149, 255, 0.16), transparent 22%),
    radial-gradient(circle at 84% 8%, rgba(56, 189, 248, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

.notice-grid > * {
  position: relative;
  z-index: 1;
}

.notice-card {
  position: relative;
  display: block;
  padding: 12px 0 12px 10px;
  border-top: 1px solid rgba(127, 180, 231, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(86, 150, 255, 0.05), rgba(86, 150, 255, 0)),
    transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(93, 147, 217, 0.04);
  transition: background-color 180ms ease;
}

.notice-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(39, 120, 234, 0.76), rgba(39, 120, 234, 0.08));
}

.notice-card::after {
  content: attr(data-card);
  position: absolute;
  right: 4px;
  top: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(39, 120, 234, 0.08);
  pointer-events: none;
}

.notice-card-featured {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0)),
    radial-gradient(circle at left top, rgba(125, 211, 252, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(57, 134, 255, 0.06), rgba(57, 134, 255, 0));
}

.accent-card {
  background:
    linear-gradient(90deg, rgba(24, 165, 201, 0.1), rgba(24, 165, 201, 0)),
    linear-gradient(180deg, rgba(38, 173, 255, 0.05), rgba(38, 173, 255, 0)),
    transparent;
}

.notice-card:first-child {
  border-top: 0;
  padding-top: 8px;
}

.notice-card:first-child::before {
  top: 8px;
}

.notice-titlebar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
}

.notice-titlebar > div {
  min-width: 0;
}

.notice-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(39, 120, 234, 0.1);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  flex-shrink: 0;
}

.notice-titlebar h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.18;
}

.notice-lines {
  display: grid;
  gap: 0;
  margin-top: 6px;
  padding-left: 38px;
}

.notice-line {
  display: block;
  align-items: start;
  padding: 8px 10px 8px 0;
  border-top: 1px dashed rgba(127, 180, 231, 0.3);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)),
    transparent;
  border-radius: 12px;
}

.notice-line-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.notice-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(39, 120, 234, 0.08);
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.notice-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 10px;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(78, 141, 214, 0.16);
  border-bottom-color: rgba(78, 141, 214, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.notice-metrics .metric-pill:first-child {
  color: var(--accent-deep);
  background: rgba(229, 239, 255, 0.92);
}

.notice-line p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.56;
  max-width: 58ch;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notice-lines .notice-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.template-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.floating-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  transform: none;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid rgba(103, 170, 255, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(180, 221, 255, 0.16)),
    linear-gradient(180deg, rgba(105, 173, 255, 0.16), rgba(105, 173, 255, 0.04));
  backdrop-filter: blur(22px) saturate(145%);
  box-shadow:
    0 18px 42px rgba(87, 129, 204, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
}

.floating-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(56, 189, 248, 0.2), transparent 20%),
    radial-gradient(circle at 88% 28%, rgba(59, 130, 246, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 46%);
  pointer-events: none;
}

.floating-bar-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  position: relative;
  z-index: 1;
}

.floating-bar-copy span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(125, 188, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, rgba(76, 149, 255, 0.22), rgba(76, 149, 255, 0.06));
  color: var(--accent-deep);
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 18px rgba(39, 120, 234, 0.1);
}

.telegram-icon svg {
  width: 18px;
  height: 18px;
}

.floating-bar-copy strong {
  font-size: 0.92rem;
  white-space: nowrap;
  color: rgba(15, 23, 42, 0.88);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
}

.floating-bar-actions {
  position: relative;
  z-index: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 960px) {
  .notice-titlebar h3 {
    font-size: 1.02rem;
  }

  .notice-lines {
    padding-left: 42px;
  }
}

@media (max-width: 720px) {
  .template-shell {
    padding-bottom: 96px;
  }

  .template-header,
  .hero-panel,
  .board-panel,
  .template-footer {
    padding-inline: 10px;
  }

  .template-header {
    padding-top: 6px;
    padding-bottom: 0;
  }

  .template-brand {
    gap: 0;
    padding: 0;
  }

  .template-brand-mark {
    width: clamp(72px, 24vw, 90px);
  }

  .hero-panel {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-panel h1 {
    font-size: clamp(1.3rem, 6.7vw, 1.82rem);
  }

  .hero-lead {
    font-size: 0.8rem;
  }

  .hero-visual {
    margin-top: 0;
    border-radius: 0;
  }

  .hero-visual-art {
    width: min(100%, 560px);
    margin-bottom: -42px;
  }

  .board-panel {
    margin-top: -14px;
    padding-top: 10px;
  }

  .notice-card {
    padding: 11px 0 11px 8px;
  }

  .notice-card::after {
    right: 0;
    top: 9px;
    font-size: 2.2rem;
  }

  .notice-line {
    padding: 7px 8px 7px 0;
  }

  .notice-line p {
    font-size: 0.74rem;
    line-height: 1.52;
  }

  .notice-titlebar {
    gap: 8px;
  }

  .notice-index {
    min-width: 28px;
    height: 22px;
    padding-inline: 7px;
  }

  .notice-titlebar h3 {
    font-size: 0.92rem;
  }

  .notice-lines {
    margin-top: 6px;
    padding-left: 0;
  }

  .notice-line-head {
    gap: 5px 8px;
  }

  .metric-pill {
    font-size: 0.72rem;
    min-height: 20px;
    padding-inline: 7px;
  }

  .hero-topline-chip {
    font-size: 0.58rem;
  }

  .hero-eyebrow,
  .board-eyebrow {
    font-size: 0.58rem;
  }

  .board-head h2 {
    font-size: 0.92rem;
  }

  .board-tip {
    font-size: 0.6rem;
  }

  .floating-bar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    min-height: 52px;
    padding: 8px 10px;
    gap: 8px;
    border-radius: 18px;
  }

  .floating-bar-copy {
    gap: 8px;
  }

  .floating-bar-copy span {
    width: 30px;
    height: 30px;
  }

  .telegram-icon svg {
    width: 16px;
    height: 16px;
  }

  .floating-bar-copy strong {
    font-size: 0.84rem;
  }

  .floating-bar-link,
  .floating-bar-button {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .floating-bar-actions {
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
