/* ===== FastFingerType - Grammar Checker (matches Paragraph Rewriter design) ===== */
.fftg{
  --bg:#FFFFFF; --card:#FFFFFF; --line:#E6EEF7; --line2:#D2E0EE;
  --green:#12A544; --glow:#32E45A; --txt:#072E5E; --mut:#5B769C; --mut2:#8CA1BC;
  --amber:#E8823C; --red:#E0245E; --blue:#0FA8E9;
  max-width:1400px;margin:0 auto;padding:24px 20px 60px;
  background:var(--bg);color:var(--txt);
  font-family:"Roboto",system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;position:relative;
}
.fftg *{box-sizing:border-box}
.fftg button{font-family:inherit;cursor:pointer}
.fftg ::selection{background:rgba(50,228,90,.24)}
.fftg h1,.fftg h2,.fftg h3{margin:0;padding:0;letter-spacing:normal;text-transform:none;color:var(--txt)}
.fftg p{margin:0}

/* entrance */
.fftg>*{animation:fftgUp .55s cubic-bezier(.22,1,.36,1) both}
.fftg>*:nth-child(2){animation-delay:.08s}
@keyframes fftgUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ===== HEADER ===== */
.fftg-head{display:flex;align-items:center;gap:18px;margin-bottom:24px;flex-wrap:wrap;justify-content:space-between}
.fftg-head__icon{
  width:64px;height:64px;flex:none;border-radius:18px;display:grid;place-items:center;
  background:linear-gradient(150deg,#3ce866,#12a544);
  box-shadow:0 12px 26px -12px rgba(18,165,68,.75);padding:12px
}
.fftg-head__icon img{width:100%;height:100%;object-fit:contain;display:block;filter:brightness(0) invert(1)}
.fftg .fftg-head__txt h2{margin:0 0 5px;font-size:38px;line-height:1.12;font-weight:800;letter-spacing:-.6px;color:var(--txt)}
.fftg .fftg-head__txt p{margin:0;font-size:14.5px;color:var(--mut);max-width:560px;line-height:1.55}
.fftg-head__txt{flex:1 1 320px;min-width:0}

/* ===== HERO ILLUSTRATION ===== */
.fftg-hero{flex:0 1 340px;max-width:340px;min-width:0}
.fftg-hero__svg{width:100%;height:auto;overflow:visible;filter:drop-shadow(0 10px 20px rgba(7,46,94,.12))}
.fftg-hero__doc{transform-box:fill-box;transform-origin:center}
.fftg-hero__doc--a{animation:fftgFloatA 5.5s ease-in-out infinite}
.fftg-hero__doc--b{animation:fftgFloatB 6.5s ease-in-out infinite}
@keyframes fftgFloatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes fftgFloatB{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
/* squiggly error underlines pulse */
.fftg-hero__sq{animation:fftgSquig 2.8s ease-in-out infinite}
.fftg-hero__sq--2{animation-delay:.7s}
@keyframes fftgSquig{0%,100%{opacity:.35}45%{opacity:1}}
/* flowing dashed arrows */
.fftg-hero__arc{animation:fftgDash 1.5s linear infinite}
.fftg-hero__arc--b{animation-direction:reverse}
@keyframes fftgDash{to{stroke-dashoffset:-32}}
/* check badge pops, tick draws itself */
.fftg-hero__badge{transform-box:fill-box;transform-origin:center;animation:fftgBadge 4s cubic-bezier(.34,1.56,.64,1) infinite}
@keyframes fftgBadge{0%,8%{transform:scale(0)}20%,88%{transform:scale(1)}96%,100%{transform:scale(0)}}
.fftg-hero__tick{stroke-dasharray:20;stroke-dashoffset:20;animation:fftgTick 4s ease infinite}
@keyframes fftgTick{0%,18%{stroke-dashoffset:20}32%,88%{stroke-dashoffset:0}96%,100%{stroke-dashoffset:20}}
/* sparkles */
.fftg-hero__sparks path{animation:fftgTwinkle 2.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.fftg-hero__sparks path:nth-child(2){animation-delay:.5s}
.fftg-hero__sparks path:nth-child(3){animation-delay:1s}
.fftg-hero__sparks path:nth-child(4){animation-delay:1.6s}
@keyframes fftgTwinkle{0%,100%{opacity:.3;transform:scale(.75)}50%{opacity:1;transform:scale(1.15)}}

/* ===== GRID ===== */
.fftg-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,1fr);gap:24px;align-items:start;position:relative;z-index:1}
.fftg-main{display:flex;flex-direction:column;gap:24px;min-width:0}
.fftg-side{display:flex;flex-direction:column;gap:24px;position:sticky;top:20px}

/* ===== CARD ===== */
.fftg-card{
  background:var(--card);border:1px solid var(--line);border-radius:20px;
  box-shadow:0 14px 32px -24px rgba(7,46,94,.5), 0 2px 5px -2px rgba(7,46,94,.05);
  position:relative;
}
.fftg-editor{padding:18px 20px 20px}

/* ===== TOOLBAR ===== */
.fftg-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;position:relative;z-index:60}
.fftg-lang{position:relative;z-index:70}
.fftg-lang.open{z-index:90}
.fftg .fftg-lang__btn{
  display:flex;align-items:center;gap:9px;height:36px;padding:0 32px 0 12px;
  border:1px solid var(--line);border-radius:11px;background:#F7FAFD;color:var(--txt);
  font-size:13px;font-weight:600;line-height:1;transition:all .2s;position:relative
}
.fftg .fftg-lang__btn:hover{border-color:var(--line2);background:#EEF5FB}
.fftg-chev{position:absolute;right:12px;top:50%;width:7px;height:7px;
  border-right:2px solid var(--mut);border-bottom:2px solid var(--mut);
  transform:translateY(-70%) rotate(45deg);transition:transform .25s}
.fftg-lang.open .fftg-chev{transform:translateY(-25%) rotate(225deg)}
.fftg-flag{width:22px;height:15px;flex:none;border-radius:3px;overflow:hidden;display:inline-flex;
  align-items:center;justify-content:center;font-size:13px;line-height:1;
  box-shadow:0 0 0 1px rgba(7,46,94,.12);background:#F1F6FB}
.fftg-lang__menu{
  position:absolute;top:calc(100% + 7px);left:0;min-width:198px;z-index:120;
  padding:6px;background:#fff;border:1px solid var(--line);border-radius:13px;
  box-shadow:0 18px 38px -18px rgba(7,46,94,.5);
  animation:fftgDrop .22s cubic-bezier(.22,1,.36,1) both
}
.fftg-lang__menu[hidden]{display:none!important}
@keyframes fftgDrop{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.fftg-lang__menu button{
  display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;
  padding:9px 11px;border-radius:9px;font-size:13px;font-weight:600;color:var(--txt);transition:background .16s
}
.fftg-lang__menu button:hover{background:#F1FCF4;color:var(--green)}

/* ghost buttons */
.fftg-btn-ghost{
  display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;
  border:1px solid var(--line);background:#F7FAFD;color:var(--mut);
  border-radius:11px;font-size:13px;font-weight:600;line-height:1;transition:all .2s
}
.fftg-btn-ghost:hover{background:#EDF5FB;color:var(--txt);border-color:var(--line2);transform:translateY(-1px)}
.fftg-clear{margin-left:auto}
.fftg-clear:hover{color:#DC3055;border-color:rgba(220,48,85,.35);background:#FEF2F5}
.fftg-bico{width:16px;height:16px;object-fit:contain;display:inline-block;flex:none}

/* ===== EDITOR (geometry preserved - overlay must stay aligned) ===== */
.fftg-editwrap{position:relative;border:1px solid var(--line);border-radius:14px;background:#FBFDFF;
  overflow:hidden;margin:16px 0;display:block;width:100%;transition:border-color .25s,background .25s,box-shadow .25s}
.fftg-editwrap:focus-within{border-color:rgba(18,165,68,.5);background:#fff;box-shadow:0 14px 34px -24px rgba(18,165,68,.8)}
.fftg-highlight,.fftg-textarea{
  font-family:"Roboto",system-ui,sans-serif;font-size:16px;line-height:1.85;letter-spacing:normal;
  margin:0;width:100%;box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;
  overflow-wrap:break-word;tab-size:4;padding:16px 18px;border:0
}
.fftg-textarea{position:relative;z-index:2;display:block;height:250px;min-height:250px;
  resize:none;background:transparent;color:#153B69;outline:none;caret-color:#12A544;overflow:auto}
.fftg-textarea::placeholder{color:var(--mut2)}
.fftg-highlight{position:absolute;top:0;left:0;height:250px;z-index:1;color:transparent;
  pointer-events:none;overflow:hidden}
.fftg .fftg-editwrap .fftg-textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;display:block!important}
.fftg .fftg-editwrap .fftg-highlight{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
.fftg-textarea::-webkit-scrollbar{width:7px}
.fftg-textarea::-webkit-scrollbar-track{background:transparent}
.fftg-textarea::-webkit-scrollbar-thumb{background:#D6E3F0;border-radius:8px}

/* marks */
.fftg-mark{border-radius:2px;padding-bottom:1px;display:inline}
.fftg-mark--Spelling{border-bottom:2px solid var(--red);background:rgba(224,36,94,.07)}
.fftg-mark--Grammar{border-bottom:2px solid var(--amber);background:rgba(232,130,60,.07)}
.fftg-mark--Punctuation{border-bottom:2px solid var(--blue);background:rgba(15,168,233,.07)}
.fftg-mark--Style{border-bottom:2px solid #22c07a;background:rgba(34,192,122,.07)}
.fftg-mark--Other{border-bottom:2px solid var(--mut2)}

/* ===== EDITOR FOOT ===== */
.fftg-editfoot{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding-top:16px;border-top:1px solid var(--line);flex-wrap:wrap}
.fftg-meta{font-size:13.5px;color:var(--mut);font-weight:600}
.fftg-meta b{color:var(--txt);font-weight:700}
.fftg-meta [data-fftg-issues]{color:var(--amber)}
.fftg-dot{opacity:.45;margin:0 4px}
.fftg-check{
  display:inline-flex;align-items:center;gap:9px;border:none;border-radius:14px;
  padding:0 30px;height:48px;font-size:15px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,#43ee6f,#22c853 45%,#12a544);background-size:200% 200%;
  box-shadow:0 14px 30px -12px rgba(18,165,68,.85);
  transition:transform .22s cubic-bezier(.34,1.56,.64,1),box-shadow .25s;
  animation:fftgGrad 6s ease infinite;position:relative;overflow:hidden
}
@keyframes fftgGrad{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.fftg-check::after{content:"";position:absolute;top:0;left:-60%;width:35%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-18deg);animation:fftgSheen 3.6s ease-in-out infinite}
@keyframes fftgSheen{0%,72%{left:-60%}100%{left:130%}}
.fftg-check:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 20px 38px -12px rgba(18,165,68,.95)}
.fftg-check:active{transform:translateY(0) scale(.99)}
.fftg-check:disabled{opacity:.65;pointer-events:none}
.fftg-arrow{transition:transform .25s}
.fftg-check:hover .fftg-arrow{transform:translateX(4px)}
.fftg-spin{display:inline-block;animation:fftgSpin .8s linear infinite}
@keyframes fftgSpin{to{transform:rotate(360deg)}}

/* ===== ISSUES PANEL ===== */
.fftg-issues{padding:0 0 6px}
.fftg-issues[hidden]{display:none!important}

/* filter tabs - same treatment as the rewriter mode buttons */
.fftg-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 20px 14px;border-bottom:1px solid var(--line)}
.fftg-tabs::-webkit-scrollbar{height:0}
.fftg-tabs button{
  display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 15px;
  border:1px solid var(--line);background:#F7FAFD;color:var(--mut);
  border-radius:11px;font-size:13px;font-weight:600;line-height:1;
  transition:all .22s cubic-bezier(.22,1,.36,1);white-space:nowrap
}
.fftg-tabs button:hover{color:var(--txt);border-color:var(--line2);background:#EEF5FB;transform:translateY(-1px)}
.fftg-tabs button.on{
  color:#fff;background:linear-gradient(140deg,#3ce866,#12a544);border-color:transparent;
  box-shadow:0 8px 18px -8px rgba(18,165,68,.85);font-weight:700
}
.fftg-tabs button.on:hover{transform:translateY(-1px);color:#fff}
.fftg-count{
  display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;
  border-radius:7px;background:#E9F0F8;color:var(--mut);font-size:11.5px;font-weight:800;
  transition:background .22s,color .22s
}
.fftg-tabs button:hover .fftg-count{background:#DDE9F5}
.fftg-tabs button.on .fftg-count{background:rgba(255,255,255,.28);color:#fff}

/* list */
.fftg-list{padding:6px 20px 0}
.fftg-empty{padding:26px 20px 30px;text-align:center;color:var(--mut);font-size:13.5px;font-weight:600}
.fftg-empty[hidden]{display:none!important}

.fftg-item{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:15px 16px;margin:10px 0;border:1px solid var(--line);border-radius:15px;
  background:#F9FCFE;transition:all .25s cubic-bezier(.22,1,.36,1);
  animation:fftgItemIn .45s cubic-bezier(.22,1,.36,1) both
}
@keyframes fftgItemIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.fftg-item:nth-child(1){animation-delay:.02s}
.fftg-item:nth-child(2){animation-delay:.07s}
.fftg-item:nth-child(3){animation-delay:.12s}
.fftg-item:nth-child(4){animation-delay:.17s}
.fftg-item:nth-child(5){animation-delay:.22s}
.fftg-item:nth-child(6){animation-delay:.27s}
.fftg-item:hover{border-color:var(--line2);background:#fff;transform:translateY(-2px);
  box-shadow:0 14px 26px -20px rgba(7,46,94,.8)}
.fftg-item:last-child{margin-bottom:16px}
.fftg-item__cat{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;
  color:var(--mut);white-space:nowrap}
.fftg-idot{width:9px;height:9px;border-radius:50%;flex:none;position:relative}
.fftg-idot::after{content:"";position:absolute;inset:0;border-radius:50%;background:inherit;
  opacity:.5;animation:fftgPulse 2.4s ease-out infinite}
.fftg-idot--Grammar{background:var(--amber)}
.fftg-idot--Spelling{background:var(--red)}
.fftg-idot--Punctuation{background:var(--blue)}
.fftg-idot--Style{background:#22c07a}
.fftg-idot--Other{background:var(--mut2)}
.fftg-item__change{display:inline-flex;align-items:center;gap:9px;font-size:14.5px;font-weight:700;flex-wrap:wrap}
.fftg-bad{color:var(--red);text-decoration:line-through;text-decoration-thickness:1.5px;opacity:.85}
.fftg-to{color:var(--mut2);font-weight:600}
.fftg-good{color:var(--green)}
.fftg-item__msg{font-size:12.5px;color:var(--mut2);line-height:1.5;flex:1 1 180px;min-width:0}
.fftg-replace{
  margin-left:auto;height:34px;padding:0 16px;border:none;border-radius:10px;
  background:linear-gradient(140deg,#3ce866,#12a544);color:#fff;
  font-size:12.5px;font-weight:700;line-height:1;
  box-shadow:0 8px 18px -9px rgba(18,165,68,.9);transition:all .22s cubic-bezier(.34,1.56,.64,1)
}
.fftg-replace:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 12px 22px -9px rgba(18,165,68,1)}
.fftg-item.is-fixed{opacity:.5;background:#F4FBF6;border-color:rgba(18,165,68,.25)}
.fftg-item.is-fixed .fftg-replace{background:#E4EEF7;color:var(--mut2);box-shadow:none;pointer-events:none}

/* ===== SCORE ===== */
.fftg-score{padding:0 0 20px;text-align:center}
.fftg .fftg-score__title{font-size:15.5px;font-weight:800;color:var(--txt);
  padding:18px 20px 14px;border-bottom:1px solid var(--line);text-align:left;margin:0}
.fftg-ring{position:relative;width:168px;height:168px;margin:18px auto 4px}
.fftg-ring svg{width:168px;height:168px;transform:rotate(-90deg)}
.fftg-ring::before{content:"";position:absolute;inset:18px;border-radius:50%;
  background:radial-gradient(circle,#F5FAFF 0%,#fff 72%);z-index:-1}
.fftg-ring__bg{fill:none;stroke:#EDF3F9;stroke-width:10}
.fftg-ring__fg{fill:none;stroke:var(--green);stroke-width:10;stroke-linecap:round;
  stroke-dasharray:327;stroke-dashoffset:327;
  transition:stroke-dashoffset 1.3s cubic-bezier(.22,1,.36,1),stroke .5s,filter .5s}
.fftg-ring__num{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fftg-ring__num b{font-size:46px;font-weight:800;color:var(--txt);line-height:1;letter-spacing:-1px;transition:color .5s}
.fftg-ring__num b.is-idle{color:#C3D4E6}
.fftg-ring__num b.is-idle+span{color:var(--mut2)}
.fftg-ring__num span{font-size:13px;font-weight:700;color:var(--green);margin-top:5px}
.fftg-ring.fftg-pop{animation:fftgPop .75s cubic-bezier(.34,1.56,.64,1)}
@keyframes fftgPop{0%{transform:scale(.92)}55%{transform:scale(1.05)}100%{transform:scale(1)}}
.fftg-score__msg{margin:12px 20px 0;font-size:13px;line-height:1.6;color:var(--mut)}
.fftg-swap{animation:fftgFadeUp .55s ease both}
@keyframes fftgFadeUp{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}

/* ===== ISSUES FOUND ===== */
.fftg-found{padding:0 0 12px}
.fftg .fftg-found__title{font-size:15.5px;font-weight:800;color:var(--txt);
  padding:18px 20px 14px;border-bottom:1px solid var(--line);margin:0 0 6px}
.fftg-found__row{
  position:relative;display:flex;align-items:center;gap:11px;margin:0 14px;
  padding:10px 10px 10px 12px;border-radius:10px;font-size:13.5px;color:var(--mut);font-weight:600;
  transition:background .25s ease,transform .25s ease
}
.fftg-found__row::before{content:"";position:absolute;left:12px;right:10px;bottom:2px;height:2px;
  max-width:var(--p,0%);border-radius:2px;background:var(--c,#0fa8e9);opacity:.4;
  transition:max-width 1s cubic-bezier(.22,1,.36,1) .15s}
.fftg-found__row:nth-child(2){--c:var(--amber)}
.fftg-found__row:nth-child(3){--c:var(--red)}
.fftg-found__row:nth-child(4){--c:var(--blue)}
.fftg-found__row:nth-child(5){--c:#22c07a}
.fftg-found__row:hover{background:#F7FBFE;transform:translateX(3px)}
.fftg-found__row.is-zero{opacity:.55}
.fftg-found__row.is-zero::before{opacity:0}
.fftg-found__row b{margin-left:auto;color:var(--txt);font-size:14px;font-weight:800;
  min-width:28px;text-align:center;background:#F2F7FC;border-radius:8px;padding:3px 9px;transition:background .3s}
.fftg-found__row:hover b{background:#E6F0FA}
.fftg-anim .fftg-found__row{animation:fftgRowIn .5s cubic-bezier(.22,1,.36,1) both}
.fftg-anim .fftg-found__row:nth-child(2){animation-delay:.05s}
.fftg-anim .fftg-found__row:nth-child(3){animation-delay:.15s}
.fftg-anim .fftg-found__row:nth-child(4){animation-delay:.25s}
.fftg-anim .fftg-found__row:nth-child(5){animation-delay:.35s}
@keyframes fftgRowIn{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:translateX(0)}}
.fftg-bump{display:inline-block;animation:fftgBump .45s cubic-bezier(.34,1.56,.64,1)}
@keyframes fftgBump{0%{transform:scale(1)}45%{transform:scale(1.35)}100%{transform:scale(1)}}
.fftg-fdot{width:10px;height:10px;border-radius:50%;position:relative;flex:none;
  box-shadow:0 0 0 3px rgba(7,46,94,.04)}
.fftg-fdot::after{content:"";position:absolute;inset:0;border-radius:50%;background:inherit;
  opacity:.55;animation:fftgPulse 2.4s ease-out infinite}
.fftg-found__row.is-zero .fftg-fdot::after{animation:none;opacity:0}
.fftg-found__row:nth-child(3) .fftg-fdot::after{animation-delay:.4s}
.fftg-found__row:nth-child(4) .fftg-fdot::after{animation-delay:.8s}
.fftg-found__row:nth-child(5) .fftg-fdot::after{animation-delay:1.2s}
@keyframes fftgPulse{0%{transform:scale(1);opacity:.5}70%{transform:scale(2.6);opacity:0}100%{transform:scale(2.6);opacity:0}}
.fftg-fdot--g{background:var(--amber)}
.fftg-fdot--s{background:var(--red)}
.fftg-fdot--p{background:var(--blue)}
.fftg-fdot--t{background:#22c07a}

/* ===== TIP ===== */
.fftg-tip{padding:0 0 18px}
.fftg .fftg-tip__title{font-size:15.5px;font-weight:800;color:var(--txt);
  padding:18px 20px 14px;border-bottom:1px solid var(--line);margin:0}
.fftg-tip p{margin:14px 20px 0;font-size:13px;line-height:1.65;color:var(--mut)}

/* ===== RESPONSIVE ===== */
@media(max-width:1100px){
  .fftg-grid{grid-template-columns:1fr}
  .fftg-side{position:static}
}
@media(min-width:601px) and (max-width:1100px){
  .fftg{padding:22px 18px 52px}
  .fftg-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
  .fftg .fftg-head__txt h2{font-size:34px}
  .fftg-hero{flex:0 1 270px;max-width:270px}
}
@media(max-width:600px){
  .fftg{padding:16px 12px 44px}
  .fftg-head{gap:13px;align-items:flex-start}
  .fftg-head__icon{width:48px;height:48px;border-radius:14px;padding:10px;margin-top:2px}
  .fftg .fftg-head__txt h2{font-size:25px}
  .fftg-hero{display:none}
  .fftg-head__txt{flex:1 1 200px;min-width:0}
  .fftg-editor{padding:14px}
  .fftg-toolbar{gap:8px}
  .fftg-lang,.fftg .fftg-lang__btn{width:100%}
  .fftg .fftg-lang__btn{justify-content:flex-start}
  .fftg-lang__menu{left:0;right:0;min-width:0}
  .fftg-btn-ghost{flex:1 1 auto;justify-content:center;padding:0 10px;font-size:12.5px}
  .fftg-clear{margin-left:0}
  .fftg-highlight,.fftg-textarea{font-size:15px;padding:14px}
  .fftg-textarea,.fftg-highlight{height:230px;min-height:230px}
  .fftg-editfoot{flex-direction:column;align-items:stretch;gap:12px}
  .fftg-check{justify-content:center;width:100%}
  .fftg-meta{text-align:center}
  .fftg-tabs{padding:14px 14px 12px;gap:7px}
  .fftg-tabs button{padding:0 11px;font-size:12.5px;flex:1 1 auto;justify-content:center}
  .fftg-list{padding:6px 14px 0}
  .fftg-item{padding:13px 14px;gap:9px}
  .fftg-item__msg{flex-basis:100%;order:5}
  .fftg-replace{margin-left:auto}
  .fftg .fftg-score__title,.fftg .fftg-found__title,.fftg .fftg-tip__title{padding:16px 16px 12px}
  .fftg-found__row{margin:0 10px}
  .fftg-tip p{margin:14px 16px 0}
  .fftg-ring,.fftg-ring svg{width:150px;height:150px}
  .fftg-ring__num b{font-size:40px}
}
@media(prefers-reduced-motion:reduce){
  .fftg *,.fftg *::before,.fftg *::after{animation:none!important;transition-duration:.01ms!important}
}
