/* STUD Boards — simple static site */
:root{
  --bg:#87CEEB;          /* sky */
  --bg2:#FFF1A8;         /* sun glow */
  --card:#ffffff;        /* bright card */
  --muted:#35506a;
  --text:#0b1724;
  --border:rgba(5,10,20,.12);
  --accent:#2f57ff;      /* cobalt blue accent */
  --accent2:#a7e6ff;     /* ice blue accent */
  --gold:#d4af37;        /* token gold */
  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

*{box-sizing:border-box}
html,body{
  background-color: #f5f5f7;
margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
  radial-gradient(900px 520px at 20% 10%, rgba(255,241,168,.95), transparent 60%),
  radial-gradient(800px 420px at 78% 0%, rgba(255,255,255,.85), transparent 55%),
  linear-gradient(180deg, rgba(135,206,235,1) 0%, rgba(187,235,255,1) 40%, rgba(255,255,255,1) 100%);
  color: var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a.text-link{color:var(--gold);text-decoration:none}
a.text-link:hover{text-decoration:underline}

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

.container{max-width:1100px;margin:0 auto;padding:0 18px}

.site-header{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.5px}
.logo{width:28px;height:28px}

.nav{display:flex;gap:14px;flex-wrap:wrap}
.nav a{padding:8px 10px;border-radius:10px;color:rgba(11,23,36,.78)}
.nav a.active,.nav a:hover{background:rgba(11,23,36,.06);color:var(--text)}

.hamburger{
  display:none;
  border:1px solid var(--border);
  background:rgba(11,23,36,.04);
  color:var(--text);
  padding:8px 10px;border-radius:10px;
}


.hero{padding:44px 0 10px}
h1{font-size:42px;line-height:1.08;margin:0 0 12px}
.lead{color:rgba(11,23,36,.82);font-size:18px;margin:0 0 16px}
h2{margin:0 0 14px;font-size:26px}
h3{margin:0 0 10px;font-size:18px}

.section{padding:28px 0}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.94));
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow: var(--shadow);
}

.btn{
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;

  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--border);
  background:rgba(11,23,36,.04);
  color:var(--text);
  padding:10px 14px;
  border-radius:14px;
  font-weight:700;
  gap:10px;
}
.btn:hover{background:rgba(11,23,36,.06)}
.btn.primary{
  color:#0b2a1d;
  border-color: rgba(68,169,122,.55);
  background:
    radial-gradient(130px 64px at 18% 10%, rgba(255,255,255,.92), transparent 62%),
    linear-gradient(135deg, rgba(248,255,251,.98) 0%, rgba(220,249,234,.97) 46%, rgba(161,231,194,.96) 100%);
}
.btn.primary:hover{
  background:
    radial-gradient(140px 72px at 18% 10%, rgba(255,255,255,.96), transparent 62%),
    linear-gradient(135deg, rgba(240,255,247,.99) 0%, rgba(201,244,222,.98) 46%, rgba(132,219,174,.97) 100%);
}
.btn.solflare-btn{
  color:#3d2f05;
  border-color: rgba(191,152,40,.55);
  background:
    radial-gradient(130px 64px at 18% 10%, rgba(255,255,255,.94), transparent 62%),
    linear-gradient(90deg, rgba(255,252,231,.99) 0%, rgba(255,239,173,.98) 52%, rgba(244,208,96,.97) 100%);
}
.btn.solflare-btn:hover{
  background:
    radial-gradient(140px 72px at 18% 10%, rgba(255,255,255,.97), transparent 62%),
    linear-gradient(90deg, rgba(255,250,216,.99) 0%, rgba(255,234,149,.98) 52%, rgba(239,197,72,.97) 100%);
}
.btn.tiny{padding:7px 10px;border-radius:12px;font-size:12px}

.cta-row{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 0}

.mint-box{
  margin-top:16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:14px;
  padding:12px;
  background:rgba(11,23,36,.06);
}
.mint-label{font-size:12px;color:var(--muted);margin-bottom:6px}
.mint-row{display:flex;gap:10px;align-items:center;justify-content:space-between}
.mint-row code{
  overflow:auto;white-space:nowrap;
  display:block;max-width:100%;
  padding:6px 8px;border-radius:12px;
  background:rgba(11,23,36,.04);
  border:1px solid var(--border);
}
@media (max-width: 720px){
  .mint-row{
    flex-direction:column;
    align-items:stretch;
  }
  .mint-row code{
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-all;
  }
  .mint-row .btn.tiny{
    align-self:flex-start;
  }
}
.tiny-note{color:var(--muted);font-size:12px;margin-top:8px}

.steps{margin:0;padding-left:18px}
.steps li{margin:8px 0}
.clean{margin:0;padding-left:18px}
.clean li{margin:8px 0}

.buy-route-grid{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.buy-route-card{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.95));
  padding: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.buy-route-solflare{
  border-color: rgba(191,152,40,.28);
  background:
    linear-gradient(90deg, rgba(255,244,189,.22), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,249,240,.95));
}
.buy-route-pump{
  border-color: rgba(68,169,122,.24);
  background:
    linear-gradient(90deg, rgba(190,242,215,.20), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,252,248,.95));
}
.buy-route-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: rgba(11,23,36,.84);
}
.buy-route-copy{
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.42;
  color: rgba(11,23,36,.84);
}
.buy-route-mint{
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.82);
}
.buy-route-mint .mint-label{
  margin-bottom: 6px;
}
.buy-route-mint .mint-row{
  gap: 8px;
}
.buy-route-actions.cta-row{
  margin-top: 10px;
}
@media (max-width: 720px){
  .buy-route-grid{
    grid-template-columns: 1fr;
  }
}

.disclaimer{
  margin-top:18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:12px;
  color:rgba(11,23,36,.82);
  background:rgba(11,23,36,.04);
}

.footer-cta-inner{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  border-radius:20px;
  background: linear-gradient(90deg, rgba(124,240,198,.10), rgba(140,124,255,.10));
  border:1px solid rgba(255,255,255,.12);
  padding:18px;
}

.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:rgba(11,23,36,.70);
}
.footer-inner{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a{color:rgba(11,23,36,.70)}
.footer-links a:hover{color:var(--text)}

.row{display:flex;gap:14px;align-items:center}
.row.space-between{justify-content:space-between}
.row.wrap{flex-wrap:wrap}

/* Games page */
.games-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.game{
  padding:16px;
}
.game h3{margin:0 0 8px}
.game .meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:12px}
.game .idea{margin:10px 0 0;color:rgba(11,23,36,.82)}
.game .twist{
  margin:8px 0 0;
  color:rgba(11,23,36,.72);
  font-size:13px;
}
.ai-ideas-notice{
  margin-top:14px;
  border:1px solid rgba(180,83,9,.45);
  border-left: 6px solid rgba(180,83,9,.9);
  border-radius:16px;
  padding:14px 16px;
  background: linear-gradient(180deg, rgba(255,245,225,.98), rgba(255,237,213,.95));
  color:#1f2937;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.ai-ideas-notice strong{
  display:block;
  font-size:14px;
  letter-spacing:.2px;
}
.ai-ideas-notice p{
  margin:8px 0 0;
  font-size:14px;
  line-height:1.45;
}

.challenge-builder.card{
  margin-top:14px;
  border:2px solid rgba(83,98,173,.30);
  border-radius:22px;
  padding:14px;
  background:
    linear-gradient(90deg, rgba(47,87,255,.10) 0%, rgba(78,168,255,.10) 50%, rgba(167,230,255,.10) 100%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,251,255,.95));
  box-shadow:
    0 0 0 2px rgba(47,87,255,.06),
    0 12px 26px rgba(40,72,108,.12);
}
.challenge-builder-title{
  margin:0;
  font-size:18px;
}
.challenge-builder-lead{
  margin:6px 0 0;
  color:rgba(11,23,36,.78);
  font-size:13px;
}
.challenge-builder-grid{
  margin-top:10px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.builder-field{
  display:grid;
  gap:6px;
}
.builder-field span{
  font-size:10px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:rgba(11,23,36,.58);
}
.builder-field input,
.builder-field select,
.builder-field textarea{
  width:100%;
  min-width:0;
  border:1px solid rgba(84,108,128,.20);
  border-radius:12px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,252,255,.96));
  color:rgba(11,23,36,.92);
  padding:10px 11px;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.builder-field textarea{
  resize: vertical;
  min-height: 84px;
}
.builder-field input:focus,
.builder-field select:focus,
.builder-field textarea:focus{
  outline: none;
  border-color: rgba(78,168,255,.55);
  box-shadow: 0 0 0 3px rgba(78,168,255,.14);
}
.builder-field-wide{
  grid-column: 1 / -1;
}
.challenge-builder-toolbar{
  margin-top:10px;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.challenge-builder-toolbar .btn.tiny{
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,250,255,.95));
}
.challenge-builder-status{
  margin-left:auto;
  min-height:1em;
}
.challenge-slip{
  margin-top:10px;
  border:1px solid rgba(63,86,114,.16);
  border-radius:16px;
  background:rgba(255,255,255,.90);
  padding:14px;
}
.challenge-slip-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.challenge-slip-title{
  font-size:12px;
  font-weight:950;
  letter-spacing:.8px;
  text-transform:uppercase;
  color:rgba(11,23,36,.84);
}
.challenge-slip-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:linear-gradient(90deg, rgba(47,87,255,.10), rgba(167,230,255,.10));
  font-size:10px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:rgba(11,23,36,.78);
}
.challenge-slip-tag-btn{
  appearance:none;
  cursor:pointer;
  text-transform:none;
  letter-spacing:.2px;
}
.challenge-slip-tag-btn:hover{
  filter: brightness(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.challenge-slip-tag-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(78,168,255,.20);
}
.challenge-slip-lines{
  display:grid;
  gap:6px;
}
.challenge-slip-row{
  display:grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap:8px;
  align-items:start;
}
.challenge-slip-label{
  font-size:12px;
  font-weight:800;
  color:rgba(11,23,36,.66);
}
.challenge-slip-value{
  font-size:13px;
  color:rgba(11,23,36,.9);
  line-height:1.4;
  overflow-wrap:anywhere;
}
.challenge-slip-muted{
  color:rgba(11,23,36,.48);
}
.challenge-slip-callout{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(0,0,0,.07);
  color:rgba(11,23,36,.72);
  font-size:12px;
}
.challenge-slip-activity-preview{
  margin-top:10px;
}
.challenge-slip-activity-card{
  box-shadow: none;
  border-color: rgba(0,0,0,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,254,255,.95));
}
.picker-target-flash{
  box-shadow:
    0 0 0 3px rgba(78,168,255,.24),
    0 0 0 6px rgba(47,87,255,.10),
    0 12px 28px rgba(40,72,108,.14) !important;
  transition: box-shadow .18s ease;
}
.challenge-builder-note{
  margin:8px 0 0;
}

.activity-filter.card{
  position: relative;
  margin-top:14px;
  border:2px solid rgba(83,98,173,.45);
  border-radius: 22px;
  padding:14px;
  background-color: rgba(240,246,252,.96);
  background:
    linear-gradient(90deg, rgba(47,87,255,.18) 0%, rgba(78,168,255,.18) 50%, rgba(167,230,255,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(242,248,253,.95));
  box-shadow:
    0 0 0 3px rgba(47,87,255,.10),
    0 12px 28px rgba(40,72,108,.16);
}
.activity-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.activity-filter-title{
  margin:0;
  font-size:18px;
}
.activity-filter-lead{
  margin:6px 0 0;
  color:rgba(11,23,36,.78);
  font-size:13px;
}
.activity-filter-groups{
  margin-top:10px;
  display:grid;
  gap:10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.activity-filter-group{
  display:grid;
  gap:6px;
}
.activity-filter-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
  color:rgba(11,23,36,.58);
}
.activity-filter-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.activity-filter-chip{
  appearance:none;
  border:1px solid rgba(86,114,136,.22);
  background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,252,255,.95));
  color:rgba(20,34,48,.92);
  border-radius:999px;
  padding:6px 10px;
  font-size:11px;
  font-weight:850;
  letter-spacing:.2px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease;
}
.activity-filter-chip:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(48,82,112,.14);
}
.activity-filter-chip.is-active{
  border-color: rgba(44,107,124,.36);
  background: linear-gradient(135deg, rgba(74,200,167,.28), rgba(109,186,236,.24));
  box-shadow: 0 10px 22px rgba(45,90,115,.16);
}
.activity-filter-chip:disabled{
  opacity:.42;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.activity-filter-count{
  font-size:10px;
  font-weight:900;
  line-height:1;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(58,96,124,.12);
  color:rgba(42,70,94,.86);
}
.activity-filter-chip.is-active .activity-filter-count{
  background:rgba(255,255,255,.55);
  color:rgba(11,23,36,.9);
}
.activity-filter-status{
  margin-top:8px;
  font-size:12px;
  color:rgba(11,23,36,.7);
}
.activity-filter-clear:disabled{
  opacity:.5;
}
.activity-filter-empty{
  margin-top:10px;
  border-style:dashed;
  border-width:1px;
  border-color: rgba(0,0,0,.2);
  background: rgba(255,255,255,.9);
}
.activity-filter-empty p{
  margin:6px 0 0;
  color:rgba(11,23,36,.72);
}

@media (max-width: 1080px){
  .challenge-builder-grid{
    grid-template-columns: 1fr;
  }
  .builder-field-wide{
    grid-column:auto;
  }
  .challenge-slip-row{
    grid-template-columns: 1fr;
    gap:2px;
  }
  .activity-filter-groups{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px){
  .challenge-builder.card{
    padding:12px;
  }
  .challenge-builder-toolbar .btn.tiny{
    flex:1 1 calc(50% - 4px);
    justify-content:center;
  }
  .challenge-builder-status{
    margin-left:0;
    flex:1 1 100%;
  }
  .challenge-slip{
    padding:12px;
  }
  .activity-filter{
    padding:12px;
  }
  .activity-filter-groups{
    grid-template-columns: 1fr;
    gap:9px;
  }
  .activity-filter-lead{
    font-size:12px;
  }
}

/* Responsive */
@media (max-width: 900px){
  h1{font-size:36px}
  .games-grid{grid-template-columns: 1fr}
  .nav{display:none}
  .hamburger{display:inline-flex}
  }

/* --- Hero token centerpiece --- */
.hero-center{
  text-align:center;
  margin-bottom: 18px;
}
.hero-token{
  width: min(320px, 78vw);
  height: auto;
  display:block;
  margin: 0 auto 10px;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.35);
}


/* =========================
   Premium polish pass
   ========================= */

/* Layout rhythm */
.container{max-width:1120px}
.section{padding:42px 0}

/* Header: glass + subtle border */
.site-header{
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.brand span{letter-spacing:.6px}

/* Nav pill links */
.nav a{
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.04);
  color: rgba(11,23,36,.82);
  padding:8px 12px;
  border-radius: 999px;
}
.nav a.active,.nav a:hover{
  background: rgba(255,255,255,.80);
  color: rgba(11,23,36,.95);
}

/* Cards: more premium glass */
.card{
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
  box-shadow:
    0 10px 25px rgba(0,0,0,.08),
    0 1px 0 rgba(255,255,255,.8) inset;
}
.mint-box{
  border-style: solid;
  border-color: rgba(0,0,0,.10);
  background: rgba(255,255,255,.60);
}

/* Buttons: glossy gradient */
.btn{
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease;

  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  color: rgba(11,23,36,.92);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}
.btn:hover{transform: translateY(-1px)}
.btn.primary{
  color:#0b2a1d;
  border-color: rgba(68,169,122,.55);
  background:
    radial-gradient(130px 64px at 18% 10%, rgba(255,255,255,.92), transparent 62%),
    linear-gradient(135deg, rgba(248,255,251,.98) 0%, rgba(220,249,234,.97) 46%, rgba(161,231,194,.96) 100%);
}
.btn.primary:hover{
  background:
    radial-gradient(140px 72px at 18% 10%, rgba(255,255,255,.96), transparent 62%),
    linear-gradient(135deg, rgba(240,255,247,.99) 0%, rgba(201,244,222,.98) 46%, rgba(132,219,174,.97) 100%);
}

/* Hero: tighter + centered */
.hero{padding:15px 0 10px}
.hero-center{margin-bottom: 20px}

/* Token: premium ring */
.hero-token{
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow:
    0 24px 50px rgba(0,0,0,.16),
    0 0 0 10px rgba(255,255,255,.30),
    0 0 0 18px rgba(0,0,0,.06);
}

/* Headings: cleaner */
h1,h2,h3{letter-spacing:.2px}
.lead{max-width: 58ch;margin-right:auto}

/* Footer CTA: brighter premium band */
.footer-cta-inner{
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(255,241,168,.85), transparent 60%),
    linear-gradient(90deg, rgba(47,87,255,.14), rgba(167,230,255,.12));
  border: 1px solid rgba(0,0,0,.10);
}

/* Reduce clutter in tiny note */
.tiny-note{color: rgba(11,23,36,.64)}

.feature-list{
  margin: 0;
  padding-left: 18px;
}
.feature-list li{margin: 8px 0;}
.feature-foot{
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.08);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: rgba(11,23,36,.72);
  font-size: 12px;
}
.badge{
  display:inline;
  padding: 0;
  border: 0;
  background: transparent;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.1;
}
.badge.purple{color:#5f3ca8;}
.badge.green{color:#1b7a56;}
.badge.gold{color:#8a6a1f;}

.badge-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  border-bottom:1px solid transparent;
}
.badge-link:hover{
  border-bottom-color: currentColor;
}

/* Center the hero CTA buttons */
.cta-row.center{
  justify-content: center;
}


/* Bigger, easier-to-tap hamburger menu on mobile */
.hamburger, button[aria-label="Open menu"]{
  width: 52px;
  height: 44px;
  border-radius: 14px;
}

.hamburger svg, button[aria-label="Open menu"] svg{
  width: 28px;
  height: 28px;
}

@media (max-width: 720px){
  .hamburger, button[aria-label="Open menu"]{
    width: 56px;
    height: 48px;
  }
}


/* Bigger hamburger glyph (☰) */
.hamburger{
  font-size: 30px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
}
@media (max-width: 720px){
  .hamburger{font-size: 32px;}
}

/* Home dropdown boxes (FAQ-like but white cards) */
.home-dropdown-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
@media (max-width: 980px){
  .home-dropdown-grid{grid-template-columns: 1fr;}
}

details.home-drop{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  overflow: hidden;
}

details.home-drop summary{
  cursor:pointer;
  list-style:none;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .2px;
}
details.home-drop summary::-webkit-details-marker{display:none}

details.home-drop .content{
  padding: 0 18px 18px;
  color: rgba(11,23,36,.86);
}

details.home-drop[open] summary{
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.85);
}

details.home-drop .content .feature-list{margin-top: 8px;}


/* Global stadium blueprint background (kept subtle for readability) */
body {
  background-image:
    linear-gradient(rgba(255,255,255,0.83), rgba(255,255,255,0.83)),
    none;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Board sections (themed categories) */
.board{ margin-top: 18px; }
.board-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 10px;
}
.board-head h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: .2px;
}
.board-desc{
  margin: 0;
  color: rgba(11,23,36,.72);
  font-size: 13px;
}
.board-grid{ margin-top: 10px; }
.card.game .idea{ margin-top: 8px; color: rgba(11,23,36,.84); }
.card.game .twist{ color: rgba(11,23,36,.72); }

/* Games meta row */
.card.game .meta{display:flex;gap:10px;flex-wrap:wrap;color:rgba(11,23,36,.65);font-size:12px;font-weight:700;}

/* Board panel styles */
.board{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}

/* subtle blueprint texture */
.board::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: none;
  background-size: cover;
  background-position: center;
  opacity: .06;
  pointer-events:none;
}

.board > *{ position: relative; }

.board-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 2px 0 10px;
  position: relative;
  padding-right: 56px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.board-kicker{
  display:flex;
  gap: 0;
  align-items:center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.board-chip{
  display:inline-flex;
  align-items:center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: rgba(11,23,36,.72);
  padding: 0;
  border: 0;
  background: transparent;
}
.board-chip + .board-chip::before{
  content: "•";
  margin: 0 8px 0 7px;
  color: rgba(11,23,36,.38);
}

.board-accent{
  height: 3px;
  width: 96px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,87,255,.85), rgba(78,168,255,.85));
  margin-top: 8px;
}

.board-grid{ margin-top: 12px; }

/* Board theme variants (subtle, readable) */
.board{
  background: rgba(255,255,255,0.92);
}

.board.theme-backyard{
  background: linear-gradient(180deg, rgba(226,255,235,0.92), rgba(255,255,255,0.92));
}
.board.theme-court{
  background: linear-gradient(180deg, rgba(244,223,196,0.92), rgba(255,255,255,0.92));
}
.board.theme-field{
  background: linear-gradient(180deg, rgba(230,255,248,0.92), rgba(255,255,255,0.92));
}
.board.theme-skill{
  background: linear-gradient(180deg, rgba(255,236,208,0.92), rgba(255,255,255,0.92));
}
.board.theme-duel{
  background: linear-gradient(180deg, rgba(235,232,255,0.92), rgba(255,255,255,0.92));
}
.board.theme-arcade{
  background: linear-gradient(180deg, rgba(245,236,255,0.92), rgba(255,255,255,0.92));
}
.board.theme-night{
  background: linear-gradient(180deg, rgba(255,242,230,0.92), rgba(255,255,255,0.92));
}
.board.theme-fitness{
  background: linear-gradient(180deg, rgba(255,232,239,0.92), rgba(255,255,255,0.92));
}
.board.theme-beach{
  background: linear-gradient(180deg, rgba(199,234,255,0.92), rgba(255,255,255,0.92));
}
.board.theme-winter{
  background: linear-gradient(180deg, rgba(235,249,255,0.92), rgba(255,255,255,0.92));
}
.board.theme-chill{
  background: linear-gradient(180deg, rgba(242,242,242,0.92), rgba(255,255,255,0.92));
}
.board.theme-cards{
  background: linear-gradient(180deg, rgba(255,236,226,0.92), rgba(255,255,255,0.92));
}

/* Small themed icon watermark in the header area */
.board.theme-skill .board-head::after,
.board.theme-duel .board-head::after,
.board.theme-fitness .board-head::after,
.board.theme-court .board-head::after,
.board.theme-backyard .board-head::after,
.board.theme-arcade .board-head::after,
.board.theme-night .board-head::after,
.board.theme-field .board-head::after,
.board.theme-beach .board-head::after,
.board.theme-winter .board-head::after,
.board.theme-chill .board-head::after,
.board.theme-cards .board-head::after{
  content:"";
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 14px;
  opacity: .22;
  background: rgba(0,0,0,.06);
  pointer-events: none;
  mask-size: 28px 28px;
  -webkit-mask-size: 28px 28px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}

.board.theme-skill .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.4 4.9L20 9l-4 3.9.9 5.6-4.9-2.6-4.9 2.6.9-5.6L4 9l5.6-2.1L12 2zm0 5.2L10.7 9.8 8 10.2l2 1.9-.5 2.7 2.5-1.3 2.5 1.3-.5-2.7 2-1.9-2.7-.4L12 7.2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2l2.4 4.9L20 9l-4 3.9.9 5.6-4.9-2.6-4.9 2.6.9-5.6L4 9l5.6-2.1L12 2zm0 5.2L10.7 9.8 8 10.2l2 1.9-.5 2.7 2.5-1.3 2.5 1.3-.5-2.7 2-1.9-2.7-.4L12 7.2z'/%3E%3C/svg%3E");
}
.board.theme-duel .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3l7 7-1.4 1.4L5.6 4.4 7 3zm10 0l1.4 1.4-7 7L10 10l7-7zM4 17l4 4-1.4 1.4-4-4L4 17zm16 0l1.4 1.4-4 4L16 21l4-4zM11 12h2v10h-2V12z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3l7 7-1.4 1.4L5.6 4.4 7 3zm10 0l1.4 1.4-7 7L10 10l7-7zM4 17l4 4-1.4 1.4-4-4L4 17zm16 0l1.4 1.4-4 4L16 21l4-4zM11 12h2v10h-2V12z'/%3E%3C/svg%3E");
}
.board.theme-fitness .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 9h3V7h2v10H5v-2H2V9zm15-2h2v2h3v6h-3v2h-2V7zM9 11h6v2H9v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 9h3V7h2v10H5v-2H2V9zm15-2h2v2h3v6h-3v2h-2V7zM9 11h6v2H9v-2z'/%3E%3C/svg%3E");
}
.board.theme-court .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2c1.7 0 3.3.5 4.6 1.4L8.4 13.6A7.9 7.9 0 014 12c0-4.4 3.6-8 8-8zm0 16c-1.7 0-3.3-.5-4.6-1.4l8.2-8.2c.9 1.2 1.4 2.8 1.4 4.6 0 4.4-3.6 8-8 8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2c1.7 0 3.3.5 4.6 1.4L8.4 13.6A7.9 7.9 0 014 12c0-4.4 3.6-8 8-8zm0 16c-1.7 0-3.3-.5-4.6-1.4l8.2-8.2c.9 1.2 1.4 2.8 1.4 4.6 0 4.4-3.6 8-8 8z'/%3E%3C/svg%3E");
}
.board.theme-backyard .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 6-9 6-9-6 9-6zm0 12l9-6v10H3V9l9 6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3l9 6-9 6-9-6 9-6zm0 12l9-6v10H3V9l9 6z'/%3E%3C/svg%3E");
}
.board.theme-arcade .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10v6H7V2zm-2 8h14l2 12h-4l-2-4H9l-2 4H3l2-12zm6 2h2v2h-2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h10v6H7V2zm-2 8h14l2 12h-4l-2-4H9l-2 4H3l2-12zm6 2h2v2h-2v-2z'/%3E%3C/svg%3E");
}
.board.theme-night .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c3 2 5 5 5 9a7 7 0 11-10-6c1 0 2 .2 3 .6C10.3 4.8 11 3.8 12 3z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c3 2 5 5 5 9a7 7 0 11-10-6c1 0 2 .2 3 .6C10.3 4.8 11 3.8 12 3z'/%3E%3C/svg%3E");
}
.board.theme-field .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v16H4V4zm2 2v12h12V6H6zm5 0h2v12h-2V6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v16H4V4zm2 2v12h12V6H6zm5 0h2v12h-2V6z'/%3E%3C/svg%3E");
}
.board.theme-beach .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2c3 0 6 1 8 3l-2 2c-2-2-4-3-6-3S8 5 6 7L4 5c2-2 5-3 8-3zm-1 7h2v13h-2V9zM5 22h14v2H5v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2c3 0 6 1 8 3l-2 2c-2-2-4-3-6-3S8 5 6 7L4 5c2-2 5-3 8-3zm-1 7h2v13h-2V9zM5 22h14v2H5v-2z'/%3E%3C/svg%3E");
}
.board.theme-winter .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v20h-2V2zm-7 7l1.4-1.4L12 14.2l6.6-6.6L20 9l-8 8-8-8zm0 6l1.4-1.4L12 20.2l6.6-6.6L20 15l-8 8-8-8z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 2h2v20h-2V2zm-7 7l1.4-1.4L12 14.2l6.6-6.6L20 9l-8 8-8-8zm0 6l1.4-1.4L12 20.2l6.6-6.6L20 15l-8 8-8-8z'/%3E%3C/svg%3E");
}
.board.theme-chill .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 100 18 9 9 0 000-18zm1 5v5l4 2-1 2-5-3V8h2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3a9 9 0 100 18 9 9 0 000-18zm1 5v5l4 2-1 2-5-3V8h2z'/%3E%3C/svg%3E");
}
.board.theme-cards .board-head::after{
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h10a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V5a2 2 0 012-2zm2 3v10h6V6H8zm12 3h-1v10H9v1h10a2 2 0 002-2V11a2 2 0 00-1-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 3h10a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V5a2 2 0 012-2zm2 3v10h6V6H8zm12 3h-1v10H9v1h10a2 2 0 002-2V11a2 2 0 00-1-2z'/%3E%3C/svg%3E");
}

/* Board dropdown behavior */
.board{ cursor: default; }
.board-summary{
  cursor: pointer;
  list-style: none;
}
.board-summary::-webkit-details-marker{ display:none; }

/* Make summary layout align like board-head */
.board[open] .board-summary .board-head{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.board-content{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Smooth open/close */
.board-content{
  animation: studFadeIn .18s ease;
}
@keyframes studFadeIn{
  from{ opacity: 0; transform: translateY(-4px); }
  to{ opacity: 1; transform: translateY(0); }
}





.board-summary{ display:block; }

/* Board header is clickable */
.board-summary{
  cursor: pointer;
}
.board-summary:focus{
  outline: none;
}
.board-summary:focus-visible{
  outline: 3px solid rgba(47,87,255,.25);
  outline-offset: 6px;
  border-radius: 18px;
}

/* Make the header feel tappable */
.board-summary .board-head{
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  transition: transform .14s ease, box-shadow .14s ease;
}
.board-summary:hover .board-head{
  transform: translateY(-1px);
}
.board-summary:hover{
  filter: saturate(1.02);
}

/* Title row + plus/minus indicator */
.board-title-row{
  display:flex;
  align-items:center;
  gap: 10px;
}
.pm-indicator{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  position: relative;
  flex: 0 0 28px;
}
.pm-indicator::before,
.pm-indicator::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: rgba(0,0,0,.55);
  transform: translate(-50%,-50%);
  border-radius: 2px;
}
.pm-indicator::after{
  width: 2px;
  height: 12px;
}
.board[open] .pm-indicator::after{
  display:none; /* minus when open */
}

/* Description + hint */
.board-desc-wrap{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.board-hint{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(90deg, rgba(47,87,255,.16), rgba(167,230,255,.16));
  color: rgba(11,23,36,.78);
}
.board-hint::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,87,255,.85), rgba(78,168,255,.85));
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Activities hint visibility: show when collapsed, hide when expanded */
details.board[open] .board-hint{
  display: none;
}

/* Compact variant for the STUDboard Playbook panel */
.board.board-playbook{
  padding: 12px 14px 12px;
  border-radius: 20px;
}

.board.board-playbook .board-head{
  margin: 0;
  padding-right: 46px;
}

.board.board-playbook .board-head h2{
  font-size: 18px;
}

.board.board-playbook .pm-indicator{
  width: 26px;
  height: 26px;
  flex-basis: 26px;
}

.board.board-playbook .pm-indicator::before{
  width: 11px;
}

.board.board-playbook .pm-indicator::after{
  height: 11px;
}

.board.board-playbook .board-hint{
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: .6px;
}

.board.board-playbook .board-desc-wrap{
  margin-top: 4px;
}

.board.board-playbook .board-desc{
  font-size: 12px;
}

.board.board-playbook .board-accent{
  width: 76px;
  height: 2px;
  margin-top: 6px;
}

/* Keep the collapsed playbook panel compact like the picker/filter cards */
.board.board-playbook:not([open]) .board-desc-wrap,
.board.board-playbook:not([open]) .board-accent{
  display: none;
}

.board.board-playbook .board-content{
  margin-top: 12px;
  padding-top: 12px;
}

/* Separator and content spacing when open */
.board-content{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* Home dropdown matches games page dropdown feel */
details.home-drop summary.home-summary,
details.home-inline-chart summary.home-summary,
details.activity-tool-card summary.home-summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 18px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
details.home-drop summary.home-summary::-webkit-details-marker,
details.home-inline-chart summary.home-summary::-webkit-details-marker,
details.activity-tool-card summary.home-summary::-webkit-details-marker{ display:none; }

.home-sum-left{ display:flex; flex-direction:column; gap: 6px; min-width: 0; }
.home-title-row{ display:flex; align-items:center; gap: 10px; flex-wrap: wrap; }
.home-title{
  font-weight: 950;
  letter-spacing: .2px;
}
details.home-drop .home-hint,
details.home-inline-chart .home-hint,
details.activity-tool-card .home-hint{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: linear-gradient(90deg, rgba(47,87,255,.14), rgba(167,230,255,.14));
  color: rgba(11,23,36,.78);
  width: fit-content;
}
details.home-drop .home-hint::before,
details.home-inline-chart .home-hint::before,
details.activity-tool-card .home-hint::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,87,255,.85), rgba(78,168,255,.85));
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

/* Make header feel clickable */
details.home-drop summary.home-summary:hover,
details.home-inline-chart summary.home-summary:hover,
details.activity-tool-card summary.home-summary:hover{
  filter: saturate(1.02);
}
details.home-drop summary.home-summary:hover .pm-indicator,
details.home-inline-chart summary.home-summary:hover .pm-indicator,
details.activity-tool-card summary.home-summary:hover .pm-indicator{
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
  transform: translateY(-1px);
}

/* Ensure pm-indicator works inside home cards */
details.home-drop .pm-indicator,
details.home-inline-chart .pm-indicator,
details.activity-tool-card .pm-indicator{ transition: transform .14s ease, box-shadow .14s ease; }

/* Home dropdown +/− toggle */
details.home-drop[open] .pm-indicator::after,
details.home-inline-chart[open] .pm-indicator::after,
details.activity-tool-card[open] .pm-indicator::after{ display:none; }

/* Home hint visibility: show when collapsed, hide when expanded */
details.home-drop[open] .home-hint,
details.home-inline-chart[open] .home-hint,
details.activity-tool-card[open] .home-hint{
  display: none;
}

/* 15 Minute Break Board theme */
.board.theme-break{
  background: linear-gradient(180deg, rgba(255,243,184,0.92), rgba(255,255,255,0.92));
}
.board.theme-break .board-head::after{
  content:"";
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 14px;
  opacity: .22;
  background: rgba(0,0,0,.06);
  pointer-events: none;
  mask-size: 28px 28px;
  -webkit-mask-size: 28px 28px;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 7a1 1 0 110 2 1 1 0 010-2zm7 4a7 7 0 11-14 0 7 7 0 0114 0zm2 0c0 5-4 9-9 9s-9-4-9-9 4-9 9-9 9 4 9 9zm-9-5h-1v6l5 3 .5-.9-4.5-2.6V6z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 7a1 1 0 110 2 1 1 0 010-2zm7 4a7 7 0 11-14 0 7 7 0 0114 0zm2 0c0 5-4 9-9 9s-9-4-9-9 4-9 9-9 9 4 9 9zm-9-5h-1v6l5 3 .5-.9-4.5-2.6V6z'/%3E%3C/svg%3E");
}

/* Tight section spacing on home */
#features.section{ padding-top: 14px; } /* reduce gap after mint box */
.footer-cta.section{ padding-top: 14px; padding-bottom: 18px; } /* reduce gap above Ready to play */

/* Nav tagline style */
.brand span{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}
@media (max-width: 520px){
  .brand span{ max-width: 62vw; font-size: 11px; }
}

/* Premium mobile nav overlay */
.mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 86px 16px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.mobile-nav::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.26);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity .18s ease;
}
.mobile-nav .mobile-nav-inner{
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
  overflow: hidden;
  transform: translateY(-10px) scale(.985);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
.mobile-nav .mobile-nav-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mobile-nav .mobile-nav-title{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: rgba(11,23,36,.70);
}
.mobile-nav .mobile-close{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #ffffff;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .14s ease, box-shadow .14s ease;
}
.mobile-nav .mobile-close:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
}
.mobile-nav .mobile-close span{
  width: 14px; height: 14px; position: relative; display:block;
}
.mobile-nav .mobile-close span::before,
.mobile-nav .mobile-close span::after{
  content:"";
  position:absolute;
  top: 6px; left: 0; right: 0;
  height: 2px;
  background: rgba(0,0,0,.55);
  border-radius: 2px;
}
.mobile-nav .mobile-close span::before{ transform: rotate(45deg); }
.mobile-nav .mobile-close span::after{ transform: rotate(-45deg); }

.mobile-nav .mobile-nav-links{
  display:flex;
  flex-direction: column;
  padding: 10px;
}
.mobile-nav .mobile-nav-links a{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 16px;
  color: rgba(11,23,36,.92);
  font-weight: 900;
  letter-spacing: .2px;
  font-size: 16px;
  text-decoration: none;
  transition: background .12s ease, transform .12s ease;
  transform: translateY(6px);
  opacity: 0;
}
.mobile-nav .mobile-nav-links a:hover{
  background: rgba(0,0,0,.04);
  transform: translateY(-1px);
}
.mobile-nav .mobile-nav-links a::after{
  content:"";
  width: 8px; height: 8px;
  border-right: 2px solid rgba(0,0,0,.35);
  border-bottom: 2px solid rgba(0,0,0,.35);
  transform: rotate(-45deg);
  opacity: .7;
}

.mobile-nav[data-open="true"]{
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav[data-open="true"]::before{ opacity: 1; }
.mobile-nav[data-open="true"] .mobile-nav-inner{
  transform: translateY(0) scale(1);
  opacity: 1;
}
.mobile-nav[data-open="true"] .mobile-nav-links a{
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(1){ transition-delay: .02s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(2){ transition-delay: .04s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(3){ transition-delay: .06s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(4){ transition-delay: .08s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(5){ transition-delay: .10s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(6){ transition-delay: .12s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(7){ transition-delay: .14s; }
.mobile-nav[data-open="true"] .mobile-nav-links a:nth-child(8){ transition-delay: .16s; }

body.no-scroll{ overflow:hidden; }

/* Hamburger button polish */
.hamburger{
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.hamburger:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}
.hamburger[aria-expanded="true"]{
  background: rgba(11,23,36,.08);
}

.mobile-nav[hidden]{ display:none !important; }

/* Mobile header no title */
.mobile-nav .mobile-nav-header{
  justify-content: flex-end;
}
.mobile-nav .mobile-nav-title{ display:none; }

/* Disclaimer full width (consistent across pages) */
.disclaimer{
  width: 100%;
  max-width: none;
  display: block;
}

/* Neutral site background */
html, body{
  background-color: #f5f5f7;
}


/* Home dropdowns: keep panels white (no dark header on open) */
.home-drop{
  background:#ffffff !important;
}
.home-drop[open]{
  background:#ffffff !important;
}
.home-drop > summary.home-summary{
  background:#ffffff !important;
}
.home-drop[open] > summary.home-summary{
  background:#ffffff !important;
}

/* Home dropdown theme variants (match Activities board color language) */
.home-drop.home-drop-utility,
.home-drop.home-drop-utility[open],
.home-drop.home-drop-utility > summary.home-summary,
.home-drop.home-drop-utility[open] > summary.home-summary{
  background: linear-gradient(180deg, rgba(255,243,184,0.92), rgba(255,255,255,0.92)) !important;
}

.home-drop.home-drop-activity,
.home-drop.home-drop-activity[open],
.home-drop.home-drop-activity > summary.home-summary,
.home-drop.home-drop-activity[open] > summary.home-summary{
  background: linear-gradient(180deg, rgba(220,242,255,0.92), rgba(255,255,255,0.92)) !important;
}

.home-drop.home-drop-learn,
.home-drop.home-drop-learn[open],
.home-drop.home-drop-learn > summary.home-summary,
.home-drop.home-drop-learn[open] > summary.home-summary{
  background: linear-gradient(180deg, rgba(235,232,255,0.92), rgba(255,255,255,0.92)) !important;
}

.challenge-builder.card.activity-tool-card,
.activity-filter.card.activity-tool-card{
  padding: 0;
  overflow: hidden;
}

.activity-tool-card > summary.home-summary{
  background: transparent;
}

.activity-tool-card[open] > summary.home-summary{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.activity-tool-card > .activity-tool-content{
  padding: 14px;
}

.home-inline-chart{
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(83,98,173,.38);
  background:
    linear-gradient(90deg, rgba(47,87,255,.12) 0%, rgba(78,168,255,.15) 50%, rgba(167,230,255,.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,255,.94));
  box-shadow:
    0 0 0 2px rgba(47,87,255,.08),
    0 12px 28px rgba(40,72,108,.14);
}

.home-inline-chart-summary{
  cursor: pointer;
  list-style: none;
}

.home-inline-chart-summary::-webkit-details-marker{
  display: none;
}

.home-inline-chart[open] .home-inline-chart-summary{
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

.home-inline-chart-content{
  padding: 0 18px 18px;
}

.home-inline-chart-lead{
  margin: 6px 0 0;
  color: rgba(11,23,36,.78);
  font-size: 14px;
}

.home-embed-wrap{
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.home-embed-frame{
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  background: #ffffff;
}

@media (max-width: 720px){
  .activity-tool-card > .activity-tool-content{
    padding: 12px;
  }
  .home-inline-chart-title{
    font-size: 18px;
  }
  .home-inline-chart-lead{
    font-size: 13px;
  }
  .home-inline-chart-content{
    padding: 0 14px 16px;
  }
  .home-embed-wrap{
    margin-top: 12px;
    border-radius: 14px;
  }
  .home-embed-frame{
    height: 620px;
  }
}

/* Page hero titles/leads (non-boxed) */
.page-hero-row{
  align-items: flex-start;
}

.page-hero-copy{
  flex: 1 1 460px;
  min-width: 0;
}

.page-hero-title{
  margin: 0;
  display: inline-block;
  font-weight: 900;
  letter-spacing: .15px;
  color: #0b1724;
}

.page-hero-title::after{
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47,87,255,.86), rgba(78,168,255,.86));
}

.page-hero-lead{
  margin: 12px 0 0;
  max-width: 72ch;
  color: rgba(11,23,36,.84);
  font-size: 19px;
  line-height: 1.5;
}

@media (max-width: 900px){
  .page-hero-title{
    font-size: clamp(30px, 8vw, 40px);
  }
  .page-hero-lead{
    font-size: 17px;
  }
}

/* Align top hero spacing with About page rhythm */
.wallet-page.section{
  padding-top: 15px;
}



/* Hero token: nudge down slightly for better vertical balance */
.hero-center{ padding-top: 8px; }


/* Colored "Activity Boards" button */
.btn.accent{
  background: linear-gradient(135deg, rgba(87, 126, 255, 0.92), rgba(167, 230, 255, 0.92));
  color: #0b0b0d;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}
.btn.accent:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn.accent:active{
  transform: translateY(0px);
}

/* Home "Activity Boards" buttons match Activities filter palette */
.btn.home-activity-btn{
  border-color: rgba(83,98,173,.45);
  background:
    linear-gradient(90deg, rgba(47,87,255,.24) 0%, rgba(78,168,255,.24) 50%, rgba(167,230,255,.24) 100%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(242,248,253,.95));
  box-shadow:
    0 0 0 2px rgba(47,87,255,.10),
    0 10px 24px rgba(40,72,108,.16);
}
.btn.home-activity-btn:hover{
  background:
    linear-gradient(90deg, rgba(47,87,255,.30) 0%, rgba(78,168,255,.30) 50%, rgba(167,230,255,.30) 100%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,249,255,.96));
}

/* Home DEX Screener button: high-contrast black/white */
.btn.home-dex-btn{
  color: #f8fafc;
  border-color: rgba(255,255,255,.40);
  background:
    radial-gradient(120px 60px at 18% 10%, rgba(255,255,255,.30), transparent 62%),
    linear-gradient(135deg, rgba(28,31,35,.98) 0%, rgba(10,12,14,.99) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 10px 24px rgba(0,0,0,.32);
}
.btn.home-dex-btn:hover{
  color: #ffffff;
  background:
    radial-gradient(130px 64px at 18% 10%, rgba(255,255,255,.36), transparent 62%),
    linear-gradient(135deg, rgba(44,47,52,.98) 0%, rgba(14,16,19,.99) 100%);
}

/* Keep the three Home CTA buttons the same size */
.btn.home-cta-btn{
  width: 236px;
  min-height: 52px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 720px){
  .btn.home-cta-btn{
    width: 100%;
    max-width: 340px;
    min-height: 50px;
  }
}

/* Page-specific card spacing */
.wallet-page .card{
  margin-top: 22px;
  margin-bottom: 22px;
}

/* Keep in-page jumps from hiding content behind the sticky header */
#buy-stud-guide,
#new-wallet-guide{
  scroll-margin-top: 96px;
}

/* Keep Buy/Wallet/About page content width consistent with Home/Activities */
.info-page .info-story-card,
.info-page .info-market-card{
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.info-page .info-story-card{
  margin: 18px auto 0;
  background: linear-gradient(180deg, rgba(255,249,220,0.94), rgba(255,255,255,0.94));
}
.info-page .info-market-card{
  margin: 14px auto 0;
  background: rgba(224,239,255,0.94);
}
.info-page .info-links-card{
  margin: 14px auto 0;
}
.info-page .about-story-title{
  margin: 0 0 12px;
  font-size: clamp(24px, 3.6vw, 32px);
  letter-spacing: .2px;
}
.info-page .info-story-card > p,
.info-page .info-market-card > p{
  margin: 0 0 12px;
  max-width: 78ch;
  color: rgba(11,23,36,.86);
}
.info-page .info-market-card > p:last-child,
.info-page .info-story-card > p:last-child{
  margin-bottom: 0;
}


/* X logo placement + alignment (desktop nav, footer, mobile menu) */
.x-logo{
  width:16px;
  height:16px;
  fill:#0b0b0d;
  opacity:0.9;
}

/* Desktop: match pill nav buttons */
.x-pill{
  display:inline-flex;
  align-items:center;
  gap:0;
  padding: 10px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.08);
  background:#ffffff;
  text-decoration:none;
  line-height:1;
}
.x-pill:hover{
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}
.x-pill:active{ transform: translateY(0px); }

/* Footer: icon button aligned with text links */
.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
  justify-content:flex-end;
}
@media (max-width: 720px){
  .footer-links{ justify-content:center; }
}

/* Mobile menu: row style like other links */
.mobile-x{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.mobile-x svg{ flex:0 0 auto; }

/* Footer X: align like other footer links (no circle) */
.footer-x{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
}
.footer-x .x-logo{
  width:15px;
  height:15px;
  fill: currentColor;
  opacity:0.85;
}

/* Inline X logo (for text like '@studboards on X') */
.inline-x{
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  fill: currentColor;
  opacity: 0.85;
}

/* Inline warning note under list items */
.inline-info{
  margin-top: 10px;
  padding: 0 0 0 14px;
  position: relative;
  font-size: 14px;
  color: #111827;
  line-height: 1.45;
}
.inline-info::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: rgba(11,23,36,.72);
  line-height: 1.45;
}
.inline-subnote{
  margin-left: 14px;
}

.inline-important-text{
  display: inline-block;
  font-weight: 900;
  color: #111827;
  background: rgba(254, 226, 226, 0.9);
  border: 1px solid rgba(220, 38, 38, 0.16);
  border-radius: 8px;
  padding: 1px 6px;
}

.inline-warn{
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  font-size: 14px;
  color: #111827;
}



/* Desktop nav cleanup v2: remove pill bubbles, use clean text links */
@media (min-width: 760px){
  .site-header .nav a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 10px !important;
    border-radius: 10px !important;
    color: #111827 !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
  }
  .site-header .nav a:hover{
    background: rgba(0,0,0,0.04) !important;
  }
  .site-header .nav a.active{
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
  }

  /* Make X link behave like other header links */
  .site-header .nav a.x-pill{
    min-width: auto;
    padding: 10px 10px !important;
    background: transparent !important;
  }
  .site-header .nav a.x-pill:hover{
    background: rgba(0,0,0,0.04) !important;
  }

  .site-header .nav{
    gap: 6px !important;
  }
}

@media (min-width: 760px){
  .site-header .nav a.active::after{
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 6px;
    height: 2px;
    background: rgba(0,0,0,0.28);
    border-radius: 999px;
  }
}


/* Remove desktop hamburger button box */
@media (min-width: 760px){
  .hamburger, button.hamburger{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
}


/* Hamburger menu: remove box at all widths */
.hamburger, button.hamburger, .site-header .hamburger{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.hamburger:focus,
.hamburger:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}
