
/* Strony SEO gry — wg planszy Design „Strona ćwiczenia (SEO) — wzór” */
*{box-sizing:border-box}
body{margin:0;background:#F6F9FC;color:#1A3A5C;font-family:'Nunito',system-ui,sans-serif;font-size:17px;line-height:1.55}
a{color:#1E5FA8}a:hover{color:#123F73}
h1,h2,h3{font-family:'Baloo 2','Nunito',sans-serif;font-weight:800;line-height:1.15;color:#1A3A5C}
h2{font-size:clamp(22px,4vw,28px);margin:36px 0 10px}
main{max-width:1080px;margin:0 auto;padding:0 20px 40px}
.gora{background:#1A3A5C;color:#fff}
.gora-in{max-width:1080px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.gora .logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:19px;line-height:1.1}
.gora .logo img{width:42px;height:42px;object-fit:contain}
.gora .logo small{display:block;font-family:'Nunito',sans-serif;font-weight:600;font-size:12px;color:#C9D8E8}
.gora-cta{background:#F4A228;color:#1A3A5C;font-weight:800;text-decoration:none;padding:0 20px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.okruszki{max-width:1080px;margin:0 auto;padding:14px 20px 0;font-size:14px;color:#55708C}
.okruszki a{color:#55708C}
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:24px;margin-top:14px;background:#fff;border:2px solid #E3ECF4;border-radius:24px;padding:28px}
.hero-txt{flex:999 1 460px;min-width:0}
.chip{display:inline-block;background:#FFF1D6;color:#8A5300;font-weight:800;font-size:13px;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px}
.hero h1{font-size:clamp(30px,5vw,44px);line-height:1.1;margin:12px 0 10px}
.lead{margin:0 0 18px;font-size:18px;color:#3B5672}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.cta{background:#F4A228;color:#1A3A5C;font-family:'Baloo 2',sans-serif;font-weight:800;font-size:21px;text-decoration:none;padding:12px 30px;border-radius:999px;box-shadow:0 4px 0 #D98A12;display:inline-flex;align-items:center;gap:10px}
.cta:hover{background:#F9B44A;color:#1A3A5C}
.cta-wrap{text-align:center;margin:26px 0}
.hero-img{flex:1 1 180px;max-width:220px;height:auto;margin:0 auto;display:block}
.mala{font-size:15px;color:#55708C}
.zalety{list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:1fr;gap:12px}
.zalety li{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1.5px solid #E3ECF4;border-radius:16px;padding:12px 14px}
.zalety svg{flex:none}
.zalety small{display:block;font-size:15px;color:#55708C}
.przyklady{display:grid;grid-template-columns:1fr;gap:14px}
.przyklad{background:#fff;border:2px solid #E3ECF4;border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:8px;overflow-x:auto;min-width:0}
.p-gl{display:flex;justify-content:space-between;align-items:center;gap:10px}
.p-nr{font-weight:800;font-size:13px;color:#B36A00;letter-spacing:.06em;text-transform:uppercase;flex:none}
.p-polecenie{font-weight:800;font-size:13px;color:#55708C;letter-spacing:.04em;text-transform:uppercase;text-align:right}
.p-tresc{text-align:center;font-size:20px;font-weight:700;padding:6px 0}
.p-tresc img,.p-tresc svg{max-width:100%;height:auto}
.p-opcje{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0;margin:4px 0}
.p-opcje li{background:#F2F6FA;border:1.5px solid #E3ECF4;border-radius:12px;padding:8px 10px;text-align:center;font-weight:800;font-size:18px;display:flex;align-items:center;justify-content:center}
.p-opcje li svg,.kafel svg{max-width:90px;height:auto;vertical-align:middle}
.p-rozw{border-top:1.5px dashed #E3ECF4;padding-top:6px;margin-top:auto}
.p-rozw summary{cursor:pointer;list-style:none;font-weight:800;color:#1E5FA8;min-height:44px;display:flex;align-items:center;justify-content:space-between}
.p-rozw summary::-webkit-details-marker{display:none}
.p-rozw[open] .zwin{transform:rotate(180deg)}
.p-rozw p{margin:4px 0}
.p-odp{font-weight:800;color:#1F6F4A}
.kafle{display:flex;flex-wrap:wrap;gap:6px}
.kafle.kolejno .kafel:not(:last-child)::after{content:' →';color:#55708C}
.kafel{display:inline-flex;align-items:center;background:#F2F6FA;border:1.5px solid #E3ECF4;border-radius:10px;padding:4px 10px;font-weight:700}
.kafel img{max-height:44px;width:auto}
.pary{list-style:none;padding:0;display:grid;gap:6px}
.pary li .kafel:first-child::after{content:' ↔';color:#55708C}
.podpowiada{display:flex;gap:14px;align-items:flex-start;background:#EAF3FB;border-radius:20px;padding:18px 20px;margin-top:30px}
.podpowiada img{width:56px;height:auto;flex:none}
.podpowiada h2{margin:0 0 4px;font-size:24px}
.podpowiada p{margin:0}
.linki{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:8px}
@media (min-width:560px){.linki.t1{grid-template-columns:repeat(1,minmax(0,1fr))}.linki.t2{grid-template-columns:repeat(2,minmax(0,1fr))}.linki.t3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:900px){.linki.d1{grid-template-columns:repeat(1,minmax(0,1fr))}.linki.d2{grid-template-columns:repeat(2,minmax(0,1fr))}.linki.d3{grid-template-columns:repeat(3,minmax(0,1fr))}.linki.d4{grid-template-columns:repeat(4,minmax(0,1fr))}.linki.d5{grid-template-columns:repeat(5,minmax(0,1fr))}}
.linki a{display:flex;align-items:center;min-height:48px;height:100%;background:#fff;border:1.5px solid #D5E2EF;border-radius:14px;padding:8px 14px;text-decoration:none;font-weight:700;line-height:1.25}
.linki a:hover{border-color:#9DBAD6}
.dzial h2{margin-top:30px}
.dzial h2 a{text-decoration:none;color:#1A3A5C}
.dzial h2 small{font-size:15px;color:#55708C}
.karty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:#FFF6E0;border:2px solid #F6D58E;border-radius:20px;padding:16px 20px;margin-top:30px;text-decoration:none;color:#1A3A5C}
.karty-l{display:flex;align-items:center;gap:12px}
.karty-l strong{font-size:18px}
.karty-l small{display:block;font-size:15px;color:#5C4A1E}
.karty-go{font-weight:800;color:#8A5300}
.teoria{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;background:#fff;border:1.5px solid #D5E2EF;border-left:6px solid #1C6C9E;border-radius:16px;padding:14px 18px;margin-top:14px;text-decoration:none;color:#1A3A5C}
.teoria-l{display:flex;align-items:center;gap:12px}
.teoria-l svg{flex:none}
.teoria-l strong{font-size:17px}
.teoria-l small{display:block;font-size:15px;color:#46617D;text-wrap:balance}
.teoria-go{font-weight:800;color:#1C6C9E;white-space:nowrap}
.teoria:hover,.karty:hover{box-shadow:0 2px 0 #D5E2EF}
.autor{display:flex;gap:12px;align-items:center;background:#fff;border:1.5px solid #E3ECF4;border-radius:16px;padding:14px;margin-top:30px;font-size:15px}
.autor img{flex:none;width:52px;height:auto}
.autor p{margin:0}
.dol{background:#1A3A5C;color:#fff;text-align:center;padding:20px 16px;font-size:14px}
.dol p{margin:0 0 6px}
.dol a{color:#FFD58A}
sup.pot{font-size:.6em;line-height:0;vertical-align:.62em;font-weight:inherit;margin-left:.04em}
.ifrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;line-height:1.05}
.ifrac-n{border-bottom:2px solid currentColor;padding:0 3px}
.ifrac-d{padding:0 3px}
.p-opcje:has(> li:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.p-opcje:has(> li:nth-child(5):last-child),.p-opcje:has(> li:nth-child(7):last-child){grid-template-columns:1fr}
@media (min-width:760px){.zalety{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:900px){.przyklady.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.przyklady.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.przyklady.n1{max-width:520px}}

/* Z gry (klasy użyte w przykładach) */
:root{
  --navy:#1A3A5C; --navy2:#295480; --orange:#F4A228; --orange2:#F9B44A; --orange-dk:#D98A12;
  --bg:#E7EEF6; --card:#fff; --text:#17324C; --muted:#4D6A86; --orange-txt:#B36A00;
  --success:#2E9E6B; --success2:#3BB57E; --success-dk:#248055; --error:#E5533C; --border:#E3ECF4;
  --shadow:0 12px 28px -20px rgba(26,58,92,.5); --shadow-sm:0 2px 6px -2px rgba(26,58,92,.14);
  --r:18px; --rs:14px; --font-head:'Baloo 2',system-ui,sans-serif; --font-body:'Nunito',system-ui,sans-serif;
}
@keyframes starPop{0%{transform:scale(0.4);}60%{transform:scale(1.3);}100%{transform:scale(1);}}
.fraction-display{display:inline-flex;flex-direction:column;align-items:center;line-height:1;}
.fraction-line{width:100%;height:3px;background:var(--navy);border-radius:2px;margin:2px 0;}
.op-symbol{font-size:28px;font-weight:400;color:var(--muted);}
.equals-symbol{font-size:24px;color:var(--muted);}
.ifrac{display:inline-flex;flex-direction:column;vertical-align:middle;margin:0 2px;line-height:1.05;text-align:center;}
.ifrac-n{display:block;padding:0 4px;border-bottom:1.5px solid currentColor;font-size:0.85em;}
.ifrac-d{display:block;padding:0 4px;font-size:0.85em;}
.thermo-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;}
.thermo-svg{filter:drop-shadow(0 3px 8px rgba(0,0,0,.12));}
.clock-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;}
.clock-svg{filter:drop-shadow(0 8px 18px rgba(26,58,92,.2));}
.more-less-wrap{display:flex;flex-direction:column;gap:8px;align-items:center;padding:4px 0;max-width:100%;}
.more-less-row{display:flex;flex-wrap:nowrap;gap:4px;align-items:center;min-height:40px;padding:4px 8px;border-radius:12px;background:#eef3f8;}
.more-less-slot{width:28px;height:30px;display:flex;align-items:center;justify-content:center;font-size:26px;line-height:1;flex:0 0 28px;}
.more-less-slot.ml-empty{border:2px dashed #cfd8e3;border-radius:8px;box-sizing:border-box;transform:scale(.6);}
.obj-groups-wrap{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;padding:6px 0;max-width:440px;}
.obj-group{display:grid;gap:5px;padding:9px;border:2px dashed var(--navy);border-radius:14px;background:#eef3f8;justify-items:center;align-items:center;}
.obj-emoji{font-size:26px;line-height:1;}
.tf-wrap{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;padding:6px 0;}
.tenframe{display:grid;grid-template-columns:repeat(5,38px);grid-template-rows:repeat(2,38px);gap:5px;padding:8px;border:3px solid var(--navy);border-radius:12px;background:#fff;}
.tf-cell{width:32px;height:32px;border-radius:50%;justify-self:center;align-self:center;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;line-height:1;}
.tf-e{background:#eef3f8;border:2px solid #cdd8e4;}
.tf-a{background:var(--navy);}
.tf-b{background:var(--orange);}
.tf-g{background:var(--navy);opacity:.35;color:#fff;}
.tf-t{background:#fff;border:2px dashed var(--orange);}
.tf-sentence{font-size:34px;font-weight:800;color:var(--navy);text-align:center;padding:10px 0 2px;letter-spacing:1px;}
.tf-op-a{color:var(--navy);}
.tf-op-b{color:var(--orange);}
.cmp-sets{display:flex;flex-direction:column;align-items:center;gap:7px;padding:6px 0;}
.cmp-row{display:flex;flex-wrap:nowrap;gap:4px;justify-content:center;max-width:340px;padding:9px 10px;border-radius:14px;background:#eef3f8;min-height:46px;align-items:center;}
.cmp-q{font-size:30px;font-weight:800;color:var(--orange);line-height:1;}
.cmp-slot{width:26px;height:26px;display:flex;align-items:center;justify-content:center;font-size:22px;line-height:1;flex:0 0 26px;}
.cmp-empty{border:2px dashed #cfd8e3;border-radius:50%;box-sizing:border-box;transform:scale(.72);}
.vessel-wrap{display:flex;justify-content:center;padding:6px 0;}
.zobj-grid{display:grid;gap:10px 14px;justify-content:center;justify-items:center;padding:14px 10px;max-width:400px;margin:0 auto;background:#F4F8FC;border-radius:18px;}
.zobj{font-size:44px;line-height:1;filter:drop-shadow(0 2px 3px rgba(26,58,92,.15));}
.zpat-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;padding:8px 0;}
.zpat{font-size:42px;line-height:1;display:inline-flex;align-items:center;}
.zpat-q{width:56px;height:56px;border-radius:16px;border:3px dashed var(--orange);color:var(--orange);font-family:var(--font-head);font-weight:800;font-size:32px;justify-content:center;background:#FFF6E0;}
.zsud{display:grid;grid-template-columns:repeat(4,58px);grid-template-rows:repeat(4,58px);gap:4px;justify-content:center;padding:8px 0;}
.zsud-cell{display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-size:34px;font-weight:800;color:var(--navy);background:#F4F8FC;border-radius:14px;border:2.5px solid var(--border);}
.zsud-cell:nth-child(4n+2),.zsud-cell:nth-child(4n+3){}
.zsud-q{background:#fff8ee;border:3px dashed var(--orange);color:var(--orange);font-weight:800;}
@keyframes ordshake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}
@keyframes ordpop{from{transform:scale(.8);opacity:.4}to{transform:none;opacity:1}}
.pos-grid{display:grid;grid-template-columns:repeat(3,72px);grid-template-rows:repeat(3,72px);gap:4px;}
.pos-cell{border-radius:8px;background:#e8eef5;display:flex;align-items:center;justify-content:center;font-size:22px;border:2px solid transparent;transition:all .15s;}
.pos-cell.highlighted{background:var(--orange);border-color:var(--navy);transform:scale(1.05);}
.pos-cell.dim{background:#f0f4f8;opacity:.5;}
.chores-table-wrap{overflow-x:auto;width:100%;}
.chores-table{border-collapse:collapse;font-size:13px;width:100%;}
.chores-table th{background:var(--navy);color:#fff;padding:6px 8px;text-align:center;font-size:12px;font-weight:600;}
.chores-table td{border:1px solid var(--border);padding:5px 6px;text-align:center;font-size:18px;background:var(--card);}
.chores-table td.highlight-cell{background:#fff3cd;border:2px solid var(--orange);}
.chores-table tr td:first-child{font-size:12px;font-weight:700;color:var(--navy);background:#f0f4f8;}
.scale-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;}
.scale-svg{filter:drop-shadow(0 4px 10px rgba(0,0,0,.12));overflow:visible;}
.ruler-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;}
.ruler-svg{filter:drop-shadow(0 3px 8px rgba(0,0,0,.10));overflow:visible;}
.big-num{font-size:56px;font-weight:800;color:var(--navy);line-height:1;}
.big-num-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;}
.big-op{font-size:40px;color:var(--muted);font-weight:300;}
@keyframes hintpop{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
@keyframes fadeIn{from{opacity:0;transform:translateY(4px);}to{opacity:1;transform:none;}}
@keyframes confFall{0%{transform:translateY(-14px) rotate(0);opacity:1}100%{transform:translateY(420px) rotate(520deg);opacity:0}}
@keyframes qShake{0%,100%{transform:translateX(0)}20%{transform:translateX(-9px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(4px)}}
.emo{display:inline-block;width:1.2em;height:1.2em;vertical-align:-.22em;line-height:1;
  background:var(--g) center/contain no-repeat;
  color:transparent!important;-webkit-text-fill-color:transparent;text-shadow:none!important;
  overflow:hidden;white-space:nowrap;text-indent:-9em;
  filter:drop-shadow(0 1px 1px rgba(26,58,92,.28));}
.emo-svg{pointer-events:none;filter:drop-shadow(0 1px 1px rgba(26,58,92,.28));}
.emo.emo-jasne,.emo-svg.emo-jasne{filter:drop-shadow(0 0 1px rgba(26,58,92,.8)) drop-shadow(0 1px 1.5px rgba(26,58,92,.35));}
.seq-row{width:100%;}
.seq-row > span[style*="width:72px"]{width:auto!important;flex:1 1 0!important;min-width:40px!important;max-width:72px;font-size:clamp(17px,5.4vw,24px)!important;}
:root{color-scheme:only light}
sup.pot{font-size:.6em;line-height:0;vertical-align:.62em;font-weight:inherit;margin-left:.04em}
