[hidden] { display: none !important; }
:root {
  --bog-0: #121b0c;
  --bog-1: #1d2c13;
  --bog-2: #2c421c;
  --moss: #6f9a2c;
  --slime: #b5e03a;
  --slime-deep: #7fa81c;
  --mud: #5b3f1f;
  --mud-dark: #3a2812;
  --cream: #f4edcc;
  --cream-dim: #cfc6a0;
  --card: rgba(36, 52, 22, 0.88);
  --card-edge: #4c6a26;
  --chunky: "Arial Rounded MT Bold", "Arial Black", "Segoe UI Black", "Helvetica Neue", Impact, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: #120d06; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--cream);
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(181, 224, 58, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(120, 80, 30, 0.35), transparent 70%),
    radial-gradient(ellipse 120% 60% at 50% 110%, #3b2a12 0%, transparent 60%),
    linear-gradient(180deg, #1f3214 0%, #16220e 55%, #120d06 100%);
  overflow-x: hidden;
}

/* rising swamp bubbles */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -40px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,220,.5), rgba(181,224,58,.15) 60%, transparent 70%);
  border: 1px solid rgba(200, 240, 120, .25);
  animation: bubble 14s linear infinite;
}
.bubbles i:nth-child(1) { left: 6%;  animation-delay: 0s;  transform: scale(1.4); }
.bubbles i:nth-child(2) { left: 18%; animation-delay: 4s;  animation-duration: 18s; }
.bubbles i:nth-child(3) { left: 33%; animation-delay: 9s;  transform: scale(.7); }
.bubbles i:nth-child(4) { left: 52%; animation-delay: 2s;  animation-duration: 20s; }
.bubbles i:nth-child(5) { left: 67%; animation-delay: 6s;  transform: scale(1.8); }
.bubbles i:nth-child(6) { left: 79%; animation-delay: 11s; animation-duration: 16s; }
.bubbles i:nth-child(7) { left: 90%; animation-delay: 3s; }
.bubbles i:nth-child(8) { left: 44%; animation-delay: 13s; transform: scale(1.2); }
@keyframes bubble {
  0%   { translate: 0 0; opacity: 0; }
  10%  { opacity: 1; }
  50%  { translate: 20px -55vh; }
  100% { translate: -10px -110vh; opacity: 0; }
}

/* header */
.site-header { position: relative; z-index: 1; text-align: center; padding: 28px 16px 8px; }
.title {
  margin: 0; font-family: var(--chunky); font-weight: 900; letter-spacing: .02em;
  font-size: clamp(3rem, 11vw, 6.5rem); line-height: 1; color: var(--slime);
  text-shadow: 0 3px 0 #6c9216, 0 6px 0 #4a6810, 0 9px 0 #2f440a, 0 14px 22px rgba(0,0,0,.55);
  -webkit-text-stroke: 2px #22320a;
  user-select: none;
}
.title span { display: inline-block; transition: transform .2s; }
.title span:nth-child(odd)  { transform: rotate(-6deg) translateY(2px); }
.title span:nth-child(even) { transform: rotate(5deg) translateY(-3px); }
.title span.gap { width: .3em; }
.title span:hover { transform: rotate(0) translateY(-10px) scale(1.15); }
.title span:nth-child(6), .title span:nth-child(7), .title span:nth-child(8) { color: #d8c34a; text-shadow: 0 3px 0 #9a7f1c, 0 6px 0 #6e5a12, 0 9px 0 #44380a, 0 14px 22px rgba(0,0,0,.55); }
.tagline { margin: 14px auto 0; max-width: 640px; color: var(--cream-dim); font-size: clamp(.95rem, 2.5vw, 1.1rem); }
.tagline b { color: var(--cream); }

/* layout */
.layout {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 18px auto 0; padding: 0 16px;
  display: grid; gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "play" "global" "hall";
  align-items: start;
}
.play-card { grid-area: play; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; scroll-margin-top: 8px; }
.stage-col { position: relative; }
.hall-card { grid-area: hall; }
.global-card { grid-area: global; border-color: #8a7a2a; }

.card {
  background: var(--card);
  border: 3px solid var(--card-edge);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 0 rgba(0,0,0,.25), 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}

/* stage */
.stage {
  position: relative; width: 100%; aspect-ratio: 400 / 480; max-height: 72vh; margin: 0 auto;
  border-radius: 18px; overflow: hidden; border: 3px solid #1a2610;
  background: #1d2b14;
  box-shadow: inset 0 0 40px rgba(0,0,0,.6);
}
.stage svg { display: block; width: 100%; height: 100%; }
.stage svg.pop { animation: squish .55s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 50% 90%; }
@keyframes squish {
  0%   { transform: scale(.6, .3); opacity: 0; }
  50%  { transform: scale(1.08, .92); opacity: 1; }
  75%  { transform: scale(.97, 1.04); }
  100% { transform: scale(1, 1); }
}
.stage-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 2px; flex-wrap: wrap; }
.seed { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--cream-dim); font-size: .9rem; }

/* svg animations */
.stink { animation: stink 2.6s ease-in-out infinite; }
@keyframes stink {
  0%   { transform: translateY(14px); opacity: 0; }
  30%  { opacity: .85; }
  100% { transform: translateY(-38px); opacity: 0; }
}
.wing { animation: flap .08s linear infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }

/* buttons */
button { font: inherit; cursor: pointer; }
.big-btn {
  display: block; width: 100%;
  font-family: var(--chunky); font-weight: 900; font-size: clamp(1.3rem, 4vw, 1.75rem); letter-spacing: .02em;
  color: #1d2a08; background: linear-gradient(180deg, #d4f25a 0%, #a6d02a 55%, #86b018 100%);
  border: 3px solid #2a3c0a; border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 7px 0 #3d5610, 0 12px 20px rgba(0,0,0,.4);
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.big-btn:hover { filter: brightness(1.07) saturate(1.1); }
.big-btn:active { transform: translateY(5px); box-shadow: 0 2px 0 #3d5610, 0 5px 10px rgba(0,0,0,.4); }
.big-btn:focus-visible, .rate-btn:focus-visible, .chip-btn:focus-visible, .link-btn:focus-visible, .hall-item button:focus-visible { outline: 3px solid #fff3a0; outline-offset: 3px; }
.big-btn.next { background: linear-gradient(180deg, #f1d36a 0%, #d6a933 60%, #b48a1c 100%); box-shadow: 0 7px 0 #6a4f10, 0 12px 20px rgba(0,0,0,.4); animation: wobble 1.6s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(0); } 10% { transform: rotate(-2deg) scale(1.02); } 20% { transform: rotate(2deg) scale(1.02); } 30% { transform: rotate(0); } }

.chip-btn {
  background: rgba(0,0,0,.25); color: var(--cream); border: 2px solid var(--card-edge);
  border-radius: 999px; padding: 6px 12px; font-size: .9rem;
}
.chip-btn:hover { background: rgba(181,224,58,.15); }
.link-btn { background: none; border: none; color: var(--cream-dim); text-decoration: underline; padding: 4px; font-size: .9rem; }
.link-btn:hover { color: var(--slime); }

/* info card */
.toe-name {
  font-family: var(--chunky); font-weight: 900; margin: 0 0 6px;
  font-size: clamp(1.5rem, 4vw, 2.2rem); line-height: 1.1; color: #e6f59a;
  text-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.lab { margin: 0 0 12px; color: var(--cream-dim); }
.lab b { color: var(--slime); }
.sub { font-family: var(--chunky); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #c3b27a; margin: 14px 0 8px; }
.traits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.traits li {
  background: rgba(91, 63, 31, .55); border: 2px solid #7a5a2e; border-radius: 12px;
  padding: 6px 10px; font-size: .95rem; line-height: 1.25;
}
.traits li .ico { margin-right: 4px; }

.hall-banner {
  background: rgba(216, 195, 74, .15); border: 2px dashed #d8c34a; color: #f1e3a0;
  border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; font-size: .95rem;
}

/* rating */
.rate-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.rate-btn {
  --c: #7fae3a;
  aspect-ratio: 1 / 1.1; min-height: 44px;
  font-family: var(--chunky); font-weight: 900; font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.45);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, white) 0%, var(--c) 60%, color-mix(in srgb, var(--c) 75%, black) 100%);
  border: 3px solid color-mix(in srgb, var(--c) 40%, black); border-radius: 12px;
  box-shadow: 0 5px 0 color-mix(in srgb, var(--c) 45%, black);
  transition: transform .08s, box-shadow .08s;
}
.rate-btn:hover { transform: translateY(-3px) rotate(-3deg); }
.rate-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 color-mix(in srgb, var(--c) 45%, black); }
.rate-btn[disabled] { opacity: .35; cursor: default; transform: none; }
.rate-btn.chosen { opacity: 1; outline: 3px solid #fff3a0; outline-offset: 2px; }
.scale-labels { display: flex; justify-content: space-between; color: var(--cream-dim); font-size: .82rem; margin-top: 8px; }

/* reaction */
.reaction { margin-top: 16px; padding: 16px; border-radius: 16px; background: rgba(0,0,0,.28); border: 2px solid #4c6a26; animation: popin .4s cubic-bezier(.3,1.6,.5,1); }
@keyframes popin { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.reaction-top { display: flex; align-items: center; gap: 14px; }
.react-emoji { font-size: 3.4rem; line-height: 1; animation: jiggle 1s ease-in-out infinite; display: inline-block; }
@keyframes jiggle { 0%,100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.08); } }
.react-score { font-family: var(--chunky); font-weight: 900; }
.react-score b { font-size: 3.2rem; color: var(--slime); text-shadow: 0 3px 0 #3d5610; }
.react-score small { font-size: 1.3rem; color: var(--cream-dim); }
.react-msg { font-size: 1.15rem; font-weight: 700; margin: 10px 0 4px; }
.react-lab { color: var(--cream-dim); margin: 0 0 14px; font-size: .95rem; }
.autonext { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .9rem; color: var(--cream-dim); flex-wrap: wrap; }
.autonext .bar { flex: 1 1 120px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.autonext .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--slime), #d8c34a); }
.autonext.off .bar { display: none; }

/* hall */
.hall-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hall-head h2 { font-family: var(--chunky); margin: 0; font-size: clamp(1.4rem, 3.5vw, 1.9rem); color: #f1e3a0; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.hall-head .amp { color: var(--slime); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.stat { background: rgba(0,0,0,.25); border: 2px solid #4c6a26; border-radius: 14px; padding: 10px; text-align: center; }
.stat b { display: block; font-family: var(--chunky); font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--slime); }
.stat span { font-size: .85rem; color: var(--cream-dim); }
.hall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hall-item { position: relative; background: rgba(91, 63, 31, .45); border: 2px solid #7a5a2e; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.hall-item .rank { position: absolute; top: -10px; left: -8px; z-index: 2; background: #d8c34a; color: #2a1e08; font-family: var(--chunky); font-weight: 900; border-radius: 999px; padding: 2px 9px; border: 2px solid #2a1e08; font-size: .9rem; }
.hall-item .thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 400 / 480; background: #1d2b14; }
.hall-item .thumb svg { width: 100%; height: 100%; display: block; }
.hall-item .hname { font-weight: 700; font-size: .85rem; line-height: 1.2; min-height: 2.4em; }
.hall-item .hscore { font-family: var(--chunky); color: var(--slime); font-size: 1.1rem; }
.hall-item button { background: rgba(0,0,0,.3); color: var(--cream); border: 2px solid #7a5a2e; border-radius: 10px; padding: 6px; font-size: .85rem; }
.hall-item button:hover { background: rgba(181,224,58,.18); }
.hall-item.new { animation: glow 1.2s ease-in-out 3; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px #d8c34a, 0 0 24px #d8c34a; } }
.hall-empty { color: var(--cream-dim); font-style: italic; }

/* footer */
.site-footer { position: relative; z-index: 1; text-align: center; color: var(--cream-dim); font-size: .85rem; padding: 26px 16px 34px; }
.site-footer p { margin: 4px 0; }
kbd { background: rgba(0,0,0,.35); border: 1px solid #4c6a26; border-bottom-width: 3px; border-radius: 6px; padding: 1px 6px; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--cream); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 10;
  background: #2a3c0a; color: var(--cream); border: 2px solid var(--slime); border-radius: 999px; padding: 10px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5); animation: popin .3s;
}

/* responsive */
@media (max-width: 1000px) {
  .hall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "play" "global" "hall"; }
  .stage { max-height: 62vh; width: auto; }
}
@media (max-width: 520px) {
  .card { padding: 14px; border-radius: 18px; }
  .rate-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .rate-btn { aspect-ratio: auto; height: 50px; }
  .hall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 6px; }
  .stat span { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; }
}

/* global board */
.hall-head h2 small { font-size: .55em; color: var(--cream-dim); font-family: var(--body); font-weight: 600; }
.sub-note { text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 500; color: var(--cream-dim); font-size: .8rem; }
.global-hall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.global-notice { background: rgba(160, 60, 40, .25); border: 2px dashed #c0603e; color: #f6d2c0; border-radius: 12px; padding: 8px 12px; margin: 12px 0 0; font-size: .92rem; }
.global-updated { color: var(--cream-dim); font-size: .8rem; margin: 10px 0 0; text-align: right; }
.hall-item .hcount { color: var(--cream-dim); font-size: .8rem; }
.hall-item.mine { border-color: #b5e03a; }
.already { color: #f1e3a0; font-size: .92rem; margin: 8px 0 0; }
@media (max-width: 1000px) { .global-hall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .global-hall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- v2: play card, vote sign, rare badge ---- */
.big-btn.generate { margin-top: 14px; font-size: clamp(1.05rem, 3vw, 1.3rem); padding: 12px 16px; background: linear-gradient(180deg, #c8e56a 0%, #9cc23a 60%, #7ea21e 100%); }
.big-btn.generate small { font-size: .7em; opacity: .75; font-family: var(--body); font-weight: 700; }
.big-btn.next { font-size: clamp(1.15rem, 3.4vw, 1.5rem); line-height: 1.2; }
.toe-name { margin-top: 2px; }
.rare-flag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: var(--chunky); font-weight: 900; font-size: clamp(.9rem, 2.4vw, 1.15rem); letter-spacing: .04em;
  color: #2a1e08; background: linear-gradient(180deg, #fff3a0, #f2c12e 60%, #d9961a); border: 3px solid #2a1e08;
  border-radius: 999px; padding: 6px 14px; transform: rotate(6deg); box-shadow: 0 4px 0 rgba(0,0,0,.35), 0 0 22px rgba(255, 220, 80, .7);
  animation: rareglow 1.4s ease-in-out infinite;
}
@keyframes rareglow { 50% { transform: rotate(-4deg) scale(1.08); box-shadow: 0 4px 0 rgba(0,0,0,.35), 0 0 36px rgba(255, 220, 80, 1); } }
.rare-badge { background: linear-gradient(90deg, rgba(242,193,46,.25), rgba(242,193,46,.08)); border: 2px solid #f2c12e; color: #fff3c0; border-radius: 12px; padding: 6px 12px; margin-bottom: 10px; font-size: .95rem; }
.rare-badge b { color: #ffd84a; font-family: var(--chunky); letter-spacing: .04em; }

.vote-sign { display: flex; flex-direction: column; align-items: center; margin: 6px 0 2px; }
.sign-board {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 26px 12px; transform: rotate(-2.5deg);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.0) 0 18px, rgba(0,0,0,.07) 18px 20px, rgba(0,0,0,0) 20px 47px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 3px, rgba(0,0,0,.06) 3px 5px),
    linear-gradient(180deg, #a8743a 0%, #8a5a2a 55%, #6e4520 100%);
  border: 4px solid #3a2410; border-radius: 10px 14px 9px 12px;
  box-shadow: 0 6px 0 #2a1808, 0 10px 18px rgba(0,0,0,.45), inset 0 2px 0 rgba(255,255,255,.18);
}
.sign-board::before, .sign-board::after { content: ""; position: absolute; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ddd, #555 70%); box-shadow: 0 1px 0 rgba(0,0,0,.5); }
.sign-board::before { left: 9px; }
.sign-board::after { right: 9px; }
.sign-title { font-family: var(--chunky); font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1; color: #fff3c0; letter-spacing: .05em; text-shadow: 0 3px 0 #3a2410, 0 0 12px rgba(181,224,58,.35); }
.sign-sub { font-weight: 800; font-size: clamp(.95rem, 2.8vw, 1.1rem); color: #ffe7a8; text-shadow: 0 2px 0 #3a2410; }
.sign-arrow { width: 0; height: 0; margin-top: 2px; border-left: 22px solid transparent; border-right: 22px solid transparent; border-top: 26px solid #8a5a2a; filter: drop-shadow(0 3px 0 #2a1808); animation: pointdown .9s ease-in-out infinite; }
@keyframes pointdown { 50% { transform: translateY(7px); } }
.rate-grid { margin-top: 4px; }

.reaction { margin-top: 10px; }
.react-score { font-size: 1.2rem; color: var(--cream); }

/* svg feature animations */
.blink { animation: blink 4.2s infinite; transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(0); } 94% { transform: scaleY(1); } }
.look { animation: look 5s ease-in-out infinite; }
@keyframes look { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-6px, -2px); } 50% { transform: translate(5px, 3px); } 75% { transform: translate(3px, -4px); } }
.chomp { animation: chomp 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 30%; }
@keyframes chomp { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
.sway { animation: sway 2.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.wiggle { animation: wiggle 1.1s ease-in-out infinite; }
@keyframes wiggle { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(12deg); } }
.bob { animation: bob 3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.googly { animation: googly 2.2s ease-in-out infinite; }
@keyframes googly { 0%, 100% { transform: rotate(-35deg); } 30% { transform: rotate(40deg); } 60% { transform: rotate(-15deg); } }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.drip { animation: drip 2.4s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(-6px); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }

@media (max-width: 820px) {
  .play-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .play-card .stage { max-height: 46vh; max-height: 46svh; }
  .stage-meta { margin: 8px 2px 0; }
  .toe-name { font-size: 1.35rem; margin-bottom: 2px; }
  .lab { margin-bottom: 4px; font-size: .9rem; }
  .vote-sign { margin-top: 2px; }
  .sign-board { padding: 7px 22px 9px; }
  .sign-arrow { border-top-width: 18px; border-left-width: 16px; border-right-width: 16px; }
  .reaction { padding: 12px; }
  .react-emoji { font-size: 2.4rem; }
  .react-msg { font-size: 1rem; margin: 6px 0 2px; }
  .react-lab { margin-bottom: 10px; font-size: .85rem; }
}
@media (max-width: 520px) {
  .site-header { padding: 16px 12px 4px; }
  .title { font-size: 2.9rem; }
  .tagline { margin-top: 8px; font-size: .9rem; }
  .layout { margin-top: 10px; }
}

/* iOS: no double-tap-zoom delay or ghost taps on controls */
button, .rate-btn, .big-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
