/* GSOL LAB playful theme: layered over gsol-premium.css */
:root {
  --fun-ink: #24164f;
  --fun-muted: #5f5a7d;
  --fun-purple: #7c3aed;
  --fun-purple-dark: #5b21b6;
  --fun-pink: #ec4899;
  --fun-yellow: #fbbf24;
  --fun-orange: #f97316;
  --fun-teal: #14b8a6;
  --fun-green: #22c55e;
  --fun-green-dark: #15803d;
  --fun-blue: #3b82f6;
  --fun-red: #ef4444;
  --fun-card: #ffffff;
  --fun-radius: 28px;
  --fun-heading: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --fun-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  background: #f3efff;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(251, 191, 36, 0.28), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(236, 72, 153, 0.2), transparent 28%),
    radial-gradient(circle at 70% 92%, rgba(20, 184, 166, 0.2), transparent 30%),
    linear-gradient(180deg, #f6f1ff 0%, #eaf4ff 100%);
  background-attachment: fixed;
  color: var(--fun-ink);
  font-family: var(--fun-body);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.display-4, .h3, .h6 {
  font-family: var(--fun-heading);
  letter-spacing: 0;
}

.text-muted { color: var(--fun-muted) !important; }

/* ---------- Floating background shapes ---------- */
.fun-sky {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.fun-sky span {
  animation: fun-float var(--dur, 14s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  font-size: var(--size, 2.4rem);
  left: var(--x);
  opacity: 0.22;
  position: absolute;
  top: var(--y);
  user-select: none;
}

body > *:not(.fun-sky):not(.fun-confetti):not(.modal):not(.modal-backdrop) {
  position: relative;
  z-index: 1;
}

@keyframes fun-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(12deg); }
}

/* ---------- Top navigation ---------- */
.fun-nav {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 1rem 1rem 0;
}

.fun-brand {
  align-items: center;
  color: var(--fun-ink);
  display: inline-flex;
  font-family: var(--fun-heading);
  font-size: 1.5rem;
  font-weight: 700;
  gap: 0.5rem;
  text-decoration: none !important;
}

.fun-brand:hover { color: var(--fun-purple); }

.fun-brand-mark {
  align-items: center;
  animation: fun-wobble 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--fun-yellow), var(--fun-orange));
  border-radius: 14px;
  box-shadow: 0 4px 0 #c2410c;
  display: inline-flex;
  font-size: 1.35rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.fun-brand-text span { color: var(--fun-pink); }

.fun-nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.fun-nav-link {
  border-radius: 999px;
  color: var(--fun-ink);
  font-weight: 800;
  padding: 0.45rem 0.85rem;
  text-decoration: none !important;
  transition: background 150ms ease, transform 150ms ease;
}

.fun-nav-link:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--fun-purple);
  transform: translateY(-2px);
}

.fun-user-chip {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  gap: 0.35rem;
  max-width: 220px;
  overflow: hidden;
  padding: 0.35rem 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Chunky game buttons ---------- */
.btn {
  font-family: var(--fun-heading);
  font-weight: 600;
}

.btn-primary,
.badge-primary.btn {
  background: linear-gradient(180deg, #8b5cf6 0%, var(--fun-purple) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--fun-purple-dark), 0 14px 26px rgba(124, 58, 237, 0.3);
  color: #fff;
  padding: 0.7rem 1.5rem;
  transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #9d74fa 0%, #8045f0 100%);
  color: #fff;
  filter: saturate(1.1);
  transform: translateY(-2px);
}

.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background: var(--fun-purple);
  box-shadow: 0 2px 0 var(--fun-purple-dark), 0 6px 12px rgba(124, 58, 237, 0.25) !important;
  transform: translateY(4px);
}

.btn-fun-yellow {
  background: linear-gradient(180deg, #fcd34d 0%, var(--fun-yellow) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 0 #d97706, 0 14px 26px rgba(251, 191, 36, 0.35);
  color: #422006 !important;
  padding: 0.85rem 1.8rem;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-fun-yellow:hover { transform: translateY(-2px); }
.btn-fun-yellow:active { box-shadow: 0 2px 0 #d97706; transform: translateY(4px); }

.btn-outline-primary {
  background: #fff;
  border: 2px solid rgba(124, 58, 237, 0.35);
  border-radius: 999px;
  color: var(--fun-purple);
}

.btn-outline-primary:hover {
  background: var(--fun-purple);
  border-color: var(--fun-purple);
}

.btn-secondary {
  background: #fff;
  border: 2px solid #e4ddf7;
  border-radius: 999px;
  box-shadow: 0 4px 0 #d9d0f2;
  color: var(--fun-ink);
}

.btn-lg-fun {
  font-size: 1.25rem;
  padding: 0.9rem 2rem;
}

/* ---------- Hero ---------- */
.fun-hero {
  align-items: center;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  margin-bottom: 2.5rem;
}

.fun-kicker {
  align-items: center;
  animation: fun-pop-in 600ms cubic-bezier(.2, 1.4, .4, 1) both;
  background: #fff;
  border: 2px solid rgba(236, 72, 153, 0.25);
  border-radius: 999px;
  color: var(--fun-pink);
  display: inline-flex;
  font-weight: 900;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
}

.display-4 {
  color: var(--fun-ink);
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
}

.fun-title-pop {
  background: linear-gradient(90deg, var(--fun-purple), var(--fun-pink), var(--fun-orange), var(--fun-purple));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fun-shimmer 6s linear infinite;
}

@keyframes fun-shimmer {
  to { background-position: 300% 0; }
}

.lead {
  color: var(--fun-muted);
  font-weight: 600;
}

.fun-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.fun-mascot {
  animation: fun-bob 3.2s ease-in-out infinite;
  display: block;
  filter: drop-shadow(0 24px 30px rgba(91, 33, 182, 0.25));
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
}

.fun-mascot .fun-eye {
  animation: fun-blink 5s infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.fun-mascot .fun-wing-l,
.fun-mascot .fun-wing-r {
  transform-box: fill-box;
}

.fun-mascot .fun-wing-l { animation: fun-flap-l 3.2s ease-in-out infinite; transform-origin: top right; }
.fun-mascot .fun-wing-r { animation: fun-flap-r 3.2s ease-in-out infinite; transform-origin: top left; }

.fun-speech {
  animation: fun-pop-in 700ms 400ms cubic-bezier(.2, 1.4, .4, 1) both;
  background: #fff;
  border: 3px solid var(--fun-ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--fun-ink);
  font-family: var(--fun-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 auto 0.8rem;
  max-width: 250px;
  padding: 0.6rem 1rem;
  position: relative;
  text-align: center;
}

.fun-speech::after {
  border: 12px solid transparent;
  border-top-color: var(--fun-ink);
  bottom: -27px;
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

@keyframes fun-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes fun-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

@keyframes fun-flap-l {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
}

@keyframes fun-flap-r {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-10deg); }
}

@keyframes fun-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@keyframes fun-pop-in {
  0% { opacity: 0; transform: scale(0.6) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Stage picker ---------- */
#stage_board_form {
  background: #fff !important;
  border: 3px solid var(--fun-ink) !important;
  border-radius: var(--fun-radius) !important;
  box-shadow: 0 8px 0 var(--fun-ink) !important;
  padding: 1.5rem !important;
}

#stage_board_form label {
  font-family: var(--fun-heading);
  font-size: 1.05rem;
}

.form-control {
  border: 2px solid #e4ddf7;
  border-radius: 16px;
  color: var(--fun-ink);
  font-weight: 700;
  height: auto;
  min-height: 50px;
}

.form-control:focus {
  border-color: var(--fun-purple);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.fun-picker-title {
  font-family: var(--fun-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- How it works ---------- */
.fun-steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3rem 0 1rem;
}

.fun-step {
  background: #fff;
  border-radius: var(--fun-radius);
  box-shadow: 0 14px 34px rgba(36, 22, 79, 0.08);
  padding: 1.5rem;
  text-align: center;
  transition: transform 200ms ease;
}

.fun-step:hover { transform: translateY(-6px) rotate(-1deg); }

.fun-step-icon {
  align-items: center;
  background: var(--step-color, var(--fun-purple));
  border-radius: 24px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
  display: inline-flex;
  font-size: 2rem;
  height: 70px;
  justify-content: center;
  margin-bottom: 0.8rem;
  width: 70px;
}

.fun-step h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.fun-step p { color: var(--fun-muted); font-weight: 600; margin: 0; }

/* ---------- Subject & topic cards ---------- */
.row.mx-n2 { row-gap: 1.5rem; }

.card {
  --card-color: var(--fun-purple);
  background: var(--fun-card);
  border: 3px solid transparent;
  border-radius: var(--fun-radius);
  box-shadow: 0 8px 0 color-mix(in srgb, var(--card-color) 35%, transparent), 0 18px 36px rgba(36, 22, 79, 0.08);
  height: 100%;
  overflow: visible;
  transition: transform 200ms cubic-bezier(.2, 1.4, .4, 1), border-color 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  border-color: var(--card-color);
  box-shadow: 0 10px 0 var(--card-color), 0 24px 40px rgba(36, 22, 79, 0.14);
  transform: translateY(-8px) rotate(-1deg);
}

.card .btn {
  font-family: var(--fun-body);
  height: 100%;
  padding: 1.4rem 1.4rem 1.6rem;
}

.card .card-body { padding: 0; }

.card h6,
.card .h6 {
  color: var(--fun-ink);
  font-family: var(--fun-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.fun-card-icon {
  align-items: center;
  background: color-mix(in srgb, var(--card-color) 16%, #fff);
  border: 3px solid color-mix(in srgb, var(--card-color) 45%, #fff);
  border-radius: 22px;
  display: inline-flex;
  font-size: 2.1rem;
  height: 68px;
  justify-content: center;
  transition: transform 300ms cubic-bezier(.2, 1.6, .4, 1);
  width: 68px;
}

.card:hover .fun-card-icon { transform: scale(1.15) rotate(-10deg); }

.fun-card-meta {
  background: color-mix(in srgb, var(--card-color) 12%, #fff);
  border-radius: 999px;
  color: color-mix(in srgb, var(--card-color) 75%, #000) !important;
  display: inline-block;
  font-size: 0.82rem !important;
  font-weight: 800;
  margin-top: 0.75rem !important;
  padding: 0.2rem 0.7rem;
}

.fun-play-hint {
  color: var(--card-color);
  font-family: var(--fun-heading);
  font-weight: 600;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.card:hover .fun-play-hint { opacity: 1; transform: translateX(0); }

.fun-pop {
  animation: fun-pop-in 520ms cubic-bezier(.2, 1.4, .4, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

/* Old availability badges are replaced by the play hint */
.card .badge-success,
.card .text-success { display: none; }
.card .badge-warning { background: var(--fun-yellow); color: #422006; }

/* ---------- Badge guide / misc pages ---------- */
.badge-guide-panel {
  border-radius: var(--fun-radius) !important;
}

.auth-card {
  border: 3px solid var(--fun-ink) !important;
  border-radius: var(--fun-radius) !important;
  box-shadow: 0 8px 0 var(--fun-ink) !important;
}

.auth-submit {
  background: linear-gradient(180deg, #8b5cf6 0%, var(--fun-purple) 100%) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 0 var(--fun-purple-dark) !important;
  font-family: var(--fun-heading);
}

/* ---------- Quiz room ---------- */
.fun-room {
  margin: 0 auto;
  max-width: 880px;
  padding: 1.5rem 1rem 3rem;
  width: 100%;
}

#game {
  background: #fff;
  border: 3px solid var(--fun-ink);
  border-radius: 34px;
  box-shadow: 0 10px 0 var(--fun-ink), 0 30px 60px rgba(36, 22, 79, 0.15);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

#game.fun-correct {
  animation: fun-jump 600ms cubic-bezier(.2, 1.6, .4, 1);
  border-color: var(--fun-green);
  box-shadow: 0 10px 0 var(--fun-green-dark), 0 30px 60px rgba(34, 197, 94, 0.25);
}

#game.fun-wrong {
  animation: fun-shake 450ms ease;
  border-color: var(--fun-red);
  box-shadow: 0 10px 0 #b91c1c, 0 30px 60px rgba(239, 68, 68, 0.2);
}

@keyframes fun-jump {
  0% { transform: scale(1); }
  35% { transform: scale(1.04) translateY(-10px); }
  100% { transform: scale(1); }
}

@keyframes fun-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-12px) rotate(-1deg); }
  40% { transform: translateX(10px) rotate(1deg); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(6px); }
}

#game h6.h3 {
  color: var(--fun-purple);
  font-size: 1.6rem;
}

#game #question {
  color: var(--fun-ink);
  font-family: var(--fun-heading);
  font-weight: 600;
}

#game #question.fun-new-question {
  animation: fun-pop-in 420ms cubic-bezier(.2, 1.4, .4, 1);
}

#response,
#response_textarea {
  background: #faf8ff;
  border: 3px solid #ddd3fb !important;
  border-radius: 22px;
  font-family: var(--fun-heading);
  font-size: 1.8rem;
  font-weight: 600;
  min-height: 70px;
}

#response:focus,
#response_textarea:focus {
  border-color: var(--fun-purple) !important;
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.15);
}

#submit_response {
  font-size: 1.3rem;
  margin-top: 0.4rem;
  padding: 0.8rem 2.4rem;
}

#question_label {
  font-family: var(--fun-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.6rem;
}

#question_label.text-success { color: var(--fun-green-dark) !important; }
#question_label.text-danger { color: var(--fun-red) !important; }

.choice-option {
  border: 3px solid #e4ddf7 !important;
  border-radius: 20px !important;
  box-shadow: 0 5px 0 #e4ddf7 !important;
  font-family: var(--fun-heading);
  font-size: 1.15rem;
  transition: transform 120ms ease, border-color 120ms ease;
}

.choice-option:nth-child(4n+1):hover { border-color: var(--fun-pink) !important; }
.choice-option:nth-child(4n+2):hover { border-color: var(--fun-blue) !important; }
.choice-option:nth-child(4n+3):hover { border-color: var(--fun-orange) !important; }
.choice-option:nth-child(4n+4):hover { border-color: var(--fun-green) !important; }
.choice-option:hover { transform: translateY(-3px); }
.choice-option:active { box-shadow: 0 1px 0 #e4ddf7 !important; transform: translateY(3px); }

.quiz-progress > span,
.quiz-progress > a {
  background: #fff;
  border: 2px solid #ebe5fb;
  color: var(--fun-ink);
  font-family: var(--fun-heading);
  font-weight: 600;
}

.quiz-progress strong { color: var(--fun-green-dark); }
.quiz-progress .fa-fire { color: var(--fun-orange); }
.quiz-progress .fa-award { color: var(--fun-yellow); }

.fun-streak-hot .fa-fire {
  animation: fun-flame 700ms ease-in-out infinite alternate;
  display: inline-block;
}

@keyframes fun-flame {
  from { transform: scale(1) rotate(-8deg); }
  to { transform: scale(1.35) rotate(8deg); }
}

.fun-bump { animation: fun-bump 500ms cubic-bezier(.2, 1.8, .4, 1); }

@keyframes fun-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Floating "+1" / cheer text */
.fun-burst-text {
  animation: fun-rise 1100ms ease-out forwards;
  color: var(--fun-green-dark);
  font-family: var(--fun-heading);
  font-size: 2rem;
  font-weight: 700;
  left: 50%;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 3px 0 #fff;
  top: -1.2rem;
  white-space: nowrap;
  z-index: 30;
}

@keyframes fun-rise {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.6); }
  20% { opacity: 1; transform: translate(-50%, -10px) scale(1.15); }
  100% { opacity: 0; transform: translate(-50%, -90px) scale(1); }
}

/* Leaderboard: sits above the game, moves to the side on wide screens */
#leaderboard-modal {
  margin: 1rem auto 0;
  max-width: 880px;
  padding: 0 1rem;
}

#labList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

#labList .list-group-item { margin-bottom: 0; }

@media (min-width: 1440px) {
  #leaderboard-modal {
    margin: 0;
    max-width: 280px;
    padding: 0;
    position: fixed;
    right: 1.5rem;
    top: 6rem;
    width: 280px;
    z-index: 5;
  }

  #labList { display: block; }
  #labList .list-group-item { margin-bottom: 0.4rem; }
}

#leaderboard-modal .modal-content {
  border: 3px solid var(--fun-ink);
  border-radius: 24px;
  box-shadow: 0 6px 0 var(--fun-ink);
}

#leaderboard-modal .modal-body > p {
  font-family: var(--fun-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

#labList .list-group-item {
  border: 0;
  border-radius: 14px !important;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
  background: #f6f2ff;
}

#labList .badge {
  background: var(--fun-purple);
  box-shadow: none;
  font-weight: 700;
  margin-left: 0 !important;
  white-space: normal;
}

/* Ready modal */
.modal-content {
  border: 3px solid var(--fun-ink);
  border-radius: 30px;
  box-shadow: 0 10px 0 var(--fun-ink);
}

.modal-title {
  font-family: var(--fun-heading);
  font-size: 1.5rem;
}

#myModal .modal-content {
  animation: fun-pop-in 450ms cubic-bezier(.2, 1.4, .4, 1);
}

#uniqueUserName {
  font-family: var(--fun-heading);
  font-size: 1.3rem;
  text-align: center;
}

#celebrate {
  animation: fun-pop-in 600ms cubic-bezier(.2, 1.4, .4, 1);
  background: #fff;
  border: 3px solid var(--fun-ink);
  border-radius: 30px;
  box-shadow: 0 10px 0 var(--fun-ink);
  color: var(--fun-ink);
  font-family: var(--fun-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  padding: 2rem;
  text-align: center;
}

/* Confetti canvas */
.fun-confetti {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 2000;
}

/* ---------- Footer ---------- */
.fun-footer {
  color: var(--fun-muted);
  font-weight: 700;
  padding: 2rem 1rem 3rem;
  text-align: center;
}

.fun-footer a { color: var(--fun-purple); margin: 0 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .fun-hero { grid-template-columns: 1fr; text-align: center; }
  .fun-hero-actions { justify-content: center; }
  .fun-hero-art { order: -1; }
  .fun-mascot { max-width: 190px; }
  .fun-speech { display: none; }
}

@media (max-width: 767px) {
  .fun-steps { grid-template-columns: 1fr; }
  .fun-nav { flex-wrap: wrap; }
  .fun-brand { font-size: 1.25rem; }
  .fun-nav-link { padding: 0.4rem 0.6rem; }
  .slice { padding-top: 1.5rem !important; }

  #leaderboard-modal {
    margin: 0 auto 1rem;
    max-width: 880px;
    position: static;
    width: auto;
  }

  #response { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .fun-sky { display: none; }
}

@media (max-width: 480px) {
  .fun-nav { flex-wrap: nowrap; padding-top: 0.75rem; }
  .fun-brand-text { display: none; }
  .fun-nav-links { flex-wrap: nowrap; gap: 0.15rem; }
  .fun-nav-link { font-size: 0.95rem; padding: 0.4rem 0.5rem; }
  .fun-nav .btn-sm { padding: 0.45rem 0.8rem; white-space: nowrap; }
  .fun-user-chip { max-width: 120px; }
}

.fun-nav-link { white-space: nowrap; }

@media (max-width: 480px) {
  .fun-nav-link[href="/badges"] { display: none; }
}
