:root {
  --ink: #24133f;
  --muted: #725f88;
  --paper: #fffaff;
  --page: #fff8ff;
  --panel: rgba(255,255,255,.91);
  --panel-solid: #ffffff;
  --panel-soft: #fbf5ff;
  --line: rgba(103,34,158,.10);
  --chip: rgba(255,255,255,.70);
  --purple: #6b13c7;
  --purple-2: #a31ee9;
  --pink: #ff2f91;
  --shadow: 0 18px 48px rgba(78,27,120,.16);
  --soft-shadow: 0 9px 26px rgba(78,27,120,.12);
  --side: 286px;
  --font-ui: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: "Noto Sans Arabic", "Noto Kufi Arabic", "DejaVu Sans", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--page); }
body {
  min-width: 1100px;
  overflow-x: auto;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-ui);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible { outline: 3px solid rgba(188,49,239,.38); outline-offset: 3px; }
img { display: block; }
[hidden] { display: none !important; }
.ar { font-family: var(--font-ar); direction: rtl; }
.ui-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.ui-icon.tiny { width: 17px; height: 17px; stroke-width: 2; }
.ui-icon.title-icon { width: 22px; height: 22px; vertical-align: -3px; color: #bd35ea; }

/* shell */
.shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 8%, rgba(255,81,173,.13), transparent 26%),
    radial-gradient(circle at 20% 27%, rgba(147,74,255,.12), transparent 29%),
    linear-gradient(125deg, #fff9ff 0%, #fff 47%, #fff4fb 100%);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  width: var(--side);
  padding: 36px 22px 26px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(250,245,255,.90));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.sidebar-top { overflow: visible; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 0;
  overflow: visible;
  user-select: none;
}
.brand-lak {
  display: inline-block;
  padding: 3px 2px 5px;
  font-size: 61px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -5px;
  background: linear-gradient(180deg, #a23af1 0%, #6c10bb 44%, #c835d1 72%, #590777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 2px rgba(91,8,125,.14));
}
.brand-ar { font-size: 25px; font-weight: 900; color: #8c1ac7; padding-bottom: 4px; }
.brand-tag { display: block; margin: 10px 0 0 14px; color: #8c1ac7; font-size: 16px; font-weight: 800; }
.brand-tag b { color: var(--pink); }
.nav { display: grid; gap: 9px; margin-top: 30px; }
.nav-btn {
  border: 0;
  background: transparent;
  color: #2e1b50;
  border-radius: 18px;
  padding: 14px 17px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 17px;
  transition: transform .18s ease, background .18s ease;
}
.nav-btn:hover { background: rgba(124,32,217,.07); transform: translateX(2px); }
.nav-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #35107e, #8c1dea 72%, #c32bd4);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.28), 0 8px 18px rgba(82,19,144,.26);
}
.sidebar-bottom { margin-top: auto; display: grid; gap: 14px; }
.mix-mini {
  width: 100%;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--panel-solid), #f0e2ff);
  color: var(--ink);
  padding: 16px;
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.mix-mini::before {
  content: '';
  position: absolute;
  width: 52px;
  height: 52px;
  right: 10px;
  top: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff 0 9%, #e0c6ff 22%, #a664eb 55%, rgba(166,100,235,.08) 68%);
  opacity: .38;
}
.mix-mini:hover { transform: translateY(-1px); }
.mix-mini-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; position: relative; z-index: 1; }
.mix-line { margin-top: 9px; min-height: 30px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; position: relative; z-index: 1; }
.mix-token { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; }
.mix-art { width: 23px; height: 23px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(53,4,84,.18)); }
.mix-plus { color: var(--muted); font-weight: 900; }
.mix-empty { color: var(--muted); font-size: 12px; font-weight: 800; }
.local-badge { display: flex; align-items: flex-start; gap: 8px; padding: 0 8px; color: #8c6ca7; font-size: 12px; line-height: 1.38; }
.main { margin-left: var(--side); min-height: 100vh; padding: 32px 38px 50px; }
.page { max-width: 1560px; margin: 0 auto; }

/* shared controls */
.topline { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.topline h1 { margin: 0 0 8px; font-size: 46px; line-height: 1.03; letter-spacing: -1.5px; }
.topline p { margin: 0; color: #5c2c88; font-size: 17px; font-weight: 700; }
.utility { display: flex; gap: 10px; }
.pill-btn, .mini-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: #4b2370;
  box-shadow: 0 5px 13px rgba(89,26,128,.09), inset 0 1px rgba(255,255,255,.55);
  font-weight: 800;
}
.pill-btn { border-radius: 999px; padding: 10px 15px; }
.mini-action { border-radius: 12px; padding: 8px 11px; font-size: 13px; box-shadow: none; }
.pill-btn:hover, .mini-action:hover { transform: translateY(-1px); }
.primary, .reveal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: white;
  background: linear-gradient(135deg, #4a0a9e, #8a18dc 60%, #da2bbb);
  box-shadow: 0 10px 20px rgba(92,17,161,.25), inset 0 2px 2px rgba(255,255,255,.30);
  border-radius: 17px;
  padding: 12px 19px;
  font-weight: 900;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--panel-solid);
  color: #542673;
  border-radius: 17px;
  padding: 12px 19px;
  font-weight: 900;
}
.primary:hover, .reveal-btn:hover, .secondary:hover { transform: translateY(-1px); }

/* home hero */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(570px, 1.12fr) minmax(440px, .88fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 22px;
}
.hero-left { display: flex; flex-direction: column; gap: 20px; }
.continue-card {
  min-height: 190px;
  border-radius: 34px;
  padding: 29px 32px;
  color: #fff;
  background:
    radial-gradient(circle at 91% 20%, rgba(255,255,255,.45) 0 2%, transparent 3%),
    radial-gradient(circle at 96% 44%, rgba(255,255,255,.20), transparent 13%),
    linear-gradient(130deg, #2a075f 0%, #5e0da5 45%, #971dcc 72%, #f13d9d 130%);
  box-shadow: 0 18px 34px rgba(76,10,134,.27), inset 0 2px 2px rgba(255,255,255,.34), inset 0 -5px 12px rgba(48,0,94,.25);
  position: relative;
  overflow: hidden;
}
.continue-card::before {
  content: '';
  position: absolute;
  left: 5%;
  right: 10%;
  top: 7px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0));
  opacity: .42;
}
.continue-card h2 { position: relative; margin: 0; font-size: 26px; }
.continue-card p { position: relative; margin: 4px 0 23px; font-size: 17px; opacity: .92; }
.progress-row { display: flex; align-items: center; gap: 15px; position: relative; }
.progress { height: 17px; border-radius: 999px; background: rgba(29,0,62,.42); box-shadow: inset 0 2px 5px rgba(0,0,0,.25); overflow: hidden; flex: 1; max-width: 500px; border: 1px solid rgba(255,255,255,.16); }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d71cff, #ff55c3, #ffc6f0); box-shadow: 0 0 18px rgba(255,74,217,.7), inset 0 2px 2px rgba(255,255,255,.75); }
.progress-number { font-size: 19px; font-weight: 900; }
.circle-go {
  margin-left: auto;
  border: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 28%, #fff 0 10%, #f2d5ff 35%, #c49bf4 68%, #fff 100%);
  box-shadow: 0 7px 16px rgba(23,0,48,.30), inset 0 1px 4px #fff;
  color: #5a118d;
}
.circle-go:hover { transform: scale(1.04); }
.can-stage {
  height: 320px;
  min-height: 320px;
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  background: radial-gradient(circle at 54% 46%, rgba(255,104,184,.24), transparent 46%);
}
.can {
  position: absolute;
  width: 205px;
  height: 284px;
  right: 170px;
  top: 10px;
  border-radius: 45px 45px 36px 36px;
  transform: rotate(6deg);
  background:
    radial-gradient(circle at 14% 22%, rgba(255,255,255,.9) 0 1.3%, transparent 1.8%),
    radial-gradient(circle at 84% 28%, rgba(255,255,255,.65) 0 1.1%, transparent 1.7%),
    radial-gradient(circle at 74% 49%, rgba(255,255,255,.8) 0 1.3%, transparent 1.9%),
    linear-gradient(110deg, #6425e5 0%, #b120ed 24%, #f42a93 54%, #ff4d67 67%, #7c28d8 100%);
  box-shadow: -18px 24px 35px rgba(91,28,136,.25), inset 18px 0 22px rgba(255,255,255,.16), inset -18px 0 28px rgba(60,0,104,.26);
  border: 2px solid rgba(255,255,255,.25);
}
.can::before {
  content: '';
  position: absolute;
  left: -3px;
  right: -3px;
  top: -5px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(#f8f6ff, #a7a4ba 34%, #f9f9ff 55%, #9290a5 76%, #e8e6f1);
  box-shadow: inset 0 3px 4px #fff, 0 3px 3px rgba(34,12,54,.20);
}
.can::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 24px;
  width: 42px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,.52), rgba(255,255,255,.06), transparent);
  filter: blur(2px);
  transform: rotate(5deg);
}
.can-logo { position: absolute; left: 37px; top: 72px; color: #fff; font-size: 70px; line-height: 1; font-weight: 900; letter-spacing: -6px; transform: rotate(-2deg); text-shadow: 0 5px 16px rgba(61,0,94,.24); }
.can-ar { position: absolute; left: 90px; top: 148px; color: #fff; font-size: 31px; font-weight: 900; }
.can-copy { position: absolute; left: 42px; top: 194px; color: #fff; font-weight: 800; font-size: 14px; line-height: 1.12; }
.can-ml { position: absolute; left: 62px; bottom: 16px; border: 2px solid #fff; border-radius: 999px; padding: 1px 8px; color: #fff; font-weight: 900; font-size: 12px; }
.slogan { position: absolute; right: 8px; top: 80px; width: 148px; font-size: 23px; font-weight: 900; line-height: 1.25; color: #4a1885; transform: rotate(-3deg); }
.slogan b { color: var(--pink); }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.95) 0 9%, rgba(244,181,255,.70) 24%, rgba(151,56,238,.45) 56%, rgba(255,255,255,.05) 68%); box-shadow: inset -4px -5px 8px rgba(102,26,177,.18), 0 5px 16px rgba(134,59,205,.12); }
.b1 { width: 54px; height: 54px; left: 30px; top: 28px; }
.b2 { width: 24px; height: 24px; right: 28px; top: 28px; }
.b3 { width: 34px; height: 34px; right: 20px; bottom: 22px; }
.b4 { width: 18px; height: 18px; left: 90px; bottom: 25px; }

/* cards */
.section-card {
  border-radius: 31px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--panel), color-mix(in srgb, var(--panel-solid) 88%, transparent));
  box-shadow: var(--shadow);
  padding: 24px 27px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 17px; }
.section-head h2 { font-size: 26px; margin: 0; }
.section-head p { margin: 2px 0 0; color: #654583; }
.interest-grid { display: grid; grid-template-columns: repeat(5, minmax(150px,1fr)); gap: 17px; }
.interest-card {
  min-height: 216px;
  border: 0;
  border-radius: 26px;
  padding: 18px 14px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 13px 22px rgba(66,20,111,.18), inset 0 2px 3px rgba(255,255,255,.55), inset 0 -7px 14px rgba(49,4,82,.20);
  transition: transform .18s ease, filter .18s ease;
}
.interest-card:hover { transform: translateY(-5px) rotate(.35deg); filter: saturate(1.06); }
.interest-card::before { content: ''; position: absolute; left: 9%; right: 9%; top: 6px; height: 20px; border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,0)); opacity: .58; }
.interest-card::after { content: ''; position: absolute; width: 20px; height: 20px; right: 14px; top: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff 0 12%, rgba(255,255,255,.25) 35%, transparent 64%); opacity: .8; }
.interest-art { width: 92px; height: 92px; object-fit: contain; margin: 10px 0 auto; position: relative; z-index: 1; }
.interest-name { font-size: 22px; font-weight: 900; line-height: 1.05; text-align: center; position: relative; z-index: 1; }
.interest-ar { font-size: 13px; opacity: .92; margin-top: 4px; position: relative; z-index: 1; }
.interest-count { font-size: 12px; font-weight: 800; margin-top: 10px; padding: 5px 11px; border-radius: 999px; background: rgba(65,1,86,.22); border: 1px solid rgba(255,255,255,.22); position: relative; z-index: 1; }
.add-card .add-icon { width: 72px; height: 72px; margin: 20px 0 auto; stroke-width: 1.3; position: relative; z-index: 1; }
.tone-violet{background:linear-gradient(150deg,#744cff,#5013e7 40%,#8b1ee7)}
.tone-indigo{background:linear-gradient(150deg,#4d44ff,#5923e6,#8a2ae8)}
.tone-blue{background:linear-gradient(150deg,#24a7ff,#236de8,#7832e5)}
.tone-lime{background:linear-gradient(150deg,#a4ed1b,#5dc315,#3a9f25)}
.tone-green,.tone-leaf{background:linear-gradient(150deg,#49df6b,#24aa59,#138b49)}
.tone-pink{background:linear-gradient(150deg,#ff49a3,#f2116d,#cf155b)}
.tone-emerald{background:linear-gradient(150deg,#41d699,#18a879,#087f5b)}
.tone-ruby{background:linear-gradient(150deg,#ff5d77,#d62155,#8b1543)}
.tone-amber{background:linear-gradient(150deg,#ffc52e,#f28c15,#da6416)}
.tone-orange{background:linear-gradient(150deg,#ffad2e,#ff711e,#e74f13)}
.tone-copper{background:linear-gradient(150deg,#d98750,#aa5937,#7b3429)}
.tone-cyan{background:linear-gradient(150deg,#33d9e8,#16a9d4,#1678c4)}
.tone-coral{background:linear-gradient(150deg,#ff805c,#f04e57,#da3264)}
.tone-aqua{background:linear-gradient(150deg,#49d9dd,#21b2be,#1688ae)}
.tone-magenta{background:linear-gradient(150deg,#e841e6,#b523d1,#811dc3)}

.stats-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr; gap: 18px; margin-bottom: 22px; }
.stat-card { min-height: 176px; border-radius: 28px; padding: 22px; box-shadow: var(--soft-shadow); border: 1px solid var(--line); position: relative; overflow: hidden; }
.daily { background: linear-gradient(135deg,#eee0ff,#fbf7ff); }
.streak { background: linear-gradient(135deg,#ffe2ef,#ffd0e5); }
.review { background: linear-gradient(135deg,#dff8ff,#f2fbff); }
.stat-title { font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.big-num { font-size: 52px; line-height: 1; font-weight: 900; margin-top: 14px; }
.big-num span { font-size: 18px; }
.stat-sub { color: #61497a; }
.liquid-progress { height: 12px; border-radius: 999px; background: rgba(82,22,137,.12); margin-top: 17px; overflow: hidden; }
.liquid-progress span { display: block; height: 100%; background: linear-gradient(90deg,#6d18d6,#d23cf1,#ff56a3); border-radius: 999px; }
.daily-bottom { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mini-chart { height: 58px; margin-top: 12px; position: relative; }
.mini-chart::before { content: ''; position: absolute; left: 2px; right: 2px; top: 31px; height: 3px; background: linear-gradient(90deg,#d92382,#fd3e9e 45%,#8b29d8); transform: skewY(-6deg); border-radius: 999px; box-shadow: 32px -5px 0 -1px #e52b89,76px 2px 0 -1px #f0389b,120px -8px 0 -1px #b02dd6,165px 1px 0 -1px #7a1fcb; }
.word-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.word-chip { background: var(--chip); padding: 7px 10px; border-radius: 12px; font-weight: 800; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 5px; }
.muted-chip { color: var(--muted); }
.chip-sep { opacity: .45; }
.lower-sentence { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 20px; }
.lower-sentence .ar { font-size: 32px; font-weight: 900; text-align: right; }

/* other pages */
.page-title { font-size: 43px; margin: 0 0 7px; }
.page-sub { color: var(--muted); font-size: 17px; margin: 0 0 24px; }
.toolbar { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 19px; }
.filter-chip { border: 1px solid var(--line); background: var(--panel-solid); color: #573270; border-radius: 999px; padding: 8px 13px; font-weight: 800; }
.filter-chip.active { background: #6b13c7; color: #fff; }
.page-actions { display: flex; justify-content: flex-end; margin-top: 22px; }

.practice-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.practice-label { display: block; color: var(--muted); font-size: 12px; font-weight: 900; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.practice-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.practice-choice { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-solid); color: var(--ink); font-weight: 900; }
.practice-choice.active { color: #fff; background: linear-gradient(135deg,#4a0a9e,#8a18dc 70%,#da2bbb); border-color: transparent; box-shadow: inset 0 1px 1px rgba(255,255,255,.28); }
.practice-art { width: 25px; height: 25px; object-fit: contain; }

.learn-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; }
.lesson-player { min-height: 620px; background: linear-gradient(145deg,var(--panel-solid),var(--panel-soft)); border-radius: 35px; box-shadow: var(--shadow); padding: 34px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.lesson-player::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -105px; top: -105px; background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.9),rgba(216,170,255,.22) 38%,transparent 68%); pointer-events: none; }
.lesson-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.lesson-step { font-weight: 900; color: #78538d; }
.focus-label { background: #f0e0ff; color: #6b13c7; padding: 7px 12px; border-radius: 999px; font-weight: 900; }
.sentence-stage { text-align: center; padding: 74px 10px 45px; position: relative; z-index: 1; }
.sentence-stage .ar { font-size: 51px; font-weight: 900; line-height: 1.7; }
.sentence-stage .translation { font-size: 23px; color: #5a3b6e; font-weight: 700; margin-top: 15px; }
.reveal-wrap { text-align: center; position: relative; z-index: 1; }
.answer-panel { display: flex; justify-content: center; gap: 11px; margin-top: 20px; position: relative; z-index: 1; }
.word-breakdown { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; margin-top: 34px; position: relative; z-index: 1; }
.break-word { background: #f8efff; border-radius: 18px; padding: 12px; border: 1px solid rgba(104,33,158,.05); }
.break-word .ar { font-size: 21px; font-weight: 900; }
.right-panel { display: grid; gap: 15px; align-content: start; }
.side-card { background: var(--panel-solid); border-radius: 26px; padding: 21px; box-shadow: var(--soft-shadow); border: 1px solid var(--line); }
.side-card h3 { margin: 0 0 9px; font-size: 19px; }
.side-card p { color: #795f8d; line-height: 1.45; margin-bottom: 0; }
.interest-side { display: flex; gap: 14px; align-items: center; }
.side-art { width: 72px; height: 72px; object-fit: contain; padding: 7px; border-radius: 19px; background: linear-gradient(145deg,#8d30e7,#fc479c); box-shadow: inset 0 2px 2px rgba(255,255,255,.35),0 8px 18px rgba(84,23,135,.15); }
.centered { text-align: center; }
.goal-ring { width: 116px; height: 116px; border-radius: 50%; margin: 17px auto; background: conic-gradient(#8b1be4 var(--pct,72%), #eee1f7 0); display: grid; place-items: center; position: relative; }
.goal-ring::after { content: ''; width: 84px; height: 84px; border-radius: 50%; background: var(--panel-solid); position: absolute; }
.goal-ring b { z-index: 1; font-size: 25px; }

.word-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.word-table th { text-align: left; padding: 4px 14px; color: #775b8b; }
.word-table td { background: var(--panel-solid); padding: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.word-table td:first-child { border-radius: 15px 0 0 15px; border-left: 1px solid var(--line); }
.word-table td:last-child { border-radius: 0 15px 15px 0; border-right: 1px solid var(--line); }
.word-ar { font-size: 23px; font-weight: 900; }

.interest-picker { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.pick { min-height: 168px; border: 2px solid transparent; border-radius: 22px; padding: 15px; background: var(--panel-solid); color: var(--ink); box-shadow: var(--soft-shadow); text-align: left; position: relative; overflow: hidden; }
.pick.selected { border-color: #8b23dc; background: var(--panel-soft); }
.pick-art { width: 65px; height: 65px; object-fit: contain; padding: 7px; border-radius: 17px; background: linear-gradient(145deg,#8d30e7,#fc479c); margin-bottom: 8px; }
.pick .n { font-weight: 900; margin-top: 4px; }
.pick .a { font-size: 12px; color: var(--muted); }
.pick .check { display: none; position: absolute; right: 12px; top: 12px; width: 27px; height: 27px; border-radius: 50%; background: #7920d2; color: #fff; place-items: center; }
.pick.selected .check { display: grid; }
.empty { text-align: center; padding: 65px 20px; color: var(--muted); }
.inline-empty { grid-column: 1/-1; padding: 30px; }

/* mix editor */
.mix-editor { padding: 28px; }
.mix-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.mix-editor-head h2 { margin: 0 0 4px; font-size: 27px; }
.mix-editor-head p { margin: 0; color: var(--muted); }
.mix-picker { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.mix-pick { min-height: 176px; border: 3px solid transparent; border-radius: 25px; color: #fff; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 18px; font-weight: 900; position: relative; overflow: hidden; box-shadow: 0 12px 24px rgba(64,17,100,.18), inset 0 2px 2px rgba(255,255,255,.4); opacity: .62; }
.mix-pick::before { content: ''; position: absolute; left: 9%; right: 9%; top: 5px; height: 18px; border-radius: 50%; background: linear-gradient(rgba(255,255,255,.85),transparent); opacity: .45; }
.mix-pick.selected { opacity: 1; border-color: rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(67,20,111,.24), inset 0 2px 2px rgba(255,255,255,.55),0 0 0 3px rgba(125,31,218,.24); }
.mix-pick-art { width: 82px; height: 82px; object-fit: contain; position: relative; z-index: 1; }
.mix-pick > span:not(.mix-check) { position: relative; z-index: 1; }
.mix-check { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(46,4,72,.26); display: grid; place-items: center; opacity: 0; }
.mix-pick.selected .mix-check { opacity: 1; }
.mix-editor-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* settings */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.settings-card { background: var(--panel-solid); border-radius: 28px; padding: 25px; box-shadow: var(--soft-shadow); border: 1px solid var(--line); }
.settings-card h2 { margin-top: 0; }
.setting-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border: 0; }
.toggle { width: 54px; height: 30px; border: 0; border-radius: 999px; background: #e7dcec; padding: 3px; }
.toggle span { display: block; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.15); transition: transform .2s ease; }
.toggle.on { background: #7919d4; }
.toggle.on span { transform: translateX(24px); }
.danger { color: #b51c55; }
.about-build { margin-top: 20px; }
.about-build h2 { margin-top: 0; }

/* onboarding */
.onboarding { min-height: 100vh; display: grid; place-items: center; padding: 34px; background: radial-gradient(circle at 16% 17%,rgba(186,82,255,.23),transparent 23%),radial-gradient(circle at 84% 20%,rgba(255,73,156,.20),transparent 24%),linear-gradient(145deg,#fff6ff,#fff); }
.onboard-card { width: min(1260px,94vw); background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: 0 32px 90px rgba(96,29,151,.18); border-radius: 40px; padding: 34px 40px 32px; overflow: visible; position: relative; }
.onboard-brand { text-align: center; margin-bottom: 18px; }
.onboarding-logo { justify-content: center; padding: 0; }
.onboarding-logo .brand-lak { font-size: 76px; }
.onboarding-logo .brand-ar { font-size: 30px; }
.onboard-brand p { margin: 8px 0 0; color: #734795; font-size: 19px; }
.onboard-brand b { color: var(--pink); }
.onboard-card h1 { text-align: center; font-size: 37px; margin: 10px 0 4px; }
.onboard-card > .sub { text-align: center; color: var(--muted); margin: 0 0 24px; }
.onboard-actions { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.notice { display: flex; align-items: center; justify-content: center; gap: 8px; background: #f7eeff; border-radius: 18px; padding: 12px 15px; color: #725383; font-size: 13px; text-align: center; margin-top: 16px; }

/* dark mode - every pale surface gets a dark counterpart */
body.dark {
  --ink: #f7f0ff;
  --muted: #c7b5d5;
  --page: #150d21;
  --panel: rgba(40,25,53,.94);
  --panel-solid: #2a1b37;
  --panel-soft: #332043;
  --line: rgba(255,255,255,.075);
  --chip: rgba(48,30,62,.90);
  --shadow: 0 18px 48px rgba(0,0,0,.25);
  --soft-shadow: 0 9px 26px rgba(0,0,0,.20);
  background: var(--page);
}
.dark .shell { background: radial-gradient(circle at 72% 8%,rgba(255,54,160,.11),transparent 27%),radial-gradient(circle at 20% 26%,rgba(126,57,255,.12),transparent 29%),linear-gradient(125deg,#150d22,#1d112b); }
.dark .sidebar { background: linear-gradient(180deg,rgba(23,14,34,.97),rgba(20,12,30,.95)); }
.dark .brand-tag, .dark .brand-ar { color: #b752f0; }
.dark .nav-btn { color: #eadcf6; }
.dark .nav-btn:hover { background: rgba(255,255,255,.06); }
.dark .mix-mini { background: linear-gradient(145deg,#291a38,#21162d); color: var(--ink); }
.dark .mix-mini::before { opacity: .24; }
.dark .local-badge { color: #b8a2c8; }
.dark .topline p, .dark .section-head p { color: #c9b4da; }
.dark .pill-btn, .dark .mini-action, .dark .secondary, .dark .filter-chip { background: #281a36; color: #f4e9fb; border-color: var(--line); box-shadow: none; }
.dark .section-card { background: linear-gradient(145deg,#281a35,#21162d); }
.dark .daily { background: linear-gradient(135deg,#34234c,#251b34); }
.dark .streak { background: linear-gradient(135deg,#47243a,#2d1c2d); }
.dark .review { background: linear-gradient(135deg,#173c47,#1f2d38); }
.dark .stat-sub { color: #c7b3d4; }
.dark .word-chip { background: rgba(28,18,38,.52); }
.dark .practice-bar { background: #24172f; }
.dark .practice-choice { background: #2c1c3a; color: #f5edfb; }
.dark .practice-choice.active { background: linear-gradient(135deg,#4a0a9e,#8a18dc 70%,#da2bbb); }
.dark .lesson-player { background: linear-gradient(145deg,#291a38,#21162d); }
.dark .lesson-player::before { background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.12),rgba(180,104,240,.12) 38%,transparent 68%); }
.dark .lesson-step { color: #c9a7dc; }
.dark .focus-label { background: #43265c; color: #dfb8ff; }
.dark .sentence-stage .translation { color: #d5c2e1; }
.dark .break-word { background: #382348; }
.dark .side-card { background: #291a37; }
.dark .side-card p { color: #c7b3d4; }
.dark .goal-ring { background: conic-gradient(#9d36ea var(--pct,72%), #463254 0); }
.dark .goal-ring::after { background: #291a37; }
.dark .word-table th { color: #d3c0df; }
.dark .word-table td { background: #2a1b37; }
.dark .pick { background: #291a37; }
.dark .pick.selected { background: #382248; }
.dark .settings-card { background: #291a37; }
.dark .toggle { background: #4a3658; }
.dark .onboarding { background: radial-gradient(circle at 16% 17%,rgba(186,82,255,.13),transparent 23%),radial-gradient(circle at 84% 20%,rgba(255,73,156,.10),transparent 24%),linear-gradient(145deg,#160e21,#1d112b); }
.dark .onboard-card { background: rgba(34,21,46,.94); }
.dark .onboard-brand p { color: #cbb5da; }
.dark .notice { background: #30203d; color: #ccb9d8; }

.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.reduced-motion .interest-card:hover, .reduced-motion .nav-btn:hover, .reduced-motion .pill-btn:hover, .reduced-motion .mini-action:hover, .reduced-motion .primary:hover, .reduced-motion .secondary:hover, .reduced-motion .reveal-btn:hover { transform: none !important; }

@media (max-width: 1450px) {
  :root { --side: 252px; }
  .sidebar { padding-left: 17px; padding-right: 17px; }
  .brand-lak { font-size: 54px; }
  .main { padding-left: 27px; padding-right: 27px; }
  .hero-grid { grid-template-columns: 1fr; }
  .can-stage { display: none; }
  .interest-grid { grid-template-columns: repeat(4,1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .review { grid-column: 1 / -1; }
  .interest-picker, .mix-picker { grid-template-columns: repeat(3,1fr); }
}
.dark .slogan { color: #d9c2ef; }
.dark .slogan b { color: #ff63b3; }

/* === Lak v3: lessons, tests, weekly retrieval, corrected artwork === */
.lesson-kicker {
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
  font-weight: 900;
  opacity: .78;
  margin-bottom: 6px;
}

/* The old top ellipse read as a giant white blob. Keep the metal rim thin. */
.can::before { display: none; }
.can-rim {
  position: absolute;
  z-index: 6;
  left: 7px;
  right: 7px;
  top: -3px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(180deg,#f7f5ff 0%,#9d9bab 36%,#f6f5fa 57%,#7e7c8d 78%,#dad8e3 100%);
  box-shadow: inset 0 1px 2px #fff, 0 2px 2px rgba(34,12,54,.18);
  border: 1px solid rgba(77,69,91,.28);
}
.can::after {
  left: 18px;
  top: 28px;
  width: 30px;
  height: 190px;
  opacity: .78;
}
.can-stage { isolation: isolate; }
.can { overflow: visible; }

.interest-count {
  max-width: 94%;
  line-height: 1.2;
  text-align: center;
}

.lesson-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(112,38,170,.10);
  overflow: hidden;
  margin: 17px 0 0;
  position: relative;
  z-index: 1;
}
.lesson-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#6c18d7,#d338ed,#ff4f9f);
  box-shadow: 0 0 14px rgba(207,49,237,.36);
}
.assessment-panel {
  display: block;
  margin-top: 28px;
}
.assessment-title { text-align: center; margin-bottom: 13px; }
.assessment-title h3 { margin: 0 0 5px; font-size: 19px; }
.assessment-title p { margin: 0; color: var(--muted); font-size: 13px; }
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}
.assessment-option {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--panel-solid);
  color: var(--ink);
  padding: 13px 11px;
  text-align: left;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  box-shadow: 0 7px 17px rgba(78,27,120,.08), inset 0 1px rgba(255,255,255,.55);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.assessment-option:hover { transform: translateY(-3px); border-color: rgba(140,30,234,.28); box-shadow: 0 11px 23px rgba(78,27,120,.14); }
.assessment-option b { display: block; font-size: 13px; line-height: 1.2; }
.assessment-option small { display: block; color: var(--muted); font-size: 10px; line-height: 1.3; margin-top: 5px; font-weight: 700; }
.assessment-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.assessment-correct .assessment-icon { color: #178b5f; }
.assessment-wrong .assessment-icon { color: #cf2f60; }
.assessment-blank .assessment-icon { color: #7e5c91; }
.assessment-hard_correct .assessment-icon { color: #7c25d0; }
.assessment-partial .assessment-icon { color: #c17a15; }

.flow-list { margin: 12px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.75; }
.flow-list .active { color: var(--ink); font-weight: 900; }

.quiz-shell { display: grid; grid-template-columns: 1fr 320px; gap: 22px; }
.quiz-card {
  min-height: 650px;
  background: linear-gradient(145deg,var(--panel-solid),var(--panel-soft));
  border-radius: 35px;
  box-shadow: var(--shadow);
  padding: 34px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.quiz-card::before {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  right: -125px;
  top: -135px;
  background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.84),rgba(216,170,255,.20) 38%,transparent 68%);
  pointer-events: none;
}
.quiz-prompt { text-align: center; padding: 66px 10px 33px; position: relative; z-index: 1; }
.quiz-prompt > span { display: block; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 15px; }
.quiz-prompt > div { font-size: 31px; font-weight: 900; line-height: 1.45; }
.quiz-prompt > div.ar { font-size: 45px; line-height: 1.8; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 930px; margin: 0 auto; position: relative; z-index: 1; }
.quiz-option {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 14px 16px;
  background: var(--panel-solid);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(77,25,117,.07);
}
.quiz-option:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(139,27,228,.28); }
.quiz-option.option-ar { direction: ltr; }
.quiz-option.option-ar > span:last-child { direction: rtl; font-family: var(--font-ar); font-size: 18px; }
.choice-letter { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #f0e2fb; color: #6e1aad; font-weight: 900; flex: 0 0 auto; }
.quiz-option.correct-choice { border-color: rgba(28,161,104,.45); background: #eefbf6; }
.quiz-option.correct-choice .choice-letter { background: #c8f0dd; color: #0d754d; }
.quiz-option.wrong-choice { border-color: rgba(219,57,100,.45); background: #fff0f4; }
.quiz-option.wrong-choice .choice-letter { background: #ffd5df; color: #b52350; }
.quiz-option.dim-choice { opacity: .62; }
.quiz-feedback {
  max-width: 930px;
  margin: 18px auto 0;
  border-radius: 18px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.quiz-feedback.good { background: #eaf9f2; color: #155e45; }
.quiz-feedback.bad { background: #fff0f4; color: #94264a; }
.quiz-feedback .ui-icon { width: 25px; height: 25px; }
.quiz-feedback b { display: block; }
.quiz-feedback span { display: block; font-size: 12px; margin-top: 2px; }
.quiz-next { display: flex; justify-content: flex-end; max-width: 930px; margin: 16px auto 0; position: relative; z-index: 1; }
.quiz-side { align-self: start; }
.quiz-score-live { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.quiz-score-live b { font-size: 36px; }
.quiz-score-live span { color: var(--muted); font-size: 12px; }

.result-screen { max-width: 900px; margin: 45px auto; text-align: center; padding: 48px; overflow: visible; }
.result-badge { width: 72px; height: 72px; margin: -10px auto 18px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#7221d8,#d732e7,#ff4e91); box-shadow: 0 14px 30px rgba(112,26,189,.22), inset 0 2px 2px rgba(255,255,255,.35); }
.result-badge .ui-icon { width: 34px; height: 34px; }
.result-screen h1 { font-size: 82px; line-height: 1; margin: 10px 0; }
.result-lead { max-width: 650px; margin: 0 auto 23px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.result-meter { height: 13px; background: rgba(106,28,164,.10); border-radius: 999px; overflow: hidden; max-width: 630px; margin: 0 auto 25px; }
.result-meter span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg,#6817cf,#cb35ec,#ff4e9c); }
.missed-box { text-align: left; background: var(--panel-soft); border: 1px solid var(--line); border-radius: 22px; padding: 19px; max-width: 680px; margin: 0 auto; }
.missed-box h3 { margin: 0 0 12px; }
.missed-list { display: grid; gap: 8px; }
.missed-chip { display: flex; justify-content: space-between; gap: 20px; padding: 10px 12px; background: var(--panel-solid); border-radius: 13px; border: 1px solid var(--line); }
.missed-chip .ar { font-weight: 900; }
.perfect-box { max-width: 620px; margin: 0 auto; padding: 15px; border-radius: 18px; background: #eaf9f2; color: #155e45; font-weight: 900; }
.result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }

.weekly-home { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 25px 28px; }
.weekly-home.weekly-ready { border-color: rgba(151,40,222,.24); box-shadow: 0 17px 42px rgba(89,25,131,.15), inset 0 1px rgba(255,255,255,.8); }
.weekly-copy { display: flex; align-items: center; gap: 17px; }
.weekly-copy h2 { margin: 2px 0 5px; }
.weekly-copy p { margin: 0; color: var(--muted); max-width: 780px; line-height: 1.45; }
.weekly-icon { width: 58px; height: 58px; flex: 0 0 auto; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#6930d8,#d42fe9,#ff4f9c); box-shadow: inset 0 2px rgba(255,255,255,.35),0 9px 21px rgba(94,22,157,.18); }
.weekly-icon .ui-icon { width: 29px; height: 29px; }
.result-chip { display: inline-block; margin-top: 9px; padding: 5px 9px; border-radius: 999px; background: rgba(124,32,217,.09); color: #6f26aa; font-size: 11px; font-weight: 900; }

.word-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 13px; }
.word-summary > div { background: var(--panel-solid); border: 1px solid var(--line); border-radius: 20px; padding: 17px 19px; box-shadow: var(--soft-shadow); display: flex; align-items: baseline; gap: 9px; }
.word-summary b { font-size: 29px; }
.word-summary span { color: var(--muted); font-size: 12px; font-weight: 800; }
.word-table td:nth-child(3), .word-table td:nth-child(4), .word-table th:nth-child(3), .word-table th:nth-child(4) { white-space: nowrap; }

/* dark mode for all v3 surfaces */
.dark .assessment-option, .dark .quiz-card, .dark .quiz-option, .dark .word-summary > div { background: #2a1b37; color: var(--ink); }
.dark .assessment-option small { color: #c5b3d2; }
.dark .quiz-card::before { background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.09),rgba(180,104,240,.10) 38%,transparent 68%); }
.dark .choice-letter { background: #422756; color: #e1b6fa; }
.dark .quiz-option.correct-choice { background: #18382e; border-color: rgba(81,213,160,.3); }
.dark .quiz-option.correct-choice .choice-letter { background: #235543; color: #a4ebcb; }
.dark .quiz-option.wrong-choice { background: #452030; border-color: rgba(255,93,135,.3); }
.dark .quiz-option.wrong-choice .choice-letter { background: #5e293b; color: #ffb3c7; }
.dark .quiz-feedback.good, .dark .perfect-box { background: #19372e; color: #a7e8cf; }
.dark .quiz-feedback.bad { background: #452030; color: #ffc1d1; }
.dark .missed-box { background: #24172f; }
.dark .missed-chip { background: #2e1d3b; }
.dark .weekly-home { background: linear-gradient(145deg,#281a35,#21162d); }
.dark .weekly-copy p, .dark .result-lead { color: #c8b5d5; }
.dark .result-chip { background: rgba(195,99,255,.14); color: #e0b7f8; }
.dark .lesson-progress, .dark .result-meter { background: rgba(255,255,255,.08); }
.dark .can-stage { background: radial-gradient(circle at 54% 46%, rgba(255,70,176,.10), transparent 46%); }
.dark .can-rim { background: linear-gradient(180deg,#d9d6e4 0%,#6e6a7d 35%,#e4e2eb 57%,#5b5868 78%,#aaa6b5 100%); }

@media (max-width: 1500px) {
  .assessment-grid { grid-template-columns: repeat(3,1fr); }
  .assessment-option:nth-child(4), .assessment-option:nth-child(5) { min-height: 96px; }
  .quiz-shell { grid-template-columns: 1fr 280px; }
}


/* Startup error boundary: shown only if JavaScript fails before Lak can render. */
.startup-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--ink);
  background:
    radial-gradient(circle at 25% 20%, rgba(163,30,233,.13), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(255,47,145,.12), transparent 25%),
    var(--page);
}
.startup-error section {
  width: min(680px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.startup-error h1 { margin: 14px 0 8px; font-size: 32px; }
.startup-error p { color: var(--muted); line-height: 1.6; }
.startup-error pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1px solid var(--line);
}
.startup-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero can: use the supplied transparent product image, crisp and fog-free.
   The can is deliberately larger than its stage and sits behind the flavours
   panel so it looks like it is rising out of that section. */
.can-stage {
  overflow: visible;
  isolation: isolate;
  z-index: 2;
}
.can-image {
  position: absolute;
  z-index: 2;
  width: 390px;
  height: auto;
  right: 96px;
  top: -54px;
  object-fit: contain;
  object-position: center;
  filter: none;
  pointer-events: none;
  user-select: none;
}
.can-stage .bubble,
.can-stage .slogan { z-index: 3; }
.can-stage .slogan { right: -4px; top: 88px; width: 142px; }
.flavour-section {
  position: relative;
  z-index: 4;
}

@media (max-width: 1180px) {
  .can-image { right: 76px; top: -42px; width: 360px; }
  .can-stage .slogan { right: -8px; width: 132px; font-size: 21px; }
}
