@import url("operator.css?v=soft-live-v6-base");

:root{
  --bg:#f4dbe7;
  --surface:#fff8fb;
  --surface-2:#fff5f8;
  --paper:#fffafd;
  --paper-2:#fbf0f5;
  --white:#fffdfd;
  --text:#211a1f;
  --ink:#271f24;
  --muted:#75656e;
  --muted-2:#93818a;
  --line:rgba(128,88,109,.13);
  --dark-line:#e8d7e1;
  --pink:#d93f84;
  --pink-soft:#f8dde9;
  --green:#18a36f;
  --yellow:#d9a642;
  --danger:#ef6786;
}

body{
  position:relative;
  overflow-x:hidden;
  max-width:100%;
  overscroll-behavior-x:none;
  min-height:100vh;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.58), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(180deg, #f7e9f0 0%, #f1d9e4 50%, #edd1df 100%);
  color:var(--text);
}

html{
  overflow-x:hidden;
  max-width:100%;
  overscroll-behavior-x:none;
}

@media (prefers-reduced-motion:no-preference){
  @view-transition{
    navigation:auto;
  }

  ::view-transition-old(root){
    animation:mirs-page-out .16s ease both;
  }

  ::view-transition-new(root){
    animation:mirs-page-in .22s ease both;
  }

  body.page-leaving .mobile-top,
  body.page-leaving .site-shell{
    opacity:.01;
    transform:translateY(4px);
    transition:opacity .14s ease, transform .14s ease;
  }
}

@keyframes mirs-page-out{
  from{opacity:1; transform:none}
  to{opacity:.01; transform:translateY(4px)}
}

@keyframes mirs-page-in{
  from{opacity:.01; transform:translateY(6px)}
  to{opacity:1; transform:none}
}

body::before,
body::after{
  content:"";
  position:fixed;
  pointer-events:none;
  inset:auto;
  z-index:0;
  border-radius:999px;
  filter:blur(26px);
  opacity:.62;
}

body::before{
  top:90px;
  left:-120px;
  width:360px;
  height:360px;
  background:rgba(233,92,154,.17);
}

body::after{
  right:40px;
  bottom:120px;
  width:280px;
  height:280px;
  background:rgba(255,255,255,.3);
}

.mobile-top,
.site-shell{
  position:relative;
  z-index:1;
}

.mobile-top{
  background:rgba(252,243,247,.9);
  color:var(--ink);
  border-bottom-color:var(--line);
  box-shadow:0 12px 28px rgba(121,68,94,.08);
  backdrop-filter:blur(18px);
  overflow-x:hidden;
}

.mobile-row{
  gap:12px;
  align-items:center;
}

.mobile-top .brand span{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mobile-row .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:nowrap;
  flex:0 0 auto;
  min-width:96px;
  padding-inline:15px;
  font-size:13px;
}

.mobile-links{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  overflow-x:auto;
  overflow-y:hidden;
  margin-top:12px;
  padding:6px;
  border:1px solid rgba(137,96,116,.12);
  border-radius:20px;
  background:rgba(255,255,255,.46);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.mobile-links a{
  min-height:40px;
  display:flex;
  align-items:center;
  color:#675a63;
  background:transparent;
  border-color:transparent;
  border-radius:12px;
  padding:10px 16px;
  font-size:13px;
  font-weight:850;
  letter-spacing:-.01em;
  box-shadow:none;
  transition:color .18s ease, background .18s ease, border-color .18s ease;
}

.mobile-links a:hover{
  color:var(--ink);
  background:rgba(255,255,255,.72);
  border-color:rgba(137,96,116,.12);
  transform:none;
  box-shadow:none;
}

.mobile-links a[aria-current="page"]{
  color:#fff8fb;
  border-color:#cf5f93;
  background:linear-gradient(180deg, #dc6f9e 0%, #d24d88 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 22px rgba(217,63,132,.18);
}

.site-shell{
  grid-template-columns:290px minmax(0,1fr);
  gap:18px;
  max-width:1500px;
  margin:0 auto;
  padding:22px;
}

.side{
  position:sticky;
  top:22px;
  height:calc(100vh - 44px);
  padding:22px 20px;
  border:1px solid rgba(255,255,255,.62);
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,247,251,.72)),
    linear-gradient(160deg, rgba(250,225,236,.42), transparent 46%);
  box-shadow:0 28px 80px rgba(123,61,90,.13);
  backdrop-filter:blur(20px);
}

.side::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:92px;
  border-radius:30px 30px 26px 26px;
  background:linear-gradient(180deg, rgba(255,255,255,.45), transparent);
  pointer-events:none;
}

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

@media (min-width:981px){
  .site-shell{
    position:relative;
    grid-template-columns:290px minmax(0,1fr);
  }

  .site-shell > main{
    grid-column:2;
    min-width:0;
  }

  .side{
    position:fixed;
    top:22px;
    left:max(22px, calc((100vw - 1500px) / 2 + 22px));
    width:290px;
    z-index:20;
  }
}

.brand{
  gap:12px;
  font-weight:950;
  letter-spacing:-.02em;
}

.brand img{
  width:44px;
  height:44px;
  border-radius:12px;
  box-shadow:0 12px 28px rgba(118,62,88,.14);
}

.nav{
  gap:10px;
  margin-top:32px;
}

.nav a,
.btn{
  min-height:48px;
  padding:12px 18px;
  border-radius:16px;
  font-size:15px;
  font-weight:860;
  letter-spacing:-.01em;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.nav a{
  color:#31262d;
  border-color:rgba(137,96,116,.16);
  background:rgba(255,255,255,.78);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84);
}

.nav a:hover,
.btn.ghost:hover,
.copy-row .btn:hover{
  transform:translateY(-1px);
  border-color:rgba(137,96,116,.24);
  box-shadow:0 14px 26px rgba(121,68,94,.08);
}

.nav a[aria-current="page"],
.btn.primary,
.toggle-btn.active{
  color:#fff;
  border-color:#cd3377;
  background:linear-gradient(180deg, #df4c8b, #cf3679);
  box-shadow:0 18px 34px rgba(206,55,121,.22);
}

.nav a[aria-current="page"]:hover,
.btn.primary:hover,
.toggle-btn.active:hover{
  transform:translateY(-1px);
  box-shadow:0 22px 38px rgba(206,55,121,.24);
}

.btn.ghost,
.toggle-btn,
.copy-row .btn{
  border-color:rgba(137,96,116,.14);
  background:rgba(255,255,255,.76);
}

.side-note{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#7a6c74;
  font-size:14px;
  line-height:1.65;
}

main{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.62);
  border-radius:34px;
  background:
    linear-gradient(180deg, rgba(255,252,253,.84), rgba(255,248,251,.74)),
    linear-gradient(135deg, rgba(255,255,255,.14), transparent);
  box-shadow:0 28px 80px rgba(123,61,90,.13);
  backdrop-filter:blur(20px);
}

main::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:220px;
  background:
    radial-gradient(circle at 0 0, rgba(229,114,163,.15), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.24), transparent);
  pointer-events:none;
}

.section{
  position:relative;
  z-index:1;
  padding:38px 32px;
  border-bottom-color:var(--line);
}

.section.light{
  background:rgba(255,250,252,.7);
}

.home-hero-section{
  padding-top:34px;
}

.home-hero-section .inner{
  max-width:1320px;
}

.home-role-split{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:22px;
  align-items:start;
}

.hero{
  gap:30px;
  align-items:start;
}

.home-hero{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  width:100%;
  padding:8px 0 2px;
}

.home-hero-copy{
  width:min(1120px, 100%);
}

h1{
  max-width:680px;
  color:var(--ink);
  font-size:clamp(3.4rem, 4.9vw, 5.6rem);
  letter-spacing:-.06em;
  line-height:.88;
  text-wrap:balance;
}

.hero.compact h1{
  max-width:560px;
  font-size:clamp(3.2rem, 4.4vw, 5rem);
}

.home-hero h1{
  max-width:100%;
  font-size:clamp(4rem, 6.2vw, 6.8rem);
  text-wrap:pretty;
}

.home-hero .lead{
  margin-top:22px;
  max-width:760px;
  color:#5f535a;
}

.kicker{
  gap:10px;
  margin-bottom:16px;
  color:#da4385;
  letter-spacing:.1em;
}

.kicker::before{
  width:10px;
  height:10px;
  box-shadow:0 0 0 7px rgba(217,63,132,.1);
}

.lead{
  max-width:660px;
  color:var(--muted);
  font-size:20px;
  line-height:1.62;
  text-wrap:pretty;
}

.actions{
  gap:12px;
  margin-top:30px;
}

.role-choice-grid{
  display:grid;
  gap:18px;
  overflow-anchor:none;
}

.role-choice{
  min-width:0;
  max-width:100%;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:16px;
  justify-content:space-between;
  padding:22px 24px;
  overflow:visible;
  overflow-anchor:none;
}

.role-choice > strong{
  margin-top:6px;
  font-size:36px;
  line-height:.96;
}

.role-choice > p{
  margin:0;
}

.role-choice > .btn{
  margin-top:2px;
}

.role-choice.panel-open{
  padding-bottom:0;
}

.role-choice .split-panel{
  min-width:0;
  max-width:calc(100% + 48px);
  margin:10px -24px 0;
  padding:22px 24px 24px;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow-anchor:none;
}

.role-choice .split-panel .validator-head{
  margin-bottom:4px;
  padding:0;
  align-items:center;
  justify-content:flex-start;
}

.role-choice-ftso{
  background:linear-gradient(180deg, rgba(255,241,248,.98), rgba(255,250,252,.9));
}

.role-choice-validator{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,244,248,.9));
}

.home-snapshot-grid .role-choice{
  min-height:360px;
}

.home-snap-metrics{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin:8px 0 2px;
}

.snap-metric{
  min-width:0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.62);
}

.snap-metric span{
  display:block;
  margin-bottom:8px;
  color:#7e7379;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.snap-metric strong{
  display:block;
  color:var(--ink);
  font-size:28px;
  line-height:1;
  overflow-wrap:anywhere;
}

.home-snap-actions{
  margin-top:auto;
}

.home-snap-actions .btn{
  width:100%;
  justify-content:center;
}

.decision-btn{
  color:#752946 !important;
  border:1px solid #e5a3bf !important;
  background:linear-gradient(180deg, #f8d4e2 0%, #f3c0d4 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.72),
    0 0 0 1px rgba(255,255,255,.44),
    0 14px 30px rgba(217,63,132,.18) !important;
}

.decision-btn:hover{
  color:#68233f !important;
  border-color:#dd8faf !important;
  background:linear-gradient(180deg, #f6cadb 0%, #efb6cc 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.64),
    0 0 0 1px rgba(255,255,255,.5),
    0 18px 34px rgba(217,63,132,.22) !important;
}

.decision-btn:focus-visible,
.btn:focus-visible,
.nav a:focus-visible,
.mobile-links a:focus-visible,
.toggle-btn:focus-visible,
.info-tip:focus-visible{
  outline:2px solid #d93f84;
  outline-offset:3px;
}

:focus-visible{
  outline:2px solid #d93f84;
  outline-offset:3px;
}

.secondary-actions{
  margin-bottom:14px;
}

.secondary-actions .btn{
  min-width:220px;
}

.compact-flow{
  margin-bottom:18px;
}

.compact-flow .step{
  min-height:168px;
}

.section-title{
  gap:24px;
  margin-bottom:22px;
}

.summary-title{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, 430px);
  align-items:end;
  gap:28px;
}

.summary-title p{
  justify-self:end;
  max-width:430px;
  text-wrap:pretty;
}

.section-title h2{
  font-size:clamp(2.4rem, 4vw, 3.5rem);
  letter-spacing:-.05em;
}

.section-title p,
.section-side p{
  max-width:640px;
  color:#72646d;
  font-size:17px;
  line-height:1.6;
}

.proof-stack{
  gap:16px;
}

.command-grid,
.operator-history-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.cards,
.address-grid,
.flow{
  gap:14px;
}

.status-panel,
.chart-panel,
.validator-panel,
.card,
.address,
.step,
.table-wrap{
  border-color:var(--line);
  overflow:visible;
  isolation:isolate;
}

.status-panel,
.chart-panel,
.validator-panel{
  scroll-margin-top:112px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,249,252,.78));
  box-shadow:0 18px 42px rgba(124,67,93,.08);
}

.card,
.address,
.flow .step{
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,249,252,.84));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover,
.address:hover,
.flow .step:hover,
.metric:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(121,68,94,.1);
}

.panel-head{
  min-width:0;
  flex-wrap:wrap;
  padding:16px 18px;
  border-bottom-color:var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,0));
}

.panel-head strong{
  min-width:0;
  font-size:16px;
  letter-spacing:-.02em;
}

.status-dot{
  gap:10px;
  font-size:14px;
}

.status-dot::before{
  box-shadow:0 0 0 7px rgba(24,163,111,.11);
}

.status-dot[data-field="status"]:not(.skeleton-value)::before,
.status-dot[data-field="validatorConnected"]:not(.skeleton-value)::before{
  animation:statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse{
  0%, 100%{box-shadow:0 0 0 0 rgba(24,163,111,.24)}
  50%{box-shadow:0 0 0 8px rgba(24,163,111,0)}
}

.metric-grid{
  gap:12px;
  padding:14px;
  isolation:isolate;
}

.metric,
.metric:nth-child(2n),
.metric:nth-last-child(-n+2){
  min-height:128px;
  padding:18px 18px 16px;
  border:1px solid var(--line);
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,248,251,.88));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84);
  overflow:visible;
}

.status-panel .metric:nth-child(1),
.status-panel .metric:nth-child(2),
.cards .card:nth-child(-n+2){
  background:linear-gradient(180deg, rgba(255,244,250,.98), rgba(255,255,255,.9));
}

.metric span,
.address span,
.card b,
.row span,
.copy-title,
.mini-label{
  color:#7a6b74;
  letter-spacing:.06em;
  padding-right:38px;
}

.card b{
  color:var(--pink);
}

.metric strong{
  margin-top:12px;
  font-size:30px;
  letter-spacing:-.04em;
  line-height:1.02;
  overflow-wrap:normal;
  white-space:nowrap;
}

.skeleton-value{
  position:relative;
  display:inline-block;
  width:min(11ch, 100%);
  min-height:1em;
  border-radius:8px;
  color:transparent !important;
  overflow:hidden;
  vertical-align:middle;
  background:linear-gradient(90deg, rgba(198,168,183,.22) 25%, rgba(255,255,255,.72) 50%, rgba(198,168,183,.22) 75%);
  background-size:220% 100%;
  animation:skeletonShimmer 1.35s ease-in-out infinite;
}

.status-dot.skeleton-value{
  width:92px;
  min-height:22px;
}

.skeleton-line{
  display:block;
  width:100%;
  max-width:130px;
  height:14px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(198,168,183,.22) 25%, rgba(255,255,255,.72) 50%, rgba(198,168,183,.22) 75%);
  background-size:220% 100%;
  animation:skeletonShimmer 1.35s ease-in-out infinite;
}

.table-loading-row td:nth-child(1) .skeleton-line{max-width:82px}
.table-loading-row td:nth-child(2) .skeleton-line{max-width:116px}
.table-loading-row td:nth-child(3) .skeleton-line{max-width:96px}
.table-loading-row td:nth-child(4) .skeleton-line{max-width:74px}

@keyframes skeletonShimmer{
  from{background-position:220% 0}
  to{background-position:-220% 0}
}

.metric strong.metric-tight{
  font-size:26px;
  letter-spacing:-.05em;
}

.metric strong.metric-ultra-tight{
  font-size:23px;
  letter-spacing:-.06em;
}

.metric-unit{
  display:block;
  margin-top:4px;
  font-size:.5em;
  line-height:1;
  font-weight:900;
  letter-spacing:.03em;
  opacity:.92;
}

.metric strong .metric-unit{
  display:inline;
  margin-top:0;
  margin-left:.24em;
  font-size:.55em;
  letter-spacing:.02em;
  vertical-align:baseline;
}

.metric strong.pre-reg-value{
  font-size:34px;
}

.metric strong.pre-reg-value span{
  color:var(--ink);
}

.card{
  min-height:196px;
  padding:18px;
  z-index:0;
}

.card strong{
  margin-top:12px;
  font-size:28px;
  letter-spacing:-.04em;
}

.card p,
.metric p,
.copy-help,
.table-note,
.step p{
  color:#72646c;
  font-size:15px;
  line-height:1.58;
}

.info-tip{
  top:10px;
  right:10px;
  width:44px;
  height:44px;
  border-color:rgba(137,96,116,.14);
  background:#fff3f8;
  color:#7e6774;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.84);
  font-size:12px;
  z-index:30;
}

.info-tip span{
  position:absolute;
  top:calc(100% + 10px);
  bottom:auto;
  left:auto;
  right:0;
  transform:none;
  width:min(280px, calc(100vw - 72px));
  max-width:280px;
  padding:11px 12px;
  border-color:rgba(42,34,38,.14);
  border-radius:14px;
  background:rgba(42,34,38,.95);
  color:#fff6fa;
  box-shadow:0 22px 44px rgba(39,23,31,.26);
  backdrop-filter:blur(14px);
  font-size:12px;
  line-height:1.45;
  text-wrap:pretty;
  z-index:1000;
}

.back-to-top{
  position:fixed;
  right:max(18px, env(safe-area-inset-right));
  bottom:max(18px, env(safe-area-inset-bottom));
  z-index:70;
  min-width:58px;
  min-height:48px;
  padding:0 16px;
  border:1px solid rgba(137,96,116,.18);
  border-radius:999px;
  background:rgba(42,34,38,.9);
  color:#fff6fa;
  box-shadow:0 18px 40px rgba(39,23,31,.24);
  font-size:13px;
  font-weight:950;
  letter-spacing:0;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease, transform .18s ease;
  backdrop-filter:blur(16px);
}

.back-to-top.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.metric,
.card{
  z-index:0;
}

.metric:hover,
.metric:focus-within,
.card:hover,
.card:focus-within{
  z-index:40;
}

.validator-panel{
  min-width:0;
  max-width:100%;
  padding:28px;
}

.split-panel{
  min-width:0;
  max-width:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.split-panel[hidden]{
  display:none !important;
}

.epochs-hero{
  grid-template-columns:minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items:stretch;
  gap:34px;
}

.epochs-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:100%;
  padding:28px 0 20px;
}

.epochs-hero .lead{
  margin-top:18px;
  max-width:620px;
}

.recent-epochs-title{
  margin-bottom:40px;
}

.recent-epochs-title p{
  margin-top:6px;
}

.panel-eyebrow{
  margin-bottom:10px;
  color:#da4385;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.validator-head h3{
  font-size:42px;
  letter-spacing:-.04em;
}

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

.panel-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.compact-stat{
  min-height:0;
  padding:16px;
}

.compact-stat strong{
  font-size:24px;
}

.compact-stat p{
  margin-top:8px;
}

.panel-wide-card{
  min-width:0;
  max-width:100%;
  min-height:0;
  padding:16px 18px;
}

.delegation-summary-card{
  min-height:0;
  padding:0;
}

.delegation-summary-card .panel-head{
  margin:0;
  border-radius:22px 22px 0 0;
}

.panel-wide-card .uptime-pills{
  margin-top:14px;
}

.delegator-panel{
  min-width:0;
  max-width:100%;
  margin-top:12px;
  overflow:hidden;
}

.delegator-summary{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:16px;
}

.delegator-summary span{
  display:grid;
  gap:3px;
  min-height:62px;
  align-content:center;
  padding:10px 12px;
  border:1px solid rgba(137,96,116,.12);
  border-radius:16px;
  background:rgba(255,255,255,.62);
  color:#7a6b74;
  font-size:13px;
  font-weight:760;
}

.delegator-summary strong{
  color:var(--ink);
  font-size:18px;
  letter-spacing:0;
}

.delegator-summary .metric-unit{
  display:inline;
  margin-top:0;
  margin-left:.22em;
}

.delegator-table{
  min-width:980px;
  width:100%;
}

.entity-address-panel{
  overflow:hidden;
}

.entity-weight-grid{
  margin-bottom:14px;
}

.entity-address-table{
  min-width:1040px;
  width:100%;
}

.entity-address-table code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color:#8c2d5b;
  font-size:13px;
  font-weight:850;
  word-break:break-all;
}

.balance-empty{
  color:#9c8b94;
}

.address-detail-toggle{
  margin-top:14px;
}

.delegator-address{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color:#8c2d5b;
  font-size:13px;
  font-weight:850;
}

.detail-toggle{
  flex:0 1 auto;
  max-width:100%;
  min-height:40px;
  padding:8px 12px;
  border-radius:12px;
  font-size:13px;
}

.compare-grid{
  margin-bottom:14px;
}

.route-card{
  min-height:0;
}

.route-card strong{
  font-size:30px;
  line-height:1.02;
}

.validator-row{
  gap:24px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,245,250,.88), rgba(255,255,255,.78));
}

.validator-id span,
.validator-stat span,
.validator-progress span,
.validator-foot span{
  color:#7a6b74;
}

.validator-id strong,
.validator-stat strong,
.validator-foot strong{
  color:var(--ink);
  letter-spacing:-.03em;
}

.validator-id strong{
  color:#58424f;
}

.validator-progress b{
  color:var(--ink);
}

.validator-progress em{
  color:#7a6b74;
}

.validator-foot span{
  border-color:var(--line);
  border-radius:18px;
  background:rgba(255,247,251,.76);
}

.condition-dots,
.uptime-pills{
  gap:12px;
  align-items:center;
}

.condition-dots span{
  width:16px;
  height:16px;
  border-radius:999px;
  flex:0 0 auto;
  display:block;
  font-size:0;
  line-height:0;
  box-shadow:0 0 0 6px rgba(217,63,132,.05);
}

.condition-dots span::before{
  content:none;
}

.condition-dots.compact span{
  width:14px;
  height:14px;
}

.condition-dots span.ok{background:linear-gradient(180deg, #56bc82, #41a76c)}
.condition-dots span.bad{background:linear-gradient(180deg, #f07d95, #de5875)}
.condition-dots span.unknown{background:#d7d2d7}

.condition-history-panel{
  overflow:hidden;
}

.condition-history-wrap{
  background:rgba(255,255,255,.84);
}

.condition-history-table{
  min-width:920px;
  width:100%;
  table-layout:fixed;
}

.condition-history-table th,
.condition-history-table td{
  text-align:center;
  vertical-align:middle;
}

.condition-history-table th:first-child,
.condition-history-table td:first-child{
  width:230px;
  text-align:left;
}

.condition-history-header th{
  border-bottom:1px solid var(--line);
  background:rgba(248,221,234,.46);
  color:#6d6067;
  font-size:13px;
  font-weight:900;
  letter-spacing:0;
}

.condition-mark{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#fff;
  font-size:17px;
  font-weight:950;
  line-height:1;
}

.condition-mark.ok{
  background:linear-gradient(180deg, #66c978, #47b567);
}

.condition-mark.bad{
  background:linear-gradient(180deg, #f07d95, #de5875);
}

.condition-mark.unknown{
  background:#b6adb3;
}

.condition-pass-count{
  color:#2ea367;
  font-weight:950;
}

.uptime-pills span{
  border-color:var(--line);
  border-radius:14px;
  background:rgba(255,247,251,.84);
  color:var(--ink);
}

.toggle{
  border-color:var(--line);
  border-radius:12px;
  background:rgba(255,247,251,.72);
}

.toggle-btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:10px;
  color:#7a6b74;
}

.address{
  padding:18px;
}

.address code{
  color:#2a2127;
  font-size:15px;
}

.copy-row{
  align-items:flex-end;
}

.copy-row .btn{
  min-height:44px;
  border-radius:12px;
  font-size:14px;
}

.btn.copied{
  border-color:rgba(24,163,111,.28);
  background:rgba(230,248,240,.9);
  color:#176a4d;
}

.flow .step{
  min-height:180px;
}

.step em{
  width:38px;
  height:38px;
  border-radius:12px;
  box-shadow:0 12px 22px rgba(206,55,121,.18);
}

.step strong{
  margin-top:16px;
  letter-spacing:-.03em;
}

.table-wrap,
table{
  background:rgba(255,255,255,.84);
}

.table-wrap{
  min-width:0;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
}

.empty-state{
  display:flex;
  min-height:86px;
  align-items:center;
  justify-content:center;
  padding:18px;
  border:1px dashed rgba(137,96,116,.2);
  border-radius:16px;
  background:rgba(255,247,251,.72);
  color:#7a6b74;
  font-size:14px;
  font-weight:800;
  text-align:center;
}

.live-error{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  margin-top:8px;
  padding:12px 14px;
  border:1px solid rgba(239,103,134,.28);
  border-radius:16px;
  background:rgba(255,239,244,.78);
  color:#8c314d !important;
  font-size:14px;
  font-weight:760;
  line-height:1.4;
}

.live-error span{
  min-width:0;
}

.retry-btn{
  flex:0 0 auto;
  min-height:38px;
  padding:8px 14px;
  border-radius:12px;
  color:#7a2545;
}

table{
  min-width:760px;
}

caption{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

.ftso-epoch-table,
.validator-epoch-table,
.delegator-table,
.entity-address-table{
  width:100%;
}

th,
td{
  padding:14px 16px;
  border-bottom-color:var(--line);
  text-align:left;
}

thead th{
  background:rgba(248,221,234,.46);
  color:#7c6d76;
}

tbody th{
  background:transparent;
  color:var(--ink);
  font-weight:900;
}

tbody tr{
  transition:background .16s ease;
}

tbody tr:hover th,
tbody tr:hover td{
  background:rgba(248,221,234,.24);
}

.chart-panel{
  padding:18px;
  border-radius:26px;
  max-width:100%;
  overflow:hidden;
}

.chart-panel .panel-head{
  margin:-18px -18px 16px;
}

.reward-chart-wrap{
  position:relative;
  max-width:100%;
  overflow:hidden;
  padding:14px;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    radial-gradient(circle at top, rgba(224,84,141,.12), transparent 54%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,245,250,.8));
}

.reward-chart{
  display:block;
  width:100%;
  max-width:100%;
  height:286px;
}

.hourly-chart-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:14px;
}

.hourly-chart-panel{
  min-width:0;
}

.hourly-chart-wrap{
  padding:12px;
}

.hourly-chart{
  display:block;
  width:100%;
  max-width:100%;
  height:188px;
}

.hourly-point{
  cursor:crosshair;
  outline:none;
}

.hourly-point:focus rect:first-child,
.hourly-point:hover rect:first-child{
  filter:brightness(1.08);
  opacity:1;
}

.performance-hourly-chart{
  height:224px;
}

.performance-hit-target{
  cursor:crosshair;
  outline:none;
}

.performance-hit-target:focus{
  stroke:rgba(207,54,121,.34);
  stroke-width:2;
}

.table-panel{
  margin-top:14px;
}

.chart-tooltip{
  position:absolute;
  z-index:8;
  display:none;
  width:max-content;
  max-width:180px;
  padding:10px 12px 9px;
  border-color:rgba(137,96,116,.16);
  border-radius:12px;
  background:rgba(255,255,255,.96);
  box-shadow:0 14px 32px rgba(121,68,94,.13);
  backdrop-filter:blur(16px);
  color:var(--ink);
  font-family:inherit;
  font-size:12px;
  font-weight:800;
  line-height:1.18;
  pointer-events:none;
  white-space:normal;
}

.chart-tooltip strong,
.chart-tooltip b{
  display:block;
  font-size:19px;
  font-weight:950;
  line-height:1;
}

.chart-tooltip span{
  display:block;
  margin-top:5px;
  color:#6f636b;
  font-size:11px;
  letter-spacing:0;
}

.chart-tooltip small{
  display:block;
  margin-top:5px;
  color:#968892;
  font-size:10px;
  font-weight:850;
  letter-spacing:.02em;
}

.chart-summary{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:#7a6b74;
}

.chart-summary strong{
  color:var(--ink);
}

.availability-scale{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:8px;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.availability-scale span{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:#7e7179;
  font-size:11px;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
}

.availability-scale i{
  width:22px;
  height:12px;
  flex:0 0 auto;
  border-radius:999px;
  border:1px solid rgba(128,88,109,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.42);
}

.availability-scale .scale-best{
  background:#c61f6b;
  border-color:#a91657;
}

.availability-scale .scale-good{
  background:#e56aa0;
  border-color:#cf4f86;
}

.availability-scale .scale-watch{
  background:#f5bad3;
  border-color:#e695ba;
}

.availability-scale .scale-low{
  background:#fffafd;
  border-color:#ead8e2;
}

.bars{
  gap:16px;
}

.bars > div{
  padding:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,250,252,.68);
}

.bar-label{
  margin-bottom:10px;
  color:#6f6169;
}

.bar-track,
.reward-chart-wrap,
.uptime-pills span{
  background:rgba(218,67,133,.08);
}

.bar-track{
  height:14px;
  border-color:rgba(137,96,116,.12);
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(217,63,132,.09), rgba(217,63,132,.03)),
    rgba(255,255,255,.74);
  box-shadow:inset 0 1px 3px rgba(127,84,105,.08);
}

.bar-track.green{
  background:
    linear-gradient(180deg, rgba(24,163,111,.1), rgba(24,163,111,.04)),
    rgba(255,255,255,.74);
}

.bar-fill{
  background:linear-gradient(90deg, #d93f84, #ee8ab5);
}

.bar-track.green .bar-fill{
  background:linear-gradient(90deg, #18a36f, #6bd3a2);
}

.toast{
  border-color:rgba(42,34,38,.14);
  border-radius:16px;
  background:rgba(42,34,38,.94);
  color:#fff6fa;
  box-shadow:0 22px 40px rgba(39,23,31,.28);
}

@media (max-width:980px){
  .home-role-split,
  .command-grid,
  .operator-history-grid{
    grid-template-columns:1fr;
  }

  .site-shell{
    grid-template-columns:1fr;
    padding:0;
    gap:0;
  }

  .side{
    display:none;
  }

  .mobile-top{
    display:block;
  }

  main{
    border-radius:0;
    border-left:0;
    border-right:0;
  }

  .section{
    padding:30px 18px;
  }

  .hero{
    gap:24px;
  }

  .summary-title{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .summary-title p{
    justify-self:start;
    max-width:640px;
  }

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

  .panel-statuses{
    width:100%;
    justify-content:flex-start;
  }
}

@media (max-width:620px){
  html,
  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  main,
  .mobile-top,
  .site-shell,
  .section,
  .inner,
  .section-title,
  .section-side,
  .hero,
  .home-hero,
  .status-panel,
  .role-choice-grid,
  .role-choice,
  .card,
  .flow,
  .step,
  .validator-panel,
  .chart-panel{
    min-width:0;
    max-width:100%;
  }

  .mobile-top,
  .site-shell,
  main{
    width:100vw !important;
    max-width:100vw !important;
  }

  .inner,
  .section-title,
  .hero,
  .home-hero,
  .role-choice-grid,
  .flow,
  .cards{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body::before,
  body::after{
    display:none;
  }

  .mobile-top{
    padding:10px 10px 8px;
  }

  .mobile-row{
    gap:10px;
    align-items:center;
  }

  .brand{
    gap:10px;
    font-size:17px;
  }

  .brand img{
    width:38px;
    height:38px;
    border-radius:10px;
  }

  .mobile-row .btn{
    min-height:44px;
    padding:8px 10px;
    font-size:11px;
    border-radius:14px;
    min-width:78px;
  }

  .mobile-links{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    overflow:visible;
    padding:5px;
    border:1px solid rgba(137,96,116,.12);
    border-radius:18px;
    background:rgba(255,255,255,.46);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
    margin-top:10px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .mobile-links::-webkit-scrollbar{
    display:none;
  }

  .mobile-links a{
    flex:1 1 calc(33.333% - 6px);
    min-width:0;
    min-height:44px;
    justify-content:center;
    padding:10px 7px;
    font-size:11px;
    text-align:center;
    border-radius:12px;
  }

  .section{
    width:100vw;
    padding:22px 14px;
  }

  .section-title{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .section-side{
    width:100%;
    justify-content:flex-start;
  }

  .home-hero-section{
    padding-top:20px;
  }

  h1{
    max-width:none;
    font-size:32px;
    line-height:.98;
    overflow-wrap:normal;
  }

  .hero.compact h1,
  .home-hero h1{
    max-width:none;
    font-size:32px;
  }

  .kicker{
    margin-bottom:12px;
    font-size:11px;
  }

  .lead{
    max-width:none;
    font-size:16px;
    line-height:1.55;
    overflow-wrap:break-word;
  }

  .actions{
    gap:10px;
    margin-top:22px;
  }

  .home-role-split{
    gap:16px;
  }

  .epochs-hero,
  .home-hero{
    grid-template-columns:1fr;
  }

  .home-hero-copy{
    width:100%;
  }

  .actions .btn{
    min-height:48px;
  }

  .panel-mini-grid,
  .split-metrics,
  .hourly-chart-grid,
  .delegator-summary{
    grid-template-columns:1fr;
  }

  .metric-grid,
  .cards,
  .flow,
  .address-grid{
    width:100%;
    gap:10px;
  }

  .panel-head{
    padding:14px 16px;
  }

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

  .metric-grid{
    padding:10px;
  }

  .chart-panel,
  .validator-panel,
  .status-panel{
    border-radius:20px;
  }

  .bars > div,
  .metric,
  .card,
  .address,
  .flow .step{
    border-radius:16px;
  }

  .metric,
  .metric:nth-child(2n),
  .metric:nth-last-child(-n+2){
    min-height:116px;
    padding:16px;
  }

  .metric strong{
    font-size:26px;
  }

  .card{
    min-height:0;
    padding:16px;
  }

  .role-choice strong,
  .card strong{
    font-size:25px;
  }

  .flow .step{
    min-height:152px;
  }

  .reward-chart-wrap{
    padding:10px;
    border-radius:18px;
  }

  .info-tip span{
    position:fixed;
    left:16px;
    right:16px;
    top:auto;
    bottom:16px;
    transform:none;
    width:auto;
    max-width:none;
    border-radius:16px;
    box-shadow:0 24px 48px rgba(39,23,31,.28);
    z-index:80;
  }

  .info-tip:not(.info-touch-active):hover span,
  .info-tip:not(.info-touch-active):focus-visible span{
    opacity:0;
    transform:none;
  }

  .info-tip.info-touch-active span{
    opacity:1;
    transform:none;
  }

  .info-tip{
    width:44px;
    height:44px;
    top:4px;
    right:4px;
  }

  .reward-chart{
    height:180px;
  }

  .hourly-chart{
    height:170px;
  }

  .performance-hourly-chart{
    height:210px;
  }

  .chart-summary{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    padding-top:12px;
  }

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

  .table-wrap{
    border-radius:18px;
    overflow:visible;
    background:transparent;
  }

  .condition-history-wrap{
    overflow-x:auto;
    overflow-y:hidden;
    background:rgba(255,255,255,.84);
  }

  .condition-history-table,
  .condition-history-table tbody,
  .condition-history-table tr,
  .condition-history-table th,
  .condition-history-table td{
    display:table;
  }

  .condition-history-table{
    min-width:780px;
    table-layout:fixed;
  }

  .condition-history-table tbody{
    display:table-row-group;
  }

  .condition-history-table thead{
    position:static;
    width:auto;
    height:auto;
    display:table-header-group;
    overflow:visible;
    clip:auto;
    white-space:normal;
  }

  .condition-history-table tr{
    display:table-row;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .condition-history-table th,
  .condition-history-table td{
    display:table-cell;
    padding:12px 10px;
    text-align:center;
    white-space:nowrap;
  }

  .condition-history-table th:first-child,
  .condition-history-table td:first-child{
    width:190px;
    text-align:left;
  }

  .condition-history-table th::before,
  .condition-history-table td::before{
    content:none;
  }

  table,
  .table-wrap-compact table{
    min-width:0;
    width:100%;
    background:transparent;
  }

  table thead{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
  }

  table,
  tbody,
  tr,
  th,
  td{
    display:block;
  }

  tbody{
    display:grid;
    gap:10px;
  }

  tbody tr{
    padding:14px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.88);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
  }

  .ftso-epoch-table th,
  .ftso-epoch-table td,
  .validator-epoch-table th,
  .validator-epoch-table td,
  .delegator-table th,
  .delegator-table td,
  .entity-address-table th,
  .entity-address-table td{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:9px 0;
    border-bottom:1px solid var(--line);
    background:transparent;
    font-size:14px;
    white-space:normal;
    text-align:right;
  }

  tbody th:first-child{
    padding-top:0;
    color:var(--pink);
    font-size:18px;
  }

  tbody tr > :last-child{
    padding-bottom:0;
    border-bottom:0;
  }

  tbody th::before,
  tbody td::before{
    content:attr(data-label);
    flex:0 0 auto;
    max-width:52%;
    color:#7a6b74;
    font-size:12px;
    font-weight:900;
    letter-spacing:.06em;
    text-align:left;
    text-transform:uppercase;
  }

  tbody td[colspan]{
    display:block;
    text-align:center;
  }

  tbody td[colspan]::before{
    content:none;
  }
}

@media (max-width:420px){
  h1,
  .hero.compact h1,
  .home-hero h1{
    font-size:32px;
  }

  .lead{
    font-size:15px;
  }

  .section-title h2{
    font-size:32px;
  }

  .metric strong{
    font-size:24px;
  }

  .card strong{
    font-size:23px;
  }

  .status-dot{
    font-size:13px;
  }

  .mobile-links a{
    font-size:12px;
  }

  .chart-panel,
  .validator-panel,
  .status-panel{
    border-radius:18px;
  }

  .bars > div,
  .metric,
  .card,
  .address,
  .flow .step,
  .table-wrap{
    border-radius:15px;
  }

  .ftso-epoch-table th,
  .ftso-epoch-table td,
  .validator-epoch-table th,
  .validator-epoch-table td,
  .delegator-table th,
  .delegator-table td,
  .entity-address-table th,
  .entity-address-table td{
    padding:9px 0;
    font-size:13px;
  }
}

@media (max-width:620px){
  .mobile-links{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:7px !important;
    overflow:visible !important;
  }

  .mobile-links a{
    width:100% !important;
    min-width:0 !important;
    padding:10px 6px !important;
    font-size:11px !important;
    white-space:normal !important;
  }

  .section,
  .inner,
  .hero,
  .home-hero,
  .role-choice,
  .card,
  .flow .step{
    width:100%;
    max-width:100%;
  }

  h1,
  .hero.compact h1,
  .home-hero h1{
    max-width:100%;
    font-size:31px;
    line-height:1.02;
  }
}

@media (max-width:420px){
  .home-snap-metrics{
    grid-template-columns:1fr;
  }
}

@media (max-width:620px){
  main,
  .mobile-top,
  .site-shell,
  .section{
    width:100% !important;
    max-width:100% !important;
  }

  .inner,
  .status-panel,
  .validator-panel,
  .chart-panel{
    width:100% !important;
    max-width:100% !important;
  }

  .inner{
    width:calc(100vw - 28px) !important;
    max-width:calc(100vw - 28px) !important;
    min-width:0 !important;
    overflow:hidden;
  }

  .hero,
  .section-title{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
  }

  .metric-grid,
  .cards,
  .split-metrics,
  .panel-mini-grid,
  .address-grid,
  .flow{
    grid-template-columns:1fr !important;
  }

  .section{
    overflow:hidden;
  }

  .hero,
  .hero.compact,
  .home-hero{
    overflow:hidden;
  }

  .lead{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .section-title{
    width:100%;
    max-width:100%;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .section-side,
  .currency-control{
    width:100%;
    max-width:100%;
    justify-content:space-between;
  }

  .currency-control{
    gap:12px;
  }

  .currency-control .toggle{
    flex:0 0 auto;
  }

  .reward-chart-wrap{
    overflow-x:auto !important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
  }

  .reward-chart-wrap::-webkit-scrollbar,
  .condition-history-wrap::-webkit-scrollbar{
    height:0;
  }

  .reward-chart,
  .hourly-chart,
  .performance-hourly-chart{
    max-width:none;
    width:720px;
  }

  .hourly-chart{
    height:210px;
  }

  .performance-hourly-chart{
    width:760px;
    height:230px;
  }

  .chart-tooltip{
    max-width:142px;
    padding:9px 10px;
    border-radius:13px;
    font-size:11px;
    line-height:1.12;
  }

  .chart-tooltip strong,
  .chart-tooltip b{
    font-size:17px;
  }

  .performance-hourly-panel .chart-tooltip{
    max-width:150px;
  }

  .performance-hourly-panel .chart-tooltip span{
    margin-top:4px;
  }

  .performance-hourly-panel .chart-tooltip b{
    display:inline;
    font-size:17px;
    margin-right:4px;
  }

  .availability-scale{
    grid-template-columns:1fr 1fr;
    gap:9px 12px;
  }

  .condition-history-wrap{
    overflow-x:auto !important;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
  }

  .condition-history-table{
    min-width:700px;
  }

  .condition-history-table th,
  .condition-history-table td{
    padding:13px 12px;
    font-size:14px;
  }

  .condition-history-table th:first-child,
  .condition-history-table td:first-child{
    width:205px;
  }

  .condition-history-table td:first-child{
    color:#d93f84;
    font-size:15px;
    font-weight:900;
    letter-spacing:.03em;
    line-height:1.18;
    overflow-wrap:anywhere;
    white-space:normal !important;
  }

  .condition-mark{
    width:30px;
    height:30px;
    font-size:17px;
  }
}

.mobile-nav-toggle{
  display:none;
}

@media (max-width:620px){
  .mobile-row{
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto auto;
    gap:8px;
  }

  .mobile-row .brand{
    min-width:0;
  }

  .mobile-row .brand img{
    width:34px;
    height:34px;
    border-radius:9px;
  }

  .mobile-top .brand span{
    max-width:112px;
    font-size:15px;
  }

  .mobile-row .btn{
    min-width:84px;
    min-height:40px;
    padding:9px 12px;
    border-radius:14px;
    font-size:12px;
  }

  .mobile-nav-toggle{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    flex:0 0 auto;
    border:1px solid rgba(137,96,116,.15);
    border-radius:14px;
    background:rgba(255,255,255,.72);
    color:var(--ink);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  }

  .mobile-nav-toggle span{
    width:18px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:transform .16s ease, opacity .16s ease;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
  }

  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .mobile-links{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:7px !important;
    max-height:0;
    margin-top:0;
    padding:0 6px !important;
    border-color:transparent !important;
    background:rgba(255,255,255,0);
    box-shadow:none;
    opacity:0;
    pointer-events:none;
    overflow:hidden !important;
    transition:max-height .22s ease, opacity .18s ease, margin .18s ease, padding .18s ease, border-color .18s ease, background .18s ease;
  }

  body.mobile-nav-open .mobile-links{
    max-height:360px;
    margin-top:12px;
    padding:8px !important;
    border-color:rgba(137,96,116,.12) !important;
    background:rgba(255,255,255,.52);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
    opacity:1;
    pointer-events:auto;
  }

  .mobile-links a{
    width:100% !important;
    min-height:42px;
    justify-content:center;
    padding:10px 12px !important;
    border:1px solid rgba(137,96,116,.11);
    border-radius:13px;
    background:rgba(255,255,255,.58);
    font-size:13px !important;
    white-space:nowrap !important;
  }

  .mobile-links a[aria-current="page"]{
    border-color:#cf5f93;
    background:linear-gradient(180deg, #dc6f9e 0%, #d24d88 100%);
    color:#fff8fb;
    box-shadow:0 10px 22px rgba(217,63,132,.16);
  }
}

@media (max-width:620px){
  :root{
    --mobile-top-height:76px;
  }

  body{
    padding-top:var(--mobile-top-height);
  }

  .mobile-top{
    position:fixed;
    inset:0 0 auto 0;
    z-index:120;
    width:100% !important;
    max-width:100% !important;
    padding:calc(env(safe-area-inset-top, 0px) + 8px) 14px 9px;
    border-bottom:1px solid rgba(137,96,116,.13);
    background:rgba(252,243,247,.98);
    box-shadow:0 12px 28px rgba(121,68,94,.10);
  }

  .mobile-row{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
  }

  .mobile-nav-toggle{
    grid-column:1;
    justify-self:start;
    width:40px;
    height:40px;
    border-radius:14px;
  }

  .mobile-row .brand{
    grid-column:3;
    justify-self:end;
    min-width:0;
    gap:8px;
  }

  .mobile-row .brand img{
    width:32px;
    height:32px;
  }

  .mobile-top .brand span{
    max-width:128px;
    font-size:15px;
  }

  .mobile-row .btn{
    display:none;
  }

  .hero,
  .hero.compact,
  .home-hero{
    grid-template-columns:1fr !important;
    gap:18px;
  }

  .mobile-links{
    grid-template-columns:1fr !important;
    gap:7px !important;
    max-height:0;
    margin-top:0;
    padding:0 6px !important;
    border-color:transparent !important;
    background:rgba(255,255,255,0) !important;
    opacity:0;
    pointer-events:none;
    overflow:hidden !important;
  }

  body.mobile-nav-open .mobile-links{
    max-height:330px;
    margin-top:10px;
    padding:8px !important;
    border-color:rgba(137,96,116,.13) !important;
    background:rgba(255,255,255,.64) !important;
    opacity:1;
    pointer-events:auto;
  }

  .mobile-links a{
    width:100% !important;
    min-height:40px;
    padding:9px 12px !important;
    font-size:12px !important;
    white-space:nowrap !important;
  }

  .section:first-child{
    padding-top:24px;
  }

  .section{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .inner{
    width:100vw !important;
    max-width:100vw !important;
  }

  .hero,
  .hero.compact,
  .home-hero,
  .section-title{
    padding-left:14px;
    padding-right:14px;
  }

  .status-panel,
  .validator-panel{
    border-left:0;
    border-right:0;
    border-radius:0;
  }

  .validator-panel{
    padding-left:8px;
    padding-right:8px;
  }

  .section-title{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
  }

  .section-side{
    width:100%;
    justify-content:flex-start;
  }

  .currency-control{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    width:100%;
    gap:10px;
  }

  .currency-control span{
    font-size:11px;
  }

  .currency-control .toggle{
    justify-self:end;
    max-width:178px;
  }

  .toggle-btn{
    min-height:38px;
    padding:0 12px;
    font-size:12px;
  }

  .chart-panel{
    padding:12px;
    border-radius:18px;
  }

  .chart-panel .panel-head{
    margin:-12px -12px 12px;
    padding:12px 14px;
    gap:5px;
  }

  .chart-panel .panel-head strong{
    font-size:18px;
    line-height:1.08;
    letter-spacing:0;
  }

  .chart-panel .mini-label{
    font-size:11px;
    letter-spacing:.08em;
  }

  .hourly-chart-grid{
    gap:12px;
  }

  .reward-chart-wrap{
    padding:8px;
    border-radius:16px;
  }

  .hourly-chart-wrap{
    overflow:hidden !important;
  }

  .reward-chart,
  .hourly-chart,
  .performance-hourly-chart{
    max-width:none;
  }

  .hourly-chart{
    width:100%;
    height:178px;
  }

  .performance-hourly-chart{
    width:100%;
    height:188px;
  }

  .chart-tooltip{
    max-width:118px;
    padding:7px 9px;
    border-radius:12px;
    font-size:10px;
    line-height:1.08;
  }

  .chart-tooltip strong,
  .chart-tooltip b{
    font-size:15px;
  }

  .chart-tooltip span,
  .chart-tooltip small{
    margin-top:4px;
    font-size:10px;
  }

  .performance-hourly-panel .chart-tooltip{
    max-width:136px;
  }

  .performance-hourly-panel .chart-tooltip b{
    font-size:15px;
  }

  .chart-summary{
    gap:7px;
    font-size:14px;
  }

  .availability-scale{
    grid-template-columns:1fr 1fr;
    gap:8px 10px;
  }

  .availability-scale span{
    gap:7px;
    font-size:12px;
    letter-spacing:0;
  }

  .condition-history-wrap{
    padding:0;
    border-radius:16px;
    overflow-x:auto !important;
  }

  .condition-history-table{
    min-width:720px;
    table-layout:fixed;
  }

  .condition-history-table th,
  .condition-history-table td{
    padding:10px 8px !important;
    font-size:12px !important;
    line-height:1.14;
    letter-spacing:0 !important;
  }

  .condition-history-table th:first-child,
  .condition-history-table td:first-child{
    width:174px !important;
    color:#6d6067 !important;
    font-size:12px !important;
    font-weight:900;
    white-space:normal !important;
    overflow-wrap:normal;
  }

  .condition-history-table td:first-child{
    color:#6d6067 !important;
  }

  .condition-mark{
    width:23px;
    height:23px;
    font-size:14px;
  }

  .condition-pass-count{
    font-size:13px;
  }
}
