/* LESSON — konu anlatım sunumu */
html, body{ margin:0; height:100%; overflow:hidden; font-family:'Nunito',system-ui,sans-serif; background:#1B1740; }
#ls{ position:fixed; inset:0; display:flex; flex-direction:column; color:#1B1740; }
.ls-bar{ display:flex; align-items:center; gap:10px; padding:8px 14px; background:#1B1740; color:#fff; z-index:3; }
.ls-bar .grow{ flex:1; }
.ls-btitle{ font:700 20px 'Fredoka','Nunito',sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ls-btn{ min-width:48px; height:48px; padding:0 12px; border-radius:14px; border:2px solid #3A3480; background:#2A2560; color:#fff; font:700 20px 'Fredoka','Nunito',sans-serif; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; text-decoration:none; }
.ls-btn.big{ background:#FFD23F; color:#1B1740; border-color:#FDE68A; min-width:60px; font-size:24px; }
.ls-btn:disabled{ opacity:.35; cursor:default; }
.ls-count{ font-weight:800; color:#C9C3F0; min-width:70px; text-align:center; }
.ls-prog{ height:6px; background:#2A2560; } .ls-prog i{ display:block; height:100%; background:linear-gradient(90deg,#F472B6,#FFD23F); transition:width .3s; }
.ls-stage{ flex:1; min-height:0; display:flex; padding:clamp(10px,2vh,24px); background:radial-gradient(circle at 20% 10%, #FFF7E6, #FDE7C8 60%, #F9D3A8); }
.ls-slide{ flex:1; min-height:0; display:flex; flex-direction:column; gap:clamp(8px,1.6vh,18px); animation:lsIn .4s ease both; overflow:auto; }
@keyframes lsIn{ from{ opacity:0; transform:translateX(30px); } to{ opacity:1; transform:none; } }
.ls-head{ text-align:center; }
.ls-head h2{ margin:0; font:700 clamp(28px,5vh,52px) 'Fredoka','Nunito',sans-serif; color:#1B1740; }
.ls-head p{ margin:2px 0 0; font-weight:800; color:#DB2777; font-size:clamp(15px,2.3vh,22px); }
.ls-pic{ display:block; background:#fff; border-radius:16px; overflow:hidden; }
.ls-pic img{ width:100%; height:100%; object-fit:cover; display:block; }
/* başlık */
.ls-title{ margin:auto; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; }
.ls-kick{ font-weight:900; letter-spacing:3px; color:#B45309; text-transform:uppercase; }
.ls-title h1{ margin:0; font:700 clamp(46px,9vh,96px) 'Fredoka','Nunito',sans-serif; color:#DB2777; line-height:1; text-shadow:0 4px 0 #fff; }
.ls-title p{ margin:0; font-weight:800; font-size:clamp(18px,3vh,28px); color:#6B6395; }
.ls-hero{ width:min(70vw,780px); aspect-ratio:16/9; border-radius:26px; overflow:hidden; border:8px solid #fff; box-shadow:0 18px 40px rgba(0,0,0,.25); }
.ls-hero img{ width:100%; height:100%; object-fit:cover; }
.ls-big{ font-size:110px; }
.ls-links{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:10px; }
.ls-links a{ padding:12px 22px; border-radius:16px; background:#7C3AED; color:#fff; text-decoration:none; font:700 22px 'Fredoka',sans-serif; border-bottom:5px solid #4C1D95; }
/* kelimeler */
.ls-vocab{ flex:1; min-height:0; display:grid; gap:clamp(10px,1.6vw,22px); align-content:safe center; }
.ls-vocab.c3{ grid-template-columns:repeat(3,1fr); } .ls-vocab.c4{ grid-template-columns:repeat(4,1fr); } .ls-vocab.c5{ grid-template-columns:repeat(5,1fr); }
.ls-card{ border:0; cursor:pointer; padding:10px 10px 12px; border-radius:22px; background:#fff; box-shadow:0 8px 0 #E7C9A0, 0 14px 26px rgba(0,0,0,.12); display:flex; flex-direction:column; align-items:center; gap:6px; animation:lsPop .4s ease both; transition:transform .15s; }
.ls-card:hover{ transform:translateY(-4px); }
@keyframes lsPop{ from{ opacity:0; transform:scale(.85); } to{ opacity:1; transform:none; } }
.ls-card .ls-pic{ width:100%; aspect-ratio:4/3; max-height:calc(50vh - 205px); min-height:90px; }
.ls-card .ls-pic img{ object-fit:contain; }
.ls-vocab.c3 .ls-card .ls-pic, .ls-vocab.c2 .ls-card .ls-pic{ max-height:none; }
.ls-card b{ font:700 clamp(18px,3vh,30px) 'Fredoka',sans-serif; color:#1B1740; }
.ls-card i{ font-style:normal; font-weight:800; color:#0EA5E9; font-size:clamp(13px,2vh,19px); visibility:hidden; }
.ls-card.open i{ visibility:visible; }
.ls-card.ping{ animation:lsPing .5s ease; }
@keyframes lsPing{ 40%{ transform:scale(1.07); box-shadow:0 0 0 6px #FFD23F, 0 14px 26px rgba(0,0,0,.12); } }
/* kalıplar */
.ls-rule{ align-self:center; padding:10px 22px; border-radius:18px; background:#1B1740; color:#fff; font:700 clamp(18px,3vh,28px) 'Fredoka',sans-serif; text-align:center; }
.ls-rule b{ color:#FFD23F; } .ls-rule em{ font-style:normal; color:#F9A8D4; }
.ls-pat{ flex:1; min-height:0; display:grid; gap:clamp(10px,1.6vw,20px); align-content:center; }
.ls-pat.c1{ grid-template-columns:minmax(0,560px); justify-content:center; } .ls-pat.c2{ grid-template-columns:repeat(2,1fr); } .ls-pat.c3{ grid-template-columns:repeat(3,1fr); } .ls-pat.c4{ grid-template-columns:repeat(4,1fr); }
.ls-pcard{ border:0; cursor:pointer; padding:10px 10px 14px; border-radius:22px; background:#fff; box-shadow:0 8px 0 #E7C9A0, 0 14px 26px rgba(0,0,0,.12); display:flex; flex-direction:column; align-items:center; gap:8px; animation:lsPop .4s ease both; font-family:'Fredoka',sans-serif; }
.ls-pcard .ls-pic{ width:100%; aspect-ratio:4/3; }
.ls-q{ font-weight:700; font-size:clamp(18px,2.9vh,28px); color:#1B1740; line-height:1.2; }
.ls-a{ font-weight:700; font-size:clamp(18px,2.9vh,28px); color:#16A34A; background:#DCFCE7; border-radius:12px; padding:2px 12px; display:none; }
.ls-tap{ font-family:'Nunito',sans-serif; font-weight:800; color:#9CA3AF; font-size:14px; }
.ls-pcard.open .ls-a{ display:block; animation:lsPop .3s ease; } .ls-pcard.open .ls-tap{ display:none; }
/* kural sütunları */
.ls-cols{ flex:1; min-height:0; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.ls-col{ border-radius:24px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.ls-col.yes{ background:#DCFCE7; border:4px solid #22C55E; } .ls-col.no{ background:#FEE2E2; border:4px solid #EF4444; }
.ls-colh{ text-align:center; font:700 clamp(26px,4.4vh,44px) 'Fredoka',sans-serif; }
.ls-col.yes .ls-colh{ color:#15803D; } .ls-col.no .ls-colh{ color:#B91C1C; }
.ls-ritem{ display:flex; align-items:center; gap:12px; background:#fff; border-radius:16px; padding:8px; font:700 clamp(17px,2.7vh,26px) 'Fredoka',sans-serif; flex:1; min-height:0; }
.ls-ritem .ls-pic{ width:clamp(80px,14vh,140px); aspect-ratio:4/3; flex-shrink:0; }
.ls-ritem b{ color:#7C3AED; }
/* aylar */
.ls-chips{ flex:1; display:grid; grid-template-columns:repeat(4,1fr); gap:14px; align-content:center; }
.ls-chips span{ background:#fff; border-radius:20px; padding:16px 10px; text-align:center; font:700 clamp(22px,3.6vh,36px) 'Fredoka',sans-serif; box-shadow:0 6px 0 #E7C9A0; animation:lsPop .4s ease both; }
/* quiz */
.ls-quiz{ flex:1; min-height:0; display:flex; gap:24px; align-items:center; justify-content:center; }
.ls-qimg{ width:min(42vw,560px); aspect-ratio:4/3; border-radius:24px; overflow:hidden; border:6px solid #fff; box-shadow:0 14px 30px rgba(0,0,0,.2); flex-shrink:0; }
.ls-qimg img{ width:100%; height:100%; object-fit:cover; }
.ls-qbody{ display:flex; flex-direction:column; gap:16px; min-width:min(40vw,520px); }
.ls-qtext{ font:700 clamp(26px,4.6vh,48px) 'Fredoka',sans-serif; line-height:1.25; white-space:pre-line; }
.ls-blank{ display:inline-block; min-width:110px; padding:0 14px; border-radius:14px; background:#EDE9FE; color:#7C3AED; border-bottom:5px solid #7C3AED; text-align:center; }
.ls-blank.on{ background:#DCFCE7; color:#15803D; border-color:#16A34A; }
.ls-opts{ display:flex; gap:12px; flex-wrap:wrap; }
.ls-opt{ min-width:140px; min-height:64px; padding:0 22px; border-radius:18px; border:0; cursor:pointer; background:#7C3AED; color:#fff; font:700 clamp(22px,3.4vh,32px) 'Fredoka',sans-serif; border-bottom:6px solid #4C1D95; }
.ls-opt.right{ background:#16A34A; border-bottom-color:#14532D; } .ls-opt.wrong{ background:#DC2626; border-bottom-color:#7F1D1D; opacity:.7; }
.ls-fb{ min-height:34px; font:700 26px 'Fredoka',sans-serif; } .ls-fb.ok{ color:#16A34A; } .ls-fb.bad{ color:#DC2626; }
.ls-conf{ position:fixed; top:-12px; width:10px; height:16px; border-radius:3px; z-index:50; animation:lsFall linear forwards; pointer-events:none; }
@keyframes lsFall{ to{ transform:translateY(105vh) rotate(540deg); } }
@media (max-width:820px){
  .ls-btitle{ display:none; }
  .ls-vocab.c4, .ls-vocab.c5{ grid-template-columns:repeat(3,1fr); }
  .ls-pat.c3, .ls-pat.c4{ grid-template-columns:repeat(2,1fr); }
  .ls-cols{ grid-template-columns:1fr; }
  .ls-quiz{ flex-direction:column; } .ls-qimg{ width:90%; }
  .ls-chips{ grid-template-columns:repeat(3,1fr); }
}

/* menü */
.ls-menu{ flex:1; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(260px,42vw),1fr)); gap:clamp(10px,1.6vw,20px); align-content:center; }
.ls-mitem{ border:0; cursor:pointer; border-radius:24px; padding:clamp(12px,2.4vh,26px) 16px; background:#fff; box-shadow:0 8px 0 var(--c), 0 14px 26px rgba(0,0,0,.12);
  display:flex; flex-direction:column; align-items:center; gap:4px; animation:lsPop .4s ease both; transition:transform .15s; border-top:8px solid var(--c); }
.ls-mitem:hover{ transform:translateY(-4px); }
.ls-mitem .e{ font-size:clamp(40px,7vh,68px); line-height:1.1; }
.ls-mitem b{ font:700 clamp(20px,3.3vh,32px) 'Fredoka',sans-serif; color:#1B1740; }
.ls-mitem i{ font-style:normal; font-weight:800; color:#6B7280; font-size:clamp(13px,1.9vh,18px); }
/* bölüm kapağı */
.ls-div h1{ color:var(--c); }
.ls-dnum{ width:clamp(90px,16vh,150px); height:clamp(90px,16vh,150px); border-radius:50%; background:var(--c); color:#fff; display:flex; align-items:center; justify-content:center;
  font:700 clamp(46px,9vh,84px) 'Fredoka',sans-serif; box-shadow:0 10px 0 rgba(0,0,0,.15); animation:lsPop .5s cubic-bezier(.34,1.56,.64,1); }
/* formül */
.ls-formula{ display:flex; flex-direction:column; gap:8px; align-items:center; }
.ls-frow{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:center; }
.ls-frow span{ padding:6px 16px; border-radius:14px; background:#fff; font:700 clamp(18px,3vh,30px) 'Fredoka',sans-serif; color:#1B1740; box-shadow:0 5px 0 #E7C9A0; }
.ls-frow span.k{ background:#7C3AED; color:#fff; box-shadow:0 5px 0 #4C1D95; }
.ls-frow span.p{ background:#DB2777; color:#fff; box-shadow:0 5px 0 #9D174D; }
.ls-frow span.g{ background:#16A34A; color:#fff; box-shadow:0 5px 0 #14532D; }
.ls-frow span.r{ background:#DC2626; color:#fff; box-shadow:0 5px 0 #7F1D1D; }
.ls-frow em{ font-style:normal; font:700 26px 'Fredoka',sans-serif; color:#B45309; }
.ls-pcard .ls-pic{ max-height:40vh; }
.ls-pat.c2{ grid-template-columns:repeat(2,minmax(0,min(44vw,60vh))); justify-content:center; }
.ls-ritem .ls-pic{ width:clamp(100px,19vh,190px); }
.ls-ritem{ font-size:clamp(20px,3.3vh,34px); }

/* telefon: taşma yok, sayfa aşağı kayar */
@media (max-width:820px){
  .ls-slide > *{ flex:0 0 auto !important; }
  .ls-vocab.c3, .ls-vocab.c4, .ls-vocab.c5{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ls-card .ls-pic{ max-height:none; }
  .ls-card b{ font-size:clamp(16px,4.8vw,22px); overflow-wrap:anywhere; text-align:center; }
  .ls-chips{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ls-pat.c3, .ls-pat.c4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ls-cols{ grid-template-columns:minmax(0,1fr) !important; }
  .ls-ritem{ font-size:clamp(17px,4.6vw,24px); } .ls-ritem .ls-pic{ width:clamp(80px,26vw,130px); }
  .ls-q, .ls-qtext{ overflow-wrap:anywhere; }
}
@media (max-width:820px) and (orientation:landscape){
  .ls-vocab.c3, .ls-vocab.c4, .ls-vocab.c5, .ls-pat.c3, .ls-pat.c4{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .ls-chips{ grid-template-columns:repeat(4,minmax(0,1fr)); }
  .ls-card .ls-pic, .ls-pcard .ls-pic{ max-height:34vh; }
}

/* yeni konu kutusu */
.ls-formula{ flex-direction:row !important; flex-wrap:wrap; justify-content:center; gap:12px !important; }
.ls-frow2{ background:#fff; border-radius:18px; padding:10px 18px; box-shadow:0 5px 0 #E7C9A0; display:flex; flex-direction:column; gap:4px; min-width:min(100%,300px); }
.ls-fl{ display:flex; align-items:baseline; gap:10px; font:600 clamp(19px,3vh,30px) 'Fredoka',sans-serif; color:#1B1740; line-height:1.3; }
.ls-fa{ padding-left:4px; border-top:2px dashed #F3E2C7; padding-top:4px; }
.ls-fi{ font-size:.85em; flex-shrink:0; }
.ls-fl b{ font-weight:700; padding:0 .15em; border-radius:.25em; }
.ls-fl b.k{ color:#7C3AED; background:#EDE9FE; } .ls-fl b.p{ color:#DB2777; background:#FCE7F3; }
.ls-fl b.g{ color:#15803D; background:#DCFCE7; } .ls-fl b.r{ color:#DC2626; background:#FEE2E2; }
.ls-for{ font-style:normal; color:#B45309; font-weight:700; }
.ls-fgl{ display:block; font:700 .6em 'Nunito',sans-serif; color:#6B7280; }
@media (max-width:820px){ .ls-fl{ font-size:17px; } .ls-frow2{ padding:8px 12px; } }
