/* TM Matematika */
body.tmm-page .fl-post-header{display:none}
body.tmm-page .fl-content,body.tmm-page .fl-post-content{margin:0;padding:0}
body.tmm-page .fl-content-full .fl-content{margin:0}
body.tmm-page header.fl-builder-content,body.tmm-page header.fl-builder-content .fl-row,body.tmm-page header.fl-builder-content .fl-row-content-wrap{background:#0b0b0d!important;border:0!important}
body.tmm-page header.fl-builder-content .fl-row-content-wrap{padding-top:14px!important;padding-bottom:14px!important}
body.tmm-page header.fl-builder-content .fl-menu a{color:#fff!important;font-family:Poppins,Arial,sans-serif;font-weight:600}
body.tmm-page header.fl-builder-content .fl-menu a:hover{color:#B58C59!important}
body.tmm-page header.fl-builder-content .fl-menu-mobile-toggle{background:transparent!important;float:right}
body.tmm-page header.fl-builder-content .fl-menu-mobile-toggle rect{fill:#fff!important}
body.tmm-lock{overflow:hidden}

.tmm,.tmm-ov,.tmm-auth{--m:#C02264;--m2:#a51d56;--g:#B58C59;--k:#0b0b0d;--ok:#1f9d55;--no:#d23c3c;font-family:Poppins,"Helvetica Neue",Arial,sans-serif;color:#1a1a1a;line-height:1.5}
.tmm *,.tmm-ov *,.tmm-auth *{box-sizing:border-box}
.tmm{width:100vw;margin-left:calc(50% - 50vw);background:#f5f5f6}
.tmm h1,.tmm h2,.tmm h3,.tmm h4,.tmm-ov h4{font-family:Poppins,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:0;color:inherit}
.tmm-in{max-width:1160px;margin:0 auto;padding:0 24px}
.tmm-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--m);color:#fff!important;border:0;border-radius:12px;padding:13px 20px;font:700 15px/1.2 Poppins,Arial,sans-serif;cursor:pointer;text-decoration:none!important;transition:background .2s}
.tmm-btn:hover{background:var(--m2)}
.tmm-btn.o{background:transparent;color:inherit!important;border:1px solid currentColor}
.tmm-btn:disabled{opacity:.5;cursor:default}
.tmm-small{font-size:13px;color:#777;margin:10px 0 0}

/* hero */
.tmm-hero{background:radial-gradient(800px 460px at 88% 0%,rgba(192,34,100,.5),transparent 62%),#0b0b0d;color:#fff;padding:64px 0 56px}
.tmm-hero .tmm-in{display:grid;grid-template-columns:1fr 360px;gap:20px 48px;align-items:end}
.tmm-hero .tmm-in>*:not(.tmm-me){grid-column:1}
.tmm-kick{letter-spacing:.18em;text-transform:uppercase;font-size:13px;opacity:.75;margin-bottom:14px}
.tmm-hero h1{font-size:clamp(36px,6vw,64px);line-height:1.04;margin:0 0 14px;font-weight:700;color:#fff}
.tmm-hero h1 em{font-style:normal;color:var(--g)}
.tmm-lead{font-size:18px;max-width:640px;opacity:.9;margin:0}
.tmm-stats{display:flex;gap:30px;flex-wrap:wrap;margin-top:22px}
.tmm-stats b{display:block;font-size:36px;line-height:1;color:#ff4d94}
.tmm-stats span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;opacity:.8}
.tmm-me{grid-column:2;grid-row:1/span 4;align-self:end}
.tmm-mebox,.tmm-cta{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:16px;padding:22px}
.tmm-cta{display:flex;flex-direction:column;gap:10px}
.tmm-cta small,.tmm-mesub{font-size:13px;opacity:.75;display:block;margin-top:6px}
.tmm-mehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tmm-mehead a{color:#bbb!important;font-size:13px}
.tmm-meprog{font-size:13px;opacity:.9;margin-bottom:14px}
.tmm-meprog .tmm-bar{margin-top:6px}
.tmm-mebox .tmm-btn{width:100%;justify-content:flex-start;text-align:left}
.tmm-bar{height:8px;background:#e7e2e7;border-radius:99px;overflow:hidden}
.tmm-bar.lt{background:rgba(255,255,255,.18)}
.tmm-bar.sm{height:5px;margin-top:10px}
.tmm-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--m),#ff4d94);border-radius:99px}

/* nav */
.tmm-nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e6e6e9;box-shadow:0 6px 20px rgba(0,0,0,.04)}
body.admin-bar .tmm-nav{top:32px}
.tmm-lv{display:flex;gap:6px;padding-top:14px;overflow-x:auto}
.tmm-tab{background:none;border:0;border-bottom:3px solid transparent;padding:8px 14px 10px;font:600 15px Poppins,Arial,sans-serif;color:#666;cursor:pointer;white-space:nowrap}
.tmm-tab.on{color:var(--m);border-color:var(--m)}
.tmm-gr{display:flex;gap:8px;padding:12px 0 14px;overflow-x:auto;scrollbar-width:thin}
.tmm-chip{background:#f3f1f3;border:1px solid #e6e2e6;border-radius:99px;padding:8px 16px;font:600 14px Poppins,Arial,sans-serif;color:#333;cursor:pointer;white-space:nowrap}
.tmm-chip em{font-style:normal;color:var(--m);font-size:12px;margin-left:4px}
.tmm-chip.on{background:var(--k);border-color:var(--k);color:#fff}
.tmm-chip.on em{color:#ff8fbd}

/* razred */
.tmm-body{padding:40px 0 80px}
.tmm-ghead{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:18px}
.tmm-kick2{color:var(--g);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:12px}
.tmm-ghead h2{font-size:clamp(28px,4vw,40px);margin:2px 0 4px;font-weight:700}
.tmm-sub{color:#666;font-size:15px}
.tmm-gprog{min-width:260px;font-size:14px}
.tmm-gprog .tmm-bar{margin-top:6px}
.tmm-res{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;background:#fff;border:1px solid #e6e6e9;border-radius:12px;padding:12px 16px;margin-bottom:22px;font-size:14px}
.tmm-res span{font-weight:700}
.tmm-res a{color:var(--m)!important}
.tmm-sec{font-size:20px;margin:30px 0 14px;font-weight:700}
.tmm-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.tmm-les{display:grid;grid-template-columns:132px 1fr;gap:14px;text-align:left;background:#fff;border:1px solid #e6e6e9;border-radius:14px;padding:10px;cursor:pointer;font-family:inherit;color:inherit;transition:box-shadow .2s,transform .2s;align-items:start}
.tmm-les:hover{box-shadow:0 10px 30px rgba(0,0,0,.08);transform:translateY(-2px)}
.tmm-les .th{position:relative;display:block;border-radius:9px;overflow:hidden;aspect-ratio:16/9;background:#ddd}
.tmm-les img{width:100%;height:100%;object-fit:cover;display:block}
.tmm-les .th i{position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;background:rgba(11,11,13,.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50%/18px no-repeat}
.tmm-les.done .th i{background:var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") 50% 50%/20px no-repeat}
.tmm-les .bd{display:block;min-width:0}
.tmm-les small{display:block;color:var(--g);font-weight:700;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.tmm-les b{display:block;font-size:15px;line-height:1.3;margin:2px 0 4px}
.tmm-les .mt{display:block;color:#777;font-size:12.5px}
.tmm-les .tg{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.tmm-les .t{font-size:11px;font-weight:600;border-radius:6px;padding:2px 7px;background:#f3eef3;color:#7b2a52}
.tmm-les .t.w{background:#f5efe6;color:#7a5a2f}
.tmm-les .t.c{background:#eaf3ee;color:#1f6b40}

/* lekcija */
.tmm-ov{position:fixed;inset:0;z-index:99990;background:#0b0b0d;color:#fff;display:none;overflow-y:auto}
.tmm-ov.on{display:block}
.tmm-ovtop{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;position:sticky;top:0;background:rgba(11,11,13,.96);z-index:3;border-bottom:1px solid rgba(255,255,255,.08)}
.tmm-crumb span{display:block;font-size:12px;color:var(--g);letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.tmm-crumb b{font-size:18px;line-height:1.3}
.tmm-x{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;width:44px;height:44px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer;flex:none}
.tmm-x:hover{background:var(--m);border-color:var(--m)}
.tmm-ovgrid>*{min-width:0}
.tmm-ovgrid{display:grid;grid-template-columns:1fr 360px;gap:24px;max-width:1440px;margin:0 auto;padding:20px 24px 60px}
.tmm-frame{position:relative;aspect-ratio:16/9;background:#000;border-radius:14px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.tmm-frame iframe,.tmm-frame .tmm-yt{position:absolute;inset:0;width:100%;height:100%;border:0}
.tmm-lockv{position:absolute;inset:0;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;padding:20px}
.tmm-lockv:before{content:"";position:absolute;inset:0;background:rgba(11,11,13,.78)}
.tmm-lockv>div{position:relative;max-width:520px;text-align:center}
.tmm-lockv b{font-size:22px;display:block;margin-bottom:6px}
.tmm-lockv p{opacity:.85;margin:0 0 16px;font-size:15px}
.tmm-lockv .tmm-btn{margin:4px}
.tmm-endnote{position:absolute;inset:0;background:rgba(11,11,13,.86);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center}
.tmm-endnote b{font-size:20px;color:#7ee2a8}
.tmm-vbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0 6px;flex-wrap:wrap}
.tmm-vt b{display:block;font-size:18px;line-height:1.3;font-weight:700}
.tmm-vt small{color:#b9aeb9}
.tmm-vnav{display:flex;gap:8px}
.tmm-vnav button,.tmm-lnav button{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;border-radius:10px;padding:10px 14px;font:600 14px Poppins,Arial,sans-serif;cursor:pointer}
.tmm-vnav button:hover:not(:disabled),.tmm-lnav button:hover{background:var(--m);border-color:var(--m)}
.tmm-vnav button:disabled{opacity:.35;cursor:default}
.tmm-tabs{display:flex;gap:6px;margin-top:22px;border-bottom:1px solid rgba(255,255,255,.12);overflow-x:auto}
.tmm-tabs button{background:none;border:0;border-bottom:3px solid transparent;color:#b9aeb9;padding:10px 14px;font:600 15px Poppins,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.tmm-tabs button.on{color:#fff;border-color:var(--m)}
.tmm-pane{background:#fff;color:#1a1a1a;border-radius:0 0 14px 14px;padding:22px;min-height:180px}
.tmm-pane p{margin:0 0 12px}
.tmm-desc p{font-size:16px}
.tmm-facts{margin:0 0 14px;padding-left:20px}
.tmm-facts li{margin-bottom:4px}
.tmm-mine{background:#f6f0f4;border-radius:10px;padding:10px 14px}
.tmm-yt-link{font-size:14px;color:#666}
.tmm-pane a{color:var(--m)!important}
.tmm-gate{text-align:center;padding:10px}
.tmm-gate .tmm-btn{margin:4px}
.tmm-err{color:var(--no)}

.tmm-side{background:#141418;border-radius:14px;padding:16px;align-self:start;position:sticky;top:96px;max-height:calc(100vh - 120px);display:flex;flex-direction:column}
.tmm-side h4{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--g);font-weight:600}
.tmm-vlist{overflow-y:auto;flex:1;min-height:0}
.tmm-vlist button{display:grid;grid-template-columns:110px 1fr;gap:10px;width:100%;background:none;border:0;color:#e7e2e7;padding:7px;border-radius:10px;cursor:pointer;text-align:left;font-family:inherit;align-items:center}
.tmm-vlist button:hover{background:rgba(255,255,255,.06)}
.tmm-vlist button.cur{background:rgba(192,34,100,.25);color:#fff}
.tmm-vlist img{width:110px;aspect-ratio:16/9;object-fit:cover;border-radius:7px;display:block}
.tmm-vlist b{display:block;font-size:13px;line-height:1.35;font-weight:600}
.tmm-vlist small{color:#a99fa9;font-size:12px}
.tmm-vlist button.dn small{color:#7ee2a8}
.tmm-vlist button.dn b:before{content:"✓ ";color:#7ee2a8}
.tmm-lnav{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.tmm-lnav button{text-align:left;font-size:13px}
.tmm-lnav button:not(.o){background:var(--m);border-color:var(--m)}

/* vježba */
.tmm-ex{max-width:720px}
.tmm-exhead{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#777;margin-bottom:10px}
.tmm-exname{color:var(--g);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:12px}
.tmm-exq{font-size:22px;line-height:1.5;font-weight:600;margin-bottom:16px}
.tmm-exf{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.tmm-inp{display:flex;align-items:center;gap:8px;font-weight:600}
.tmm-inp input{width:150px;font:600 18px Poppins,Arial,sans-serif;padding:10px 12px;border:2px solid #ddd;border-radius:10px}
.tmm-inp input:focus{outline:0;border-color:var(--m)}
.tmm-inp.good input{border-color:var(--ok);background:#effaf3}
.tmm-inp.bad input{border-color:var(--no);background:#fdf0f0}
.tmm-choice{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.tmm-choice button{font:600 17px Poppins,Arial,sans-serif;padding:10px 18px;border:2px solid #ddd;background:#fff;border-radius:10px;cursor:pointer;min-width:56px}
.tmm-choice button.sel{border-color:var(--m);background:#fbeef4}
.tmm-choice.good button.sel{border-color:var(--ok);background:#effaf3}
.tmm-choice.bad button.sel{border-color:var(--no);background:#fdf0f0}
.tmm-exfb{min-height:24px;margin-bottom:12px;font-size:15px}
.tmm-exfb.ok{color:#17663a}
.tmm-exfb.no{color:#a32323}
.tmm-exfb.info{color:#7a5a2f}
.tmm-exbtn{display:flex;gap:8px;flex-wrap:wrap}
.tmm-exbtn .tmm-btn.o{color:#1a1a1a!important}
.tmm-pane .tmm-btn.o{color:#1a1a1a!important}
.tmm-fr{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.82em;line-height:1.1;margin:0 3px}
.tmm-fr span:first-child{border-bottom:2px solid currentColor;padding:0 3px}

/* kalkulator */
.tmm-calc{border:1px solid #e6e6e9;border-radius:12px;padding:18px;margin-bottom:16px}
.tmm-calc h4{margin:0 0 8px;font-size:17px}
.tmm-cf{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:12px}
.tmm-cf label span{display:block;font-size:12.5px;color:#666;margin-bottom:3px}
.tmm-cf input,.tmm-cf select{width:100%;font:500 16px Poppins,Arial,sans-serif;padding:9px 10px;border:1px solid #ccc;border-radius:8px;background:#fff}
.tmm-cout{background:#f6f0f4;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.7}
.tmm-tbl{width:100%;border-collapse:collapse;margin-top:10px;font-size:13px;background:#fff}
.tmm-tbl th,.tmm-tbl td{border:1px solid #e6e6e9;padding:5px 8px;text-align:right}
.tmm-ws .tmm-btn{margin-top:4px}
.tmm-mat ul{padding-left:20px}

/* prijava */
.tmm-auth{position:fixed;inset:0;z-index:99999;background:rgba(6,6,8,.75);display:none;align-items:center;justify-content:center;padding:16px}
.tmm-auth.on{display:flex}
.tmm-authin{position:relative;background:#fff;border-radius:18px;width:100%;max-width:480px;max-height:calc(100vh - 32px);overflow-y:auto;padding:26px 26px 22px}
.tmm-authin .tmm-x{position:absolute;right:14px;top:14px;background:#f1f1f3;color:#333;border-color:#e3e3e6;width:38px;height:38px;font-size:22px}
.tmm-atabs{display:flex;gap:6px;margin-bottom:8px}
.tmm-atabs button{background:none;border:0;border-bottom:3px solid transparent;font:700 17px Poppins,Arial,sans-serif;color:#888;padding:6px 10px 8px;cursor:pointer}
.tmm-atabs button.on{color:var(--m);border-color:var(--m)}
.tmm-amsg{min-height:4px;font-size:14px;margin:0 0 8px}
.tmm-amsg.err{color:var(--no)}.tmm-amsg.ok{color:var(--ok)}.tmm-amsg.info{color:#7a5a2f}
.tmm-auth form{display:none;flex-direction:column;gap:12px}
.tmm-auth form.on{display:flex}
.tmm-auth label{font-size:13.5px;font-weight:600;color:#333}
.tmm-auth input:not([type=checkbox]),.tmm-auth select{display:block;width:100%;margin-top:4px;font:500 16px Poppins,Arial,sans-serif;padding:11px 12px;border:1px solid #ccc;border-radius:10px;background:#fff}
.tmm-auth input:focus,.tmm-auth select:focus{outline:0;border-color:var(--m)}
.tmm-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tmm-chk{display:flex!important;gap:8px;align-items:flex-start;font-weight:400!important;font-size:13px!important;line-height:1.45}
.tmm-chk input{margin-top:3px}
.tmm-chk a{color:var(--m)!important}
.tmm-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.tmm-lost{font-size:13px;color:#666!important;text-align:center}

@media (max-width:1000px){
  .tmm-hero .tmm-in{grid-template-columns:1fr}
  .tmm-me{grid-column:1;grid-row:auto}
  .tmm-ovgrid{grid-template-columns:1fr;padding:12px 12px 40px}
  .tmm-side{position:static;max-height:none}
  .tmm-vlist{max-height:360px}
}
@media (max-width:640px){
  .tmm-in{padding:0 16px}
  .tmm-hero{padding:44px 0 36px}
  .tmm-lead{font-size:16px}
  .tmm-stats{gap:20px}.tmm-stats b{font-size:28px}
  .tmm-list{grid-template-columns:1fr}
  .tmm-les{grid-template-columns:112px 1fr}
  .tmm-ovtop{padding:10px 12px}.tmm-crumb b{font-size:15px}
  .tmm-frame{border-radius:10px}
  .tmm-vnav{width:100%}.tmm-vnav button{flex:1}
  .tmm-pane{padding:16px}
  .tmm-exq{font-size:19px}
  .tmm-inp{width:100%}.tmm-inp input{flex:1;width:auto;min-width:0}
  .tmm-row{grid-template-columns:1fr}
  body.admin-bar .tmm-nav{top:0}
}

/* ===== v2: vlastiti predložak ===== */
body.tmm-solo{margin:0;background:#f5f5f6;font-family:Poppins,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
body.tmm-solo .tmm{width:auto;margin-left:0}
.tmm-top{background:#0b0b0d;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.tmm-top .tmm-in,.tmm-foot .tmm-in{max-width:1160px;margin:0 auto;padding:0 24px}
.tmm-top .tmm-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.tmm-brand{display:flex;align-items:center;gap:10px;color:#fff!important;text-decoration:none;font-weight:700;font-size:17px}
.tmm-brand img{border-radius:8px}
.tmm-topnav{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.tmm-topnav a{color:#ddd!important;text-decoration:none;font-weight:600;font-size:14px;padding:8px 12px;border-radius:10px}
.tmm-topnav a:hover{color:#fff!important;background:rgba(255,255,255,.08)}
.tmm-topnav a.on{color:#fff!important;background:rgba(192,34,100,.35)}
.tmm-foot{background:#0b0b0d;color:#bbb;padding:36px 0 28px;font-size:14px}
.tmm-foot .tmm-in{display:grid;grid-template-columns:1fr auto;gap:12px 40px}
.tmm-foot b{color:#fff;font-size:16px}
.tmm-foot p{margin:6px 0 0;max-width:520px}
.tmm-footlinks{display:flex;flex-direction:column;gap:6px}
.tmm-footlinks a{color:#ddd!important}
.tmm-foot small{grid-column:1/-1;opacity:.7;margin-top:10px}
@media (max-width:640px){.tmm-topnav .hide-sm{display:none}.tmm-topnav a{padding:8px 8px;font-size:13px}.tmm-brand span{display:none}.tmm-foot .tmm-in{grid-template-columns:1fr}}
body.admin-bar.tmm-solo .tmm-nav{top:32px}
@media (max-width:782px){body.admin-bar.tmm-solo .tmm-nav{top:0}}
.tmm-skel{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px}
.tmm-skel i{display:block;height:110px;border-radius:14px;background:linear-gradient(90deg,#eee,#f7f7f7,#eee);background-size:200% 100%;animation:tmmsk 1.2s infinite}
.tmm-skel.s{grid-template-columns:1fr}.tmm-skel.s i{height:70px}
@keyframes tmmsk{to{background-position:-200% 0}}
.tmm-link{background:none;border:0;color:var(--m);font:600 14px Poppins,Arial,sans-serif;cursor:pointer;padding:6px 0;text-decoration:underline}
.tmm-mehead .tmm-link{color:#ddd;font-size:13px;padding:0}
.tmm-btn.sm{padding:9px 14px;font-size:14px}
.tmm-play{position:absolute;inset:0;border:0;background-size:cover;background-position:center;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}
.tmm-play:before{content:"";position:absolute;inset:0;background:rgba(11,11,13,.35)}
.tmm-play i{position:relative;width:78px;height:78px;border-radius:50%;background:var(--m) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/36px no-repeat;box-shadow:0 10px 40px rgba(0,0,0,.5);transition:transform .15s}
.tmm-play:hover i{transform:scale(1.08)}
.tmm-play span{position:relative;color:#fff;font-weight:700;background:rgba(0,0,0,.55);padding:6px 12px;border-radius:99px;font-size:14px}

/* napredak, zvjezdice, djeca */
.tmm-stars{display:inline-flex;gap:1px;margin-left:6px;vertical-align:middle}
.tmm-stars i{font-style:normal;color:#d8d2d8;font-size:13px;letter-spacing:0}
.tmm-stars i.on{color:#f2b705}
.tmm-gm{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 14px;text-align:center}
.tmm-gm div{background:rgba(255,255,255,.07);border-radius:10px;padding:8px 4px}
.tmm-gm b{display:block;font-size:20px;color:#ffd257;line-height:1.1}
.tmm-gm span{font-size:10.5px;opacity:.8;line-height:1.2;display:block}
.tmm-pend{background:rgba(242,183,5,.16);border:1px solid rgba(242,183,5,.5);color:#ffe7a3;border-radius:10px;padding:10px 12px;font-size:13px;margin-bottom:12px}
.tmm-kids{margin-top:16px;border-top:1px solid rgba(255,255,255,.14);padding-top:12px}
.tmm-kids h4{margin:0 0 8px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--g)}
.tmm-kid{background:rgba(255,255,255,.06);border-radius:10px;padding:10px 12px;margin-bottom:8px;font-size:13px}
.tmm-kid b{font-size:15px}.tmm-kid>span{opacity:.75}
.tmm-kid small{display:block;opacity:.7;margin-top:2px}
.tmm-kidst{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}
.tmm-kidst span{background:rgba(255,255,255,.1);border-radius:6px;padding:2px 7px}
.tmm-kids .tmm-btn{color:#fff!important;width:auto}
.tmm-par{background:#fff;border:1px solid #e6e6e9;border-radius:12px;padding:12px 16px;margin-top:28px;font-size:14px}
.tmm-par summary{cursor:pointer;font-weight:700}
.tmm-par a,.tmm-mat a{color:var(--m)!important}
.tmm-mat h4{margin:4px 0 8px;font-size:17px}
.tmm-mat h4+p{margin-top:0}

/* igra */
.tmm-game{max-width:760px}
.tmm-ghd{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.tmm-dots{display:flex;gap:6px}
.tmm-dots i{width:14px;height:14px;border-radius:50%;background:#e8e4e8;display:block}
.tmm-dots i.cur{background:#fff;box-shadow:0 0 0 3px var(--m)}
.tmm-dots i.ok{background:var(--ok)}.tmm-dots i.fix{background:#f2b705}.tmm-dots i.no{background:var(--no)}
.tmm-xp{font-weight:700;color:#7a5a2f;background:#f6efe2;border-radius:99px;padding:4px 12px;font-size:14px}
.tmm-card{position:relative;background:#fbfafb;border:1px solid #ece7ec;border-radius:16px;padding:20px;overflow:hidden}
.tmm-gname{font-size:12px;font-weight:700;color:var(--g);text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.tmm-exq{font-size:20px;line-height:1.5;margin-bottom:14px}
.tmm-game.young .tmm-exq{font-size:22px}
.tmm-exf{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start;margin-bottom:12px}
.tmm-inp{display:flex;align-items:center;gap:8px;font-weight:600;border-radius:12px;padding:2px}
.tmm-inp input{font:600 20px Poppins,Arial,sans-serif;width:180px;padding:10px 12px;border:2px solid #d9d3d9;border-radius:12px;background:#fff}
.tmm-inp input:focus{outline:none;border-color:var(--m)}
.tmm-inp.good input{border-color:var(--ok);background:#effaf3}.tmm-inp.bad input{border-color:var(--no);background:#fdf0f0}
.tmm-tiles,.tmm-choice{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:10px;width:100%}
.tmm-choice{display:flex;flex-wrap:wrap}
.tmm-tiles button,.tmm-choice button{font:700 22px Poppins,Arial,sans-serif;min-height:64px;padding:10px 16px;border:2px solid #e2dce2;border-radius:14px;background:#fff;cursor:pointer;color:#1a1a1a;transition:transform .1s,border-color .1s;box-shadow:0 3px 0 #e2dce2}
.tmm-choice button{min-width:84px;font-size:18px}
.tmm-tiles button:hover:not(:disabled),.tmm-choice button:hover:not(:disabled){border-color:var(--m);transform:translateY(-1px)}
.tmm-tiles button.sel,.tmm-choice button.sel{border-color:var(--m);background:#fdf0f6}
.tmm-tiles button.good,.tmm-choice button.good{border-color:var(--ok);background:#effaf3;box-shadow:0 3px 0 #b9e6c9}
.tmm-tiles button.bad,.tmm-choice button.bad,.tmm-tiles button:disabled.bad{border-color:var(--no);background:#fdf0f0}
.tmm-tiles button:disabled:not(.good){opacity:.45;cursor:default;text-decoration:line-through}
.tmm-choice.good,.tmm-choice.bad{border-radius:14px}
.tmm-fb{border-radius:14px;margin:4px 0 14px;font-size:15px}
.tmm-fb:empty{display:none}
.tmm-fb.info{background:#f2f2f5;padding:10px 14px}
.tmm-fb.ok{background:#effaf3;border:1px solid #bfe7cd;padding:14px 16px;animation:tmmpop .3s}
.tmm-fb.try{background:#fff7e0;border:1px solid #f2d58a;padding:14px 16px;animation:tmmshake .35s}
.tmm-fb.no{background:#fff;border:1px solid #f0c7c7;padding:16px}
.tmm-fbh{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.tmm-fbh b{font-size:19px}
.tmm-fb.ok .tmm-fbh b{color:var(--ok)}.tmm-fb.try .tmm-fbh b{color:#a8730a}.tmm-fb.no .tmm-fbh b{color:var(--no)}
.tmm-fbh .pts{font-weight:700;color:#7a5a2f;background:#f6efe2;border-radius:99px;padding:2px 10px}
.tmm-fb .why{margin:4px 0 8px}
.tmm-fb .hint{background:rgba(255,255,255,.7);border-radius:10px;padding:8px 10px;margin:0 0 6px}
.tmm-why{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 12px}
.tmm-why div{border-radius:12px;padding:10px 12px;background:#fdf0f0}
.tmm-why div+div{background:#effaf3}
.tmm-why span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#777}
.tmm-why b{font-size:20px}
.tmm-stl{margin:10px 0 4px}
.tmm-steps{margin:0 0 8px;padding-left:22px}
.tmm-steps li{margin:0 0 6px;line-height:1.55}
.tmm-fb details summary{cursor:pointer;color:var(--ok);font-weight:600;font-size:14px}
.tmm-exbtn{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.tmm-hint{margin-top:12px}
@keyframes tmmpop{from{transform:scale(.97);opacity:.4}to{transform:none;opacity:1}}
@keyframes tmmshake{20%,60%{transform:translateX(-5px)}40%,80%{transform:translateX(5px)}}
.tmm-pie{width:200px;height:200px;display:block}
.tmm-pie path{fill:#fff3d6;stroke:#c9a46a;stroke-width:2.5}
.tmm-pie path.on{fill:#e8573f}
.tmm-pie.big{width:260px;height:260px;cursor:pointer}
.tmm-pie.big path:hover{fill:#ffd9a8}.tmm-pie.big path.on:hover{fill:#d4442c}
.tmm-pie.sm{width:120px;height:120px;margin-top:6px}
.tmm-exq .tmm-pie{margin:0 auto 6px;width:180px;height:180px}
.tmm-pz{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%}
.tmm-pz .cnt{font-weight:700;color:#555}
.tmm-pz.good .tmm-pie path.on{fill:var(--ok)}
.tmm-nl{width:100%;max-width:640px;height:auto;display:block;margin:0 auto 6px}
.tmm-nl line{stroke:#333;stroke-width:2.5}
.tmm-nl text{font:600 15px Poppins,Arial,sans-serif;text-anchor:middle;fill:#333}
.tmm-nl circle{fill:var(--m)}
.tmm-nl text.lt{fill:var(--m);font-size:18px;font-weight:700}
.tmm-end{text-align:center;padding:10px 0}
.tmm-end h3{font-size:28px;margin:6px 0}
.tmm-bigstars .tmm-stars i{font-size:54px}
.tmm-xpline b{color:#7a5a2f}
.tmm-end .tmm-exbtn{justify-content:center;margin-top:12px}
.tmm-badge{display:inline-grid;grid-template-columns:auto 1fr;gap:0 8px;text-align:left;background:#fff7e0;border:1px solid #f2d58a;border-radius:12px;padding:10px 14px;margin:4px}
.tmm-badge i{grid-row:1/span 2;font-style:normal;font-size:28px}
.tmm-badge span{font-size:13px;color:#666}
.tmm-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.tmm-confetti i{position:absolute;top:-12px;width:9px;height:14px;border-radius:2px;animation:tmmfall 2.6s ease-in forwards}
@keyframes tmmfall{to{top:110%;transform:rotate(540deg)}}
@media (max-width:640px){.tmm-why{grid-template-columns:1fr}.tmm-exq{font-size:18px}.tmm-inp input{width:140px}.tmm-pie.big{width:230px;height:230px}.tmm-card{padding:16px}}

/* registracija */
.tmm-q{font-weight:700;margin:4px 0 10px}
.tmm-paths{display:grid;gap:10px}
.tmm-paths button{text-align:left;background:#fff;border:2px solid #e6e1e6;border-radius:14px;padding:14px 16px;cursor:pointer;font-family:inherit}
.tmm-paths button:hover{border-color:var(--m)}
.tmm-paths b{display:block;font-size:16px;color:#1a1a1a}.tmm-paths span{font-size:13px;color:#777}
.tmm-keys{background:#f7f3f6;border-radius:12px;padding:12px 14px;margin-top:14px;font-size:13px}
.tmm-keys b{font-size:14px}
.tmm-keys ul{margin:6px 0 0;padding-left:18px}.tmm-keys li{margin-bottom:3px}
.tmm-auth [data-f]{display:none}.tmm-auth [data-f].on{display:block}
.tmm-auth fieldset{border:1px solid #e6e1e6;border-radius:12px;padding:8px 12px 2px;margin:0 0 12px}
.tmm-auth legend{font-weight:700;font-size:13px;padding:0 6px;color:var(--m)}
.tmm-auth label em{font-style:normal;color:#888;font-weight:400;font-size:12px}
.tmm-back{background:none;border:0;color:#777;cursor:pointer;font:600 13px Poppins,Arial,sans-serif;padding:0 0 10px}
.tmm-note{background:#fff7e0;border-radius:10px;padding:10px 12px;font-size:13px}
.tmm-chk{display:flex!important;gap:8px;align-items:flex-start;font-size:13px!important;font-weight:400!important;margin:8px 0!important}
.tmm-chk input{width:auto!important;margin-top:3px!important;flex:none}
.tmm-pbody .tmm-btn{margin:6px 6px 0 0}
.tmm-authin h3{margin:0 0 10px}
.tmm-lvl{display:flex;gap:12px;align-items:center;margin:0 0 12px}
.tmm-lvb{flex:none;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#f2b705,#B58C59);color:#0b0b0d;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center}
.tmm-lvl>div{flex:1}.tmm-lvl b{display:block;font-size:15px}.tmm-lvl small{display:block;font-size:11.5px;opacity:.75;margin-bottom:4px}
.tmm-combo{font-weight:700;color:#d2541f;font-size:14px;margin-left:auto;margin-right:10px;animation:tmmpop .3s}
.tmm-lvup{background:linear-gradient(135deg,#fff3c4,#ffe08a);border-radius:12px;padding:10px 14px;margin:6px auto;display:inline-block;font-size:16px}
.tmm-nbox{background:#f7f3f6;border-radius:12px;padding:10px 12px;margin:4px 0}
.tmm-nbox>b{font-size:13px}
.tmm-nbox .tmm-chk{margin:6px 0!important}
.tmm-u18i{background:#eef5ff;border:1px solid #cfe0fb;border-radius:12px;padding:10px 12px;font-size:13px;margin:4px 0 12px}
.tmm-u18i p{margin:4px 0 0}
