

:root {
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --navy: #1e3a8a;
  --card-edge: #dce9ff; 
  --navy-deep: #172554;
  --navy-ink: #0f1d4a;
  --navy-night: #0b1430;
  --sky-400: #38bdf8;
  --surface: #f8f9ff;
  --surface-2: #eff4ff;
  --surface-3: #e5eeff;
  --line-soft: #eef2f7;
  --line-cool: #eef0f7;
  --ink-blue: #0b1c30;
  --ink-grey: #464555;
  --sky-wash: #eaf6ff;
  --gold: #e8ab5b;
  --gold-deep: #a06a1e;
  --gold-light: #fbf0dc;
  --gold-ink: #8a5a17;
  --gold-cream: #fdf7ec;
  --gold-sand: #f3d9a8;
  --gold-bright: #f2c15a;
  --gold-mid: #d2973b;
  --gold-soft: #e8c48e;
  --amber-500: #f59e0b;
  --amber-700: #b45309;
  --green-ok: #20bf6b;
  --green-ok-bg: #dcf7e8;
  --emerald-500: #10b981;
  --emerald-700: #047857;
  --green-600: #16a34a;
  --red-bad: #e5484d;
  --red-bad-bg: #ffe3e4;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --pink-d: #ff5c93;
  --blue-d: #2c73ff;
  --blue: #bfe3ff;
  
  --bark: #7a4a1e;
  --black: #000000;
  --emerald-200: #a7f3d0;
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --field: #eff2fd;
  --forest-night: #06211d;
  --forest: #0f3a34;
  --gold-badge-bg: #fff7e0;
  --gold-badge: #f5b301;
  --gold-frame: #e9b45c;
  --green-500: #22c55e;
  --hover-wash: #f8faff;
  --line-tab: #eef2f6;
  --navy-bright: #2747a8;
  --navy-dusk: #111c38;
  --olyhoo-mouth: #7a2f35;
  --passage: #f7f6ff;
  --picture-wash: #f8f9fc;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-50: #fff1f2;
  --rose-700: #be123c;
  --surface-mist: #e8eefb;
  
  --amber-100-rgb: 254, 243, 199;
  --amber-400-rgb: 251, 191, 36;
  --bark-night-rgb: 38, 20, 8;
  --black-rgb: 0, 0, 0;
  --blue-800-rgb: 30, 64, 175;
  --dock-rgb: 247, 248, 255;
  --emerald-500-rgb: 16, 185, 129;
  --forest-mist-rgb: 6, 28, 24;
  --forest-shade-rgb: 4, 24, 22;
  --blue-100-rgb: 219, 234, 254;
  --blue-200-rgb: 191, 219, 254;
  --blue-50-rgb: 239, 246, 255; 
  --navy-deep-rgb: 23, 37, 84;
  --navy-rgb: 30, 58, 138;
  --sky-500-rgb: 14, 165, 233;
  --slate-200-rgb: 226, 232, 240;
  --slate-50-rgb: 248, 250, 252;
  --slate-900-rgb: 15, 23, 42;
  --white-rgb: 255, 255, 255;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html,
body {
  margin: 0;
  
  overscroll-behavior-y: none;
}

@media (hover: none) {
  body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
  }
  input,
  textarea,
  select,
  [contenteditable] {
    -webkit-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
  }
  img {
    -webkit-user-drag: none;
  }
}
.screen {
  display: none;
}
.screen.on {
  display: block;
  animation: pop 0.25s ease-out;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes popFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
h1 {
  font-size: 28px;
  margin: 4px 0 6px;
}
h2 {
  font-size: 21px;
  margin: 0 0 10px;
}
h3 {
  font-size: 17px;
  margin: 14px 0 8px;
}
p {
  line-height: 1.45;
}
.muted {
  color: var(--slate-500);
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
}
.btn.sm {
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 12px;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: default;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}
input[type='text'],
input[type='number'],
select {
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-900);
  width: 100%;
}

input[type='text']:disabled {
  background: var(--slate-50);
  border-color: var(--slate-100);
  color: var(--slate-500);
}
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 12px center;
}

input[list]::-webkit-calendar-picker-indicator {
  display: none;
}
input[list]:not(:disabled):placeholder-shown,
input[list]:not(:disabled):focus {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.btn.block {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}
.danger-zone {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--slate-200);
}
.danger-zone .linkbtn {
  padding: 0;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.credits > summary {
  list-style: none;
  cursor: pointer;
}
.credits > summary::-webkit-details-marker {
  display: none;
}
label.f {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 8px 0 4px;
}

.progress {
  flex: 1;
  height: 14px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--slate-200);
}
.tbar {
  height: 14px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--slate-200);
  margin: -2px 0 12px;
}
.tbar > i {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: var(--sky-400); 
  transition:
    width 0.25s linear,
    background-color 0.4s;
}
.tbar > i.mid {
  background: var(--gold);
}
.tbar > i.low {
  background: var(--gold-mid);
}
@keyframes pulse {
  50% {
    transform: scale(1.07);
  }
}
.pic {
  display: flex;
  justify-content: center;
  margin: 6px 0 14px;
}
.pic .photos img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 14px;
}
.pic img.fig {
  display: block;
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 6px;
}
@keyframes spkPulse {
  50% {
    box-shadow: 0 0 0 8px rgba(var(--navy-rgb), 0.15);
  }
}
.pic .emoji {
  font-size: 84px;
  line-height: 1;
}
.photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.photos img {
  max-width: min(240px, 100%);
  max-height: 200px;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 2px 0 var(--slate-200);
}
.photos img:only-child {
  max-width: min(300px, 100%);
  max-height: 240px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 8px 6px;
  border-bottom: 1px solid var(--slate-200);
}
th {
  color: var(--slate-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
details summary {
  cursor: pointer;
  font-weight: 800;
}

.burst {
  position: fixed;
  pointer-events: none;
  font-size: 26px;
  z-index: 50;
  animation: fly 1s ease-out forwards;
}
@keyframes fly {
  to {
    transform: translate(var(--dx), var(--dy)) rotate(var(--r));
    opacity: 0;
  }
}
.rain {
  position: fixed;
  top: -40px;
  pointer-events: none;
  font-size: 26px;
  z-index: 60;
  animation: rain var(--t) linear var(--d) forwards;
}
@keyframes rain {
  to {
    transform: translate(var(--dx), calc(100vh + 80px)) rotate(var(--r));
  }
}
@keyframes hooray {
  15% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
  30% {
    transform: translate(-50%, -50%) scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0;
  }
}
@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}
.btn.ghost:active {
  box-shadow: none;
}
.sechead h2 {
  margin: 0;
}
body {
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate-900);
}

:root {
  --net-top: 0px;
}
body.offline {
  --net-top: calc(28px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
}
.net-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--net-top);
  padding-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
body.offline .wrap {
  margin-top: 28px;
}
.wrap {
  margin: 0 auto;
  padding: 14px 14px 48px;
  max-width: 430px;
  min-height: 100vh;
  padding: calc(14px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 16px 110px;
  border-left: 1px solid rgba(var(--slate-200-rgb), 0.6);
  border-right: 1px solid rgba(var(--slate-200-rgb), 0.6);
}
.btn:active {
  transform: scale(0.97);
  box-shadow: none;
}
.btn.pink {
  box-shadow: 0 4px 0 var(--navy-deep); 
}
.btn.pink:active {
  box-shadow: none;
}
.progress > i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.3s;
  background: linear-gradient(90deg, var(--blue-800), var(--sky-400));
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: rgba(var(--white-rgb), 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  padding: 8px 12px calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  box-shadow: 0 -4px 16px rgba(var(--black-rgb), 0.03);
}
.tabbar button {
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  padding: 2px 0;
}
.tabbar button.dot .ti::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-800);
  border: 2px solid var(--white);
}
body.inquiz .tabbar {
  display: none;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 2px 12px;
}
.chlist .ch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--slate-200);
}
.chlist .ch:first-child {
  border-top: none;
}
.chlist .ch .sc {
  margin-left: auto;
  font-weight: 800;
  white-space: nowrap;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}
.btn {
  color: var(--white);
  font-size: 17px;
  padding: 12px 20px;
  transition:
    transform 0.08s,
    box-shadow 0.08s;
  box-shadow: 0 4px 0 var(--navy-deep); 
  border-radius: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.tabbar button .ti {
  width: 30px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 17px;
  position: relative;
  filter: none;
  opacity: 1;
  color: var(--slate-400);
}
.tabbar button .ti .i {
  width: 22px;
  height: 22px;
}
.tabbar button.on .ti {
  background: var(--blue-50);
  filter: none;
  opacity: 1;
  color: var(--navy);
}
.avatar-lg {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid var(--gold-sand);
}
.stars {
  font-size: 22px;
  letter-spacing: 2px;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 4px 0;
  flex-wrap: wrap;
}
@keyframes sparkle {
  50% {
    transform: translateY(-3px) rotate(3deg) scale(1.03);
  }
}
.grad {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fld {
  margin-bottom: 16px;
}
.fld label,
.fld .lab label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--slate-800);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.fld .lab {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inp {
  position: relative;
}
.inp.sel > .i:last-child {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--slate-500);
  pointer-events: none;
}
.inp input::placeholder {
  color: var(--slate-400);
  font-weight: 400;
}
.inp input:focus,
.inp select:focus {
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(var(--blue-800-rgb), 0.15);
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-600);
  cursor: pointer;
}
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}
.btn.cta {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  font-size: 17px;
  font-weight: 800;
  box-shadow:
    0 6px 0 var(--navy-ink),
    0 10px 20px -3px rgba(var(--navy-rgb), 0.45);
}
.btn.cta:active {
  transform: translateY(4px);
  box-shadow:
    0 2px 0 var(--navy-ink),
    0 4px 10px -2px rgba(var(--navy-rgb), 0.4);
}
.review h2 {
  font-size: 18px;
}
.cbtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-700);
  display: grid;
  place-items: center;
  border: none;
  flex: none;
}
.cbtn:active {
  transform: scale(0.95);
}
.c-mid {
  text-align: center;
}
.c-mid h1 {
  font-size: 17px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: -0.02em;
}
.c-meta {
  margin-top: 3px;
}
.c-meta .chip {
  margin: 0;
  font-size: 11px;
}
@keyframes olyhooTap {
  0% {
    transform: none;
  }
  30% {
    transform: translateY(-14px) rotate(-8deg) scale(1.08);
  }
  60% {
    transform: translateY(0) rotate(6deg);
  }
  100% {
    transform: none;
  }
}
@keyframes olyhooPose {
  0% {
    transform: scale(0.7) translateY(8px);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes owlhop {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
}
@keyframes owlwiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}
@keyframes owltilt {
  0%,
  100% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-7deg);
  }
}
.pset {
  padding: 0;
}
.qlist {
  margin-top: 4px;
}
.inst-steps {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--slate-700);
}
.linkbtn {
  background: none;
  border: 0;
  padding: 8px 0 0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.linkbtn.danger {
  color: var(--red-700);
  text-decoration: underline;
}
.nbadge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--red-500);
  color: var(--white);
  font:
    800 11px/18px Nunito,
    system-ui;
  text-align: center;
}
#nav-friends .ti {
  position: relative;
}
.inst-sheet {
  text-align: center;
  overflow: visible;
}
.inst-sheet img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin: -74px auto 4px;
  filter: drop-shadow(0 8px 10px rgba(var(--slate-900-rgb), 0.25));
}
.inst-sheet h3 {
  font-family: Fredoka, Nunito, system-ui;
  font-size: 20px;
  margin: 2px 0 4px;
}
.inst-sheet .inst-steps {
  text-align: left;
  display: inline-block;
  margin: 0 0 10px;
  padding-left: 22px;
  font-weight: 700;
}
.inst-sheet .linkbtn {
  display: block;
  margin: 6px auto 0;
  color: var(--slate-500);
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  width: max-content; 
  max-width: calc(100vw - 32px);
  text-align: center;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  transition: 0.25s;
  z-index: 80;
  pointer-events: none;
}
#toast.on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@keyframes olyhooBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
  }
}
@keyframes olyhooSpeak {
  0% {
    transform: translateY(0) rotate(0);
  }
  20% {
    transform: translateY(-4px) rotate(-3deg) scale(1.03);
  }
  45% {
    transform: translateY(-1px) rotate(3deg) scale(1.01);
  }
  70% {
    transform: translateY(-4px) rotate(-2deg) scale(1.04);
  }
  85% {
    transform: translateY(-2px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes olyhooPing {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}
@keyframes olyhooBar {
  0%,
  100% {
    height: 3px;
  }
  50% {
    height: 11px;
  }
}
@keyframes pickWiggle {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
@keyframes answerGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--emerald-500-rgb), 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(var(--emerald-500-rgb), 0.25);
  }
}
@keyframes olyhooDock {
  0%,
  100% {
    transform: scale(1.15) translateY(2px) rotate(0);
  }
  30% {
    transform: scale(1.2) translateY(-1px) rotate(-2deg);
  }
  70% {
    transform: scale(1.18) translateY(1px) rotate(2deg);
  }
}
@keyframes olyhooHalo {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(var(--navy-rgb), 0.4);
  }
  70% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(var(--navy-rgb), 0);
  }
  100% {
    transform: scale(0.96);
    opacity: 0.8;
  }
}
@keyframes olyhooSway {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-2.5deg);
  }
  75% {
    transform: rotate(2.5deg);
  }
}
@keyframes olyhooMouth {
  from {
    transform: scaleY(0.25);
  }
  to {
    transform: scaleY(1.3);
  }
}
@keyframes olyhooIdle {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015, 1.025);
  }
}
img[src*='flag_'] {
  outline: 1px solid var(--slate-300);
  outline-offset: 0;
  border-radius: 2px;
}
body,
.wrap {
  background: var(--surface);
}
.card {
  background: var(--white);
  padding: 18px;
  margin-bottom: 14px;
  border-radius: 18px;
  
  border: 2px solid var(--slate-200);
  border-bottom-width: 5px;
  box-shadow: none;
}
.tile-ic,
.gk .ic,
.computer .ic,
.maths .ic,
.science .ic,
.english .ic,
.social .ic,
.tile-ic.gk,
.tile-ic.computer,
.tile-ic.maths,
.tile-ic.science,
.tile-ic.english,
.tile-ic.social {
  background: var(--surface-3);
  color: var(--navy);
  border: none;
  box-shadow: none;
}
.chip {
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 6px;
  background: var(--surface-2);
  border-color: transparent;
  color: var(--navy);
}
.btn,
.btn.pink,
.btn.cta {
  background: var(--navy);
}
.btn.ghost {
  color: var(--slate-700);
  border: 2px solid var(--slate-200);
  border-bottom-width: 4px; 
  box-shadow: none;
  background: var(--white);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--navy-deep);
}
.btn.ghost:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
  box-shadow: none;
}
.tabbar button.on {
  font-weight: 800;
  color: var(--navy);
}
.c-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
}
.g-slot {
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin: 4px 0;
}
.or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--slate-400);
  font-size: 12px;
  font-weight: 600;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}
.code-row .btn {
  white-space: nowrap;
}
.tiny {
  font-size: 11px;
  line-height: 1.4;
  margin: 8px 0 0;
}
.acct {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acct .who {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--ink-grey);
}
.tile-ic {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  vertical-align: middle;
  margin-right: 10px;
  font-size: 28px;
  line-height: 1;
}
.tile-ic.sm {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  margin: 0;
  font-size: 18px;
}
.tile-ic.big {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 6px;
  display: grid;
  font-size: 44px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.sb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(60px, 26%) 52px;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--slate-700);
}
.sb-n em {
  font-style: normal;
  color: var(--slate-400);
  font-size: 11.5px;
  font-weight: 600;
}
.sb-bar {
  height: 8px;
  border-radius: 99px;
  background: var(--line-soft);
  overflow: hidden;
}
.sb-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-400), var(--navy));
}
.sb-s {
  text-align: right;
  color: var(--slate-900);
  font-size: 13.5px;
}
.sb-s em {
  font-style: normal;
  color: var(--slate-400);
  font-weight: 600;
  font-size: 12px;
}
button.sb {
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}
.sb .tr {
  margin-left: 5px;
}
.tr {
  font-weight: 900;
  font-size: 13px;
}
.tr.up {
  color: var(--emerald-600);
}
.tr.down {
  color: var(--red-600);
}

.rowx {
  flex: none;
  width: 30px;
  height: 30px;
  margin: 0 -4px 0 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--slate-400);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

@media (hover: hover) {
  .rowx:hover {
    background: var(--slate-100);
    color: var(--slate-600);
  }
}
.sel-t {
  float: right;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  color: var(--navy);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
label.f .fopt {
  font-weight: 500;
  color: var(--slate-400);
  font-size: 12px;
  margin-left: 4px;
  text-transform: none;
}
.coins {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-sand));
  color: var(--gold-ink);
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 16px;
  box-shadow: inset 0 -2px 0 var(--gold);
}
@keyframes mtPop {
  40% {
    transform: scale(1.25);
    filter: brightness(1.8);
  }
  to {
    transform: scale(0.1);
    opacity: 0;
  }
}
@keyframes mtHint {
  50% {
    transform: scale(1.18) rotate(8deg);
  }
}
@keyframes bkBurst {
  40% {
    transform: scale(1.18);
    filter: brightness(1.7);
  }
  to {
    transform: scale(0.2) rotate(40deg);
    opacity: 0;
  }
}
@keyframes bkDrop {
  from {
    transform: scale(1.25);
  }
}
button.ch {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}
@keyframes otipRing {
  to {
    box-shadow:
      0 0 0 9px rgba(var(--amber-400-rgb), 0.12),
      0 0 30px rgba(var(--amber-400-rgb), 0.9);
    transform: scale(1.02);
  }
}
@keyframes otipFly {
  from {
    transform: translate(-110vw, 30vh) rotate(-28deg);
  }
  60% {
    transform: translate(8px, -10px) rotate(6deg);
  }
  to {
    transform: none;
  }
}
@keyframes otipBob {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes otipWave {
  from {
    transform: rotate(-7deg);
  }
  to {
    transform: rotate(6deg);
  }
}
@keyframes otipSpark {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4) translateY(4px);
  }
  50% {
    opacity: 1;
    transform: scale(1.15) translateY(-6px);
  }
}
@keyframes otipPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fcIn {
  from {
    transform: translateX(-50%) translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%);
    opacity: 1;
  }
}
.sechead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 2px 10px;
}

.pagehead h1 {
  margin: 0;
  font-size: 24px;
}
#ch-body .tile-ic.big {
  width: 96px;
  height: 96px;
  border-radius: 28px;
}
#ch-body h2 {
  font-size: 24px;
}

.gstar {
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  fill: var(--gold);
  stroke: var(--gold-mid);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.code-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.code-row input {
  padding: 11px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-size: 15px;
  background: var(--slate-50);
  flex: 1 1 150px;
  min-width: 0;
}
.tile-ic .spic {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.askbox {
  position: fixed;
  inset: 0;
  background: rgba(var(--navy-deep-rgb), 0.45);
  display: grid;
  place-items: center;
  z-index: 100;
  padding: 16px;
}

@keyframes glowPulse {
  from {
    outline-color: var(--gold);
  }
  to {
    outline-color: var(--gold-light);
  }
}

.tb-me {
  display: none;
}

.ask-note {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 14px;
  padding: 10px 12px;
  border: 2px solid var(--slate-200);
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  resize: none;
}

.code-in {
  display: block;
  width: 180px;
  margin: 10px auto 0;
  padding: 10px 12px;
  font-size: 26px;
  letter-spacing: 0.4em;
  text-align: center;
  border: 2px solid var(--slate-200);
  border-radius: 14px;
}
.askbox .linkbtn {
  display: block;
  margin: 2px auto 14px;
  font-size: 14px;
}

.pic-off {
  display: block;
  padding: 10px 12px;
  border: 2px dashed var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.opt .pic-off {
  padding: 6px 4px;
  font-size: 12px;
}


#upd-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(84px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(var(--navy-deep-rgb), 0.25);
}
#upd-bar span {
  flex: 1;
  min-width: 0;
}
#upd-bar .btn {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: none;
}
#upd-bar .upd-x {
  border: 0;
  background: none;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.owl-say {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 2px 0 14px;
}
.owl-say .bubble {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--slate-700);
  box-shadow: 0 1px 2px rgba(var(--slate-900-rgb), 0.05);
  animation: pop 0.3s ease-out;
}
.owl-say .bubble::before {
  content: '';
  position: absolute;
  left: -7px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  transform: rotate(45deg);
}

.owl-say .owl {
  line-height: 1;
  animation: bob 2.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 6px rgba(var(--slate-900-rgb), 0.15));
  font-size: 0;
  flex: none;
}

.owl-img {
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  animation: olyhooBreathe 4s ease-in-out infinite;
  transform-origin: 50% 90%;
  cursor: pointer;
}
.bk-olyhoo img.tapped {
  animation: olyhooTap 0.6s cubic-bezier(0.3, 0.8, 0.4, 1.2);
}
.fc-olyhoo {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: -70px auto 2px;
  filter: drop-shadow(0 6px 8px rgba(var(--slate-900-rgb), 0.25));
  animation: olyhooBreathe 3s ease-in-out infinite;
  transform-origin: 50% 90%;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .owl-img,
  .fc-olyhoo {
    animation: none;
  }
}
.olyhoo-talk.dock.posed .mouth {
  display: none;
}
.olyhoo-talk.dock.posed .face {
  animation: olyhooPose 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@media (prefers-reduced-motion: reduce) {
  .olyhoo-talk.dock.posed .face {
    animation: none;
  }
}
#s-result .owl-say {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
#s-result .owl-say .bubble {
  border-radius: 16px;
}
#s-result .owl-say .bubble::before {
  display: none;
}
.owl-say #r-mascot,
.owl-say #r-mascot img {
  width: 150px;
  height: 150px;
}
.owl-happy {
  animation: owlhop 1.6s ease-in-out infinite;
}
.owl-cheer {
  animation: owlwiggle 1.2s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.av-pick {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.av-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero #h-avatar .av-edit {
  right: -6px;
  bottom: -6px;
  z-index: 2;
}

.av-edit {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  box-shadow: 0 2px 6px rgba(var(--slate-900-rgb), 0.3);
  cursor: pointer;
}
.av-edit .i {
  width: 15px;
  height: 15px;
}
.av-edit::after {
  content: '';
  position: absolute;
  inset: -8px;
}
.av-sheet {
  position: fixed;
  inset: 0;
  background: rgba(var(--slate-900-rgb), 0.45);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.av-sheet.q-paused {
  background: rgba(var(--slate-900-rgb), 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.av-panel {
  background: var(--white);
  width: 100%;
  max-width: 430px;
  border-radius: 24px 24px 0 0;
  padding: 18px 16px calc(18px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  text-align: center;
}

.fr-sheet .av-panel {
  max-height: 100%;
  overflow-y: auto;
  position: relative;
}

.sheet-x {
  position: sticky;
  top: 0;
  float: right;
  margin: -4px 0 0 8px; 
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-mist);
  color: var(--slate-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.fr-sheet .sheet-x + h3 {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet-x .i {
  width: 18px;
  height: 18px;
}
.av-panel h3 {
  margin: 2px 0 14px;
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  max-height: min(62vh, 520px);
  overflow-y: auto;
  padding: 2px;
}
.av-opt {
  border: 2px solid var(--line-soft);
  background: var(--slate-50);
  border-radius: 18px;
  padding: 8px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.av-opt img,
.av-opt svg {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}
.av-opt.on {
  border-color: var(--blue-800);
  background: var(--blue-50);
}

.av-photo i {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--blue-50);
  color: var(--blue-800);
}
.av-photo i svg {
  width: 30px;
  height: 30px;
}
.av-note {
  margin: -6px 0 12px;
  font-size: 12.5px;
  color: var(--slate-500);
  text-align: center;
}
#r-learn-h .lt-owl {
  display: inline-flex;
}

.olyhoo-talk {
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: linear-gradient(135deg, var(--blue-50), var(--gold-cream));
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(var(--navy-rgb), 0.15);
  cursor: pointer;
}
.olyhoo-talk .ring {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  border: 2px solid rgba(var(--blue-800-rgb), 0.45);
  opacity: 0;
  pointer-events: none;
}
.olyhoo-talk .bars {
  position: absolute;
  right: -6px;
  bottom: -6px;
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
  padding: 2px 4px;
  background: var(--navy);
  border-radius: 8px;
  border: 2px solid var(--white);
}
.olyhoo-talk .bars i {
  width: 2px;
  height: 4px;
  background: var(--white);
  border-radius: 2px;
  display: block;
}
.olyhoo-talk.speaking .ring {
  animation: olyhooPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.olyhoo-talk.speaking .bars {
  display: flex;
}
.olyhoo-talk.speaking .bars i:nth-child(1) {
  animation: olyhooBar 0.9s ease-in-out infinite 0.1s;
}
.olyhoo-talk.speaking .bars i:nth-child(2) {
  animation: olyhooBar 0.7s ease-in-out infinite 0.3s;
}
.olyhoo-talk.speaking .bars i:nth-child(3) {
  animation: olyhooBar 1.1s ease-in-out infinite 0.15s;
}
.olyhoo-talk.speaking .bars i:nth-child(4) {
  animation: olyhooBar 0.8s ease-in-out infinite 0.4s;
}
.olyhoo-talk.big {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.owl-say .owl,
.owl-say .owl img {
  width: 46px;
  height: 46px;
}
.olyhoo-talk.dock img {
  border-radius: 50%;
  transform: scale(1.15) translateY(2px);
}
.olyhoo-talk.dock.speaking .ring {
  animation: olyhooHalo 1.6s ease-out infinite;
}

.olyhoo-talk.dock .face img {
  animation: none;
  border-radius: 0;
}
.olyhoo-talk.dock.speaking img {
  animation: none;
}
.olyhoo-talk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform-origin: 50% 90%;
  animation: none;
}
.olyhoo-talk.speaking img {
  animation: none;
}

.olyhoo-talk.dock.speaking .mouth {
  animation: olyhooMouth 0.2s ease-in-out infinite alternate;
  opacity: 0.85;
}

.olyhoo-talk.dock .ring {
  inset: -3px;
  border: none;
  top: auto;
  right: 16px;
  bottom: -2px;
  left: 16px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(rgba(var(--navy-rgb), 0.25), transparent 70%);
}
.olyhoo-talk.dock .face {
  inset: 2px;
  display: block;
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: visible;
  transform-origin: 50% 100%;
}
.olyhoo-talk.dock .face img {
  max-width: none;
  transform: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(var(--navy-deep-rgb), 0.18));
}
.olyhoo-talk.dock .mouth {
  position: absolute;
  border-radius: 50%;
  background: var(--olyhoo-mouth);
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: 50% 20%;
  left: calc(59.5% - 3.5%);
  top: calc(37% - 1.2%);
  width: 7%;
  height: 3.2%;
}
.olyhoo-talk.dock.speaking .face {
  animation: olyhooSway 1.2s ease-in-out infinite;
}
.olyhoo-talk.dock:not(.speaking) .face {
  animation: olyhooIdle 4s ease-in-out infinite;
}

.q-dock::before {
  content: '';
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: var(--slate-200);
  margin: 0 auto 10px;
  display: none;
}
.q-dock .qd-main {
  min-height: 84px;
}

.q-dock,
.q-dock .olyhoo-talk {
  pointer-events: none;
}
.q-dock .qd-bubble {
  pointer-events: auto;
}

.q-dock .qd-bubble.quiet {
  visibility: hidden;
}
.bk-olyhoo {
  position: relative;
  height: 92px;
  align-self: flex-start;
  margin-left: 6px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.bk-olyhoo img {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 6px 8px rgba(var(--black-rgb), 0.35));
  animation: otipBob 2.6s ease-in-out infinite;
}
.roam .av-img {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--white);
}
.roam .rf.dn {
  opacity: 0;
  transform: scale(0.84) translateY(4px);
}
.roam.flapdn .rf.up {
  opacity: 0;
}
.roam.flapdn .rf.dn {
  opacity: 1;
}
.roam-say {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 86;
  max-width: 250px;
  pointer-events: none;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 9px 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--slate-700);
  box-shadow: 0 8px 20px rgba(var(--slate-900-rgb), 0.14);
}
.roam-wait {
  visibility: hidden;
}
.ph-owl {
  width: 48px;
  height: 48px;
  flex: none;
}
.otip {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.otip-ring {
  position: fixed;
  border-radius: 22px;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 0 4px rgba(var(--amber-400-rgb), 0.3),
    0 0 22px rgba(var(--amber-400-rgb), 0.7);
  animation: otipRing 1.1s ease-in-out infinite alternate;
}
.otip-who {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 260px;
  animation: otipFly 0.75s cubic-bezier(0.2, 0.9, 0.3, 1.12) both;
}
.otip-who.up {
  align-items: flex-end;
}
.otip-olyhoo {
  position: relative;
  flex: none;
  width: 92px;
  animation: otipBob 2.4s ease-in-out 0.75s infinite;
}
.otip-olyhoo img {
  display: block;
  width: 92px;
  height: auto;
  filter: drop-shadow(0 8px 10px rgba(var(--slate-900-rgb), 0.28));
  transform-origin: 55% 85%;
  animation: otipWave 0.9s ease-in-out 0.75s infinite alternate;
}
.otip-olyhoo i {
  position: absolute;
  left: 4px;
  top: -4px;
  font-style: normal;
  color: var(--gold);
  font-size: 15px;
  text-shadow: 0 0 8px var(--gold-sand);
  animation: otipSpark 1.2s ease-in-out infinite;
}
.otip-olyhoo i:nth-of-type(2) {
  left: 22px;
  top: -14px;
  font-size: 11px;
  animation-delay: 0.35s;
}
.otip-olyhoo i:nth-of-type(3) {
  left: -8px;
  top: 10px;
  font-size: 10px;
  animation-delay: 0.7s;
}
.otip-bubble {
  pointer-events: auto;
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 18px 18px 18px 6px;
  padding: 10px 14px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow:
    0 10px 26px -6px rgba(var(--navy-deep-rgb), 0.35),
    0 0 0 2px var(--blue-100);
  animation: otipPop 0.3s ease-out 0.55s both;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
#s-welcome .olyhoo-talk.big {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--white);
  box-shadow:
    0 0 0 9px var(--blue-50),
    0 14px 30px -10px rgba(var(--navy-rgb), 0.3);
  overflow: visible;
}
#s-welcome .olyhoo-talk.big img {
  width: 128px;
  height: 128px;
  margin: 11px auto 0;
  object-fit: contain;
}
#s-welcome .olyhoo-talk.big::after {
  content: '✨';
  position: absolute;
  right: -2px;
  top: -6px;
  font-size: 30px;
}
.av-panel .linkbtn.danger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}
.sechead h2,
.pl-h,
.card > h2,
#r-learn-h,
.av-panel h3 {
  font-size: 17px;
}
.kc3 .kc-s,
.kt2-p em,
.chrank li em,
.muted.small,
.small,
.lrn .tip,
.qd-bubble p,
.otip-bubble {
  font-size: 13px;
}
.opt,
.lrow .lt,
.r-won,
.bubble,
.w-bubble,
.roam-say {
  font-size: 15px;
}

.q-dock::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 84px;
  background: linear-gradient(to top, rgba(var(--dock-rgb), 1) 12%, rgba(var(--dock-rgb), 0));
  pointer-events: none;
  z-index: -1;
  display: none;
}
.olyhoo-talk.dock {
  position: absolute;
  bottom: calc(58px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  top: auto;
  bottom: calc(2px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  width: 144px;
  height: 166px;
  z-index: 3;
  left: auto;
  right: 2px;
  transform: scaleX(-1);
}
.q-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--blue-100);
  padding: 10px 16px calc(14px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  background: linear-gradient(to top, rgba(var(--dock-rgb), 1) 62%, rgba(var(--dock-rgb), 0));
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding-top: 34px;
  padding-left: 16px;
  padding-right: 146px;
}
.qd-bubble {
  flex: 1;
  min-width: 0;
  animation: pop 0.3s ease-out;
  background: var(--white);
  border: 0;
  padding: 12px 14px;
  box-shadow: 0 8px 22px -8px rgba(var(--navy-deep-rgb), 0.28);
  border-radius: 20px 20px 6px 20px;
}


.hero #h-avatar {
  position: relative;
  cursor: pointer;
  overflow: visible;
  display: block;
  width: 100px;
  height: 100px;
  margin: -8px -8px -8px 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.hero #h-avatar .owl-badge {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.hero #h-avatar .owl-badge img {
  width: 100%;
  height: 100%;
  transform: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(var(--black-rgb), 1) 50%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(var(--black-rgb), 1) 50%, transparent 70%);
}

.ph-owl .owl-badge {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.ph-owl .owl-badge img {
  border-radius: 0;
  width: 100%;
  height: 100%;
}

.bigtext .kgrid3,
.bigtext .av-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.roam {
  position: fixed;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  z-index: 85;
  pointer-events: none;
  transform-origin: center;
  will-change: transform;
  filter: drop-shadow(0 10px 10px rgba(var(--slate-900-rgb), 0.22));
}
.roam > *,
.roam img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}
.roam .rf {
  position: absolute;
  left: 0;
  top: 0;
}

.glow-now {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  animation: glowPulse 1s ease-in-out infinite alternate;
}

#s-welcome {
  position: relative;
}
.w-glow {
  position: absolute;
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(var(--blue-200-rgb), 0.6), rgba(var(--blue-100-rgb), 0.3), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.w-hero {
  position: relative;
  text-align: center;
  padding: 10px 0 16px;
}
.w-bubble {
  position: relative;
  margin: 14px auto 0;
  max-width: 280px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 9px 14px;
  font-weight: 700;
  color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(var(--slate-900-rgb), 0.05);
}
.w-bubble::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-left: 1px solid var(--blue-100);
  border-top: 1px solid var(--blue-100);
  transform: translateX(-50%) rotate(45deg);
}
.w-hero h1 {
  font-size: 25px;
  color: var(--navy-deep);
  margin: 14px 0 4px;
  letter-spacing: -0.03em;
}
.w-hero p {
  font-size: 13px;
  margin: 0 auto;
  max-width: 300px;
}
.w-form {
  border-radius: 24px;
  padding: 20px;
  box-shadow: none;
  border: 2px solid var(--slate-200); 
  border-bottom-width: 5px;
}
.w-foot {
  position: sticky;
  bottom: 0;
  padding: 14px 0 10px;
  background: linear-gradient(0deg, var(--slate-50) 60%, rgba(var(--slate-50-rgb), 0));
}

.inst-sheet p {
  margin: 0 0 14px;
}
.w-top {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin-top: 4px;
}
.w-top .w-bubble {
  margin: 0;
  max-width: none;
  flex: 1;
}
.w-top .w-bubble::before {
  top: 50%;
  left: -7px;
  transform: translateY(-50%) rotate(-45deg);
}

.card.w-auth > h2 {
  text-transform: none;
}
.w-auth h2 {
  font-size: 17px;
  margin: 0 0 12px;
}
.w-auth .btn:disabled {
  opacity: 0.5;
  cursor: default;
}

#s-welcome .w-glow {
  display: none;
}
#s-welcome .w-hero {
  padding: 18px 0 22px;
}
#s-welcome .w-top {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
#s-welcome .w-top .w-bubble {
  flex: none;
  margin: 18px 0 0;
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 0;
  box-shadow: 0 6px 16px -4px rgba(var(--navy-deep-rgb), 0.18);
  font-weight: 900;
  color: var(--slate-900);
}
#s-welcome .w-top .w-bubble::before {
  display: none;
}
#s-welcome .w-hero h1 {
  font-size: 34px;
  line-height: 1.12;
  margin: 22px 0 0;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}
#s-welcome .w-hero h1 .grad {
  display: block;
  color: var(--navy);
  background: none;
  -webkit-text-fill-color: var(--navy);
}

#s-welcome .w-hero h1 .w-who {
  font-style: normal;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 6px;
  color: var(--slate-500);
  -webkit-text-fill-color: var(--slate-500);
}
#s-welcome .card {
  border: 2px solid var(--slate-200); 
  border-bottom-width: 5px;
  border-radius: 26px;
  padding: 22px 18px 20px;
  box-shadow: none;
}
#s-welcome .fld label,
#s-welcome .fld .lab label {
  color: var(--slate-600);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
#s-welcome .fld .chip {
  background: var(--blue-100);
  border: 0;
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  margin-bottom: 8px;
}
#s-welcome .inp input,
#s-welcome .inp select {
  height: 56px;
  padding: 0 48px 0 50px;
  background: var(--field);
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
}
#s-welcome .inp input:focus,
#s-welcome .inp select:focus {
  background: var(--white);
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(var(--blue-800-rgb), 0.12);
}
#s-welcome .inp > .i:first-child {
  left: 17px;
  width: 21px;
  height: 21px;
  color: var(--navy);
}
#s-welcome .inp .ok {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  color: var(--emerald-700);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
#s-welcome .inp input:not(:placeholder-shown) ~ .ok {
  opacity: 1;
}
#s-welcome .w-foot {
  position: static; 
  background: none;
  padding-top: 22px;
}

#s-welcome .fld label.w-chk {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate-600);
}
#s-welcome .btn.cta {
  height: 60px;
  border-radius: 22px;
  font-size: 19px;
  font-weight: 900;
  background: var(--navy);
  box-shadow: 0 5px 0 var(--navy-ink);
}
#s-welcome #w-err:empty {
  min-height: 0;
  margin: 0;
}
#s-welcome .fld:last-of-type {
  margin-bottom: 4px;
}
#s-welcome .code-row input {
  height: 52px;
  padding: 0 16px;
  background: var(--field);
  border: 2px solid transparent;
  border-radius: 18px;
  font-size: 16px;
}
#s-welcome .code-row input:focus {
  background: var(--white);
  border-color: var(--blue-400);
  outline: none;
}
#s-welcome .code-row .btn {
  height: 52px;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: 0 4px 0 var(--navy-ink);
}
#s-welcome .g-slot {
  min-height: 44px;
}
#s-welcome .g-note {
  margin: 6px 0 0;
  text-align: center;
}

#w-auth.sent #w-email-row,
#w-auth.sent .g-slot,
#w-auth.sent .g-note,
#w-auth.sent .or,
#w-auth.sent #w-teacher {
  display: none;
}
#s-welcome .w-sent {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--slate-600);
  overflow-wrap: anywhere;
}

#w-auth .tiny a {
  color: inherit;
}

#w-auth .w-links {
  display: block;
}

#s-welcome .g-native {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-blue);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

#w-teacher {
  font-size: 15px;
  font-weight: 700;
  margin: 14px 0 0;
}
#w-teacher a {
  color: var(--blue-800);
}



.land-nav,
.land-hero,
.land-top,
.land-numbers,
.land-body,
.land-scrim,
.land-x,
.land-who {
  display: none;
}

html.land body {
  background: var(--surface);
}
html.land #s-welcome .w-glow,
html.land #s-welcome .w-hero {
  display: none;
}
html.land #s-welcome .land-nav,
html.land #s-welcome .land-hero,
html.land #s-welcome .land-top,
html.land #s-welcome .land-numbers,
html.land #s-welcome .land-body {
  display: block;
}
.land-nav {
  grid-column: 1 / -1;
  position: sticky;
  top: 12px;
  z-index: 20;
  margin: 12px 0 0;
}

html.land #s-welcome .land-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  top: 0;
  margin: 0 calc(50% - 50vw);
  padding: 10px max(20px, calc(50vw - 580px));
  min-height: 64px;
  background: rgba(var(--white-rgb), 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 0;
  border-bottom: 1px solid var(--slate-200);
  border-radius: 0;
}
html.land body {
  overflow-x: clip; 
}
html.land #s-welcome [id] {
  scroll-margin-top: 84px; 
}
html.land #s-welcome .land-nav .land-l {
  border-radius: 8px;
  font-weight: 600;
  color: var(--navy-ink);
}

.land-nav .sh-dd {
  position: relative;
}
.land-nav .sh-dt {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-ink);
  cursor: pointer;
}
.land-nav .sh-chev {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.land-nav .sh-dd:hover .sh-dt,
.land-nav .sh-dd:focus-within .sh-dt {
  background: var(--blue-50);
  color: var(--navy);
}
.land-nav .sh-dd:hover .sh-chev,
.land-nav .sh-dd:focus-within .sh-chev {
  transform: rotate(180deg);
}
.land-nav .sh-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(var(--navy-deep-rgb), 0.16);
  z-index: 40;
  white-space: nowrap;
}
.land-nav .sh-panel::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.land-nav .sh-dd:hover > .sh-panel,
.land-nav .sh-dd:focus-within > .sh-panel {
  display: grid;
}
.land-nav .sh-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-ink);
  text-decoration: none;
}
.land-nav .sh-panel a:hover,
.land-nav .sh-panel a:focus-visible {
  background: var(--blue-50);
  color: var(--navy);
}
.land-nav .dd-h {
  margin: 4px 10px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.land-nav .dd-classes {
  width: 540px;
  min-height: 318px;
  grid-template-columns: 150px;
  align-content: start;
}
.land-nav .dd-cls {
  font-weight: 600;
}
.land-nav .dd-fly {
  display: none;
  position: absolute;
  top: 12px;
  left: 170px;
  right: 12px;
  bottom: 12px;
  padding-left: 18px;
  border-left: 1px solid var(--slate-200);
  background: var(--white);
}

.land-nav .dd-row.cur > .dd-fly {
  display: block;
}
.land-nav .dd-row:hover > .dd-fly,
.land-nav .dd-row:focus-within > .dd-fly {
  display: block;
  z-index: 2;
}
.land-nav .dd-row:hover > .dd-cls,
.land-nav .dd-row:focus-within > .dd-cls,
.land-nav .dd-classes:not(:hover):not(:focus-within) > .dd-row.cur > .dd-cls {
  background: var(--blue-50);
  color: var(--navy);
}
.land-nav .sh-panel .dd-all,
.land-nav .sh-panel .dd-more {
  font-weight: 700;
  color: var(--navy);
}
.land-nav .dd-all {
  margin-bottom: 8px;
}
.land-nav .dd-subj {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 6px;
}
.land-nav .dd-olymp {
  left: auto;
  right: 0;
  width: 500px;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
}
.land-nav .dd-list {
  display: grid;
}
html.land #s-welcome .land-nav .land-btn {
  margin-left: 16px;
  border-radius: 10px;
}
html.land #s-welcome .land-brand {
  font-size: 18px;
}
html.land #s-welcome .land-brand img {
  width: 36px;
  height: 36px;
}
.land-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-ink);
  text-decoration: none;
}
.land-brand img {
  width: 30px;
  height: 30px;
}
.land-sp {
  flex: 1;
}
.land-l {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 15px;
  color: var(--slate-600);
  text-decoration: none;
}
.land-l:hover {
  background: var(--slate-100);
}
.land-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 10px 18px;
  border: 0;
  border-radius: 99px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s;
}
.land-btn.go {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 3px 0 var(--navy-deep);
}
.land-btn.go:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.land-btn.soft {
  background: var(--white);
  color: var(--navy-ink);
  border: 1px solid var(--slate-200);
}


.land-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 99px;
  background: var(--white);
  font-size: 14px;
  color: var(--slate-600);
}
.land-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-400);
}
.land-h1,
.land-sec h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--navy-ink);
}
.land-h1 em,
.land-sec h2 em,
.land-sec h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}
.land-h1 {
  margin: 22px 0 0;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.04;
}
.land-lead {
  max-width: 48ch;
  margin: 22px 0 0;
  font-size: 19px;
  color: var(--slate-600);
}


.land-stage {
  position: relative;
  height: 600px;
  margin: 64px 0 0;
  border-radius: 36px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface-mist));
  overflow: hidden;
  perspective: 1600px;
}

.land-hcs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 3600px;
  perspective-origin: 56% 52%;
}

.land-row {
  position: absolute;
  top: 52%;
  left: 56%;
  width: 0;
  height: 0;
  transform: rotateX(20deg) rotateY(-26deg) rotateZ(6deg);
}

.land-track {
  position: absolute;
  top: 0;
  left: 0;
  transition:
    transform 1.4s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.6s;
}
.land-track.cut {
  transition: none;
}
.land-track.out {
  opacity: 0;
}
.land-hc {
  position: absolute;
  width: 340px;
  height: 410px;
  margin: -205px 0 0 -170px;
  padding: 22px;
  border: 1px solid var(--slate-200);
  border-radius: 28px;
  background: var(--white);
  box-shadow:
    0 24px 50px rgba(var(--navy-deep-rgb), 0.1),
    0 4px 10px rgba(var(--navy-deep-rgb), 0.05);
  font-size: 15px;
  text-align: left;
  transition:
    box-shadow 0.6s,
    border-color 0.6s;
}
.land-hc.on {
  border-color: var(--sky-400);
  box-shadow:
    0 0 0 2px rgba(var(--sky-500-rgb), 0.35),
    0 0 70px rgba(var(--sky-500-rgb), 0.35),
    0 30px 60px rgba(var(--navy-deep-rgb), 0.14);
}
.land-hc:nth-child(1) {
  left: 0;
  top: 0;
}
.land-hc:nth-child(2) {
  left: 255px;
  top: -170px;
}
.land-hc:nth-child(3) {
  left: 510px;
  top: -340px;
}
.land-hc:nth-child(4) {
  left: 765px;
  top: -510px;
}
.land-hc:nth-child(5) {
  left: 1020px;
  top: -680px;
}
.land-hc:nth-child(6) {
  left: 1275px;
  top: -850px;
}
.land-hc:nth-child(7) {
  left: 1530px;
  top: -1020px;
}
.land-hc .land-q {
  margin: 8px 0 14px;
  font-size: 18px;
}
.land-hc-btn {
  margin-top: 12px;
  padding: 11px;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 3px 0 var(--navy-night);
  font-weight: 700;
  text-align: center;
  color: var(--white);
  transition:
    transform 0.15s,
    opacity 0.3s;
}
.land-hc-btn.down {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--navy-night);
}
.land-hc-btn.gone {
  opacity: 0;
}
.land-hc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.land-hc-hi {
  display: flex;
  align-items: center;
  gap: 12px;
}
.land-hc-hi img {
  width: 70px;
}
.land-hc-hi b {
  display: block;
  font: 500 24px/1.2 Fraunces, Georgia, serif;
  color: var(--navy-ink);
}
.land-hc-hi small {
  color: var(--slate-500);
}
.land-hc-pills {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
.land-hc-pills span {
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-ink);
}
.land-hc-subj {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.land-hc-subj span {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  font-weight: 700;
  transition: all 0.3s;
}
.land-hc-subj span.down {
  border-color: var(--navy);
  background: var(--blue-50);
}
.land-hc-subj img {
  width: 52px;
}

.land-hc-words span {
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;
}
.land-hc-words span.on {
  background: var(--blue-100);
  color: var(--navy);
}
.land-hc-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.land-hc-opts span {
  padding: 9px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-weight: 600;
}
.land-hc-read {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.land-hc-oly {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 84px;
  height: 84px;
}
.land-hc-oly img {
  position: relative;
  z-index: 2;
  width: 76px;
}
.land-hc-oly.on img {
  animation: landHop 0.6s ease-out;
}
.land-hc-oly i {
  position: absolute;
  inset: 0;
  border: 2px solid var(--sky-400);
  border-radius: 50%;
  opacity: 0;
}
.land-hc-oly.on i {
  animation: landRing 1.8s ease-out infinite;
}
.land-hc-oly.on i:nth-child(2) {
  animation-delay: 0.6s;
}
.land-hc-oly.on i:nth-child(3) {
  animation-delay: 1.2s;
}
@keyframes landHop {
  40% {
    transform: translateY(-12px) rotate(-6deg);
  }
}
.land-hc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--blue-50);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-600);
  opacity: 0;
  transition: opacity 0.3s;
}
.land-hc-tag.on {
  opacity: 1;
}
.land-hc-tag svg {
  width: 16px;
  height: 16px;
}

.land-hc-seq {
  display: flex;
  gap: 6px;
}
.land-hc-seq b {
  display: grid;
  flex: 1;
  place-items: center;
  height: 38px;
  border-radius: 10px;
  background: var(--slate-100);
  font-size: 15px;
  color: var(--navy-ink);
  transition: all 0.4s;
}
.land-hc-seq b.gap {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1.5px var(--blue-500);
  color: var(--blue-600);
}
.land-hc-seq b.ok {
  background: var(--green-ok);
  box-shadow: none;
  color: var(--white);
}
.land-hc-dif {
  display: flex;
  gap: 6px;
  height: 26px;
  margin: 4px 0 8px;
  padding: 0 0 0 calc((100% - 30px) / 12);
}
.land-hc-dif i {
  flex: 1;
  max-width: calc((100% - 6px) / 5);
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
  text-align: center;
  color: var(--blue-600);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.35s;
}
.land-hc-dif i.on {
  opacity: 1;
  transform: none;
}
.land-hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.land-hc-grid .land-ans {
  margin: 0;
  padding: 8px 10px;
}
.land-hc .land-ans.sel {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.land-hc .land-ans.ok {
  border-color: var(--green-ok);
  background: var(--green-ok-bg);
  box-shadow: none;
}
.land-hc .land-ans.ok span {
  background: var(--green-ok);
  color: var(--white);
}
.land-hc-say {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.45s;
}
.land-hc-say.on {
  opacity: 1;
  transform: none;
}
.land-hc-say img {
  width: 48px;
}
.land-hc-say p {
  margin: 0;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--blue-50);
  font-size: 13.5px;
  line-height: 1.4;
}

.land-hc-score {
  font-size: 18px;
  color: var(--navy-ink);
}
.land-hc-time {
  height: 8px;
  margin: 12px 0 4px;
  border-radius: 99px;
  background: var(--slate-100);
  overflow: hidden;
}
.land-hc-time i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: var(--blue-500);
}
.land-hc-time i.run {
  width: 0;
  transition: width 10s linear;
}
.land-hc-time i.stop {
  width: 60%;
  transition: width 0.3s;
}
.land-hc .land-hc-sum {
  margin: 26px 0 26px;
  font: 500 38px/1.1 Fraunces, Georgia, serif;
  text-align: center;
  color: var(--navy-ink);
}
.land-hc-pop {
  display: block;
  margin-top: 16px;
  font-weight: 800;
  text-align: center;
  color: var(--emerald-700);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s;
}
.land-hc-pop.on {
  opacity: 1;
  transform: none;
}

.land-hc-cup {
  width: 120px;
  margin: 6px auto 0;
}
.land-hc-big {
  font: 500 34px/1.1 Fraunces, Georgia, serif;
  color: var(--navy-ink);
}
.land-hc .land-stars {
  justify-content: center;
  margin-top: 10px;
  font-size: 32px;
}
.land-hc .land-week {
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
}
.land-hc .land-week span {
  width: 30px;
  height: 30px;
}

.land-hc-vs {
  display: grid;
  gap: 16px;
  margin: 22px 0 14px;
}
.land-hc-vs div {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 6px 10px;
  align-items: center;
}
.land-hc-vs b {
  grid-column: 1 / -1;
  font-size: 15px;
}
.land-hc-vs em {
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  color: var(--slate-500);
}
.land-hc-vs span {
  height: 12px;
  border-radius: 99px;
  background: var(--slate-100);
  overflow: hidden;
}
.land-hc-vs i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: var(--blue-500);
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-hc-vs div + div i {
  background: var(--sky-400);
}
.land-hc-vs.on i.w80 {
  width: 80%;
}
.land-hc-vs.on i.w70 {
  width: 70%;
}
.land-hc-vs small {
  font-weight: 700;
  color: var(--slate-500);
}
.land-hc-win {
  display: table;
  margin: 0 auto;
  padding: 6px 16px;
  border-radius: 99px;
  background: var(--gold-light);
  font-weight: 800;
  color: var(--gold-ink);
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.land-hc-win.on {
  opacity: 1;
  transform: none;
}

.land-hc .land-bars {
  gap: 4px;
}
.land-hc .land-bars div {
  grid-template-columns: 80px 1fr 30px;
  margin: 0 -8px;
  padding: 7px 8px;
  border-radius: 10px;
  transition: background 0.2s;
}
.land-hc .land-bars div.down {
  background: var(--blue-50);
}

.land-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px; 
  fill: rgba(var(--navy-deep-rgb), 0.3);
  stroke: var(--white);
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 8px rgba(var(--navy-deep-rgb), 0.25));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.land-cursor.on {
  opacity: 1;
}
.land-tap {
  position: absolute;
  z-index: 8;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(var(--navy-deep-rgb), 0.18);
  pointer-events: none;
  animation: landTap 0.5s ease-out forwards;
}
@keyframes landTap {
  from {
    transform: scale(0.3);
    opacity: 1;
  }
  to {
    transform: scale(1.3);
    opacity: 0;
  }
}
.land-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.land-facts div {
  padding: 22px 8px;
  text-align: center;
  font-size: 14px;
  color: var(--slate-500);
}
.land-facts div + div {
  border-left: 1px solid var(--slate-200);
}
.land-facts b {
  display: block;
  font: 500 30px/1.3 Fraunces, Georgia, serif;
  color: var(--navy-ink);
}


.land-sec {
  padding: 112px 0 0;
}
.land-c {
  text-align: center;
}
.land-eye {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.land-sec h2 {
  margin: 12px 0 0;
  font-size: clamp(32px, 3.4vw, 42px);
  line-height: 1.15;
}
.land-meet {
  display: block;
  height: 190px;
  width: auto;
  margin: 0 auto 14px;
  mix-blend-mode: multiply; 
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--ink-blue) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--ink-blue) 72%, transparent 100%);
}
.land-sub {
  max-width: 56ch;
  margin: 14px auto 0;
  color: var(--slate-600);
}

.land-headrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}
.land-headrow .land-sub {
  margin-left: 0;
}
.land-reader {
  width: 200px;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 47%, var(--ink-blue) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 47%, var(--ink-blue) 70%, transparent 100%);
}
@media (max-width: 699px) {
  .land-headrow {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    text-align: center;
  }
  .land-headrow .land-sub {
    margin-left: auto;
  }
  .land-reader {
    width: 150px;
    margin: 0 auto;
  }
}
.land-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  text-align: left;
}
.land-3 img {
  width: 64px;
  margin-bottom: 18px;
}
.land-3 h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-ink);
}
.land-3 p {
  margin: 0;
  font-size: 16px;
  color: var(--slate-600);
}
.land-seg {
  display: inline-flex;
  margin: 28px 0 0;
  padding: 4px;
  border-radius: 99px;
  background: var(--slate-100);
}
.land-seg button,
.land-tabsub button {
  padding: 10px 26px;
  border: 0;
  border-radius: 99px;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
}
.land-seg button.on,
.land-tabsub button.on {
  background: var(--navy-ink);
  color: var(--white);
}


.land-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin: 72px 0 0;
}
.land-feat.flip .land-vis {
  order: 2;
}
.land-txt h3 {
  margin: 10px 0 14px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--navy-ink);
}
.land-txt p {
  max-width: 46ch;
  margin: 0 0 22px;
  color: var(--slate-600);
}
.land-vis {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  padding: 36px;
  border-radius: 32px;
  background: var(--surface-2);
  overflow: hidden;
}
.land-vis.peek {
  align-items: end;
  min-height: 340px;
  padding-bottom: 0;
}
.land-mock {
  width: 100%;
  max-width: 380px;
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(var(--navy-deep-rgb), 0.06);
  font-size: 15px;
  text-align: left;
}
.land-mock.narrow {
  max-width: 340px;
}
.land-vis.peek .land-mock {
  padding-bottom: 28px;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
}

.land-shots {
  position: relative;
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: var(--surface-2);
  box-shadow: 0 12px 30px rgba(var(--navy-deep-rgb), 0.08);
}
.land-shots img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.55s;
}
.land-shots img:first-child {
  position: relative; 
  display: block;
  height: auto;
}
.land-shots img.on {
  transform: none;
}
.land-shots img.past {
  transform: translateX(-25%);
  opacity: 0;
}
.land-chip {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.land-q {
  margin: 8px 0 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
.land-ans {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  font-weight: 600;
  transition: all 0.35s;
}
.land-ans span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--slate-100);
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  transition: all 0.35s;
}
.land-ans i {
  position: absolute;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
  opacity: 0;
  transition: opacity 0.3s;
}
.land-ans[data-a='pick'].on {
  border-color: var(--red-bad);
  background: var(--rose-50);
}
.land-ans[data-a='pick'].on span {
  background: var(--red-bad);
  color: var(--white);
}
.land-ans[data-a='pick'].on i {
  opacity: 1;
  color: var(--red-bad);
}
.land-ans[data-a='right'].on {
  border-color: var(--green-ok);
  background: var(--green-ok-bg);
}
.land-ans[data-a='right'].on span {
  background: var(--green-ok);
  color: var(--white);
}
.land-ans[data-a='right'].on i {
  opacity: 1;
  color: var(--emerald-700);
}
.land-say {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s;
}
.land-say.on {
  opacity: 1;
  transform: none;
}
.land-say img {
  flex: none;
  width: 46px;
}
.land-say p {
  margin: 0;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--blue-50);
  font-size: 14px;
  line-height: 1.45;
}
.land-tutor {
  position: absolute;
  left: 22px;
  bottom: 26px;
  z-index: 2;
  width: 84px;
  filter: drop-shadow(0 10px 18px rgba(var(--navy-deep-rgb), 0.15));
}
.land-read {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.land-read .land-mock {
  max-width: 340px;
}
.land-read .land-q {
  margin-bottom: 0;
}
.land-wave {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
}
.land-wave img {
  position: relative;
  z-index: 2;
  width: 120px;
}
.land-wave span {
  position: absolute;
  inset: 0;
  border: 2px solid var(--sky-400);
  border-radius: 50%;
  opacity: 0;
  animation: landRing 2.4s ease-out infinite;
}
.land-wave span:nth-child(2) {
  animation-delay: 0.8s;
}
.land-wave span:nth-child(3) {
  animation-delay: 1.6s;
}
@keyframes landRing {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
.land-week {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.land-week span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--slate-100);
  font-size: 12px;
  color: var(--slate-500);
  transition: all 0.4s;
}
.land-week span.on {
  background: var(--gold);
  color: var(--navy-ink);
  box-shadow: 0 3px 0 var(--gold-mid);
}
.land-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font: 500 40px/1.2 Fraunces, Georgia, serif;
  color: var(--navy-ink);
}
.land-stars small {
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--gold-light);
  font: 700 14px/1.4 'Plus Jakarta Sans', sans-serif;
  color: var(--gold-ink);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.4s;
}
.land-stars small.on {
  opacity: 1;
  transform: none;
}
.land-bars {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.land-bars div {
  display: grid;
  grid-template-columns: 1fr 120px 40px;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
}
.land-bars b {
  height: 8px;
  border-radius: 99px;
  background: var(--slate-100);
  overflow: hidden;
}
.land-bars b i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 99px;
  background: var(--blue-500);
  transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.land-bars small {
  font-size: 12.5px;
  color: var(--slate-500);
  text-align: right;
}
.land-big {
  margin: 6px 0 4px;
  font: 500 34px/1.2 Fraunces, Georgia, serif;
}
.land-big small {
  font: 700 13px/1 'Plus Jakarta Sans', sans-serif;
  color: var(--emerald-700);
}
.land-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 14px;
}
.land-tabs span {
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--slate-100);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-500);
  transition: all 0.3s;
}
.land-tabs span.on {
  background: var(--navy-ink);
  color: var(--white);
}
.land-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 150px;
  margin-top: 14px;
  padding: 0 4px;
  border-bottom: 1px solid var(--slate-200);
}
.land-chart div {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--slate-500);
}
.land-chart i {
  display: block;
  width: 100%;
  height: 0;
  margin-bottom: 6px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--sky-400), var(--blue-500));
  transition: height 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.land-band {
  margin: 112px 0 0;
  padding: 112px 0;
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white); 
  clip-path: inset(0 -100vmax);
}
.land-tabsub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 32px;
}
.land-tabsub button {
  padding: 9px 18px;
  border: 1px solid var(--slate-200);
  color: var(--navy-ink);
}
.land-topics {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px;
  border-radius: 28px;
  background: var(--surface);
  text-align: left;
}
.land-topics img {
  width: 120px;
}
.land-topics h3 {
  margin: 14px 0 0;
  font-size: 22px;
}
.land-topics span {
  color: var(--slate-500);
}
.land-topics ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
}
.land-topics li {
  display: flex;
  gap: 10px;
  margin: 0 0 12px;
  break-inside: avoid;
  font-size: 15.5px;
}
.land-topics li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--slate-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.land-more {
  min-height: 40px;
  margin-top: 2px;
  padding: 8px 0;
  border: 0;
  text-decoration: underline dashed var(--slate-300);
  text-underline-offset: 4px;
  background: none;
  font: inherit;
  font-size: 15.5px;
  color: var(--slate-600);
  cursor: pointer;
}

.land-end {
  padding: 112px 0;
}
.land-end img {
  width: 170px;
  height: auto;
  margin: 0 auto 18px;
  mix-blend-mode: multiply; 
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--ink-blue) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--ink-blue) 72%, transparent 100%);
}
.land-end h2 {
  font-size: clamp(36px, 4.4vw, 54px);
}
.land-end .land-sub {
  margin: 16px auto 30px;
}
.land-end .land-btn {
  padding: 15px 30px;
  font-size: 17px;
}
.land-foot {
  padding: 48px 0 64px;
  border-top: 1px solid var(--slate-200);
  font-size: 14.5px;
  color: var(--slate-500);
}
.land-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.land-foot h4 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--navy-ink);
}
.land-foot a {
  display: block;
  margin: 0 0 8px;
  color: var(--slate-500);
  text-decoration: none;
}
.land-foot p a {
  display: inline;
}
.land-foot a:hover {
  color: var(--navy-ink);
}
.land-foot p {
  max-width: 34ch;
  margin: 14px 0 0;
}
.land-foot .land-motto {
  margin: 14px 0 0;
  font: 500 19px/1.35 Fraunces, Georgia, serif;
  color: var(--navy-ink);
}
.land-motto em {
  font-style: italic;
  font-weight: 400;
  color: var(--blue-600);
}
.land-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.land-foot .land-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy-ink);
  transition:
    background 0.15s,
    transform 0.15s;
}
.land-foot .land-social a:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}
.land-social svg {
  width: 24px;
  height: 24px;
} 
.land-fbot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--slate-200);
  font-size: 13px;
}


html.rv .land-rv {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
html.rv .land-rv.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.rv .land-rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .land-hc,
  .land-wave span {
    animation: none;
  }
}


.land-orgs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.land-org {
  position: relative;
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 18px 44px 18px 20px;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  background: var(--white);
  text-decoration: none;
}

a.land-org {
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
a.land-org::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: 18px;
  margin-top: -12px;
  font-size: 18px;
  line-height: 24px;
  color: var(--blue-600);
}
a.land-org:hover {
  border-color: var(--blue-300);
  box-shadow: 0 10px 24px rgba(var(--navy-deep-rgb), 0.08);
  transform: translateY(-1px);
}
.land-orgs b {
  font-size: 16px;
  color: var(--navy-ink);
}
.land-orgs span {
  font-size: 13.5px;
  color: var(--slate-500);
}


.land-faq {
  max-width: 760px;
  margin: 36px auto 0;
  border-top: 1px solid var(--slate-200);
}
.land-faq details {
  border-bottom: 1px solid var(--slate-200);
}
.land-faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-ink);
  cursor: pointer;
}
.land-faq summary::-webkit-details-marker {
  display: none;
}
.land-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 6px;
  margin-top: -16px;
  font-size: 26px;
  font-weight: 400;
  line-height: 32px;
  color: var(--blue-600);
  transition: transform 0.2s;
}
.land-faq details[open] summary::after {
  transform: rotate(45deg);
}
.land-faq p {
  margin: -6px 0 20px;
  max-width: 64ch;
  color: var(--slate-600);
}


@media (max-width: 999px) {
  html.land body .wrap {
    max-width: 760px;
    padding: calc(8px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 18px 40px;
    border: 0;
  }
  html.land #s-welcome.on {
    font-size: 16px;
    line-height: 1.55;
    color: var(--navy-ink);
  }
  .land-nav {
    top: 8px;
    margin: 4px 0 0;
  }
  .land-nav .land-l[href='about.html'] {
    display: none;
  }
  
  html.land #s-welcome.on {
    display: flex;
    flex-direction: column;
  }
  html.land #s-welcome .land-hero {
    display: contents;
  }
  html.land #s-welcome .land-badge {
    order: 1;
    align-self: center;
    margin-top: 18px;
    font-size: 13px;
    text-align: center;
  }
  html.land #s-welcome .land-top {
    order: 2;
  }
  html.land #s-welcome .land-h1,
  html.land #s-welcome .land-lead {
    order: 3;
    text-align: center;
  }
  html.land #s-welcome .land-numbers {
    order: 3;
  }
  
  html.land #s-welcome .land-who {
    display: flex;
    order: 3;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
  }
  html.land #s-welcome .land-who .land-btn {
    margin: 0;
    padding: 12px 22px;
    font-size: 15px;
  }
  html.land #s-welcome .land-body {
    order: 4;
  }

  .land-h1 {
    margin-top: 20px;
    font-size: clamp(30px, 8vw, 46px);
  }
  html.land #s-welcome .land-lead {
    margin-top: 10px;
    font-size: 15px;
  }
  .land-lead {
    margin-top: 16px;
    font-size: 17px;
  }
  
  html.land #s-welcome #w-auth {
    position: fixed;
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 520px;
    max-height: 92vh;
    margin: 0 auto;
    padding: 30px 22px calc(22px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    overflow-y: auto;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -18px 50px rgba(var(--navy-deep-rgb), 0.18);
    transform: translateY(110%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0s 0.3s;
  }
  html.land.land-auth #s-welcome #w-auth {
    transform: none;
    visibility: visible;
    transition: transform 0.3s ease;
  }
  html.land.land-auth #s-welcome .land-scrim {
    display: block;
    position: fixed;
    z-index: 59;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(var(--navy-deep-rgb), 0.45);
  }
  html.land #s-welcome .land-x {
    display: grid;
    place-items: center;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--navy-ink);
    cursor: pointer;
  }
  html.land #s-welcome .land-x svg {
    width: 18px;
    height: 18px;
  }
  .land-stage {
    height: 470px;
    margin-top: 18px;
    border-radius: 28px;
  }
  .land-hcs {
    perspective-origin: 50% 52%;
  }
  .land-row {
    left: 50%;
    scale: 0.82;
  }
  .land-facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }
  .land-facts div:nth-child(3) {
    border-left: 0;
  }
  .land-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--slate-200);
  }
  .land-sec {
    padding-top: 72px;
  }
  .land-sec h2 {
    font-size: clamp(28px, 7.4vw, 38px);
  }
  .land-meet {
    height: 150px;
  }
  .land-3 {
    gap: 28px;
    margin-top: 36px;
  }
  .land-feat {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 52px;
  }
  .land-txt h3 {
    font-size: 25px;
  }
  .land-vis {
    min-height: 300px;
    padding: 24px;
    border-radius: 26px;
  }
  .land-band {
    margin-top: 72px;
    padding: 64px 0;
  }
  .land-topics {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
  }
  .land-end {
    padding: 72px 0;
  }
  .land-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 699px) {
  .land-orgs {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 28px;
  }
  .land-nav .land-l,
  .land-nav .sh-dd {
    display: none;
  }
  html.land #s-welcome .land-nav {
    padding: 8px 16px;
    min-height: 60px;
  }
  .land-btn {
    margin-left: 4px;
    padding: 9px 14px;
    font-size: 14px;
  }
  .land-stage {
    height: 320px; 
  }
  .land-hcs {
    perspective-origin: 42% 50%;
  }
  .land-row {
    top: 50%;
    left: 42%;
    scale: 0.54;
  }
  @media (max-height: 760px) {
    .land-stage {
      height: 260px;
    }
    .land-row {
      scale: 0.46;
    }
  }
  .land-vis .land-tutor {
    display: none;
  }
  .land-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .land-topics ul {
    columns: 1;
  }
  .land-seg button {
    padding: 10px 16px;
  }
  
  .land-tabsub {
    gap: 6px;
    margin: 22px 0 24px;
  }
  .land-tabsub button {
    padding: 7px 12px;
    font-size: 13px;
  }
  .land-bars div {
    grid-template-columns: minmax(0, 1fr) 90px 36px;
  }
  .land-cols > div:first-child {
    grid-column: 1 / -1;
  }
  .land-vis {
    padding: 20px 16px;
  }
  .land-vis.peek {
    padding-bottom: 0;
  }
  .land-week {
    gap: 5px;
  }
  .land-week span {
    width: 30px;
    height: 30px;
  }
}

.land-heroimg {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

@media (max-width: 1099px) {
  .land-nav .sh-dd {
    position: static;
  }
  .land-nav .sh-panel {
    left: auto;
    right: max(20px, calc(50vw - 580px));
    margin-top: 0;
  }
}
.hero .tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--white-rgb), 0.15);
  position: relative;
  z-index: 1;
}
.hero {
  color: var(--white);
  padding: 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--slate-900), var(--navy-dusk) 55%, var(--navy-deep));
  border: 1px solid var(--slate-800);
  border-radius: 18px;
  box-shadow: 0 6px 0 var(--navy-night); 
}

.hero::after {
  content: '';
  position: absolute;
  right: -96px;
  top: -96px;
  width: 262px;
  height: 262px;
  background: radial-gradient(closest-side, rgba(var(--blue-800-rgb), 0.21), rgba(var(--blue-800-rgb), 0.19) 23%, rgba(var(--blue-800-rgb), 0.11) 57%, rgba(var(--blue-800-rgb), 0.035) 79%, transparent);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  left: -96px;
  bottom: -96px;
  width: 242px;
  height: 242px;
  background: radial-gradient(closest-side, rgba(var(--sky-500-rgb), 0.15), rgba(var(--sky-500-rgb), 0.13) 20%, rgba(var(--sky-500-rgb), 0.08) 54%, rgba(var(--sky-500-rgb), 0.025) 77%, transparent);
  pointer-events: none;
}
.hero .cls b {
  color: var(--blue-300);
  font-weight: 600;
}
.hero .avatar b {
  position: absolute;
  animation: bob 4s ease-in-out infinite;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--slate-900);
  display: grid;
  place-items: center;
  font-size: 10px;
  right: -4px;
  bottom: -4px;
}
.hero .tile {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--white-rgb), 0.1);
  padding: 8px 10px;
  background: rgba(var(--white-rgb), 0.08);
  border-color: rgba(var(--white-rgb), 0.1);
  border-radius: 12px;
}
.hero .tile .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--slate-400);
}
.hero .tile .v {
  font-weight: 800;
  font-size: 12px;
  color: var(--gold-bright);
}
.hero .lvl {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin: 14px 2px 6px;
  position: relative;
  z-index: 1;
  color: var(--slate-300);
}
.hero .xpbar {
  border-radius: 999px;
  padding: 2px;
  border: 1px solid rgba(var(--white-rgb), 0.2);
  position: relative;
  z-index: 1;
  height: 8px;
  background: var(--slate-800);
  border-color: rgba(var(--white-rgb), 0.1);
}
.hero .xpbar i {
  width: 0;
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.5s;
  background: linear-gradient(90deg, var(--blue-800), var(--sky-400));
}
.hero .tile .ic .i {
  width: 18px;
  height: 18px;
}
.hero .cls {
  border: 1px solid rgba(var(--white-rgb), 0.25);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  background: rgba(var(--white-rgb), 0.1);
  border-color: rgba(var(--white-rgb), 0.15);
  color: var(--slate-200);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero .cls .i {
  width: 14px;
  height: 14px;
}
.hero .avatar {
  display: grid;
  place-items: center;
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 2px solid rgba(var(--white-rgb), 0.2);
  font-size: 30px;
  background: rgba(var(--amber-100-rgb), 0.95);
  padding: 2px;
}

.tile-ic.big .i {
  width: 32px;
  height: 32px;
}
.hero .avatar img {
  width: 46px;
  height: 46px;
}
.hero .tile .ic {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
  border-radius: 10px;
  background: rgba(var(--white-rgb), 0.08);
  color: var(--gold-bright);
}

@media (max-width: 400px) {
  #s-home .tile {
    padding: 8px;
    gap: 6px;
  }
  #s-home .tile .ic {
    display: none;
  }
}

.tabbar button,
.kc-t,
.kc-s,
.btn,
.linkbtn,
.inline-link,
.fc-done,
.sechead h2,
.card > h2,
.pagehead h1,
.set-sec h3,
.lrow .lt,
#h-stars,
#h-streak,
#h-s-streak,
#r-learn-h,
.qh-count,
label.f {
  text-transform: capitalize;
}

.sgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
#s-home #h-subjects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

#h-subjects .stile {
  min-height: 0;
  padding: 22px 4px 10px;
  gap: 4px;
  border-radius: 18px;
  border-bottom-width: 4px;
}
#h-subjects .stile .spic {
  width: 64px;
  height: 64px;
}
#h-subjects .stile b {
  font-size: 13.5px;
  line-height: 1.15;
}

@media (max-width: 999.98px) {
  #h-subjects .stile {
    padding: 14px 4px 8px;
    gap: 2px;
  }
  #h-subjects .stile .spic {
    width: 48px;
    height: 48px;
  }
  #h-subjects .stile b {
    font-size: 13px;
  }
  #h-subjects .stile:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }
}

#h-subjects .stile-d {
  margin-top: -2px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-500);
}
#h-subjects .stile-st {
  top: 5px;
  right: 5px;
  padding: 1px 6px;
  font-size: 10.5px;
}
#h-subjects .stile-st .i {
  width: 10px;
  height: 10px;
}
.stile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 156px;
  padding: 16px 10px 14px;
  border-radius: 22px;
  border: 2px solid var(--slate-200);
  border-bottom-width: 5px;
  background: var(--white);
  font: inherit;
  color: var(--navy-deep);
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.08s,
    border-bottom-width 0.08s;
}
.stile:active {
  transform: translateY(3px);
  border-bottom-width: 2px;
}
.stile b {
  font-weight: 900;
  line-height: 1.15;
}
.stile-st {
  position: absolute;
  top: 9px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
}
.q-streak {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy-ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hero h1 {
  color: var(--white);
  margin: 0 0 6px;
  font-size: 24px;
}
.levelup {
  margin-top: 8px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--blue-50);
  color: var(--navy-ink);
  font-size: 13px;
  padding: 6px 12px;
}
.bigstar.on .i,
.kc3 .kc-m .i,
.stile-st .i {
  fill: var(--gold);
  color: var(--gold-mid);
}

#h-hello {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

#h-hello.long {
  font-size: 20px;
}
#h-hello.xlong {
  font-size: 18px;
}
.stile .spic {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(var(--navy-deep-rgb), 0.12));
}


.h-week {
  display: none;
}

.h-arc {
  display: none;
}

.h-next {
  display: none;
}

@media (max-width: 999px) {
  .hero .tiles {
    grid-template-columns: 1fr;
  }
  .hero .t-stars,
  #s-home .sechead {
    display: none;
  }
}


.av-panel.ai-sheet {
  padding-left: 24px;
  padding-right: 24px;
}
.ai-sheet .ai-chip {
  display: inline-block;
  background: var(--blue-50);
  color: var(--navy);
  font: 800 11px/1 Nunito, system-ui;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.av-panel.ai-sheet .ai-title {
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink-blue);
  margin: 10px 0 8px;
  text-wrap: balance; 
}
.inst-sheet.ai-sheet .ai-q {
  font-size: 17px;
  color: var(--slate-600);
  margin: 0 0 18px;
}
.ai-sheet .ai-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ai-sheet .ai-btns .btn {
  width: 100%;
  min-height: 52px;
}
.inst-sheet.ai-sheet .ai-msg {
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 700;
  border-radius: 14px;
  padding: 14px;
  margin: 0;
}
.inst-sheet.ai-sheet .ai-msg.c-red {
  background: none;
  color: var(--red-bad);
  padding: 0;
  margin: 0 0 10px;
}
.ai-sheet .linkbtn {
  margin-top: 14px;
  font-weight: 700;
}


.hero .hs-row {
  display: none;
}
@media (max-width: 999px) {
  .hero .tiles,
  .hero .lvl {
    display: none;
  }
  .hero .hs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    margin: 16px 0 12px;
    position: relative;
    z-index: 1;
  }
}
.hero .hs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
  min-width: 0;
  border-left: 1px solid rgba(var(--white-rgb), 0.14);
}
.hero .hs:nth-child(odd) {
  border-left: 0;
  padding-left: 0;
}
.hero .hs-wide {
  grid-column: 1 / -1;
}
.hero .hs-l {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}
.hero .hs-v {
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.hero .hs-v .i {
  width: 12px;
  height: 12px;
}


.hw {
  padding: 12px 12px 10px;
}
.hw-top {
  display: flex;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 8px;
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer; 
  min-height: 40px; 
  margin: -6px 0 2px;
}
.hw-tt {
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.hw-top h2 {
  margin: 0;
  font-family: Fredoka, Nunito, system-ui;
  font-size: 18px;
  color: var(--navy-deep);
  white-space: nowrap;
}
.hw-m {
  color: var(--slate-500);
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
}

.hw-say {
  position: relative;
  background: var(--gold-cream);
  border: 1.5px solid var(--gold-sand);
  border-radius: 16px;
  padding: 10px 14px;
  margin-top: 4px;
}
.hw-say::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 62px;
  width: 13px;
  height: 13px;
  background: var(--gold-cream);
  border-left: 1.5px solid var(--gold-sand);
  border-top: 1.5px solid var(--gold-sand);
  transform: rotate(45deg);
}
.hw-say p {
  margin: 0;
  font-family: Fredoka, Nunito, system-ui;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--navy-deep);
}
.hw-nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.hw-nums span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px;
  border-radius: 14px;
  background: rgba(var(--navy-rgb), 0.05);
}
.hw-nums b {
  font-family: Fredoka, Nunito, system-ui;
  font-size: 20px;
  line-height: 1.1;
  color: var(--navy);
}
.hw-nums small {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  white-space: nowrap;
}

.hw-cheer {
  padding-top: 26px;
}
.hw-cheer-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: -70px auto 6px;
}
.hw-cheer .hw-cheer-badge {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
  animation: hwPop 0.7s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}
.hw-cheer-row img + img {
  width: 96px;
  height: 96px;
  align-self: flex-end;
}
.hw-cheer h3 {
  font-family: Fredoka, Nunito, system-ui;
  font-size: 24px;
  color: var(--navy-deep);
  margin: 4px 0 6px;
}
.hw-cheer p {
  color: var(--slate-600);
  margin: 0 0 16px;
}

.hw-many .hw-cheer-row {
  flex-wrap: wrap;
  max-width: 330px;
  gap: 8px 4px;
  align-items: flex-start;
}
.hw-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 78px;
}
.hw-fig figcaption {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  color: var(--navy-deep);
}
.hw-many .hw-row1 .hw-fig,
.hw-many .hw-row2 .hw-fig,
.hw-many .hw-row3 .hw-fig {
  width: auto;
  max-width: 108px;
}
.hw-many .hw-cheer-row img {
  width: 72px;
  height: 72px;
  align-self: auto;
}
.hw-many .hw-row1 img {
  width: 132px;
  height: 132px;
}
.hw-many .hw-row2 img {
  width: 104px;
  height: 104px;
}
.hw-many .hw-row3 img {
  width: 88px;
  height: 88px;
}
.hw-many p b {
  color: var(--navy-deep);
}
@keyframes hwPop {
  from {
    transform: scale(0.3) rotate(-20deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.c-bar {
  position: sticky;
  top: var(--net-top);
  z-index: 30;
  margin: -14px -16px 14px;
  padding: calc(10px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 16px 10px;
  background: rgba(var(--white-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
body.offline .c-bar {
  padding-top: 10px; 
}
.pl-h {
  margin: 8px 4px -2px;
  color: var(--navy-deep);
}
.kc {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 22px;
  border: 2px solid var(--kb);
  background: var(--white);
  box-shadow: 0 5px 0 var(--kb);
  font: inherit;
  text-align: left;
  color: var(--navy-deep);
  cursor: pointer;
  transition:
    transform 0.08s,
    box-shadow 0.08s;
}
.kc:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--kb);
}
.kc-b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}
.kc-t {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}
.kc-m {
  font-size: 13px;
  font-weight: 800;
  color: var(--kd);
  background: var(--kf);
  border-radius: 999px;
  padding: 3px 10px;
}

@media (max-width: 350px) {
  .kc-t {
    font-size: 15px;
  }
  #s-home .tile {
    padding: 8px;
    gap: 6px;
  }
  #s-home .tile .ic {
    display: none;
  }
  #s-home .tile b,
  #h-streak,
  #h-stars {
    font-size: 12.5px;
  }
  #c-title {
    font-size: 20px;
  }
  #p-settings .row {
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .kc-t {
    font-size: 14px;
  }
}

.kgrid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kgrid3 .kc-b {
  align-items: center;
  margin-top: 0;
  flex: 1;
  justify-content: center;
  gap: 4px;
}
.kgrid3 .kc-m {
  top: 8px;
  right: 8px;
  font-size: 12px;
}
.kc3 .kc-b {
  align-items: flex-start;
  gap: 2px;
}
.kc3 .kc-t {
  white-space: normal;
  line-height: 1.15;
}
.kc3 .kc-s {
  font-weight: 600;
  color: var(--slate-500);
  text-transform: none;
}
.kc3:active {
  transform: translateY(3px);
  border-bottom-width: 2px;
}
.kgrid3 .kc3 .kc-b {
  align-items: center;
  width: 100%;
}
.kgrid3 .kc3 .kc-t {
  justify-content: center;
  text-align: center;
}

.ktopics2 {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 22px;
  border: 2px solid var(--line-cool);
  overflow: hidden;
}
.kt2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: none;
  border: 0;
  border-top: 1px solid var(--line-cool);
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--navy-deep);
}
.kt2:first-child {
  border-top: 0;
}
.kt2-n {
  flex: 1;
  min-width: 0;
  font-weight: 800;
}
.kt2-p {
  flex: none;
  width: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.kt2-p i {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: var(--blue-100);
  overflow: hidden;
}
.kt2-p i b {
  display: block;
  height: 100%;
  background: var(--navy);
  border-radius: 99px;
}
#c-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  white-space: nowrap;
}

.kgrid3,
.av-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bigtext .kgrid3 .kc {
  height: auto;
  min-height: 0;
}
.kgrid3 .kc {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 12px 6px;
  border-radius: 18px;
  min-height: 0;
  height: 92px;
  box-sizing: border-box;
}
.kgrid3 .kc-t {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
}

.kc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 4px;
  white-space: nowrap;
}

@media (max-width: 999px) {
  .kgrid3 .kc3 {
    padding-left: 2px;
    padding-right: 2px;
  }
  .kgrid3 .kc3 .kc-s {
    font-size: 12.5px;
  }
  .kgrid3 .kc3 .kc-m {
    font-size: 13px;
    gap: 2px;
  }
}
.kc3 .kc-m {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 14px;
  font-weight: 900;
  color: var(--gold-ink);
  background: none;
  padding: 0;
}

.stile b,
.kc3 .kc-t,
.kt2-n,
.chrank li span,
.ch div.fw-700,
.bug-h h3,
.set-sec h3 {
  font-size: 17px;
}

.kc-ic {
  display: none;
}

.kc-tic {
  display: inline-flex;
  color: var(--navy);
}
.kc-tic .i {
  width: 16px;
  height: 16px;
}


.kgrid3 .kc[data-kind='full'] {
  grid-column: 1 / -1;
}
table.wgrid {
  width: auto;
  border-collapse: collapse;
  background: var(--white);
  font-weight: 800;
  font-size: 17px;
}
.wgrid td {
  border: 2px solid var(--slate-800);
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 0;
}

td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#s-quiz.on {
  animation: popFade 0.25s ease-out;
}
.timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--slate-200);
  min-width: 84px;
  justify-content: center;
}
.timer .t-listen {
  display: none;
}

.timer.listening .t-listen {
  display: inline-flex;
}
.timer.listening > .i,
.timer.listening #q-time {
  display: none;
}
.timer.warn {
  color: var(--gold-mid);
  animation: pulse 1s infinite;
}
.qtext {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 12px;
}
.q-tools {
  display: flex;
  gap: 8px;
  flex: none;
}
.q-spk {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-50);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.q-spk .i {
  width: 22px;
  height: 22px;
}
.q-spk.on {
  background: var(--navy);
  color: var(--white);
  animation: spkPulse 1s ease-in-out infinite;
}
.navrow .check {
  min-width: 140px;
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.navrow .check .i {
  color: var(--white);
}
.opts .opt.sel .let,
#s-quiz .opts:not(.pics) .opt.sel .let {
  background: var(--navy);
  color: var(--white);
}
.opts {
  display: grid;
  gap: 10px;
}
.opt > span:last-child {
  white-space: pre-line;
}
.opts.pics {
  grid-template-columns: repeat(2, 1fr);
}
.q-more {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(var(--navy-rgb), 0.3);
  cursor: pointer;
}
@media (min-width: 720px) {
  .opts.pics {
    grid-template-columns: repeat(4, 1fr);
  }
}
.opts.pics .opt .let {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(var(--white-rgb), 0.92);
  box-shadow: 0 1px 4px rgba(var(--black-rgb), 0.18);
}
.opts.pics .opt.sel .let {
  background: var(--navy);
  color: var(--white);
}
.opts.pics .opt.right .let {
  background: var(--green-ok);
  color: var(--white);
}
.opts.pics .opt.wrong .let {
  background: var(--red-bad);
  color: var(--white);
}
.opts.pics .opt .art {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.opts.pics .opt .art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: 0;
  outline: 0;
}
.opts.pics .opt .art img[src$='.png'] {
  object-fit: contain;
  padding: 10%;
  background: var(--white);
}
.opts.pics .opt .art svg {
  width: 80%;
  height: 80%;
}
.opts.pics .opt .nm {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(var(--white-rgb), 0.92);
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.opts.pics .opt.sel {
  outline: 4px solid var(--navy);
  outline-offset: -4px;
}
.opts.pics .opt.right {
  outline: 4px solid var(--green-600);
  outline-offset: -4px;
}
.opts.pics .opt.wrong {
  outline: 4px solid var(--rose-500);
  outline-offset: -4px;
}
.opt .art {
  font-size: 64px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.opt .art svg {
  width: 110px;
  height: 80px;
}
.opt .art img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  border-radius: 8px;
  outline: 1px solid var(--slate-300);
  outline-offset: 0;
}
.opts.pics .opt {
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.opt .nm {
  font-size: 15px;
}
.opt.right .let {
  background: var(--green-ok);
  color: var(--white);
}
.opt[disabled] {
  cursor: default;
}
.navrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .qtext {
    font-size: 19px;
  }
  .bigscore {
    font-size: 44px;
  }
}

@media (hover: hover) {
  .opt:hover:not([disabled]) {
    transform: translateY(-1px);
    border-color: var(--blue-400);
  }
}
.opt.sel {
  border-color: var(--navy);
  background: var(--blue-50);
}
.opt.sel .let {
  color: var(--white);
  background: var(--navy);
}
.opt .let {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: var(--slate-100);
}
.timer .i {
  width: 16px;
  height: 16px;
  color: var(--navy);
}

.tile-ic .i {
  width: 19px;
  height: 19px;
}

.qnum {
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: none;
  letter-spacing: 0;
}
.qnum .qn {
  white-space: nowrap; 
  flex: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cbtn .i {
  width: 20px;
  height: 20px;
}
.qtext {
  white-space: pre-line;
}

.q-head {
  position: sticky;
  top: var(--net-top);
  z-index: 20;
  margin: -14px -16px 12px;
  padding: calc(10px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 16px 10px;
  background: rgba(var(--white-rgb), 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-50);
}
body.offline .q-head {
  padding-top: 10px; 
}
.qh-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.qh-row + .qh-row {
  margin-top: 8px;
}
.q-head .cbtn {
  width: 36px;
  height: 36px;
}

#q-flag {
  color: var(--slate-500);
}
#q-flag.done {
  color: var(--navy);
}
#q-flag.done path {
  fill: currentColor;
}

.qh-prog {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.q-head .progress {
  flex: 1;
  height: 10px;
  background: var(--slate-100);
  box-shadow: none;
  padding: 2px;
}
.q-head .progress > i {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-800), var(--navy));
}
.qh-count {
  margin-right: auto; 
  font-size: 11px;
  font-weight: 800;
  color: var(--slate-500);
  white-space: nowrap;
}
.q-head .timer {
  flex: none; 
  min-width: 0;
  padding: 3px 10px;
  font-size: 13px;
  box-shadow: none;
  border: 1px solid var(--slate-200);
}
.q-topic .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-800);
}
.q-card .qnum .qn {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
}
.q-card .qtext {
  font-size: 18px;
  margin: 8px 0 12px;
}
.opts:not(.pics) .opt {
  border-radius: 16px;
  border: 2px solid var(--slate-100);
  border-bottom-width: 5px; 
  padding: 12px 14px;
}
.opts:not(.pics) .opt .let {
  border-radius: 10px;
  width: 32px;
  height: 32px;
  font-size: 13px;
}
.opts:not(.pics) .opt::after {
  content: '';
  margin-left: auto;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  box-sizing: border-box;
}
.opts:not(.pics) .opt.sel::after {
  border: 6px solid var(--navy);
}
.opts:not(.pics) .opt.right::after {
  content: '✓';
  border: none;
  background: var(--emerald-500);
  color: var(--white);
  width: 22px;
  height: 22px;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.opts:not(.pics) .opt.wrong::after {
  content: none;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: var(--white);
  border: 3px solid var(--slate-200);
  padding: 12px 14px;
  font-weight: 700;
  color: var(--slate-900);
  transition:
    transform 0.08s,
    border-color 0.15s;
  border-width: 2px;
  border-bottom-width: 5px; 
  border-radius: 14px;
  position: relative;
}
.opt:active:not(:disabled) {
  transform: translateY(3px);
  border-bottom-width: 2px;
}
.opt.wrong::before,
.opt.right.was-miss::before {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 1;
}
.opt.wrong::before {
  content: 'Your pick';
  background: var(--rose-100);
  color: var(--rose-700);
  border: 1px solid var(--rose-300);
}
.opt.right.was-miss::before {
  content: '✓ Answer';
  background: var(--emerald-500);
  color: var(--white);
}
.opt.wrong {
  border-color: var(--rose-400);
  background: var(--rose-50);
  animation: pickWiggle 0.45s ease-in-out 1;
}
.opt.right.was-miss {
  animation: answerGlow 1.6s ease-in-out 2;
}
@media (prefers-reduced-motion: reduce) {
  .opt.wrong,
  .opt.right.was-miss {
    animation: none;
  }
}
.opt.right {
  background: var(--emerald-50);
  border-color: var(--emerald-500);
}
.qd-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.q-head .tbar {
  margin: 8px 0 0;
  height: 8px;
}
#s-quiz {
  padding-bottom: 200px;
}
#q-nav .nav-r {
  display: flex;
  gap: 10px;
  margin-left: auto;
  align-items: center;
}
#q-say {
  margin: 0;
  font-size: 13px;
  color: var(--slate-800);
  line-height: 1.3;
  font-weight: 600;
  max-height: 7.8em;
  overflow-y: auto;
}
.q-topic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  border-radius: 8px;
  padding: 4px 10px;
  margin: 0 0 10px;
  background: var(--surface-2);
}
.passage {
  background: var(--passage);
  border-radius: 16px;
  padding: 10px 14px;
  margin: 6px 0 10px;
  font-size: 16px;
  line-height: 1.55;
}
.passage summary {
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}
#q-passage-t {
  white-space: pre-line;
  margin-top: 6px;
  max-height: 42vh;
  overflow: auto;
}

.opts.pics .opt.wrong::before,
.opts.pics .opt.right.was-miss::before {
  top: 8px;
  right: 8px;
  white-space: nowrap;
  z-index: 2;
}

.qd-pic {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0;
  background: var(--slate-50);
  display: grid;
  place-items: center;
}
.qd-pic > *,
.qd-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


@media (hover: hover) {
  button.sb:hover {
    background: var(--hover-wash);
  }
}
.qd-m {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  color: var(--white);
}
.qd.ok .qd-m {
  background: var(--emerald-500);
}
.qd.no .qd-m {
  background: var(--red-500);
}
.qd-b {
  flex: 1;
  min-width: 0;
}
.qd-q {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
  white-space: pre-line;
}
.qd-q span {
  color: var(--slate-400);
}
.qd-a {
  font-size: 12.5px;
  color: var(--slate-600);
  margin-top: 3px;
}
.qd-a b {
  color: var(--emerald-700);
}
.qd-a s {
  color: var(--red-700);
  text-decoration-thickness: 1.5px;
}
.qd-e {
  font-size: 12px;
  color: var(--slate-400);
  margin-top: 3px;
  line-height: 1.4;
}
.qd-art {
  display: inline-block;
  width: 64px;
  height: 64px;
  vertical-align: middle;
}
.qd-art img,
.qd-art svg {
  max-width: 100%;
  max-height: 100%;
}

svg.fig-wide {
  max-width: 460px;
}

#s-quiz .qh-count {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy-ink);
  font-size: 13px;
}

#s-quiz .qh-sec {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-light);
  color: var(--gold-ink);
  font-size: 12px;
  font-weight: 800;
}
#s-quiz .timer {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy-ink);
  font-weight: 900;
}
#s-quiz .progress {
  height: 10px;
  border-radius: 999px;
  background: var(--blue-100);
}
#s-quiz .progress i {
  background: var(--navy);
  border-radius: 999px;
}
#s-quiz .q-card .q-topic {
  margin: 0;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: calc(100% - 60px);
}
#s-quiz .q-card .q-topic #q-topic {
  overflow: hidden;
  text-overflow: ellipsis;
}
#s-quiz .pic {
  background: var(--picture-wash);
  border-radius: 20px;
  padding: 12px;
  margin: 12px 0 0;
}
#s-quiz .pic:empty {
  display: none;
}

#s-quiz .pic.wait .photos {
  width: 100%;
}
#s-quiz .pic.wait .photos img:only-child {
  width: 100%;
  max-width: 100%;
  height: 240px;
  max-height: none;
  object-fit: scale-down;
  box-shadow: none;
}
#s-quiz .pic.wait .photos img:not(:only-child) {
  width: calc(50% - 5px);
  max-width: none;
  height: 120px;
  max-height: none;
  object-fit: scale-down;
  box-shadow: none;
}
#s-quiz .pic.wait img.fig {
  width: 100%;
  height: 280px;
  max-height: none;
  object-fit: scale-down;
}
#s-quiz .opts:not(.pics) .opt .let {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--navy-deep);
  font-size: 16px;
}
#s-quiz .opts:not(.pics) .opt.sel {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 2px 0 var(--blue-200);
}
#s-quiz .opts.pics .opt {
  background: var(--white);
  border-radius: 20px;
}

#s-quiz .navrow {
  margin-top: 16px;
  position: fixed;
  z-index: 31;
  left: max(16px, calc(50% - 199px));
  width: min(calc(100% - 162px), 268px);
  bottom: calc(14px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
}
#s-quiz .navrow:empty {
  display: none;
}
#s-quiz.picked .qd-bubble {
  visibility: hidden;
}
#s-quiz.locked .q-dock .qd-main {
  margin-bottom: 61px;
}
#s-quiz.locked {
  padding-bottom: 264px; 
}
#s-quiz .navrow .nav-r {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
#s-quiz .btn.check {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--navy-ink);
}
#s-quiz .btn.q-go {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 18px;
  font-weight: 900;
  border-radius: 20px;
}
#s-quiz .qtext {
  line-height: 1.3;
  margin: 14px 0 4px;
  color: var(--navy-deep);
  font-size: 20px;
}

#s-quiz .opts:not(.pics) .opt.right {
  border-color: var(--emerald-500);
  background: var(--emerald-50);
  box-shadow: 0 2px 0 var(--emerald-200);
}
#s-quiz .opts:not(.pics) .opt.right .let {
  background: var(--emerald-500);
  color: var(--white);
}
#s-quiz .opts:not(.pics) .opt.wrong {
  border-color: var(--rose-300);
  background: var(--rose-50);
  box-shadow: 0 2px 0 var(--rose-200);
}

#s-quiz .q-head {
  padding-top: calc(6px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  padding-bottom: 6px;
  margin-bottom: 8px;
}
#s-quiz .q-card {
  border: 2px solid var(--slate-200); 
  border-bottom-width: 5px;
  border-radius: 26px;
  box-shadow: none;
  padding: 10px 14px 12px;
  margin-bottom: 10px;
}
#s-quiz .q-card .q-spk {
  width: 34px;
  height: 34px;
}
#s-quiz .q-card .qtext {
  margin-top: 8px;
}
#s-quiz .opts:not(.pics) .opt {
  background: var(--white);
  border: 2px solid var(--line-cool);
  border-bottom-width: 5px; 
  border-radius: 20px;
  box-shadow: 0 2px 0 var(--line-cool);
  font-size: 17px;
  padding: 5px 12px 5px 8px;
}
#s-quiz .opts {
  gap: 8px;
  margin-top: 10px;
}

#q-nav {
  margin-bottom: 12px;
}

.hooray {
  position: fixed;
  left: 50%;
  top: 32%;
  z-index: 61;
  pointer-events: none;
  font-weight: 900;
  font-size: clamp(48px, 14vw, 84px);
  color: var(--navy);
  text-shadow:
    0 4px 0 var(--white),
    0 -2px 0 var(--white),
    3px 0 0 var(--white),
    -3px 0 0 var(--white),
    0 8px 18px rgba(var(--navy-rgb), 0.35);
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: hooray 2.2s ease-out forwards;
}
h1,
h2,
h3,
.nm,
.bigscore {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.r-bonus .i {
  width: 16px;
  height: 16px;
}
.bigstar .i {
  width: 34px;
  height: 34px;
  color: var(--slate-200);
  fill: var(--slate-200);
}
.bigstar:nth-child(2) .i {
  width: 42px;
  height: 42px;
  margin-top: -6px;
}
.bigstar.fly,
.r-star.fly {
  display: grid;
  place-items: center;
}
.bigstar.fly .i,
.r-star.fly .i {
  width: 100%;
  height: 100%;
}

.inp > .i:first-child {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--blue-400);
  pointer-events: none;
}

.inst-steps .i {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}
#r-learn-h {
  display: flex;
  align-items: center;
  gap: 8px;
}
#r-learn-h #r-hear {
  margin-left: auto;
}
.lrn .qn {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.lrn .qb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lrn.now {
  background: var(--blue-50);
  border-radius: 12px;
}
.lrn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--slate-100);
  padding: 10px 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s;
  padding-left: 6px;
  padding-right: 6px;
}
.lrn b.good {
  color: var(--emerald-700);
  font-size: 15px;
}
.lrn-pic {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--slate-50);
}
.lrn-pic > *,
.lrn-pic img,
.lrn-pic svg,
.lrn-pic .photos img:only-child {
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
  transform: none;
}
.lrn .say {
  flex: none;
  color: var(--blue-800);
  padding-top: 2px;
}

.acct .who b {
  color: var(--ink-blue);
}

#s-result .bigscore {
  margin-top: 4px;
}

.r-star .i,
.r-bstar .i {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  fill: var(--gold);
  color: var(--gold-mid);
}
.r-main {
  margin-top: 16px;
  padding: 14px;
  font-size: 17px;
}
#r-vs:empty {
  display: none;
}
#r-vs .btn.block {
  margin-top: 10px;
}
.bigscore {
  margin: 4px 0;
  font-size: 44px;
}

.r-won {
  margin: 8px 0 0;
  color: var(--gold-deep);
  font-weight: 900;
}
.r-bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px; 
  margin: 6px 0 0;
  border-radius: 999px;
  font-size: 15px;
  background: none;
  padding: 0;
  color: var(--gold-ink);
  font-weight: 800;
}

.lrn .qb .good {
  display: block;
  color: var(--emerald-700);
  font-size: 15px;
  margin-bottom: 2px;
}
.lrn .tip {
  line-height: 1.35;
  color: var(--slate-600);
}
.lrn .lrn-q {
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-line;
}

.i.trophy {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  color: var(--gold-mid);
}

.vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin: 10px 0;
}
.vs .who {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 10px 6px;
}
.vs .who .n {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vs .who .s {
  font-size: 28px;
  font-weight: 900;
}
.vs .who.win {
  border: 2px solid var(--gold-bright);
  background: var(--gold-cream);
}
.vs .x {
  font-weight: 900;
  color: var(--slate-400);
}

.fr-list {
  display: grid;
  gap: 6px;
  margin: 6px 0 4px;
  max-height: 46vh;
  overflow-y: auto;
}
.fr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border: 2px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
  color: inherit;
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.fr-item .av {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.fr-item .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fr-item .fr-nm {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.fr-item .fr-ck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--slate-300);
  display: grid;
  place-items: center;
  color: transparent;
}
.fr-item .fr-ck .i {
  width: 16px;
  height: 16px;
}
.fr-item.on {
  border-color: var(--navy);
  background: var(--blue-50);
}
.fr-item.on .fr-ck {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.fr-waiting {
  margin: 4px 0 10px;
}
.fr-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 6px;
}
.fr-chip {
  flex: none;
  width: 72px;
  text-align: center;
  font-weight: 800;
  font-size: 12.5px;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.fr-chip .av {
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  border-radius: 16px;
  background: var(--gold-light);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid transparent;
}
.fr-chip .av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fr-chip.on .av {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(var(--navy-rgb), 0.2);
}

.fr-acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 10px;
  margin-bottom: 14px;
}
.fr-act {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  gap: 8px;
  min-height: 160px;
  padding: 12px 6px;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-bottom-width: 5px;
  border-radius: 18px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.fr-pic {
  
  width: 100%;
  max-width: 92px;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-50);
}
.fr-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fr-act b {
  display: block;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy-deep);
}
.fr-act small {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--slate-400);
}

.fr-match {
  text-align: center;
  padding: 6px 0 4px;
}
.fr-search,
.fr-found {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  object-fit: cover;
}
.fr-search {
  animation: frSearch 1.2s ease-in-out infinite;
}
@keyframes frSearch {
  50% {
    transform: scale(1.06) rotate(-3deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .fr-search {
    animation: none;
  }
}
.fr-match h3 {
  margin: 12px 0 4px;
}

.fr-open {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.fr-nm {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fr-nm small {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}

.fr-line .fr-nm {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.fr-line .fr-nm b,
.fr-line .fr-nm small {
  overflow: hidden;
  text-overflow: ellipsis;
}
.fr-open .sc {
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.fr-line .btn {
  padding: 8px 14px;
}
.fr-board {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.fr-board li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 14px;
}
.fr-board li.me {
  font-weight: 800;
  color: var(--navy);
}
.chrank {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: left;
}
.chrank li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  font-weight: 700;
}
.chrank li b {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--slate-200);
  font-size: 13px;
  flex: none;
}
.chrank li.first b {
  background: var(--gold-sand);
  color: var(--gold-ink);
}
.chrank li span {
  flex: 1;
}
.chrank li em {
  font-style: normal;
  color: var(--slate-600);
}
.chrank li.you {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

[data-sharebox] .row {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 12px;
}
[data-sharebox] a.btn.ghost::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-500);
}

#s-challenge.on {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
}
.ch-play {
  padding: 16px;
  font-size: 17px;
}
.ch-later {
  display: block;
  margin: 12px auto 0;
  color: var(--slate-500);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
[data-sharebox] a.btn.ghost {
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--white);
  color: var(--navy-deep);
  border: 2px solid var(--blue-100);
  box-shadow: 0 3px 0 var(--blue-100);
  text-decoration: none;
}

.fr-sheet .sgrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.fr-sheet .sgrid .stile {
  min-height: 0;
  padding: 14px 4px 8px;
  gap: 2px;
  border-radius: 18px;
  border-bottom-width: 4px;
}
.fr-sheet .sgrid .stile .spic {
  width: 48px;
  height: 48px;
}
.fr-sheet .sgrid .stile b {
  font-size: 13px;
  line-height: 1.15;
}
.fr-sheet .sgrid .stile:last-child:nth-child(3n + 1) {
  grid-column: 1 / -1;
}

.fr-req {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--slate-100);
}
.fr-req .fr-nm {
  text-align: left;
}
.fr-req .btn {
  flex: none;
  width: auto;
  padding: 8px 12px;
  font-size: 14px;
}

.fr-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-800);
  border: 2px solid var(--white);
}


[data-sharebox] .linkbtn {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}
.switch {
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: var(--slate-300);
  position: relative;
  transition: 0.2s;
  flex: none;
}
.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: 0.2s;
}
.toggle.on .switch::after {
  left: 23px;
}
.toggle.on .switch {
  background: var(--navy);
}

.lrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--slate-200);
}
.card h2 + .lrow {
  border-top: none;
}
.lrow .li {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.lrow .li .i {
  width: 18px;
  height: 18px;
}
.lrow .lt {
  flex: 1;
  font-weight: 600;
}
.lrow .toggle {
  border: none;
  background: none;
  padding: 0;
}
.lrow select {
  width: auto;
  min-width: 120px;
  padding: 8px 10px;
  font-size: 15px;
}

.inp input,
.inp select {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: rgba(var(--slate-50-rgb), 0.7);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: 0.15s;
}

.inp select {
  padding-right: 40px;
  cursor: pointer;
}

.tile-ic.sm .i {
  width: 14px;
  height: 14px;
}
#p-settings .pcol > .set-sec {
  padding: 0 16px 16px;
}
#p-settings .set-sec + .set-sec {
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}
#p-settings h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--slate-900);
}
#p-settings h3.next {
  margin-top: 14px; 
}
.pc-range {
  flex: none; 
}
.pc-range select {
  min-width: max-content;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--slate-200);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 10px center;
  border-radius: 999px;
  padding: 8px 30px 8px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--slate-800);
  box-shadow: 0 1px 2px rgba(var(--slate-900-rgb), 0.05);
  cursor: pointer;
}
.pc-card {
  padding: 16px 14px 12px;
}
.pc-ttl {
  font-weight: 800;
  font-size: 15px;
  color: var(--slate-900);
  margin: 0 2px 6px;
}
.pc-ttl span {
  font-weight: 600;
  color: var(--slate-400);
  font-size: 12.5px;
  margin-left: 6px;
}
.pc-chart {
  width: 100%;
  height: auto;
  display: block;
}
.pc-chart .gl {
  stroke: var(--line-soft);
  stroke-width: 1;
}
.pc-chart .pc-hit {
  fill: transparent;
  cursor: pointer;
}
.pc-chart .pc-tip rect {
  fill: var(--navy);
}
.pc-chart .pc-tip text {
  fill: var(--white);
  font-size: 12px;
  font-weight: 700;
}
.pc-chart .ax {
  font-size: 10px;
  fill: var(--slate-400);
  font-weight: 600;
}
.pc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.pc-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--slate-200);
  background: var(--slate-50);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
}
.pc-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.pc-chip.on {
  background: var(--blue-50);
  border-color: var(--blue-400);
  color: var(--navy-ink);
}

@media (hover: hover) {
  .pc-chip:hover {
    background: var(--blue-50);
    border-color: var(--blue-200);
  }
}
.pc-note {
  color: var(--slate-400);
  font-size: 13px;
  margin: 8px 2px;
}
.pc-sec {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 22px 4px 10px;
  font-weight: 800;
}
details.pc-subj {
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}
details.pc-subj > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
details.pc-subj > summary::-webkit-details-marker {
  display: none;
}
details.pc-subj > summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2.5px solid var(--slate-400);
  border-bottom: 2.5px solid var(--slate-400);
  transform: rotate(45deg);
  margin: -4px 2px 0 4px;
  transition: transform 0.2s;
}
details.pc-subj[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.pc-sn {
  flex: 1;
  font-weight: 800;
  font-size: 16px;
  color: var(--slate-900);
}
.pc-proj {
  font-weight: 800;
  font-size: 16px;
  color: var(--navy-deep);
}
.pc-proj small {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 700;
}
.pc-body {
  padding: 2px 16px 16px;
  border-top: 1px solid var(--slate-100);
}
.pc-block {
  margin-top: 16px;
}
.pc-bh {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.pc-row {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--slate-700);
}
.pc-row em {
  font-style: normal;
  color: var(--slate-400);
  font-weight: 600;
  font-size: 12px;
  margin-left: 4px;
}
.pc-hist {
  padding: 6px 14px 10px;
}
details.ht {
  border-top: 1px solid var(--slate-100);
}
details.ht:first-of-type {
  border-top: 0;
}
details.ht > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  cursor: pointer;
  list-style: none;
}
details.ht > summary::-webkit-details-marker {
  display: none;
}
.ht-t {
  
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht-t b {
  font-size: 14px;
  color: var(--slate-900);
}
.ht-t span {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 600;
}
.ht-s {
  font-weight: 800;
  color: var(--slate-900);
  font-size: 15px;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.ht-s small {
  font-size: 11px;
  color: var(--slate-400);
  font-weight: 700;
}
.ht-b {
  padding: 2px 0 10px;
}
.ht-filter {
  
  clear: both;
  display: flex;
  gap: 8px;
  padding-top: 10px;
}
.ht-filter .pc-range {
  flex: 1;
  min-width: 0;
}
.ht-filter select {
  width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
}
.ht-none {
  margin: 12px 4px;
}
.ht-full {
  
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}
.rowck {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--navy);
}

.selbar {
  position: sticky;
  top: var(--net-top);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 2px;
  margin: 0 0 6px;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.selbar .sp {
  flex: 1;
}
.selbar button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}
.selbar .del {
  color: var(--red-bad);
}
.selbar .del:disabled {
  opacity: 0.4;
  cursor: default;
}
.qd {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--line-soft);
}
.pc-more {
  margin: 10px auto 2px;
  display: block;
}
.pc-empty {
  text-align: center;
  color: var(--slate-500);
  padding: 26px;
}
.bug-card {
  margin-top: 14px;
}
.bug-h {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.bug-h h3 {
  margin: 0 0 2px;
}
.bug-h p {
  margin: 0 0 10px;
  color: var(--slate-600);
  font-size: 14px;
}
.bug-ic {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex: none;
}
.bug-file {
  display: block;
  margin-top: 8px;
  cursor: pointer;
}

.bug-acts {
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.bug-acts .bug-file {
  margin-top: 0;
}
.bug-file-b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 2px dashed var(--blue-200);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
}
.bug-file-b .i {
  width: 16px;
  height: 16px;
}
.bug-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

.otip-bubble small {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 700;
}
.lrow input[type='range'] {
  width: 130px;
  accent-color: var(--navy);
  flex: 1;
  min-width: 0;
  max-width: 150px;
}

.av-panel .linkbtn .i {
  width: 16px;
  height: 16px;
}

.kc3 .kc-m .i {
  width: 15px;
  height: 15px;
}
h3.pc-sec {
  font-size: 13px;
}

#s-parents * {
  text-transform: none;
}
#s-parents .pagehead h1 {
  font-size: min(24px, 5.9vw); 
  white-space: nowrap;
  font-weight: 800;
  color: var(--slate-900);
}

#s-parents h3.pc-sec,
#s-parents .pc-bh {
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#s-parents h3.pc-sec .sel-t {
  text-transform: none;
  letter-spacing: 0;
}

#s-parents .pc-ttl,
#s-parents .pc-sn,
#s-parents .ht-t b,
#s-parents .set-sec h3,
#s-parents #p-details h3,
#s-parents .bug-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}

#s-parents .lrow .lt,
#s-parents .sb-n,
#s-parents label.f {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
}
#s-parents .sb-n {
  font-weight: 500;
  color: var(--slate-700);
}

#s-parents .ht-t span,
#s-parents .sb-s em,
#s-parents .pc-ttl span,
#s-parents .pc-note,
#s-parents .acct .who,
#s-parents #p-credits-list,
#s-parents label.small {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
}
#s-parents .fopt {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
}

#s-parents .pc-proj {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
#s-parents .pc-proj small {
  color: var(--slate-500);
}
#s-parents .pc-proj em {
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
}
#s-parents .ht-s {
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
}
#s-parents .sb-s {
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-900);
}

#s-parents .sel-t,
#s-parents details > summary,
#s-parents #bug-shot-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
#s-parents .pc-chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
}
#s-parents .pc-chip.on {
  color: var(--navy);
}
#s-parents .btn {
  font-size: 15px;
  font-weight: 700;
}
#s-parents #pr-in {
  font-size: 14px;
}
#s-parents #ps-reset {
  font-size: 14px;
  font-weight: 700;
}
#s-parents summary.small.muted {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
}

#s-parents .rowx,
.msg-sheet .rowx {
  font-weight: 400;
  font-size: 22px;
  color: var(--slate-400);
}
#s-parents #ps-err:empty {
  display: none;
}
#s-parents .set-sec > .lrow:first-child {
  border-top: none; 
}
#p-details .pd-school {
  margin-top: 14px; 
}
#s-parents .bug-h {
  align-items: center;
  margin-bottom: 10px;
}
#s-parents .bug-h h3 {
  margin: 0;
}
#s-parents .pc-ttl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#s-parents .pc-ttl .pc-range select {
  font-size: 13px;
  padding: 6px 28px 6px 12px;
  height: auto;
}
#s-parents .pc-ttl .pc-ttl-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}
#s-parents .pc-ttl .pc-ttl-t span {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
  margin-left: 6px;
}
#s-parents .sb-s,
#s-parents .sb-s em {
  white-space: nowrap;
  text-align: right;
  min-width: 64px;
}
#s-parents .sb {
  grid-template-columns: minmax(0, 1fr) minmax(56px, 24%) 72px;
}
#s-parents .pc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 16px;
}
#s-parents .pc-empty b {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
}
#s-parents .pc-empty p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
}

#s-parents #p-settings {
  background: none;
  box-shadow: none;
  border: 0;
  padding: 0;
  margin: 0;
}
#s-parents #p-settings .pcol > .set-sec {
  background: var(--white);
  border-radius: 18px;
  padding: 16px;
  margin: 0 0 14px;
  border: 0;
  box-shadow:
    0 1px 2px rgba(var(--slate-900-rgb), 0.05),
    0 4px 16px rgba(var(--slate-900-rgb), 0.05);
}
#s-parents #p-settings .pcol > .set-sec:empty {
  display: none;
}
#s-parents #p-settings .pcol > .set-sec > h3:first-child {
  margin-top: 0;
}
#s-parents #p-bug .bug-card {
  
  margin: 0 0 14px;
  background: var(--white);
  border: 0;
  border-radius: 18px;
  padding: 16px;
  box-shadow:
    0 1px 2px rgba(var(--slate-900-rgb), 0.05),
    0 4px 16px rgba(var(--slate-900-rgb), 0.05);
}
#s-parents #p-credits {
  padding: 4px 16px 8px;
  text-align: center;
}
#s-parents #p-credits summary {
  font-size: 13px;
  color: var(--slate-400);
}

.linkbtn,
.rowx,
.sel-t,
.pc-chip {
  position: relative;
}
.linkbtn::after,
.rowx::after,
.sel-t::after,
.pc-chip::after {
  content: '';
  position: absolute;
  inset: -10px -6px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  font-weight: 600;
  position: relative;
}
.toggle::after {
  content: '';
  position: absolute;
  inset: -10px -8px;
}

#s-parents .acct-links {
  margin: 10px 0 0;
}
#s-parents .acct-links a {
  color: var(--navy);
}

#s-parents .about-link {
  margin: 0 0 12px;
  text-align: center;
}
#s-parents .about-link .linkbtn {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-sheet .av-panel {
  max-height: 100%;
  overflow-y: auto;
  position: relative;
  text-align: left;
}
.about-sheet .about-head {
  
  margin: 0 30px 4px 0; 
  font-family: Fredoka, Nunito, system-ui;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.about-sheet .sheet-x {
  
  position: sticky;
  top: 0;
  z-index: 1;
  margin-bottom: -40px;
}
.about-sheet .about-lead {
  
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding: 12px 14px 12px 8px;
  border-radius: 18px;
  background: var(--sky-wash);
}
.about-sheet .about-lead img {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.about-sheet .about-lead > div {
  min-width: 0;
}
.about-sheet .about-lead p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-deep);
}
.about-sheet h4 {
  clear: both;
  margin: 20px 0 6px;
  font-family: Fredoka, Nunito, system-ui;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}
.about-sheet h4 a {
  
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.about-sheet p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-700);
}

.about-sheet .about-snap {
  width: 104px;
  margin: 4px 0 8px;
  padding: 5px 5px 14px;
  background: var(--white);
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(var(--slate-900-rgb), 0.08),
    0 8px 18px rgba(var(--slate-900-rgb), 0.12);
}
.about-sheet .about-snap img {
  
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 3px;
}
.about-sheet .about-snap.r {
  float: right;
  margin-left: 14px;
  transform: rotate(3deg);
}
.about-sheet .about-snap.l {
  float: left;
  margin-right: 14px;
  transform: rotate(-3deg);
}
.about-sheet .about-quote {
  clear: both;
  text-wrap: balance;
  margin: 18px 4px 6px;
  padding: 0;
  text-align: center;
  font-family: Fredoka, Nunito, system-ui;
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
}
.about-sheet .about-quote::before,
.about-sheet .about-quote::after {
  color: var(--sky-400);
  font-size: 26px;
}
.about-sheet .about-quote::before {
  content: '“';
  margin-right: 2px;
}
.about-sheet .about-quote::after {
  content: '”';
  margin-left: 2px;
}

.about-sheet .about-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 10px;
}
.about-sheet .about-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--blue-50);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.about-sheet .about-links .i {
  width: 18px;
  height: 18px;
}
.about-sheet .about-more {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--slate-500);
}
.about-sheet .about-more {
  text-wrap: balance;
}
.about-sheet .about-more a {
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap; 
}

.pc-subj ~ .pc-subj .pc-tap {
  display: none;
}

#p-owl {
  position: relative;
  cursor: pointer;
}
#p-owl.dot::after {
  
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-800);
  border: 2px solid var(--white);
}

#p-owl .owl-badge.bell img {
  transform: none;
}
.msg-sheet {
  align-items: stretch;
}
.msg-sheet .av-panel {
  max-width: 560px;
  height: 100%;
  border-radius: 0;
  overflow-y: auto;
  text-align: left;
  padding-top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
}
.msg-head {
  position: sticky;
  top: -12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -12px -16px 12px;
  padding: 12px 16px 10px;
  background: var(--white);
  z-index: 1;
}
.msg-head h3 {
  margin: 0;
  font-size: 20px;
}
.msg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--surface-2);
  padding: 6px 10px;
  cursor: pointer;
}
.msg:active {
  transform: scale(0.99);
}
.msg-page {
  padding: 4px 2px 24px;
}
.msg-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.msg-top .msg-pic {
  width: 64px;
  height: 64px;
}
.msg-top .msg-t b {
  font-size: 19px;
}
.msg-pic {
  flex: none;
  width: 34px;
  height: 34px;
}
.msg-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.msg-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column; 
  gap: 1px;
}
.msg-t b {
  font-size: 16px;
  color: var(--navy);
  line-height: 1.3;
}
.msg-t small {
  color: var(--slate-500);
}
.msg-new {
  flex: none;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: var(--blue-800);
  border-radius: 999px;
  padding: 2px 9px;
}
.msg-b {
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-800);
  overflow-wrap: anywhere; 
}
.msg-img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  margin: 0 0 12px;
}

.msg-sheet ~ .burst,
.msg-sheet ~ .rain,
.msg-sheet ~ .hooray {
  z-index: 95;
}
.msg-b .msg-medals {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg-medals li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blue-50);
  border-radius: 14px;
  padding: 8px 12px 8px 8px;
}
.msg-medals img {
  width: 56px;
  height: 56px;
  flex: none;
}
.msg-medals span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.msg-medals small {
  font-size: 14px;
  color: var(--slate-600);
}
.msg-btn {
  display: inline-block;
  margin: 0 0 12px;
  text-decoration: none;
}
.msg-b p {
  margin: 0 0 10px;
}
.msg-b ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.msg-b li {
  margin: 0 0 6px;
}
.msg-none {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 48px 0;
  color: var(--slate-600);
}

#p-class .cls-card {
  margin-top: 14px;
}
.cls-card .cls-in {
  margin: 0 0 6px;
}
.cls-card #cls-code {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  font-size: 17px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#v-remind {
  margin-right: 8px;
  padding: 6px 8px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font: inherit;
  color: var(--slate-800);
  background: var(--white);
}

#p-details .pd-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#p-details .pd-kid {
  grid-template-columns: minmax(0, 1.5fr) minmax(max-content, 1fr);
}
#p-details .pd-pair > div {
  min-width: 0;
}
#p-details .pd-pair input,
#p-details .pd-pair select {
  width: 100%;
  text-overflow: ellipsis;
}



.acct-switch {
  margin: 8px 0 0;
}
.acct-switch a {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}


#pd-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(84px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(var(--navy-deep-rgb), 0.25);
}
#pd-bar span {
  flex: 1;
  min-width: 0;
}
#pd-bar .pd-undo {
  border: 0;
  background: none;
  padding: 8px 4px;
  font: inherit;
  font-size: 14px;
  color: var(--white);
  cursor: pointer;
}
#pd-bar .btn {
  background: var(--white);
  color: var(--navy-deep);
  box-shadow: none;
}

.gm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.gm-head h2 {
  margin: 0;
}
.gm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gm-tile {
  position: relative;
  border: 0;
  border-radius: 20px;
  padding: 16px 12px 12px;
  background: linear-gradient(160deg, var(--g1), var(--g2));
  color: var(--white);
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 6px 0 rgba(var(--black-rgb), 0.12);
  text-align: left;
  min-height: 130px;
}
.gm-tile:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(var(--black-rgb), 0.12);
}
.gm-tile.poster {
  grid-column: auto;
  aspect-ratio: 1/1;
  min-height: 0;
  background-image: var(--poster); 
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 12px; 
}
.gm-tile.poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--forest-shade-rgb), 0) 45%, rgba(var(--forest-shade-rgb), 0.82));
  border-radius: inherit;
}
.gm-tile.poster > * {
  position: relative;
}
.gm-tile.poster b {
  font-family: Fredoka, Nunito, system-ui;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(var(--black-rgb), 0.5);
}
.gm-tile.poster .gm-best {
  background: rgba(var(--forest-shade-rgb), 0.6);
  font-size: 12px;
  padding: 3px 10px;
}
.gm-art {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 3px 4px rgba(var(--black-rgb), 0.2));
}
.gm-tile b {
  font-size: 17px;
  margin-top: auto;
}
.gm-cost {
  background: rgba(var(--white-rgb), 0.92);
  color: var(--gold-ink);
  border-radius: 999px;
  padding: 2px 9px;
  font-weight: 900;
  font-size: 12.5px;
}
.gm-best {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(var(--black-rgb), 0.22);
  border-radius: 999px;
  padding: 2px 8px;
}
#s-game {
  position: fixed;
  top: var(--net-top);
  bottom: 0;
  left: 50%;
  width: min(100vw, calc(100vh * 0.62)); 
  width: min(100vw, calc(100dvh * 0.62));
  transform: translateX(-50%);
  z-index: 60;
  background: var(--forest);
  padding: 0;
  max-width: none;
}
#s-game::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  background: var(--forest-night);
  z-index: -1;
}
#s-game:not(.on) {
  display: none;
}
.gm-scr {
  position: fixed;
  top: var(--net-top);
  bottom: 0;
  left: 50%;
  width: min(100vw, calc(100vh * 0.62)); 
  width: min(100vw, calc(100dvh * 0.62));
  transform: translateX(-50%);
  z-index: 60;
  padding: 0;
  max-width: none;
  background: var(--forest) url(art/fly/forest.webp) center/cover;
  box-shadow: 0 0 0 100vw var(--forest-night);
  font-family: Fredoka, Nunito, system-ui;
}
.gm-scr:not(.on) {
  display: none;
}
#s-match::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--forest-mist-rgb), 0.18), rgba(var(--forest-mist-rgb), 0.5) 45%, rgba(var(--forest-mist-rgb), 0.72));
  pointer-events: none;
  z-index: 0;
}
.gm-scr > .fly-hud,
.gm-scr > .mz-pad,
.gm-scr > .bk-stage,
.gm-scr > .fly-card {
  z-index: 1;
}
#hp-cv,
#fp-cv,
#mz-cv,
#so-cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
}
.mt-board {
  position: relative;
  width: 100%;
  max-width: min(100%, calc(100vh - 250px));
  max-width: min(100%, calc(100dvh - 250px));
  aspect-ratio: 1;
  border-radius: 22px;
  background:
    linear-gradient(rgba(var(--bark-night-rgb), 0.84), rgba(var(--bark-night-rgb), 0.84)),
    url(art/fly/plank.webp) center/cover;
  box-shadow:
    0 0 0 4px var(--gold-frame),
    0 0 0 8px var(--bark),
    0 18px 34px rgba(var(--black-rgb), 0.45);
  touch-action: none;
  overflow: hidden;
}
.mt-t {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% / 7);
  height: calc(100% / 7);
  display: grid;
  place-items: center;
  transition: transform 0.22s cubic-bezier(0.3, 0.8, 0.4, 1.15);
  will-change: transform;
}
.mt-t img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 3px 3px rgba(var(--black-rgb), 0.35));
}
.mt-t.sel img {
  transform: scale(1.14);
  filter: drop-shadow(0 0 10px var(--gold-sand));
}
.mt-t.pop img {
  animation: mtPop 0.2s ease-in forwards;
}
.mt-t.hint img {
  animation: mtHint 0.5s ease-in-out 3;
}
#s-blocks {
  position: fixed;
  top: var(--net-top);
  bottom: 0;
  left: 50%;
  width: min(100vw, calc(100vh * 0.62)); 
  width: min(100vw, calc(100dvh * 0.62));
  transform: translateX(-50%);
  z-index: 60;
  padding: 0;
  max-width: none;
  background: var(--forest) url(art/fly/forest.webp) center/cover;
  box-shadow: 0 0 0 100vw var(--forest-night);
  font-family: Fredoka, Nunito, system-ui;
}
#s-blocks::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--forest-mist-rgb), 0.18), rgba(var(--forest-mist-rgb), 0.5) 45%, rgba(var(--forest-mist-rgb), 0.72));
  pointer-events: none;
  z-index: 0;
}
#s-blocks > .fly-hud,
#s-blocks > .bk-stage,
#s-blocks > .fly-card {
  z-index: 1;
}
#s-blocks:not(.on) {
  display: none;
}
.bk-stage {
  position: absolute;
  top: calc(64px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  right: 12px;
  bottom: calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.bk-say {
  background: var(--white);
  color: var(--navy-deep);
  border-radius: 16px 16px 16px 5px;
  padding: 7px 13px;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(var(--black-rgb), 0.3);
  animation: otipPop 0.25s ease-out both;
}
.bk-say[hidden] {
  display: none;
}
.bk-board {
  width: 100%;
  max-width: min(100%, calc(100vh - 330px));
  max-width: min(100%, calc(100dvh - 330px));
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(var(--bark-night-rgb), 0.82), rgba(var(--bark-night-rgb), 0.82)),
    url(art/fly/plank.webp) center/cover;
  box-shadow:
    0 0 0 4px var(--gold-frame),
    0 0 0 8px var(--bark),
    0 18px 34px rgba(var(--black-rgb), 0.45);
  touch-action: none;
}
.bk-c {
  position: relative;
  border-radius: 22%;
  background: rgba(var(--white-rgb), 0.07);
  box-shadow: inset 0 2px 5px rgba(var(--black-rgb), 0.4);
}
.bk-t,
.bk-c.on,
.bk-c.ghost::after,
.bk-c.burst::after {
  background: var(--c); 
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--c) 62%, var(--white)),
    var(--c) 52%,
    color-mix(in srgb, var(--c) 72%, var(--black))
  );
  box-shadow:
    inset 0 3px 0 rgba(var(--white-rgb), 0.5),
    inset 0 -4px 0 rgba(var(--black-rgb), 0.28),
    0 2px 4px rgba(var(--black-rgb), 0.3);
  border-radius: 22%;
}
.bk-c.ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.45;
}
.bk-c.burst::after {
  content: '';
  position: absolute;
  inset: 0;
  animation: bkBurst 0.38s ease-out forwards;
}
.bk-c.drop {
  animation: bkDrop 0.18s ease-out;
}
.bk-tray {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 104px;
  align-items: center;
  justify-items: center;
  touch-action: none;
}
.bk-p {
  display: grid;
  gap: 3px;
  padding: 8px;
  cursor: grab;
  touch-action: none;
}
.bk-p.gone {
  visibility: hidden;
}
.bk-p.no {
  opacity: 0.38;
}
.bk-p i,
.bk-drag i {
  display: block;
}
.bk-p i.e,
.bk-drag i.e {
  visibility: hidden;
}

.bk-drag {
  position: fixed;
  z-index: 95;
  display: grid;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(var(--black-rgb), 0.4));
}

.ph-owl > *,
.ph-owl img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
}
#fly-cv {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
}
.fly-hud {
  position: absolute;
  z-index: 1; 
  top: calc(12px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px)));
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  font-family: Fredoka, Nunito, system-ui;
}
.fly-hud > * {
  pointer-events: auto;
}
.fly-x,
.fly-chip,
.fly-pow {
  background: rgba(var(--white-rgb), 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 6px 18px -2px rgba(var(--black-rgb), 0.14),
    inset 0 1px 0 rgba(var(--white-rgb), 0.8);
}
.fly-x {
  width: 44px;
  height: 44px;
  flex-shrink: 0; 
  border-radius: 50%;
  border: 0;
  color: var(--slate-700);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.fly-chip {
  border-radius: 16px;
  padding: 7px 12px;
  white-space: nowrap; 
  font-weight: 700;
  color: var(--slate-800);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fly-chip small {
  font-size: 11px;
  color: var(--slate-500);
  font-weight: 700;
}
.fly-pen {
  margin-left: auto;
}

.mz-pad {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 12px calc(16px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
}
.mz-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 64px;
}
.mz-arrows {
  display: grid;
  grid-template-columns: repeat(3, 60px);
  grid-template-rows: repeat(3, 60px);
  touch-action: none;
  cursor: pointer;
  filter: drop-shadow(0 6px 14px rgba(var(--black-rgb), 0.28));
}

.mz-arrows::before {
  content: '';
  grid-area: 2 / 2;
  background: rgba(var(--white-rgb), 0.9);
}
.mz-arrows::after {
  content: '';
  grid-area: 2 / 2;
  place-self: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--slate-900-rgb), 0.12);
}
.mz-arrows button {
  border: 0;
  border-radius: 0;
  background: rgba(var(--white-rgb), 0.9);
  color: var(--slate-700);
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: pointer;
  pointer-events: none;
}
.mz-arrows button.on {
  background: rgba(var(--white-rgb), 0.62);
  color: var(--navy);
}
.mz-arrows .mz-u {
  grid-area: 1 / 2;
  border-radius: 16px 16px 0 0;
}
.mz-arrows .mz-l {
  grid-area: 2 / 1;
  border-radius: 16px 0 0 16px;
}
.mz-arrows .mz-r {
  grid-area: 2 / 3;
  border-radius: 0 16px 16px 0;
}
.mz-arrows .mz-d {
  grid-area: 3 / 2;
  border-radius: 0 0 16px 16px;
}

.bk-undo {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.bk-undo:disabled {
  opacity: 0.45;
  cursor: default;
}
.fly-pen img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: -3px 0;
}
.fly-pow {
  border-radius: 999px;
  padding: 5px 10px 5px 5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--rose-700);
  font-size: 13px;
  border: 1px solid var(--rose-200);
}
.fly-pow .ring {
  --f: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(var(--red-500) calc(var(--f) * 360deg), var(--slate-200) 0);
  display: grid;
  place-items: center;
}
.fly-pow .ring i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
}
.fly-pow .ring img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}
.fly-card {
  position: absolute;
  z-index: 2; 
  left: 50%;
  bottom: calc(18px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  top: auto;
  transform: translateX(-50%);
  width: min(400px, 92vw);
  background: rgba(var(--white-rgb), 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 20px 18px 16px;
  text-align: center;
  border: 2px solid var(--slate-200); 
  border-bottom-width: 5px;
  box-shadow: none;
  font-family: Nunito, system-ui;
  animation: fcIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.fly-card[hidden] {
  display: none;
}
.fc-title {
  font-family: Fredoka, Nunito, system-ui;
  font-weight: 700;
  font-size: 30px;
  margin: 6px 0 0;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}
.fc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.fc-grid div {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-bottom-width: 4px; 
  border-radius: 16px;
  padding: 8px 10px;
}
.fc-grid i {
  grid-row: 1/3;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-bottom-width: 3px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 16px;
}
.fc-grid b {
  font-size: 13px;
  color: var(--slate-900);
  font-weight: 900;
  line-height: 1.1;
}
.fc-grid small {
  font-size: 10.5px;
  color: var(--slate-400);
  font-weight: 800;
}
.fc-pows {
  display: flex;
  justify-content: space-around;
  background: rgba(var(--blue-50-rgb), 0.8);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 8px 4px 6px;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--slate-700);
}
.fc-pows span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.fc-pows .fc-pic {
  width: 38px;
  height: 38px;
}
.fc-pic {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.fc-pic.sm {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: -5px;
}
.fc-play {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  font-family: Fredoka, Nunito, system-ui;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(180deg, var(--navy-bright), var(--navy));
  box-shadow:
    0 8px 0 var(--navy-deep),
    0 16px 25px rgba(var(--navy-rgb), 0.35);
  transition:
    transform 0.12s,
    box-shadow 0.12s;
}
.fc-play:active {
  transform: translateY(6px);
  box-shadow:
    0 2px 0 var(--navy-deep),
    0 6px 15px rgba(var(--navy-rgb), 0.35);
}
.fc-grid i .i {
  width: 20px;
  height: 20px;
  color: var(--navy);
}
.fc-grid i.two {
  display: flex;
  justify-content: center;
}
.fc-grid i.two .i {
  width: 15px;
  height: 15px;
}
.fc-grid i.two .i + .i {
  margin-left: -3px;
}

.fc-stats .i {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
}
.fc-play em {
  font-style: normal;
  background: rgba(var(--white-rgb), 0.2);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 15px;
}
.fc-done {
  margin-top: 12px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 900;
  color: var(--slate-500);
  font-size: 15px;
  cursor: pointer;
}
.fc-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--slate-400);
}
.fc-foot b {
  color: var(--slate-900);
}
.fly-paused {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(var(--slate-900-rgb), 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  font-family: Fredoka, Nunito, system-ui;
  cursor: pointer;
}
.fly-paused[hidden] {
  display: none;
}
.fly-paused b {
  font-size: 40px;
  font-weight: 700;
}
.fly-paused span {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.9;
}
.fc-score {
  font-family: Fredoka, Nunito, system-ui;
  font-size: 56px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
  margin: 4px 0;
}
.fc-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 4px 0 16px;
  font-weight: 900;
  color: var(--slate-600);
}

.stile-st .i {
  width: 12px;
  height: 12px;
}

[data-sharebox] [data-share] {
  justify-content: center;
  width: 100%;
}

#pr-card > .row {
  flex-direction: column;
  text-align: center;
  gap: 8px;
}
#pr-card .avatar-lg {
  width: 96px;
  height: 96px;
  border-radius: 30px;
}
#pr-card .avatar-lg img {
  width: 88px;
  height: 88px;
}

.q-streak .i {
  width: 15px;
  height: 15px;
  color: var(--navy);
}

.kt2-p em {
  font-style: normal;
  font-weight: 900;
  color: var(--navy);
}

.owl-badge {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--white), var(--gold-light));
  box-shadow:
    0 0 0 3px rgba(var(--white-rgb), 0.92),
    0 8px 18px -8px rgba(var(--slate-900-rgb), 0.5);
}

.owl-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transform-origin: 50% 35%;
}

.gm-pic,
.gm-help,
.gm-play {
  display: none;
}

.gm-hero {
  display: contents;
}

.gm-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 12px;
  text-align: center;
}
.gm-locked img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.gm-locked b {
  font-size: 20px;
  color: var(--navy-deep);
}
.gm-locked p {
  margin: 0 0 8px;
  color: var(--slate-600);
}

@media (max-width: 999px) {
  #pr-games {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  #pr-games .gm-head {
    display: none;
  }
  .ph-stars {
    margin: 0 12px 0 auto;
  }
  
  .gm-locked .coins {
    display: none;
  }
  
  .gm-tile.poster {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-end;
    align-items: center;
    column-gap: 6px;
    row-gap: 6px;
  }
  .gm-tile.poster::before {
    background: linear-gradient(
      180deg,
      rgba(var(--forest-shade-rgb), 0) 32%,
      rgba(var(--forest-shade-rgb), 0.55) 58%,
      rgba(var(--forest-shade-rgb), 0.92)
    );
  }
  
  .gm-tile.poster .gm-hero > * {
    position: relative;
  }
  .gm-tile.poster b {
    flex-basis: 100%;
    margin-top: 0;
    font-size: 21px;
    line-height: 1.1;
    -webkit-text-stroke: 5px rgba(var(--forest-shade-rgb), 0.9);
    paint-order: stroke fill;
    text-shadow: 0 2px 8px rgba(var(--black-rgb), 0.6);
  }
  .gm-tile.poster .gm-best {
    margin-left: auto;
    background: rgba(var(--forest-shade-rgb), 0.75);
  }
}

#s-profile .pc-yt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--navy);
  text-decoration: none;
}
#s-profile .pc-yt-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue-50);
}
#s-profile .pc-yt-ic .i {
  width: 22px;
  height: 22px;
}
#s-profile .pc-yt-t {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
}
#s-profile .pc-yt-go {
  flex: none;
  padding: 7px 10px;
  border-radius: 99px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 340px) {
  #s-profile .pc-yt {
    gap: 8px;
    padding: 9px 10px;
  }
  #s-profile .pc-yt-ic {
    width: 30px;
    height: 30px;
  }
  #s-profile .pc-yt-t {
    font-size: 13px;
  }
  #s-profile .pc-yt-go {
    padding: 6px 8px;
  }
  .fly-hud {
    gap: 5px;
  }
  .fly-chip {
    padding: 7px 7px; 
    gap: 4px;
  }
}

.ai-c {
  align-items: center;
}
.c-gold {
  color: var(--gold-bright);
}
.c-red {
  color: var(--red-bad);
}
.c-ok {
  color: var(--green-ok);
}

.c-navy {
  color: var(--navy);
}
.c-soft {
  color: var(--slate-500);
}
.cur-p {
  cursor: pointer;
}
.d-flex {
  display: flex;
}
.fs-18 {
  font-size: 18px;
}
.fs-19 {
  font-size: 19px;
}
.fs-22 {
  font-size: 22px;
}
.fw-700 {
  font-weight: 700;
}
.fw-800 {
  font-weight: 800;
}
.fw-900 {
  font-weight: 900;
}
.fwrap-no {
  flex-wrap: nowrap;
}
.gap-14 {
  gap: 14px;
}
.gap-6 {
  gap: 6px;
}
.jc-c {
  justify-content: center;
}
.jc-sb {
  justify-content: space-between;
}
.m-0 {
  margin: 0;
}
.m-12-0-0 {
  margin: 12px 0 0;
}
.m-14-0-6 {
  margin: 14px 0 6px;
}
.m-2-0-10 {
  margin: 2px 0 10px;
}
.m-2-0-8 {
  margin: 2px 0 8px;
}
.m-4-0 {
  margin: 4px 0;
}
.m-6-0-0 {
  margin: 6px 0 0;
}
.m-8-0-0 {
  margin: 8px 0 0;
}
.maxw-380 {
  max-width: 380px;
}
.mb-0 {
  margin-bottom: 0;
}
.minh-18 {
  min-height: 18px;
}
.mt-10 {
  margin-top: 10px;
}
.mt-12 {
  margin-top: 12px;
}
.mt-4 {
  margin-top: 4px;
}
.mt-6 {
  margin-top: 6px;
}
.mt-8 {
  margin-top: 8px;
}
.op-75 {
  opacity: 0.75;
}
.pos-rel {
  position: relative;
}
.ta-c {
  text-align: center;
}
.w-full {
  width: 100%;
}
.wb-all {
  word-break: break-all;
}
.ws-no {
  white-space: nowrap;
}
.z-1 {
  z-index: 1;
}
.va-2 {
  vertical-align: -2px;
}
.measure {
  position: absolute;
  visibility: hidden;
  font-size: 16px;
}
.inline-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}



@media (min-width: 1000px) {
  .av-sheet {
    align-items: center;
  }
  .av-panel {
    max-width: 760px;
    border-radius: 24px;
  }
  .av-panel .av-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  
  .msg-sheet {
    align-items: center;
  }
  .msg-sheet .av-panel {
    height: auto;
    max-height: min(86vh, 760px);
    border-radius: 24px;
  }
}


@media (min-width: 1000px) {
  body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
  }
  .wrap {
    max-width: 1280px;
    padding: 30px 40px 40px;
    border: none;
    background: var(--white);
  }
  #s-welcome {
    max-width: 480px;
    margin: 0 auto;
  }
  .pagehead {
    margin: 0 0 22px;
  }
  .pagehead h1,
  #c-title {
    font-family: Fraunces, Georgia, serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--navy-ink);
  }
  .sechead h2,
  .pl-h,
  h3.pc-sec,
  #r-learn-h,
  #pr-games .gm-head h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy-ink);
    text-transform: none;
  }
  .sechead h2,
  .pl-h {
    text-transform: capitalize; 
  }

  
  .tabbar {
    top: var(--net-top);
    bottom: 0;
    left: 0;
    width: 248px;
    max-width: none;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 92px 16px 22px;
    background: var(--white);
    border: 0;
    border-right: 2px solid var(--slate-200);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .tabbar::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 26px;
    width: 40px;
    height: 40px;
    background: url('art/owl.webp') center / contain no-repeat;
  }
  .tabbar::after {
    content: 'Olympiad Owl';
    position: absolute;
    left: 74px;
    top: 34px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--navy-ink);
  }
  .tabbar button {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    min-height: 52px;
    padding: 8px 14px;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--slate-600);
  }
  .tabbar button:hover {
    background: var(--slate-50);
  }
  .tabbar button.on,
  .tabbar button.on:hover {
    background: var(--sky-wash);
    border-color: var(--blue-200);
    color: var(--navy);
    box-shadow: none;
  }
  
  .tabbar button .ti,
  .tabbar button.on .ti {
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: center / contain no-repeat;
    color: inherit;
  }
  .tabbar button .ti .i {
    display: none;
  }
  #nav-home .ti {
    background-image: url('art/menu/home.svg');
  }
  #nav-friends .ti {
    background-image: url('art/menu/friends.svg');
  }
  #nav-profile .ti {
    background-image: url('art/menu/arcade.svg');
  }
  #nav-parents .ti {
    background-image: url('art/menu/reports.svg');
  }
  #nav-settings .ti {
    background-image: url('art/menu/settings.svg');
  }
  
  .tb-me {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: var(--slate-50);
  }
  .tb-me img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--white);
  }
  .tb-me span {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
  }
  .tb-me b {
    font-size: 14px;
    color: var(--slate-900);
  }
  .tb-me small {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-600);
  }
  body:not(.inquiz):has(#tabbar:not([hidden])) {
    padding-left: 248px;
  }

  
  .card {
    border-radius: 22px;
    border-bottom-width: 2px;
    padding: 22px 24px;
    box-shadow: none;
  }
  .stile,
  .kc,
  .fr-act,
  .h-arc,
  .h-next,
  .kt2 {
    transition:
      transform 0.12s,
      border-color 0.2s,
      background 0.2s;
  }
  .stile:hover,
  .kc:hover,
  .fr-act:hover,
  .h-arc:hover,
  .kt2:hover {
    transform: translateY(1px);
    border-color: var(--blue-200);
    background: var(--hover-wash);
  }
  .btn:hover,
  .gm-play:hover,
  .h-arc-go:hover {
    filter: brightness(1.1);
  }
}


@media (min-width: 1000px) {
  #s-home.on {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 32px;
    row-gap: 16px;
    align-items: start;
  }
  
  #s-home .h-side {
    grid-column: 2;
    grid-row: 2 / span 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  #s-home .hero {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--navy-ink);
    overflow: visible;
  }
  #s-home .hero::before,
  #s-home .hero::after,
  #s-home .hero .xpbar,
  #s-home .hero .hs-row {
    display: none;
  }
  #s-home .hero > .row {
    grid-column: 1;
    justify-content: flex-start;
    gap: 18px;
  }
  #s-home .hero > .row > div:first-child {
    order: 2;
  }
  #s-home .hero h1 {
    font-family: Fraunces, Georgia, serif;
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.05;
    color: var(--navy-ink);
    margin: 0 0 8px;
  }
  #h-hello.long {
    font-size: 36px;
  }
  #h-hello.xlong {
    font-size: 30px;
  }
  .hero .cls {
    background: var(--sky-wash);
    color: var(--navy);
    border: 0;
  }
  .hero #h-avatar {
    width: 84px;
    height: 84px;
  }
  #s-home .hero .lvl {
    grid-column: 1;
    margin: 6px 0 0 102px;
    justify-content: flex-start;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate-600);
  }
  
  #s-home .hero .tiles {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 300px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #s-home .hero .tile {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: 18px;
    box-shadow: none;
    color: var(--navy-ink);
  }
  #s-home .hero .tile .ic {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--gold-light);
    color: var(--gold-deep);
    box-shadow: none;
  }
  #s-home .hero .t-stars .ic {
    background: var(--sky-wash);
    color: var(--navy);
  }
  #s-home .hero .tile .ic .i {
    width: 20px;
    height: 20px;
  }
  #s-home .hero .tile .l {
    font-size: 12px;
    color: var(--slate-600);
  }
  #s-home .hero .tile .v {
    font-size: 16px;
    color: var(--navy-ink);
  }

  
  .h-next:not([hidden]) {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 18px 24px;
    border: 0;
    border-radius: 22px;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 5px 0 var(--navy-deep);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .h-next:hover {
    filter: brightness(1.08);
  }
  .h-next .spic {
    width: 64px;
    height: 64px;
    object-fit: contain;
  }
  .hn-t {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .hn-t b {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
  }
  .hn-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-200);
    white-space: nowrap;
  }
  .hn-bar {
    flex: 0 1 240px;
    height: 8px;
    border-radius: 99px;
    background: rgba(var(--white-rgb), 0.18);
    overflow: hidden;
  }
  .hn-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: var(--sky-400);
  }
  .hn-go {
    padding: 13px 28px;
    border-radius: 14px;
    background: var(--gold);
    color: var(--navy-ink);
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 0 var(--gold-mid);
  }

  #s-home .sechead {
    grid-column: 1;
    grid-row: 3;
    margin: 8px 0 -4px;
  }

  
  #s-home #h-subjects {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  #h-subjects .stile {
    position: relative;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    justify-items: start;
    min-height: 0;
    padding: 10px 14px;
    text-align: left;
    border-radius: 18px;
    border-bottom-width: 4px;
  }
  #h-subjects .stile .spic {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
  }
  #h-subjects .stile b {
    align-self: end;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--navy-ink);
  }
  #h-subjects .stile .stile-st,
  #h-subjects .stile .stile-d {
    position: static;
    align-self: start;
    margin-top: 3px;
    padding: 0;
    background: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-ink);
  }
  #h-subjects .stile .stile-d {
    color: var(--navy);
  }
  #h-subjects .stile-st .i {
    width: 13px;
    height: 13px;
  }
  
  #h-subjects .stile[data-ai] {
    grid-column: 1 / -1;
    grid-template-columns: 44px auto 1fr;
    grid-template-rows: auto;
    border-style: dashed;
    border-bottom-width: 2px;
    padding: 8px 16px;
  }
  #h-subjects .stile[data-ai] .spic {
    grid-row: 1;
    width: 44px;
    height: 44px;
  }
  #h-subjects .stile[data-ai] b {
    align-self: center;
  }
  #h-subjects .stile[data-ai] .stile-d {
    justify-self: end;
    align-self: center;
    margin: 0;
    padding: 4px 11px;
    border-radius: 99px;
    background: var(--sky-wash);
    font-size: 12.5px;
  }

  
  #s-home .h-week {
    display: block;
    order: -1; 
    margin: 0;
    padding: 18px 20px;
  }
  #s-home .hw {
    margin: 0;
  }
  .h-week h3 {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-ink);
  }
  .h-week .wk {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-500);
  }
  .h-week .wk-d i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 4px;
    border-radius: 50%;
    background: var(--slate-100);
    color: var(--navy-ink);
  }
  .h-week .wk-d.on i {
    background: var(--gold);
    box-shadow: 0 3px 0 var(--gold-mid);
  }
  .h-week .wk-d.now i {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }
  .h-week .wk-d i .i {
    width: 14px;
    height: 14px;
  }
  .h-week p {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate-600);
    text-align: center;
  }
  
  .h-arc {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 12px 14px;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: var(--white);
    border-bottom-width: 4px;
  }
  .h-arc img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
  }
  .h-arc-t {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .h-arc-t b {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-ink);
  }
  .h-arc-t small {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-ink);
  }
  .h-arc-go {
    padding: 8px 18px;
    border-radius: 12px;
    background: var(--white);
    border: 2px solid var(--slate-200);
    color: var(--navy);
    font-weight: 800;
    box-shadow: 0 3px 0 var(--slate-200);
  }
}


@media (min-width: 1000px) and (max-width: 1279px) {
  #s-home.on {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 24px;
  }
  #s-home .hero .tiles {
    width: 260px;
  }
  #s-home #h-subjects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #s-home .hero .tile .v {
    font-size: 14px;
  }
  .hn-t b {
    font-size: 19px;
  }
  .h-next .spic {
    width: 52px;
    height: 52px;
  }
}


@media (min-width: 1000px) {
  .c-bar {
    position: static;
    margin: 0 0 22px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #c-title {
    gap: 14px;
  }
  #c-title .tile-ic {
    width: 56px;
    height: 56px;
  }
  .kgrid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
    gap: 14px;
  }
  .kgrid3 .kc {
    position: relative;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    padding: 16px 18px;
    border: 2px solid var(--slate-200);
    border-bottom-width: 4px;
    border-radius: 20px;
    box-shadow: none;
  }
  .kgrid3 .kc .kc-b {
    align-items: flex-start;
  }
  .kgrid3 .kc .kc-row,
  .kgrid3 .kc3 .kc-t {
    justify-content: flex-start;
    text-align: left;
  }
  .kc-ic {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sky-wash);
    color: var(--navy);
  }
  .kc-ic .i {
    width: 24px;
    height: 24px;
  }
  .kc-t {
    font-size: 18px;
    font-weight: 800;
  }
  .kc-s {
    font-size: 13.5px;
  }
  .kc3 .kc-m {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--gold-light);
    font-size: 13px;
    color: var(--gold-ink);
  }
  .kc-tic {
    display: none;
  }
  
  .kgrid3 .kc[data-kind='full'] {
    grid-column: 4;
    grid-row: 1 / span 2;
    justify-content: space-between;
    padding: 22px;
    background: var(--navy) url('art/olyhoo-wizard.webp') right 10px top 10px / 96px no-repeat;
    border: 0;
    box-shadow: 0 5px 0 var(--navy-deep);
  }
  .kc[data-kind='full']:hover {
    background-color: var(--navy-bright);
  }
  .kc[data-kind='full'] .kc-t {
    font-family: Fraunces, Georgia, serif;
    font-weight: 500;
    font-size: 32px;
  }
  .kc[data-kind='full'] .kc-t,
  .kc[data-kind='full'] .kc-s {
    color: var(--white);
  }
  .kc[data-kind='full'] .kc-ic {
    background: rgba(var(--white-rgb), 0.15);
    color: var(--white);
  }
  .kc[data-kind='full'] .kc-m {
    top: auto;
    bottom: 20px;
    left: 22px;
    right: auto;
  }
  #s-choose .pl-h {
    margin: 28px 0 12px;
  }
  .ktopics2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .ktopics2 .kt2 {
    padding: 12px 16px;
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-bottom-width: 4px;
    border-radius: 16px;
  }
  .kt2-n {
    font-size: 15px;
    font-weight: 700;
  }
}


@media (min-width: 1000px) {
  body.inquiz .wrap {
    max-width: none;
    margin: 0;
    padding: 16px 22px 22px 400px;
  }
  #s-quiz.on {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 38px);
    padding: 20px 44px 28px;
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: 26px;
    transition:
      border-color 0.35s,
      box-shadow 0.35s;
  }
  
  #s-quiz.on:has(#q-opts .opt.wrong) {
    border-color: var(--rose-300);
    box-shadow: 0 0 0 4px var(--rose-50);
  }
  #s-quiz.on:has(#q-opts .opt.right):not(:has(#q-opts .opt.wrong)) {
    border-color: var(--emerald-200);
    box-shadow: 0 0 0 4px var(--emerald-50);
  }
  #s-quiz .q-head,
  #s-quiz .q-card,
  #s-quiz .opts,
  #s-quiz #q-fb,
  #s-quiz .navrow {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  #s-quiz .q-head {
    position: static;
    max-width: none;
    margin: 0 0 22px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #s-quiz .q-head .progress {
    height: 14px;
  }
  #s-quiz .q-card {
    margin-top: auto;
    margin-bottom: 26px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  #s-quiz .q-topic {
    margin-left: 0;
  }
  #s-quiz .q-card .qtext {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--navy-ink);
  }
  #s-quiz .opts:not(.pics) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  #s-quiz .opts:not(.pics) .opt {
    min-height: 76px;
    padding: 14px 18px 14px 14px;
    font-size: 22px;
    font-weight: 800;
    border-radius: 18px;
    border-bottom-width: 4px;
  }
  
  #s-quiz .navrow {
    position: static;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
  }
  #s-quiz.picked .qd-bubble {
    visibility: visible;
  }
  #s-quiz.locked .q-dock .qd-main {
    margin-bottom: 0;
  }
  #s-quiz .navrow .btn {
    min-width: 220px;
    min-height: 54px;
    font-size: 17px;
  }
  
  #s-quiz:has(#q-opts .opt.wrong) .q-go {
    background: var(--red-bad);
    border-color: var(--red-bad);
    box-shadow: 0 4px 0 var(--red-700);
  }
  #s-quiz:has(#q-opts .opt.right):not(:has(#q-opts .opt.wrong)) .q-go {
    background: var(--green-ok);
    border-color: var(--green-ok);
    box-shadow: 0 4px 0 var(--emerald-700);
  }
  .opt:hover:not(.locked):not(:disabled) {
    border-color: var(--blue-300);
  }

  
  .q-dock {
    left: 0;
    top: var(--net-top);
    bottom: 0;
    transform: none;
    width: 400px;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 26px 0 30px;
    background: linear-gradient(180deg, var(--white) 50%, var(--sky-wash));
  }
  .q-dock::after {
    display: none;
  }
  .q-dock .qd-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 0;
  }
  .q-dock .qd-bubble {
    order: 1;
    flex: none;
    max-width: 340px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 14px 18px;
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: 20px 20px 20px 6px;
    box-shadow: none;
  }
  #s-quiz #q-say {
    max-height: none;
    font-size: 16px;
    line-height: 1.5;
  }
  #s-quiz:has(#q-opts .opt.wrong) .qd-bubble {
    background: var(--rose-50);
    border-color: var(--rose-200);
  }
  #s-quiz:has(#q-opts .opt.right):not(:has(#q-opts .opt.wrong)) .qd-bubble {
    background: var(--emerald-50);
    border-color: var(--emerald-200);
  }
  .olyhoo-talk.dock {
    order: 2;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 190px;
    height: 220px;
    margin: 0 0 6px;
    transform: none;
  }

  
  #s-quiz.on:has(#q-passage:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: 36px;
    align-content: start;
  }
  #s-quiz:has(#q-passage:not([hidden])) .q-head {
    grid-column: 1 / -1;
  }
  #s-quiz:has(#q-passage:not([hidden])) .q-card {
    display: contents;
  }
  #s-quiz:has(#q-passage:not([hidden])) .q-card > .row,
  #s-quiz:has(#q-passage:not([hidden])) .qtext,
  #s-quiz:has(#q-passage:not([hidden])) .pic,
  #s-quiz:has(#q-passage:not([hidden])) .opts,
  #s-quiz:has(#q-passage:not([hidden])) #q-fb,
  #s-quiz:has(#q-passage:not([hidden])) .navrow {
    grid-column: 2;
    max-width: none;
  }
  #s-quiz:has(#q-passage:not([hidden])) #q-passage {
    grid-column: 1;
    grid-row: 2 / span 5;
    align-self: stretch;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    margin: 0;
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--passage);
    font-size: 16px;
    line-height: 1.75;
  }
  #s-quiz:has(#q-passage:not([hidden])) .qtext {
    font-size: 24px;
  }
  #s-quiz:has(#q-passage:not([hidden])) .opts:not(.pics) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #s-quiz:has(#q-passage:not([hidden])) .opts:not(.pics) .opt {
    min-height: 58px;
    font-size: 17px;
    font-weight: 700;
  }
}


@media (min-width: 1000px) {
  #s-result.on {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 0;
    align-items: start;
    max-width: none;
    min-height: calc(100vh - 70px);
    margin: 0;
  }
  #s-result.on:has(#r-learn[hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }
  #s-result .owl-say {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    margin: 0;
    padding: 30px 30px 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  #s-result .owl-say .bubble {
    font-size: 18px;
    font-weight: 700;
    background: var(--sky-wash);
    border: 0;
    box-shadow: none;
  }
  #s-result > .card.ta-c {
    grid-column: 1;
    grid-row: 2;
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
    padding: 18px 0 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  #s-result .bigscore {
    font-family: Fraunces, Georgia, serif;
    font-size: 54px;
    font-weight: 500;
    color: var(--navy-ink);
  }
  #s-result .r-won {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 4px;
    padding: 6px 16px;
    border-radius: 99px;
    background: var(--gold-light);
    color: var(--gold-ink);
    font-size: 16px;
    font-weight: 800;
  }
  #s-result .r-main,
  #s-result #r-chal {
    min-height: 54px;
    font-size: 17px;
  }
  #s-result #r-learn {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: stretch;
    margin: 0;
    padding: 30px 36px;
    border: 0;
    border-left: 2px solid var(--slate-200);
    border-radius: 0;
    box-shadow: none;
  }
  #r-review {
    display: grid;
    gap: 12px;
  }
  #r-review > * {
    padding: 16px 18px;
    border: 2px solid var(--slate-200);
    border-radius: 18px;
    background: var(--white);
  }
}


@media (min-width: 1000px) {
  #s-friends.on {
    max-width: 1000px;
  }
  .fr-acts {
    gap: 16px;
    margin-bottom: 26px;
  }
  .fr-act {
    padding: 0 0 16px;
    overflow: hidden;
    border-bottom-width: 4px;
    border-radius: 22px;
  }
  .fr-pic {
    width: 100%;
    max-width: none;
    height: 170px;
    border-radius: 0;
    object-fit: cover;
  }
  .fr-act b {
    font-size: 19px;
    font-weight: 800;
  }
  .fr-act small {
    font-size: 14px;
  }
  #s-challenge {
    max-width: 560px;
    margin: 48px auto 0;
  }
}


@media (min-width: 1000px) {
  #p-body:has(.pc-side) {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  #p-body .pc-side > h3:first-child {
    margin-top: 0;
  }
  #s-parents h3.pc-sec {
    margin: 24px 0 12px;
    letter-spacing: 0;
  }
  #p-body .pc-side > h3.pc-sec:first-child {
    margin-top: 0;
  }
  #s-parents #p-settings:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  #s-parents #p-settings > .about-link {
    grid-column: 1 / -1;
  }
  
  #pd-bar {
    left: calc(248px + (100vw - 248px) / 2);
    right: auto;
    width: 440px;
    transform: translateX(-50%);
    bottom: 24px;
  }
}


@media (min-width: 1000px) {
  #s-profile.on {
    
    display: flex;
    flex-direction: column;
  }
  
  #s-profile > #pr-yt {
    order: 1;
    margin: 24px 0 0;
  }
  .ph-stars {
    display: none; 
  }
  #s-profile .pagehead {
    margin-bottom: 20px;
  }
  #s-profile .pagehead h1::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 48px;
    height: 48px;
    margin-right: 14px;
    border-radius: 14px;
    background: var(--blue-100) url('art/posters/fly.webp') center 40% / cover;
  }
  #pr-games {
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  #pr-games .gm-head h2 {
    display: none; 
  }
  #pr-games .gm-head {
    justify-content: flex-end;
    margin: -78px 64px 34px 0;
  }
  #pr-games .gm-head .coins {
    font-size: 18px;
    padding: 8px 16px;
  }
  #s-profile .gm-grid {
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  #s-profile .gm-tile.poster {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    aspect-ratio: auto;
    gap: 10px;
    padding: 10px 10px 14px;
    background-color: var(--white);
    background-image: none;
    color: var(--navy-deep);
    border: 2px solid var(--slate-200);
    border-bottom-width: 4px;
    border-radius: 22px;
    box-shadow: none;
    transition:
      transform 0.12s,
      border-color 0.2s;
  }
  .gm-tile.poster::before {
    display: none;
  }
  #s-profile .gm-tile.poster:hover {
    transform: translateY(1px);
    border-color: var(--blue-200);
  }
  .gm-tile.poster > .gm-cost,
  .gm-tile.poster > .gm-best {
    display: none;
  }
  .gm-hero {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
  }
  #s-profile .gm-tile .gm-pic {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/8;
    min-height: 0;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
  }
  #s-profile .gm-tile[data-game='fly'] .gm-pic {
    object-position: 50% 42%;
  }
  #s-profile .gm-tile[data-game='blocks'] .gm-pic,
  #s-profile .gm-tile[data-game='match'] .gm-pic {
    object-position: 50% 8%;
  }
  #s-profile .gm-tile[data-game='hop'] .gm-pic {
    object-position: 50% 58%;
  }
  .gm-hero::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, rgba(var(--navy-deep-rgb), 0), rgba(var(--navy-deep-rgb), 0.85));
  }
  #s-profile .gm-tile.poster .gm-hero b {
    position: absolute;
    left: 14px;
    bottom: 10px;
    z-index: 1;
    margin: 0;
    color: var(--white);
    font-size: 22px;
    text-shadow: 0 2px 8px rgba(var(--black-rgb), 0.45);
  }
  #s-profile .gm-tile.poster .gm-hero .gm-cost {
    display: inline-flex;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
  }
  
  .gm-help {
    display: block;
    margin: 0 4px;
  }
  .gm-help .fc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
  }
  .gm-help .fc-grid > div {
    background: var(--blue-50);
    border-radius: 12px;
    padding: 6px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--navy-deep);
  }
  .gm-help .fc-grid i {
    display: grid;
    place-items: center;
    height: 28px;
    color: var(--navy);
  }
  .gm-help .fc-grid b {
    font-size: 13px;
  }
  .gm-help .fc-grid small {
    font-size: 12px;
    color: var(--slate-600);
    font-weight: 600;
  }
  .gm-help .fc-pic {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
  .gm-help .fc-pows {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-600);
  }
  .gm-help .fc-pows span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .gm-play,
  #s-profile .gm-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: stretch;
    margin: auto 4px 0;
    padding: 10px 20px;
    border-radius: 14px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 0 var(--navy-deep);
  }
  .gm-play em {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--gold);
  }
  #s-profile .gm-play .i {
    width: 16px;
    height: 16px;
  }
}


@media (min-width: 1000px) {
  .stile-st,
  .hero .cls,
  #c-sub,
  .q-topic,
  #s-quiz .q-card .q-topic #q-topic,
  .tb-me small,
  #s-welcome .tiny,
  #s-welcome .tiny a,
  .acct-links,
  .acct-links a,
  #s-parents .sb-n em {
    font-size: 12px;
  }
  .or,
  #s-parents .sb-n em,
  #s-parents #p-credits summary,
  #s-parents .pc-bh,
  .muted,
  .small.muted {
    color: var(--slate-600);
  }
  #c-sub {
    color: var(--navy);
  }
  .q-spk,
  #s-quiz .q-card .q-spk {
    width: 44px;
    height: 44px;
  }
  .rowx,
  #s-parents .rowx,
  #s-friends .rowx {
    width: 40px;
    height: 40px;
  }
  #s-parents .rowx,
  #s-friends .rowx {
    color: var(--slate-500);
  }
  .acct-links a,
  #s-welcome .tiny a {
    display: inline-block;
    padding: 10px 2px;
  }
}


@media (min-width: 1000px) {
  html.land body .wrap {
    max-width: 1200px;
    padding: 0 40px;
    background: none;
  }
  html.land #s-welcome.on {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 48px;
    align-items: center;
    max-width: none;
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--navy-ink);
  }
  html.land #s-welcome #w-auth {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
    width: 100%;
    max-width: 480px;
    margin: 56px 0 0;
    padding: 28px 28px 22px;
    border-radius: 24px;
    border-bottom-width: 2px;
    box-shadow: 0 24px 50px rgba(var(--navy-deep-rgb), 0.08);
  }
  html.land #s-welcome .land-hero {
    grid-column: 1;
    grid-row: 2;
    padding: 40px 0 0;
  }
  
  html.land #s-welcome .land-top {
    grid-column: 2;
    grid-row: 2;
    padding: 40px 0 0;
  }
  html.land #s-welcome .land-top .land-stage {
    height: 520px;
    margin: 0;
  }
  
  html.land #s-welcome .land-numbers {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    margin: 56px 0 0;
  }
  html.land #s-welcome .land-numbers .land-facts {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
  }
  html.land #s-welcome .land-numbers .land-facts div:nth-child(3) {
    border-left: 0;
  }
  html.land #s-welcome .land-numbers .land-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--slate-200);
  }
  html.land #s-welcome .land-numbers .land-facts div {
    padding: 30px 8px;
  }
  html.land #s-welcome .land-numbers .land-facts b {
    font-size: 40px;
  }
  html.land #s-welcome .land-body {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  
  html.land-t #s-welcome .land-who {
    display: flex;
    gap: 12px;
    margin: 28px 0 0;
  }
  html.land-t #s-welcome .land-numbers {
    grid-column: 1 / -1;
  }
  html.land-t #s-welcome .land-numbers .land-facts {
    grid-template-columns: repeat(4, 1fr);
  }
  html.land-t #s-welcome .land-numbers .land-facts div:nth-child(3) {
    border-left: 1px solid var(--slate-200);
  }
  html.land-t #s-welcome .land-numbers .land-facts div:nth-child(n + 3) {
    border-top: 0;
  }
}
