/* 299: simplified home. Hidden (not deleted): old hero, daily taste, 4 feature tiles. */
#tq-daily283,#tq-daily283.d283,section.tm-hero73,.tm-landing>.features,.features{display:none!important}
#tq-feat283 .f283-ch{display:none!important}
#tq-hero281{margin:10px 14px 4px;padding:12px 16px 12px;border-radius:24px}
#tq-hero281 .h281-logo{width:84px;margin-bottom:2px}
#tq-hero281 h1{font-size:clamp(22px,6.4vw,28px);margin-top:2px}
#tq-hero281 .h281-orn{margin:6px auto;width:55%}
#tq-hero281 p{margin:0 4px 2px;font-size:15px;line-height:1.45}
#tq-feat283{gap:10px;margin:10px 14px 0}
#tq-feat283 .f283{padding:14px 16px 14px;gap:8px;border-radius:22px;box-shadow:0 8px 18px rgba(11,85,96,.2)}
#tq-feat283 .f283::after{inset:5px;border-radius:17px}
#tq-feat283 .f283-i{width:44px;height:44px;border-radius:14px}
#tq-feat283 .f283-i svg{width:26px;height:26px}
#tq-feat283 .f283-t{font-size:clamp(22px,6.5vw,26px)}
#tq-feat283 .f283-s{font-size:14.5px;line-height:1.4}
#tq-feat283 .f283-c{min-height:44px}
#tq-feat283 .f283-lks{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;position:relative;z-index:1}
#tq-feat283 .f283-lks .f283-l{flex:1;min-width:84px;text-align:center;padding:9px 6px;border-radius:12px;border:1px solid rgba(241,207,106,.7);color:#fff;font-weight:700;font-size:14.5px;text-decoration:none;background:rgba(255,255,255,.12)}
/* 299: per-taam clips in the study list keep only the player; marking selector and loop buttons stay on the main player */
.study-card .tm-mark-pref,.study-card .p281,.study-card .tm-playback-speed{display:none!important}

#tq-feat283 .f283-send{display:flex;align-items:center;justify-content:center;min-height:42px;border-radius:14px;border:1.5px solid #0e7c86;color:#0b5560;font-weight:700;font-size:15px;text-decoration:none;background:rgba(255,255,255,.7)}
.tc-send299{display:flex;flex-direction:column;align-items:center;gap:4px;margin:18px 14px 8px;text-align:center;font-size:14px;color:#3b5a5e}
.tc-send299 a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:14px;border:1.5px solid #0e7c86;color:#0b5560;font-weight:700;font-size:15px;text-decoration:none;background:rgba(255,255,255,.7)}
.card[data-tq299="list"] .tm-mark-pref,.card[data-tq299="list"] .p281,.card[data-tq299="list"] .tm-playback-speed{display:none!important}
/* 299 student home: duplicates of the two top cards are hidden (kept in code) */
#tk-hero255,#tq-menu260,#tq-path268,.tm-welcome73,h2:has(+ button.tm-academy),button.lib-tile.tm-academy{display:none!important}
/* 299: group badge (e.g. 14-17) shown in full, not clipped, and clear of the title */
.chart-word{padding-top:40px!important}
.chart-word>.note:first-child{width:auto!important;min-width:24px;height:24px;padding:0 9px;border-radius:12px!important;white-space:nowrap;direction:ltr;unicode-bidi:isolate;line-height:24px!important;box-sizing:border-box}
/* 299: trope cards, polished */
.chart-word{padding:40px 12px 12px!important;border:1px solid rgba(197,155,39,.5)!important;border-radius:20px!important;box-shadow:0 6px 16px rgba(11,85,96,.10)!important;background:linear-gradient(180deg,#fffefa,#fbf4e2)!important;gap:10px!important}
.chart-word>.note:first-child{top:12px!important;inset-inline-start:12px!important;height:22px;line-height:22px!important;font-size:12px!important;font-weight:700;background:rgba(197,155,39,.18)!important;color:#7a5a0a!important;padding:0 9px}
.chart-word[data-g299="1"]>.pointed-name{display:none!important}
.chart-word .g299{display:flex;flex-direction:column;width:100%;align-items:stretch}
.chart-word .g299-r{display:flex;align-items:center;gap:9px;direction:rtl;padding:8px 0}
.chart-word .g299-r+.g299-r{border-top:1px solid rgba(197,155,39,.28)}
.chart-word .g299-s{flex:none;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#e6f4f4);border:1.5px solid rgba(14,124,134,.35);font-family:'TaameyFrankCLM','Taamey Frank CLM','Frank Ruhl Libre',serif;font-size:50px;line-height:1;color:#0b5560;padding-top:7px;box-sizing:border-box}
.chart-word .g299-t{flex:1;min-width:0;text-align:right;font-family:'Frank Ruhl Libre','Noto Serif Hebrew',serif;font-weight:800;font-size:18px;line-height:1.25;color:#0b5560;overflow-wrap:anywhere}
.chart-word button{min-height:40px!important;border-radius:999px!important;font-size:15px!important;padding:0 16px!important}
/* 299b: much larger, darker signs; sign above name, centered */
.chart-word .g299-r{flex-direction:column;gap:4px;padding:10px 0}
.chart-word .g299-s{width:92px;height:92px;font-size:100px;font-weight:700;color:#06353d;padding-top:14px;-webkit-text-stroke:1.2px #06353d;background:radial-gradient(circle at 35% 30%,#fff,#dff0f0);border-width:2px}
.chart-word .g299-t{flex:none;text-align:center;font-size:19px}
/* 299c: sign fully inside the box */
.chart-word .g299-s{width:112px;height:112px;font-size:84px;line-height:1;padding-top:18px;box-sizing:border-box;-webkit-text-stroke:.9px #06353d;overflow:hidden}
/* 299d: minimal single-line rows, no circles */
.chart-word{flex:1 1 100%!important;width:100%!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;padding:6px 12px!important;border-radius:14px!important;box-shadow:none!important;background:#fffdf6!important;border:1px solid rgba(197,155,39,.4)!important;min-height:0}
.chart-word>.note:first-child{position:static!important;flex:none;order:0;margin:0}
.chart-word .g299{flex:1;min-width:0;flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 16px;order:1}
.chart-word .g299-r{flex-direction:row;align-items:center;gap:6px;padding:0;border:0!important}
.chart-word .g299-r+.g299-r{border:0!important}
.chart-word .g299-s{width:auto;height:auto;min-width:0;border:0!important;background:none!important;border-radius:0;overflow:visible;font-size:46px;line-height:1.4;padding:6px 0 0;-webkit-text-stroke:.5px #06353d;color:#06353d}
.chart-word .g299-t{font-size:20px;text-align:right;overflow-wrap:normal}
.chart-word button{flex:none;order:2;min-height:36px!important;padding:0 12px!important;font-size:14px!important;margin:0!important}
.chart-word button{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important;align-self:center}
.chart-word .g299{flex:1 1 0!important}
.chart-word .g299{width:auto!important}
.chart-word .g299-r{flex:0 0 auto!important;width:auto!important}
/* 299e: compact: play is a small round icon, badge tucked in the corner */
.chart-word{padding:8px 10px 8px 8px!important;position:relative!important}
.chart-word>.note:first-child{position:absolute!important;top:3px!important;inset-inline-start:auto!important;inset-inline-end:auto!important;left:6px!important;height:18px;line-height:18px!important;font-size:11px!important;padding:0 7px}
.chart-word button{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important;font-size:0!important;display:flex!important;align-items:center;justify-content:center;margin-top:14px!important}
.chart-word button::before{content:"\25B6";font-size:15px;color:#fff;line-height:1}
.chart-word button svg{display:none!important}
.chart-word .g299{padding-top:2px}
.chart-word .g299-s{font-size:40px}
.chart-word .g299-t{font-size:18px}
/* 299f: base letter alef, light, no circle */
.chart-word .g299-s{color:#8fb3b8!important;-webkit-text-stroke:0!important;font-size:44px!important;min-width:44px!important;text-align:center}
/* 299g: site subtitle under the logo */
.brand{position:relative!important;overflow:visible!important;text-indent:0!important}
.brand::after{content:"לומדים לקרוא בתורה";position:absolute;right:0;left:auto;direction:rtl;text-align:right;top:100%;margin-top:-4px;text-indent:0;font-family:inherit;white-space:nowrap;font-size:11px;line-height:1.2;color:#5b8a90;font-weight:500;letter-spacing:.2px;pointer-events:none}

.chart-word .g299-s{color:#8fb3b8!important;font-size:34px!important;min-width:34px!important;opacity:.85}
.app-header .brand::after{content:"לומדים לקרוא בתורה"!important;position:absolute!important;right:2px!important;left:auto!important;top:100%!important;margin-top:-6px!important;white-space:nowrap!important;font-size:11px!important;line-height:1.2!important;color:#4f8087!important;font-weight:600!important;direction:rtl}
/* 299h: signs sit on the name word itself */
.chart-word .g299-s{display:none!important}
.chart-word .g299-t{font-family:'TaameyFrankCLM','Taamey Frank CLM','Frank Ruhl Libre',serif!important;font-size:26px!important;line-height:1.9!important;font-weight:600!important}
