/* Slovra V6 Part 6.6 — stable circular tool carousel + active flight resume */
#screen-home #v21-feature-panel.p64-tool-rail{
  display:block!important;
  width:100%!important;max-width:none!important;
  margin:9px 0 4px!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  overflow:visible!important;contain:layout style;
}
#screen-home #v21-feature-panel.p64-tool-rail .slovra-simple-more-tools,
#screen-home #v21-feature-panel.p64-tool-rail .p65-tool-nav,
#screen-home #v21-feature-panel.p64-tool-rail .v21-feature-toggle,
#screen-home #v21-feature-panel.p64-tool-rail .p17-feature-eyebrow,
#screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head small{display:none!important}
#screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  min-height:28px!important;margin:0 1px 5px!important;padding:0!important;
}
#screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head>div{display:block!important}
#screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head strong{
  display:block!important;margin:0!important;color:var(--text-primary,#fff)!important;
  font:900 16px/1 'Nunito',sans-serif!important;letter-spacing:-.025em!important;
}

/* One real horizontal rail. No arrows, no grid, no snap fighting the drag gesture. */
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid{
  display:flex!important;flex-flow:row nowrap!important;align-items:flex-start!important;
  grid-template-columns:none!important;gap:12px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;max-height:none!important;
  margin:0!important;padding:5px 2px 8px!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  scroll-snap-type:none!important;scroll-behavior:auto!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;
  overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y!important;cursor:grab!important;
  white-space:nowrap!important;
}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid.p66-dragging{cursor:grabbing!important;user-select:none!important}

/* Every tool has exactly the same geometry. */
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile,
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes.home-feature-tile{
  --rail-accent:#a77cff;
  position:relative!important;inset:auto!important;
  flex:0 0 82px!important;width:82px!important;min-width:82px!important;max-width:82px!important;
  height:112px!important;min-height:112px!important;max-height:112px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
  gap:8px!important;text-align:center!important;color:var(--text-primary,#fff)!important;
  overflow:visible!important;cursor:pointer!important;filter:none!important;transform:none!important;
  font-family:'Nunito',sans-serif!important;vertical-align:top!important;
}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile::before,
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile::after{display:none!important;content:none!important}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile:hover{background:transparent!important;box-shadow:none!important;filter:none!important}

#screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon,
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes .home-feature-icon{
  position:relative!important;inset:auto!important;
  display:grid!important;place-items:center!important;
  flex:0 0 66px!important;width:66px!important;height:66px!important;min-width:66px!important;min-height:66px!important;
  margin:0!important;padding:0!important;border-radius:50%!important;
  color:var(--rail-accent)!important;
  background:radial-gradient(circle at 34% 25%,color-mix(in srgb,var(--rail-accent) 19%,rgba(255,255,255,.09)),rgba(255,255,255,.04) 62%,rgba(255,255,255,.018))!important;
  border:1px solid color-mix(in srgb,var(--rail-accent) 32%,rgba(255,255,255,.12))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 7px 20px rgba(0,0,0,.10)!important;
  transition:transform .18s ease,border-color .18s ease!important;
}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile:hover .home-feature-icon{transform:translateY(-2px) scale(1.035)!important;border-color:color-mix(in srgb,var(--rail-accent) 50%,rgba(255,255,255,.16))!important}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon .slovra-icon{
  width:27px!important;height:27px!important;
  --icon-main:var(--rail-accent);--icon-accent:#fff;--icon-soft:color-mix(in srgb,var(--rail-accent) 18%,transparent);
}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>strong,
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes>strong{
  display:flex!important;align-items:flex-start!important;justify-content:center!important;
  width:82px!important;max-width:82px!important;height:30px!important;min-height:30px!important;max-height:30px!important;
  margin:0!important;padding:0 1px!important;
  color:inherit!important;font:900 10.5px/1.14 'Nunito',sans-serif!important;letter-spacing:-.018em!important;
  white-space:normal!important;text-align:center!important;overflow:hidden!important;text-overflow:clip!important;
}
/* Legacy metadata must never alter vertical alignment. JS also removes it. */
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>small,
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>.ai-teacher-home-badge,
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>.v14-home-badge,
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>.focusflight-home-badge,
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>[class*="badge"]{display:none!important}

#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="purple"],
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="violet"]{--rail-accent:#a77cff}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="cyan"]{--rail-accent:#45d2ff}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="pink"]{--rail-accent:#ff72ba}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="coral"]{--rail-accent:#ff785d}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="amber"]{--rail-accent:#ffbd52}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="green"]{--rail-accent:#70d76a}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile[data-tone="teal"]{--rail-accent:#4bd8c7}
#screen-home #v21-feature-panel.p64-tool-rail .focusflight-home-tile{--rail-accent:#ff7254!important}

body.light-mode #screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head strong,
body.light #screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head strong,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile,
body.light #screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile{color:#27222d!important}
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon,
body.light #screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon{
  background:radial-gradient(circle at 34% 25%,color-mix(in srgb,var(--rail-accent) 15%,#fff),#f5f3f7 72%)!important;
  border-color:color-mix(in srgb,var(--rail-accent) 27%,rgba(45,35,58,.10))!important;
  box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(61,46,75,.07)!important;
}

/* Active flight resume remains compact. */
.focusflight-home-resume{
  width:min(1120px,calc(100% - 48px));margin:12px auto 4px;padding:11px 12px 11px 14px;border-radius:18px;
  display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"icon copy action" "bar bar bar";align-items:center;gap:8px 11px;
  color:#fff;background:linear-gradient(100deg,#fa654e,#e64673 54%,#8259e8);border:1px solid rgba(255,255,255,.16);
  box-shadow:0 14px 32px rgba(197,65,86,.18);position:relative;overflow:hidden;
}
.focusflight-home-resume[hidden]{display:none!important}
.focusflight-home-resume::after{content:"";position:absolute;inset:-80% -20%;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.14),transparent 70%);transform:translateX(-55%);animation:ffHomeSweep 6s ease-in-out infinite;pointer-events:none}
.focusflight-home-resume-icon{grid-area:icon;width:38px;height:38px;border-radius:13px;background:rgba(10,10,14,.14);display:grid;place-items:center;position:relative;z-index:1}
.focusflight-home-resume-icon .slovra-icon{width:21px;height:21px;--icon-main:#fff;--icon-accent:#ffe2c6}
.focusflight-home-resume-copy{grid-area:copy;min-width:0;position:relative;z-index:1}
.focusflight-home-resume-copy strong{display:block;font:800 13px/1.1 'Nunito',sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.focusflight-home-resume-copy small{display:block;margin-top:3px;font:700 9px/1.15 'Nunito',sans-serif;color:rgba(255,255,255,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.focusflight-home-resume button{grid-area:action;position:relative;z-index:1;border:0;border-radius:999px;padding:9px 13px;background:#fff;color:#2a1c25;font:900 10px/1 'Nunito',sans-serif;cursor:pointer}
.focusflight-home-resume-bar{grid-area:bar;height:3px;border-radius:999px;background:rgba(255,255,255,.20);overflow:hidden;position:relative;z-index:1}
.focusflight-home-resume-bar i{display:block;height:100%;width:0;border-radius:inherit;background:#fff;transition:width .6s linear}
@keyframes ffHomeSweep{0%,55%{transform:translateX(-70%)}80%,100%{transform:translateX(70%)}}

@media(max-width:720px){
 #screen-home #v21-feature-panel.p64-tool-rail{margin:8px 0 3px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head{min-height:26px!important;margin-bottom:4px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .v21-feature-head strong{font-size:14px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid{gap:10px!important;padding:4px 0 7px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile,
 #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes.home-feature-tile{flex-basis:76px!important;width:76px!important;min-width:76px!important;max-width:76px!important;height:103px!important;min-height:103px!important;max-height:103px!important;gap:7px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon,
 #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes .home-feature-icon{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;flex-basis:60px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .home-feature-icon .slovra-icon{width:24px!important;height:24px!important}
 #screen-home #v21-feature-panel.p64-tool-rail .home-feature-tile>strong,
 #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes>strong{width:76px!important;max-width:76px!important;height:29px!important;min-height:29px!important;font-size:9.8px!important}
 .focusflight-home-resume{width:calc(100% - 24px);grid-template-columns:auto 1fr auto;margin-top:9px;padding:9px 9px 9px 11px;border-radius:16px;gap:7px 9px}
 .focusflight-home-resume-icon{width:34px;height:34px;border-radius:11px}.focusflight-home-resume-copy strong{font-size:11px}.focusflight-home-resume-copy small{font-size:8px}.focusflight-home-resume button{padding:8px 10px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){.focusflight-home-resume::after{animation:none!important}}


/* Slovra V6 Part 6.7 — tool rail stability / light-mode cleanup */
#screen-home.slovra-home-simple #v21-feature-panel.p64-tool-rail,
body.light-mode #screen-home.slovra-home-simple #v21-feature-panel.p64-tool-rail,
body.light #screen-home.slovra-home-simple #v21-feature-panel.p64-tool-rail,
html[data-theme="light"] #screen-home.slovra-home-simple #v21-feature-panel.p64-tool-rail{
  display:block!important;
  width:100%!important;max-width:none!important;
  margin:9px 0 4px!important;padding:0!important;
  background:none!important;background-color:transparent!important;background-image:none!important;
  border:0!important;outline:0!important;border-radius:0!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  overflow:visible!important;contain:none!important;
}
#screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid,
body.light #screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail .home-feature-grid{
  background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  overscroll-behavior-x:auto!important;overscroll-behavior-y:auto!important;
  touch-action:pan-x pan-y!important;
}
/* Never let legacy P17 presentation come back on this rail. */
#screen-home #v21-feature-panel.p64-tool-rail.p17-feature-panel{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}

/* Sınıflar: support both the normalized markup and the old raw <svg><span> markup without jumping. */
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes{
  align-self:flex-start!important;transform:none!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;
}
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > svg{
  box-sizing:border-box!important;display:block!important;flex:0 0 66px!important;
  width:66px!important;height:66px!important;min-width:66px!important;min-height:66px!important;
  margin:0!important;padding:19px!important;border-radius:50%!important;
  color:#a77cff!important;background:radial-gradient(circle at 34% 25%,rgba(167,124,255,.20),rgba(255,255,255,.04) 62%,rgba(255,255,255,.018))!important;
  border:1px solid rgba(167,124,255,.34)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 7px 20px rgba(0,0,0,.10)!important;
}
#screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > span:not(.home-feature-icon){
  display:flex!important;align-items:flex-start!important;justify-content:center!important;
  width:82px!important;max-width:82px!important;height:30px!important;min-height:30px!important;
  margin:0!important;padding:0 1px!important;color:var(--text-primary,#fff)!important;
  font:900 10.5px/1.14 'Nunito',sans-serif!important;letter-spacing:-.018em!important;
  white-space:normal!important;text-align:center!important;overflow:hidden!important;
}

/* Light mode must not inherit the old white feature-card typography. */
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card,
body.light #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card > strong,
body.light #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card > strong,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #v14-social-home-card > strong,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes,
body.light #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > strong,
body.light #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > strong,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > strong,
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > span:not(.home-feature-icon),
body.light #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > span:not(.home-feature-icon),
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > span:not(.home-feature-icon){
  color:#27222d!important;
}
body.light-mode #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > svg,
body.light #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > svg,
html[data-theme="light"] #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > svg{
  background:radial-gradient(circle at 34% 25%,rgba(167,124,255,.13),#f5f3f7 72%)!important;
  border-color:rgba(167,124,255,.30)!important;box-shadow:inset 0 1px 0 #fff,0 7px 18px rgba(61,46,75,.07)!important;
}
@media(max-width:720px){
 #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > svg{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;flex-basis:60px!important;padding:17px!important}
 #screen-home #v21-feature-panel.p64-tool-rail #slovra-simple-classes > span:not(.home-feature-icon){width:76px!important;max-width:76px!important;height:29px!important;min-height:29px!important;font-size:9.8px!important}
}
