:root {
  color-scheme: light;
  --ink: #151616;
  --muted: #626964;
  --line: #d9ded8;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --teal: #0e9f8d;
  --teal-dark: #087365;
  --coral: #ef5f4c;
  --gold: #d79a1e;
  --violet: #6b5dd3;
  --shadow: 0 18px 44px rgba(24, 30, 28, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(14, 159, 141, 0.12), transparent 34rem),
    linear-gradient(180deg, #f4f8f1 0%, #fbfbf7 38%, #f5f1ea 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.app-shell {
  min-height: 100vh;
  padding-bottom: 78px;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.compact-hero {
  min-height: 430px;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(90deg, rgba(8, 115, 101, 0.58), rgba(239, 95, 76, 0.15));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  cursor: pointer;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 960px);
  min-height: 420px;
  margin: 0 auto;
  padding: 34px 18px 58px;
}

.compact-hero .hero__content {
  min-height: 330px;
}

.season-pill,
.sync-badge,
.eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-pill {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 9em;
  margin-top: 14px;
  font-size: clamp(2.35rem, 11vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__content p {
  max-width: 32rem;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  padding: 0 18px;
  background: var(--coral);
  color: white;
  box-shadow: 0 12px 26px rgba(239, 95, 76, 0.28);
}

.primary-button--full {
  width: 100%;
}

.ghost-button {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.text-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--teal-dark);
  white-space: nowrap;
}

.text-button--full {
  width: 100%;
  min-height: 44px;
}

.quick-stats,
.section {
  width: min(100%, 960px);
  margin: 0 auto;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 12px 12px 4px;
  transform: translateY(-34px);
}

.stat-tile {
  min-height: 106px;
  padding: 14px 10px;
  border: 1px solid rgba(14, 159, 141, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.stat-tile--warm {
  border-color: rgba(239, 95, 76, 0.26);
}

.stat-tile--mint {
  border-color: rgba(215, 154, 30, 0.28);
}

.stat-tile__label,
.stat-tile span:last-child {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.stat-tile strong {
  display: block;
  margin: 8px 0 4px;
  font-size: clamp(1.36rem, 7vw, 2.1rem);
  line-height: 1;
}

.section {
  padding: 28px 16px 10px;
}

.profile-section {
  padding-top: 2px;
}

.section--surface {
  width: 100%;
  max-width: none;
  margin-top: 22px;
  padding-right: 0;
  padding-left: 0;
  background: #eef7f2;
}

.section--surface > * {
  width: min(100%, 960px);
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

.section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
}

h2 {
  font-size: 1.42rem;
  line-height: 1.15;
}

.sync-badge {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(215, 154, 30, 0.14);
  color: #8a5a05;
}

.view {
  display: none;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 18px 16px 10px;
}

.view.is-active {
  display: block;
}

.module-grid,
.player-grid,
.lane-grid,
.button-grid {
  display: grid;
  gap: 10px;
}

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

.module-card,
.player-card,
.lane-card,
.integration-card,
.empty-card,
.submodule {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(34, 39, 36, 0.07);
}

.module-card,
.player-card {
  width: 100%;
  min-height: 150px;
  padding: 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.module-card--wide {
  grid-column: 1 / -1;
}

.module-card span,
.player-card span,
.lane-card__head span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.module-card strong {
  display: block;
  margin: 9px 0 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.module-card p,
.player-card p,
.lane-card p,
.integration-card p,
.empty-card {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.player-card {
  display: flex;
  min-height: 96px;
  align-items: center;
  gap: 12px;
}

.player-card strong {
  display: block;
  margin: 2px 0;
  font-size: 1.05rem;
}

.button-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

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

.segmented__button,
.chip,
.lane-filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.segmented__button {
  min-width: 76px;
  padding: 0 16px;
}

.chip {
  min-width: 64px;
  padding: 0 14px;
}

.lane-filter {
  min-width: 0;
  padding: 0 10px;
}

.segmented__button.is-active,
.chip.is-active,
.lane-filter.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.ranking-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.profile-card,
.rank-card,
.hero-card,
.match-card,
.tip-card,
.timeline-item,
.message-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(34, 39, 36, 0.07);
}

.profile-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(14, 159, 141, 0.09), transparent 52%),
    var(--surface);
}

.submodule {
  margin-top: 14px;
  padding: 14px;
}

.profile-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #111a1c, var(--teal));
  color: white;
  font-weight: 900;
}

.profile-card h3 {
  font-size: 1.1rem;
}

.profile-card p,
.rank-plate p,
.hero-card p,
.match-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.rank-plate {
  padding: 13px;
  border-radius: 8px;
  background: #151616;
  color: white;
}

.rank-plate span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 800;
}

.rank-plate strong {
  display: block;
  margin: 4px 0;
  color: #ffd66b;
  font-size: 1.35rem;
}

.rank-plate p {
  color: rgba(255, 255, 255, 0.75);
}

.metrics-grid,
.match-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.metrics-grid article,
.match-summary article {
  min-height: 74px;
  padding: 11px;
  border: 1px solid rgba(14, 159, 141, 0.18);
  border-radius: 8px;
  background: rgba(14, 159, 141, 0.06);
}

.metrics-grid span,
.match-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.metrics-grid strong,
.match-summary strong {
  display: block;
  margin-top: 7px;
  font-size: 1.28rem;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge-grid span {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(215, 154, 30, 0.12);
  color: #7a5003;
  font-size: 0.76rem;
  font-weight: 900;
}

.rank-card {
  display: grid;
  grid-template-columns: 40px 46px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
}

.rank-no {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: white;
  font-weight: 900;
}

.rank-main {
  min-width: 0;
}

.rank-main h3 {
  overflow: hidden;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-main p,
.rank-score span,
.tip-card p,
.timeline-item p,
.message-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.rank-score {
  min-width: 62px;
  text-align: right;
}

.rank-score strong {
  display: block;
  font-size: 1.02rem;
}

.tip-grid {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 28px;
}

.hero-pool {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 30px;
}

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

.lane-card {
  padding: 14px;
}

.lane-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.lane-card__head strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: rgba(14, 159, 141, 0.11);
  color: var(--teal-dark);
}

.lane-card__list {
  display: grid;
  gap: 8px;
}

.lane-card__list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.lane-card__list strong {
  font-size: 0.95rem;
}

.lane-card__list span {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.hero-catalog-heading {
  align-items: flex-end;
}

.hero-catalog-board {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(21, 22, 22, 0.1);
  border-radius: 8px;
  background: #12191b;
  color: white;
  box-shadow: var(--shadow);
}

.hero-catalog-board__cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 25, 27, 0.92) 0%, rgba(18, 25, 27, 0.72) 48%, rgba(18, 25, 27, 0.48) 100%),
    url("assets/hok-hero.png") center 22% / cover;
  transform: scale(1.02);
}

.hero-catalog-board__content {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
}

.hero-catalog-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-catalog-kpis article {
  min-height: 74px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-catalog-kpis span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 900;
}

.hero-catalog-kpis strong {
  display: block;
  margin-top: 6px;
  color: #ffd66b;
  font-size: 1.5rem;
  line-height: 1;
}

.hero-catalog-toolbar {
  display: grid;
  gap: 10px;
}

.hero-search {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline: 0;
}

.hero-search input:focus {
  border-color: #ffd66b;
  box-shadow: 0 0 0 4px rgba(255, 214, 107, 0.18);
}

.hero-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.hero-filter-row::-webkit-scrollbar {
  display: none;
}

.hero-filter-row--compact {
  padding-top: 1px;
}

.hero-filter-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.hero-filter-chip.is-active {
  border-color: #ffd66b;
  background: #ffd66b;
  color: #262017;
}

.hero-catalog-layout {
  display: grid;
  gap: 12px;
}

.hero-results-bar {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.catalog-hero-card {
  position: relative;
  display: grid;
  min-height: 158px;
  grid-template-rows: 72px minmax(54px, auto) 18px;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(34, 39, 36, 0.07);
}

.catalog-hero-card.is-selected {
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(215, 154, 30, 0.2);
}

.catalog-hero-card > img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  background: #dde4dd;
}

.catalog-hero-card > div {
  min-width: 0;
  padding: 0 10px;
}

.catalog-hero-card strong {
  display: block;
  overflow: hidden;
  font-size: 0.94rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-hero-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.catalog-hero-card small {
  padding: 0 10px 9px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.tier-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(21, 22, 22, 0.82);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.tier-badge--s {
  background: rgba(239, 95, 76, 0.92);
}

.tier-badge--a {
  background: rgba(14, 159, 141, 0.92);
}

.tier-badge--b {
  background: rgba(107, 93, 211, 0.92);
}

.tier-badge--c,
.tier-badge--d {
  background: rgba(21, 22, 22, 0.84);
}

.hero-detail-panel {
  order: -1;
  min-width: 0;
}

.hero-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(34, 39, 36, 0.07);
}

.hero-detail-portrait {
  height: 132px;
  overflow: hidden;
  background: #12191b;
}

.hero-detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-detail-header {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 13px 13px 0;
}

.hero-detail-header img {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  background: #dde4dd;
}

.hero-detail-header span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-detail-header h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 2px;
  font-size: 1.12rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-detail-header p,
.hero-detail-summary,
.skill-card p {
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.58;
}

.hero-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 13px 0;
}

.hero-detail-tags span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(14, 159, 141, 0.1);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-detail-summary {
  padding: 12px 13px 0;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 13px;
}

.hero-stat-grid article {
  min-height: 58px;
  padding: 9px;
  border-radius: 8px;
  background: rgba(14, 159, 141, 0.06);
}

.hero-stat-grid strong,
.hero-stat-grid span {
  display: block;
}

.hero-stat-grid strong {
  font-size: 1rem;
}

.hero-stat-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.skill-stack {
  display: grid;
  gap: 8px;
  padding: 0 13px 13px;
}

.skill-card {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf7;
}

.skill-card div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.skill-card span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.skill-card strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-card {
  padding: 13px;
}

.hero-card__top,
.hero-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hero-card h3 {
  font-size: 1rem;
}

.hero-card__top strong {
  color: var(--teal-dark);
  font-size: 1rem;
  white-space: nowrap;
}

.win-line {
  height: 8px;
  margin: 12px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e8e2;
}

.win-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.hero-card__meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.match-summary {
  margin-bottom: 12px;
}

.match-list {
  display: grid;
  gap: 10px;
}

.match-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.match-result {
  display: grid;
  min-height: 46px;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
}

.match-card.is-win .match-result {
  background: rgba(14, 159, 141, 0.13);
  color: var(--teal-dark);
}

.match-card.is-loss .match-result {
  background: rgba(239, 95, 76, 0.12);
  color: #b83d2e;
}

.match-card h3 {
  font-size: 1rem;
}

.match-card > span {
  grid-column: 2;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(107, 93, 211, 0.1);
  color: #5145ae;
  font-size: 0.75rem;
  font-weight: 900;
}

.tip-card {
  padding: 14px;
}

.tip-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.tip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tip-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(14, 159, 141, 0.1);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.timeline-item time {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
}

.timeline-item h3,
.message-card h3 {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.post-form {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
}

.post-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.post-form input,
.post-form textarea,
.post-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
}

.post-form input {
  min-height: 46px;
  padding: 0 12px;
}

.post-form select {
  min-height: 46px;
  padding: 0 12px;
}

.post-form textarea {
  min-height: 94px;
  padding: 12px;
  resize: vertical;
}

.post-form input:focus,
.post-form textarea:focus,
.post-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 159, 141, 0.14);
}

.message-list {
  display: grid;
  gap: 10px;
  padding-bottom: 32px;
}

.message-card {
  padding: 14px;
}

.message-card time {
  color: var(--muted);
  font-size: 0.74rem;
}

.integration-card,
.empty-card {
  margin-bottom: 14px;
  padding: 14px;
}

.integration-card h3 {
  margin-bottom: 8px;
}

.site-footer {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 22px 16px 34px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.bottom-nav {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(21, 22, 22, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(24, 30, 28, 0.22);
  backdrop-filter: blur(16px);
}

.bottom-nav button {
  display: grid;
  min-height: 48px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.bottom-nav button:active,
.bottom-nav button:hover,
.bottom-nav button.is-current {
  background: rgba(14, 159, 141, 0.11);
  color: var(--teal-dark);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 86px;
  left: 18px;
  z-index: 20;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 14px;
  border-radius: 8px;
  background: #151616;
  color: white;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

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

@media (min-width: 720px) {
  .app-shell {
    padding-bottom: 0;
  }

  .hero {
    min-height: 600px;
  }

  .compact-hero {
    min-height: 460px;
  }

  .hero__content {
    min-height: 500px;
    padding-bottom: 86px;
  }

  h1 {
    font-size: clamp(2.5rem, 8vw, 5.8rem);
  }

  .compact-hero .hero__content {
    min-height: 360px;
  }

  .quick-stats {
    gap: 14px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .section,
  .view {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .module-card--wide {
    grid-column: span 2;
  }

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

  .button-grid,
  .player-lane-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ranking-list,
  .hero-pool,
  .tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-catalog-board__content {
    padding: 18px;
  }

  .hero-catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .hero-catalog-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }

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

  .hero-detail-panel {
    position: sticky;
    order: 0;
    top: 92px;
  }

  .metrics-grid,
  .match-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .bottom-nav {
    top: 18px;
    right: 18px;
    bottom: auto;
    left: auto;
    width: 500px;
  }
}
