@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

   :root {
      --bg: #05080c;
      --panel: rgba(12, 15, 18, 0.78);
      --panel-2: rgba(8, 11, 15, 0.82);
      --line: rgba(255, 231, 190, 0.34);
      --line-soft: rgba(255, 255, 255, 0.12);
      --gold: #f3c98b;
      --gold-soft: rgba(243, 201, 139, 0.55);
      --text: rgba(255, 255, 255, 0.86);
      --muted: rgba(255, 255, 255, 0.46);
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { min-height: 100vh; color: var(--text); background: var(--bg); font-family: Inter, Manrope, Arial, sans-serif; overflow-x: hidden; }
    .page { position: relative; min-height: 100vh; padding: 38px 64px 46px;
      background:
        radial-gradient(circle at -7% 18%, rgba(255, 245, 218, 0.98) 0 6%, rgba(255, 233, 194, 0.55) 13%, rgba(255, 221, 165, 0.14) 28%, transparent 43%),
        radial-gradient(circle at 68% 30%, rgba(255, 201, 118, 0.12), transparent 37%),
        linear-gradient(110deg, rgba(255, 241, 211, 0.28) 0%, rgba(36, 34, 33, 0.42) 21%, rgba(5, 8, 12, 0.98) 42%, #03070a 100%);
      isolation: isolate; }
    .page::before, .page::after { content: ""; position: absolute; inset: auto; pointer-events: none; z-index: -1; }
    .page::before { width: 760px; height: 760px; left: -230px; top: -120px; border-radius: 50%; border: 1px solid rgba(255, 242, 218, 0.44); box-shadow: 0 0 46px rgba(255, 238, 204, 0.62), inset 0 0 42px rgba(255, 225, 177, 0.28); transform: rotate(-18deg); }
    .page::after { width: 1100px; height: 420px; left: -100px; bottom: -160px; border-top: 1px solid rgba(255, 210, 143, 0.28); border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 -18px 42px rgba(255, 207, 143, 0.18); }
    .light-arc { position: absolute; inset: 0; pointer-events: none; z-index: -1;
      background:
        linear-gradient(112deg, transparent 0 18%, rgba(255,255,255,.74) 18.15%, rgba(255,231,190,.16) 18.7%, transparent 20.5%),
        linear-gradient(156deg, transparent 0 53%, rgba(241,196,126,.36) 53.15%, transparent 54%),
        radial-gradient(circle at 47% 26%, rgba(255, 204, 130, 0.42) 0 0.16%, transparent 0.8%);
      opacity: .92; mix-blend-mode: screen; }
    .grain { position: absolute; inset: 0; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }

    header { height: 54px; display: grid; grid-template-columns: 260px 1fr 360px; align-items: center; position: relative; z-index: 2; }
    .brand { display: flex; align-items: center; gap: 0.1px; font-family: Georgia, 'Times New Roman', serif; font-size: 32px; letter-spacing: .01em; color: rgba(255,255,255,.88); }
    .brand-word { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 8px; background: #1a1308; color: #f3c98b; font-size: 21px; font-family: Georgia, serif; border: 1.5px solid #f3c98b; box-shadow: 0 0 20px rgba(243,201,139,.2); letter-spacing: .01em; } .brand-ru { font-family: Georgia, serif; font-size: 21px; color: #f3c98b; margin-left: 4px; }
    nav { justify-self: center; display: flex; gap: 76px; font-size: 15px; letter-spacing: .2em; color: rgba(255,255,255,.62); }
    nav span { cursor: pointer; transition: color .25s; }
    nav span:hover { color: rgba(255,255,255,.92); }
    .actions { justify-self: end; display: flex; align-items: center; gap: 26px; font-size: 15px; letter-spacing: .11em; color: rgba(255,255,255,.7); }
    .actions span { cursor: pointer; transition: color .25s; }
    .actions span:hover { color: rgba(255,255,255,.92); }
    .btn { min-width: 220px; height: 50px; border-radius: 999px; border: 1px solid rgba(255, 220, 169, .46); background: rgba(255,255,255,.02); color: rgba(255,255,255,.78); letter-spacing: .12em; font-size: 15px; cursor: pointer; transition: box-shadow .3s, border-color .3s; box-shadow: 0 0 24px rgba(255, 202, 126, .22), inset 0 0 24px rgba(255, 255, 255, .035); }
    .btn:hover { border-color: rgba(255,220,169,.8); box-shadow: 0 0 34px rgba(255,202,126,.4), inset 0 0 24px rgba(255,255,255,.05); }

    .hero { margin-top: 47px; text-align: center; position: relative; z-index: 1; }
    .title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(22px, 1.9vw, 34px); letter-spacing: .08em; color: rgba(255,255,255,.77); text-shadow: 0 0 32px rgba(255, 231, 189, .25); }
    .title-line { width: 300px; height: 1px; margin: 16px auto 4px; background: linear-gradient(90deg, transparent, rgba(255,221,169,.45), transparent); position: relative; }
    .title-line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; transform: translate(-50%, -50%) rotate(45deg); background: #fff4da; box-shadow: 0 0 26px 8px rgba(255,198,120,.52); }

    .workspace { position: relative; margin: 30px auto 0; width: min(1630px, 94vw); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
    .panel { min-height: 650px; border-radius: 34px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)), var(--panel); box-shadow: 0 0 0 1px rgba(255,255,255,.035) inset, 0 34px 90px rgba(0,0,0,.46), 0 0 30px rgba(239, 186, 119, .06); padding: 38px; position: relative; backdrop-filter: blur(20px); }
    .panel.right { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)), var(--panel-2); box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 30px 86px rgba(0,0,0,.48), 0 0 44px rgba(244, 197, 126, .08); }
    .panel::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(105deg, rgba(255, 235, 205, .2), transparent 42%, rgba(255, 203, 120, .26)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; padding: 1px; pointer-events: none; }
    .label { display: flex; align-items: center; gap: 18px; margin-left: 12px; color: rgba(255,255,255,.72); font-size: 14px; letter-spacing: .48em; text-transform: uppercase; }
    .icon { width: 22px; height: 22px; display: inline-grid; place-items: center; color: var(--gold); opacity: .95; }
    .editor { margin-top: 26px; min-height: 535px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(3, 6, 9, .52); box-shadow: inset 0 0 50px rgba(0,0,0,.4); padding: 36px 38px; position: relative; font-size: 20px; letter-spacing: .015em; }
    textarea { width: 100%; height: 410px; resize: none; border: 0; outline: 0; background: transparent; color: rgba(255,255,255,.82); font: inherit; line-height: 1.55; }
    textarea::placeholder { color: rgba(255,255,255,.36); }
    .counter { position: absolute; left: 38px; bottom: 28px; font-size: 14px; color: rgba(255,255,255,.54); letter-spacing: .1em; }
    .mini-btn { position: absolute; right: 30px; bottom: 24px; width: 52px; height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: rgba(255,255,255,.72); background: rgba(255,255,255,.025); cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
    .mini-btn:hover { border-color: rgba(255,220,169,.5); color: var(--gold); background: rgba(255,210,150,.08); }
    .mini-btn.done { border-color: rgba(150,210,140,.6); color: #b8e6a8; }

    .magic-stage { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -43%); width: 280px; height: 280px; display: grid; place-items: center; pointer-events: none; z-index: 3; }
    .m-dust { position: absolute; inset: 0; pointer-events: none; }
    .m-dust s { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 5px var(--c, #f0daa9), 0 0 10px var(--c, #f0daa9); opacity: .5; animation: m-twk var(--d, 3s) ease-in-out infinite var(--dl, 0s); }
    @keyframes m-twk { 0%,100%{opacity:.15; transform:scale(.5)} 50%{opacity:1; transform:scale(1.6)} }
    .m-sparks { position: absolute; inset: 0; pointer-events: none; }
    .m-sparks b { position: absolute; color: #fff; font-size: var(--sz,14px); text-shadow: 0 0 8px var(--c, #f0daa9), 0 0 16px var(--c, #f0daa9); animation: m-spk 4s ease-in-out infinite var(--dl, 0s); opacity: .35; line-height: 1; }
    @keyframes m-spk { 0%,100%{opacity:0; transform:scale(.4) rotate(0deg)} 50%{opacity:1; transform:scale(1) rotate(180deg)} }
    .m-orb-out { position: absolute; inset: 0; pointer-events: none; animation: m-ambOut 26s linear infinite reverse; }
    .m-orb-out i { position: absolute; left: 50%; top: 50%; border-radius: 50%; margin: -3px 0 0 -3px; }
    .m-orb-out i.p { width: 5px; height: 5px; background: #FFB8D1; box-shadow: 0 0 10px #FFB8D1, 0 0 20px rgba(255,184,209,.6); }
    .m-orb-out i.g { width: 4px; height: 4px; background: #f0daa9; box-shadow: 0 0 8px #f0daa9, 0 0 16px rgba(240,218,169,.6); }
    .m-orb-out i.w { width: 3px; height: 3px; background: #fff; box-shadow: 0 0 8px #FFD9A8, 0 0 14px #FFB8D1; }
    @keyframes m-ambOut { to { transform: rotate(360deg); } }
    .m-orb-in { position: absolute; inset: 0; pointer-events: none; animation: m-ambIn 14s linear infinite; }
    .m-orb-in i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #f0daa9; box-shadow: 0 0 8px #f0daa9, 0 0 16px rgba(240,218,169,.7); margin: -2px 0 0 -2px; }
    @keyframes m-ambIn { to { transform: rotate(360deg); } }
    .convert { position: relative; pointer-events: auto; width: 105px; height: 105px; border-radius: 50%; border: 2px solid rgba(255, 222, 156, .95); background: radial-gradient(circle, rgba(255,255,255,.035), rgba(2,4,6,.96) 66%); display: grid; place-items: center; cursor: pointer; transition: box-shadow .3s, transform .15s; box-shadow: 0 0 0 9px rgba(255, 129, 39, .10), 0 0 22px rgba(255, 231, 174, .92), 0 0 56px rgba(255, 151, 48, .72), 0 0 105px rgba(255, 89, 24, .38), inset 0 0 30px rgba(255, 221, 173, .12); z-index: 5; }
    .convert::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 225, 158, .92); box-shadow: 0 0 16px rgba(255, 235, 181, .9), 0 0 36px rgba(255, 151, 48, .74), 0 0 72px rgba(255, 86, 24, .45), inset 0 0 18px rgba(255, 202, 126, .22); pointer-events: none; z-index: 1; }
    .convert::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid rgba(255, 132, 39, .34); box-shadow: 0 0 34px rgba(255, 170, 61, .38), 0 0 85px rgba(255, 78, 22, .22); pointer-events: none; z-index: 0; }
    .convert:hover { box-shadow: 0 0 0 11px rgba(255,129,39,.14), 0 0 30px rgba(255,235,181,1), 0 0 76px rgba(255,151,48,.86), 0 0 132px rgba(255,89,24,.48), inset 0 0 34px rgba(255,221,173,.16); }
    .convert:hover::before { inset: -10px; border-color: rgba(255, 235, 181, 1); box-shadow: 0 0 20px rgba(255, 240, 198, 1), 0 0 48px rgba(255, 154, 50, .9), 0 0 92px rgba(255, 82, 22, .56), inset 0 0 22px rgba(255, 202, 126, .26); }
    .convert:active { transform: scale(.95); }
    .convert:disabled { cursor: wait; }
    .m-flash { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 4; background: radial-gradient(circle, rgba(255,255,255,.98) 0%, rgba(255,224,184,.7) 25%, rgba(255,184,209,.45) 55%, rgba(214,181,130,.15) 80%, transparent 100%); filter: blur(1.5px); }
    .m-arrow { position: relative; z-index: 10; display: inline-grid; place-items: center; width: 82px; height: 46px; filter: drop-shadow(0 0 10px rgba(255, 245, 210, .95)) drop-shadow(0 0 22px rgba(243, 201, 139, .9)) drop-shadow(0 0 36px rgba(255, 180, 90, .6)); }
    .m-arrow svg { width: 82px; height: 46px; display: block; }
    .m-spinner { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--gold); border-radius: 50%; animation: m-sp .8s linear infinite; z-index: 10; display: none; }
    .convert.loading .m-arrow { display: none; }
    .convert.loading .m-spinner { display: block; }
    @keyframes m-sp { to { transform: rotate(360deg); } }
    .center-magic.active .m-orb-in { animation: m-burstIn 2.6s cubic-bezier(.5,0,.3,1); }
    .center-magic.active .m-orb-out { animation: m-burstOut 2.6s cubic-bezier(.5,0,.3,1); }
    .center-magic.active .m-dust { animation: m-dustPulse 2.6s ease; }
    .center-magic.active .m-sparks { animation: m-sparksPulse 2.6s ease; }
    .center-magic.active .m-flash { animation: m-flashBurst 2.6s cubic-bezier(.4,0,.2,1); }
    .center-magic.active .m-arrow { animation: m-arrPulse 2.6s cubic-bezier(.5,0,.3,1); }
    @keyframes m-burstIn { 0%{transform:rotate(0) scale(1)} 38%{transform:rotate(560deg) scale(1.26)} 55%{transform:rotate(560deg) scale(1.26); opacity:.7} 100%{transform:rotate(0deg) scale(1); opacity:1} }
    @keyframes m-burstOut { 0%{transform:rotate(0) scale(1)} 38%{transform:rotate(-440deg) scale(1.05)} 55%{transform:rotate(-440deg) scale(1.05); opacity:.6} 100%{transform:rotate(0deg) scale(1); opacity:1} }
    @keyframes m-dustPulse { 0%{transform:scale(1); filter:brightness(1)} 50%{transform:scale(1.18); filter:brightness(1.5)} 100%{transform:scale(1); filter:brightness(1)} }
    @keyframes m-sparksPulse { 0%{transform:scale(1); filter:brightness(1)} 50%{transform:scale(1.24); filter:brightness(1.6)} 100%{transform:scale(1); filter:brightness(1)} }
    @keyframes m-flashBurst { 0%,30%{opacity:0; transform:scale(.2)} 42%{opacity:.7; transform:scale(.8)} 50%{opacity:.8; transform:scale(1.4)} 60%{opacity:.4; transform:scale(1.8)} 75%{opacity:0; transform:scale(2)} 100%{opacity:0; transform:scale(.2)} }
    @keyframes m-arrPulse { 0%,100%{transform:scale(1);opacity:1;filter:none} 22%{transform:scale(.5);opacity:.25} 48%{transform:scale(1.7);opacity:1;filter:drop-shadow(0 0 14px #fff) drop-shadow(0 0 26px #FFB8D1) drop-shadow(0 0 40px #f0daa9)} 70%{transform:scale(1.1);filter:drop-shadow(0 0 6px #f0daa9)} }

    .features { width: min(1220px, 86vw); margin: 70px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: center; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .34em; text-transform: uppercase; }
    .feature { display: flex; justify-content: center; align-items: center; gap: 18px; white-space: nowrap; }
    .feature svg { width: 30px; height: 30px; stroke: var(--gold); opacity: .9; }
    .dot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff2d8; box-shadow: 0 0 20px 5px rgba(255, 210, 150, .6); }
    .dot.one { left: 44%; top: 7%; } .dot.two { left: 76%; top: 28%; opacity: .55; } .dot.three { right: 7%; top: 10%; }

    /* ===== SECTIONS BELOW HERO ===== */
    .section { max-width: 1280px; margin: 0 auto; padding: 120px 64px 0; position: relative; z-index: 2; }
    .section-label { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 16px; }
    .section-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(24px, 2.4vw, 38px); letter-spacing: .04em; color: rgba(255,255,255,.82); text-align: center; margin-bottom: 14px; }
    .section-sub { font-size: 17px; color: rgba(255,255,255,.46); text-align: center; max-width: 600px; margin: 0 auto 60px; line-height: 1.6; letter-spacing: .02em; }
    .divider { width: 200px; height: 1px; margin: 0 auto 60px; background: linear-gradient(90deg, transparent, rgba(255,221,169,.35), transparent); position: relative; }
    .divider::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: var(--gold); font-size: 11px; text-shadow: 0 0 16px rgba(255,198,120,.6); background: var(--bg); padding: 0 12px; }

    /* HOW IT WORKS */
    .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
    .step { text-align: center; padding: 42px 32px 38px; border-radius: 28px; border: 1px solid rgba(255,231,190,.18); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)), rgba(12,15,18,.6); position: relative; transition: border-color .3s, box-shadow .3s; }
    .step:hover { border-color: rgba(255,231,190,.4); box-shadow: 0 0 40px rgba(243,201,139,.12); }
    .step-num { font-family: Georgia, serif; font-size: 48px; color: rgba(243,201,139,.2); position: absolute; top: 18px; left: 28px; line-height: 1; }
    .step-icon { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,231,190,.3); background: radial-gradient(circle, rgba(255,255,255,.05), rgba(9,10,11,.6)); display: grid; place-items: center; margin: 0 auto 22px; }
    .step-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
    .step h3 { font-family: Georgia, serif; font-weight: 400; font-size: 20px; color: rgba(255,255,255,.82); margin-bottom: 12px; letter-spacing: .03em; }
    .step p { font-size: 15px; color: rgba(255,255,255,.46); line-height: 1.55; }
    .step-line { display: none; }

    /* WHY US */
    .reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .reason { display: flex; gap: 22px; padding: 34px 32px; border-radius: 24px; border: 1px solid rgba(255,231,190,.14); background: rgba(12,15,18,.5); transition: border-color .3s, box-shadow .3s; }
    .reason:hover { border-color: rgba(255,231,190,.35); box-shadow: 0 0 30px rgba(243,201,139,.1); }
    .reason-icon { width: 50px; height: 50px; border-radius: 14px; border: 1px solid rgba(255,231,190,.25); background: rgba(243,201,139,.06); display: grid; place-items: center; flex-shrink: 0; }
    .reason-icon svg { width: 24px; height: 24px; stroke: var(--gold); }
    .reason h3 { font-family: Georgia, serif; font-weight: 400; font-size: 19px; color: rgba(255,255,255,.82); margin-bottom: 8px; letter-spacing: .02em; }
    .reason p { font-size: 15px; color: rgba(255,255,255,.46); line-height: 1.55; }

    /* PRICING */
    .prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .price-card { padding: 42px 36px; border-radius: 28px; border: 1px solid rgba(255,231,190,.18); background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.008)), rgba(12,15,18,.6); text-align: center; position: relative; transition: border-color .3s, box-shadow .3s, transform .3s; }
    .price-card:hover { border-color: rgba(255,231,190,.4); box-shadow: 0 0 40px rgba(243,201,139,.12); transform: translateY(-4px); }
    .price-card.featured { border-color: rgba(255,231,190,.5); box-shadow: 0 0 60px rgba(243,201,139,.2); }
    .price-card.featured::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: linear-gradient(105deg, rgba(255,235,205,.25), transparent 42%, rgba(255,203,120,.3)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; -webkit-mask-composite: xor; padding: 1px; pointer-events: none; }
    .pop-tag { display: inline-block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--bg); background: var(--gold); padding: 5px 16px; border-radius: 30px; margin-bottom: 18px; font-weight: 600; }
    .price-name { font-family: Georgia, serif; font-size: 24px; color: rgba(255,255,255,.82); margin-bottom: 8px; letter-spacing: .03em; }
    .price-amount { font-family: Georgia, serif; font-size: 46px; color: var(--gold); margin-bottom: 6px; line-height: 1; }
    .price-amount span { font-size: 18px; color: rgba(255,255,255,.46); }
    .price-period { font-size: 14px; color: rgba(255,255,255,.38); margin-bottom: 28px; letter-spacing: .06em; }
    .price-list { list-style: none; text-align: left; margin-bottom: 32px; }
    .price-list li { font-size: 15px; color: rgba(255,255,255,.58); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; gap: 12px; }
    .price-list li::before { content: "✦"; color: var(--gold); font-size: 10px; }
    .price-btn { width: 100%; height: 52px; border-radius: 999px; border: 1px solid rgba(255,231,190,.35); background: rgba(255,255,255,.02); color: rgba(255,255,255,.78); font-size: 15px; letter-spacing: .1em; cursor: pointer; transition: .3s; }
    .price-btn:hover { border-color: rgba(255,231,190,.7); box-shadow: 0 0 26px rgba(255,202,126,.3); }
    .price-card.featured .price-btn { background: linear-gradient(135deg, rgba(243,201,139,.2), rgba(243,201,139,.08)); border-color: rgba(255,231,190,.5); }

    /* CTA */
    .cta { text-align: center; padding: 100px 64px 0; position: relative; z-index: 2; }
    .cta-title { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(24px, 2.6vw, 42px); color: rgba(255,255,255,.82); letter-spacing: .04em; margin-bottom: 20px; }
    .cta-sub { font-size: 17px; color: rgba(255,255,255,.46); margin-bottom: 36px; }
    .cta-btn { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 40px; border-radius: 999px; border: 1px solid rgba(255,220,169,.5); background: linear-gradient(135deg, rgba(243,201,139,.15), rgba(243,201,139,.04)); color: rgba(255,255,255,.88); font-size: 17px; letter-spacing: .1em; cursor: pointer; transition: .3s; box-shadow: 0 0 34px rgba(255,202,126,.25); }
    .cta-btn:hover { box-shadow: 0 0 54px rgba(255,202,126,.45); border-color: rgba(255,220,169,.8); transform: translateY(-2px); }

    /* FOOTER */
    footer { margin-top: 120px; border-top: 1px solid rgba(255,231,190,.12); padding: 50px 64px 42px; position: relative; z-index: 2; }
    .footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr auto; gap: 60px; align-items: start; }
    .footer-brand { display: flex; align-items: center; gap: 14px; font-family: Georgia, serif; font-size: 26px; color: rgba(255,255,255,.82); margin-bottom: 14px; }
    .footer-brand .flogo { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(241,201,143,.6); background: #17130f; }
    .footer-desc { font-size: 14px; color: rgba(255,255,255,.38); line-height: 1.6; }
    .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .footer-col h4 { font-family: Georgia, serif; font-size: 15px; font-weight: 400; color: var(--gold); margin-bottom: 18px; letter-spacing: .1em; }
    .footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.46); text-decoration: none; padding: 5px 0; transition: color .25s; letter-spacing: .03em; }
    .footer-col a:hover { color: rgba(255,255,255,.82); }
    .footer-copy { font-size: 13px; color: rgba(255,255,255,.28); letter-spacing: .06em; padding-top: 16px; }
    .footer-bottom { max-width: 1280px; margin: 32px auto 0; padding-top: 28px; border-top: 1px solid rgba(255,231,190,.08); display: flex; justify-content: space-between; align-items: center; }
    .footer-bottom p { font-size: 13px; color: rgba(255,255,255,.28); letter-spacing: .06em; }
    .footer-socials { display: flex; gap: 18px; }
    .footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; color: rgba(255,255,255,.46); text-decoration: none; transition: .25s; font-size: 14px; }
    .footer-socials a:hover { border-color: rgba(255,220,169,.4); color: var(--gold); }

    @media (max-width: 1100px) {
      .page { padding: 28px 20px 50px; }
      header { grid-template-columns: 1fr auto; gap: 20px; }
      nav { display: none; }
      .actions span { display: none; }
      .workspace { grid-template-columns: 1fr; gap: 28px; }
      .magic-stage { position: relative; left: auto; top: auto; transform: none; width: 220px; height: 220px; margin: -40px auto; }
      .panel { min-height: 520px; }
      .features { grid-template-columns: 1fr 1fr; }
      .section { padding: 80px 24px 0; }
      .steps { grid-template-columns: 1fr; }
      .reasons { grid-template-columns: 1fr; }
      .prices { grid-template-columns: 1fr; }
      footer { padding: 40px 24px 32px; }
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .footer-links { grid-template-columns: repeat(3, 1fr); }
    }

    @media (max-width: 600px) {
      body {
        overflow-x: hidden;
      }

      .page {
        min-height: auto;
        padding: 18px 14px 34px;
        overflow: hidden;
      }

      header {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .brand {
  display: flex;
  align-items: center;
  font-family: Georgia, 'Times New Roman', serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Georgia, 'Times New Roman', serif;
}

.brand-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3c98b;
  font-size: 28px;
  line-height: 1;
  margin-right: 2px;
  transform: translateY(-1px);
  text-shadow:
    0 0 10px rgba(243, 201, 139, .45),
    0 0 22px rgba(243, 201, 139, .22);
}

.brand-word {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f3c98b;
  font-size: 26px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  border: 0;
  box-shadow: none;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(243, 201, 139, .22);
}

.brand-word {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #f3c98b;
  font-size: 26px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  border: 0;
  box-shadow: none;
  letter-spacing: .01em;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(243, 201, 139, .22);
}

.brand-mark,
.brand-ru {
  display: none;
}

      .brand-ru {
        font-size: 17px;
      }

      .actions {
        display: none;
      }

      .hero {
        margin-top: 22px;
      }

      .title {
        font-size: 18px;
        letter-spacing: .04em;
      }

      .title-line {
        width: 180px;
        margin: 12px auto 0;
      }

      .workspace {
        width: 100%;
        margin: 18px auto 0;
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .panel {
        width: 100%;
        min-height: auto;
        border-radius: 22px;
        padding: 18px 14px 16px;
      }

      .label {
        justify-content: center;
        margin-left: 0;
        gap: 10px;
        font-size: 11px;
        letter-spacing: .32em;
      }

      .editor {
        margin-top: 16px;
        min-height: 260px;
        padding: 20px 16px 54px;
        font-size: 14px;
      }

      textarea {
        height: 190px;
        line-height: 1.45;
      }

      .counter {
        left: 16px;
        bottom: 18px;
        font-size: 11px;
      }

      .mini-btn {
        right: 14px;
        bottom: 12px;
        width: 38px;
        height: 34px;
      }

      .magic-stage {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 190px;
        height: 150px;
        margin: -8px auto;
        pointer-events: auto;
        z-index: 30;
      }

      .magic-stage > *:not(.convert) {
        pointer-events: none;
      }

      .convert {
        width: 82px;
        height: 82px;
        pointer-events: auto;
        touch-action: manipulation;
      }

      .convert::before {
        inset: -5px;
      }

      .convert::after {
        inset: -11px;
      }

      .m-arrow {
        width: 58px;
        height: 32px;
      }

      .m-arrow svg {
        width: 58px;
        height: 32px;
      }

      .m-flash {
        filter: blur(1px);
      }

      .features {
        width: 100%;
        margin: 26px auto 0;
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: 10px;
        letter-spacing: .22em;
      }

      .feature {
        justify-content: center;
        gap: 10px;
      }

      .feature svg {
        width: 20px;
        height: 20px;
      }

      .section {
        padding: 70px 16px 0;
      }

      .cta {
        padding: 70px 16px 0;
      }

      footer {
        padding: 34px 16px 28px;
      }

      .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }


    /* ===== NEW PROFESSIONAL FIRST SCREEN ===== */
    .app-page {
      min-height: 100vh;
      padding: 22px 36px 34px;
      background:
        radial-gradient(circle at 50% 42%, rgba(243, 201, 139, .16), transparent 28%),
        radial-gradient(circle at -8% 16%, rgba(255, 248, 232, .95) 0 7%, rgba(255, 235, 200, .36) 17%, transparent 38%),
        linear-gradient(180deg, #fbfaf7 0%, #f6f1e8 100%);
      color: rgba(25, 22, 19, .88);
      overflow: hidden;
    }

    .app-page .grain { opacity: .035; mix-blend-mode: multiply; }
    .app-page .light-arc { opacity: .26; mix-blend-mode: multiply; }

    .app-header {
      height: 56px;
      max-width: 1600px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 260px 1fr 54px;
      align-items: center;
      gap: 22px;
      position: relative;
      z-index: 5;
    }

    .app-header .brand {
      display: flex;
      align-items: center;
      min-width: 0;
    }

    .app-header .brand-word {
  background: transparent;
  color: #f3c98b;
  border: 0;
  box-shadow: none;
}

    .app-header .brand-ru { color: #8a5b22; }

    .tool-tabs {
      display: flex;
      align-items: center;
      gap: 8px;
      height: 48px;
      padding: 5px;
      border-radius: 18px;
      background: rgba(255,255,255,.68);
      border: 1px solid rgba(40, 31, 20, .055);
      box-shadow: 0 18px 48px rgba(86, 68, 40, .08);
      overflow: hidden;
    }

    .tool-tab {
      height: 38px;
      padding: 0 19px;
      border-radius: 13px;
      border: 0;
      background: transparent;
      color: rgba(45, 42, 38, .58);
      font-size: 14px;
      letter-spacing: .025em;
      cursor: pointer;
      white-space: nowrap;
      transition: .25s;
    }

    .tool-tab.active {
      color: #8a5b22;
      background: rgba(255,255,255,.78);
      box-shadow:
        0 10px 28px rgba(117, 86, 46, .09),
        inset 0 -1px 0 rgba(218,164,84,.34);
    }

    .theme-icon {
      justify-self: end;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid rgba(154,100,34,.22);
      background: rgba(255,255,255,.76);
      color: #9a6422;
      display: grid;
      place-items: center;
      position: relative;
      cursor: pointer;
      box-shadow: 0 10px 26px rgba(117,86,46,.09);
    }

    .theme-icon span {
      position: absolute;
      font-size: 18px;
      line-height: 1;
      transition: .25s;
    }

    .theme-icon-moon { opacity: 0; transform: scale(.6); }
    .theme-icon-sun { opacity: 1; transform: scale(1); }

    body.dark-app .theme-icon-moon { opacity: 1; transform: scale(1); }
    body.dark-app .theme-icon-sun { opacity: 0; transform: scale(.6); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 13px;
  background: var(--gold);
  color: #1a1308;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .015em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px rgba(243,201,139,.18);
}

.btn-pricing:hover {
  background: #f9d9a3;
  transform: translateY(-1px);
}

.more-menu {
  position: relative;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 13px;
  background: transparent;
  border: 1px solid rgba(154,100,34,.22);
  color: rgba(45, 42, 38, .65);
  font-size: 14px;
  letter-spacing: .015em;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s ease;
}

.btn-more:hover {
  border-color: var(--gold-soft);
  color: #8a5b22;
  background: rgba(255,210,150,.06);
}

.more-menu.open .btn-more {
  border-color: var(--gold);
  color: #8a5b22;
  background: rgba(255,210,150,.1);
}

.more-caret {
  font-size: 9px;
  transition: transform .2s ease;
  opacity: .7;
}

.more-menu.open .more-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.more-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  padding: 6px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(40, 31, 20, .08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(86, 68, 40, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 100;
}

.more-menu.open .more-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.more-dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  color: rgba(45, 42, 38, .72);
  font-size: 14px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.more-dropdown a:hover {
  background: rgba(243,201,139,.18);
  color: #8a5b22;
}

.more-divider {
  height: 1px;
  background: rgba(40, 31, 20, .08);
  margin: 6px 8px;
}



    .product-hero {
      max-width: 1600px;
      margin: 38px auto 0;
      position: relative;
      z-index: 2;
    }

    .hero-copy {
      position: relative;
      text-align: center;
      margin-bottom: 26px;
    }

    .hero-copy .title {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(29px, 2.3vw, 42px);
      letter-spacing: .025em;
      color: rgba(24, 21, 18, .86);
      text-shadow: 0 0 32px rgba(218, 164, 84, .14);
    }

    .hero-sub {
      margin-top: 8px;
      font-size: 16px;
      color: rgba(28, 25, 22, .52);
      letter-spacing: .035em;
    }

    .hero-spark {
      position: absolute;
      left: calc(50% - 345px);
      top: 18px;
      color: #d59a3a;
      text-shadow: 0 0 16px rgba(213,154,58,.42);
      font-size: 16px;
    }

    .hero-spark.second {
      left: auto;
      right: calc(50% - 350px);
      top: 22px;
    }

    .new-workspace {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
      gap: 0;
      align-items: stretch;
      position: relative;
    }

    .new-workspace::before {
      content: "";
      position: absolute;
      left: 50%;
      top: -20px;
      bottom: -18px;
      width: 1px;
      background: linear-gradient(180deg, transparent, rgba(218,164,84,.36), rgba(218,164,84,.13), transparent);
      box-shadow: 0 0 50px rgba(218,164,84,.28);
      pointer-events: none;
    }

    .work-card {
      min-height: 560px;
      border-radius: 22px;
      border: 1px solid rgba(44, 35, 24, .12);
      background: rgba(255,255,255,.62);
      box-shadow:
        0 24px 70px rgba(117, 86, 46, .09),
        inset 0 0 0 1px rgba(255,255,255,.55);
      padding: 20px;
      backdrop-filter: blur(18px);
    }

    .source-card {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  padding-right: 18px;
}

.result-card {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  padding-left: 18px;
}

    .card-head {
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 14px;
    }

    .card-head .card-label {
      font-size: 16px;
      font-weight: 650;
      color: rgba(25, 22, 19, .86);
      letter-spacing: .02em;
    }

    .counter-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .counter-bar {
      width: 80px;
      height: 3px;
      border-radius: 99px;
      background: rgba(255,255,255,.06);
      overflow: hidden;
    }
    .counter-fill {
      width: 0%;
      height: 100%;
      border-radius: 99px;
      background: linear-gradient(90deg, #b77a28, #f3c98b);
      box-shadow: 0 0 8px rgba(218,164,84,.4);
      transition: width .3s ease;
    }
    .counter {
      position: static;
      font-size: 12px;
      color: #d4a040;
      font-family: Georgia, serif;
      letter-spacing: .03em;
    }
    .counter span {
      color: rgba(255,255,255,.25);
    }

    .result-title-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .small-badge {
      min-width: 54px;
      height: 25px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      color: #b77a28;
      background: rgba(243,201,139,.12);
      border: 1px solid rgba(183,122,40,.12);
    }

    .text-box {
      height: 445px;
      border-radius: 14px;
      border: 1px solid rgba(44, 35, 24, .10);
      background: rgba(255,255,255,.46);
      box-shadow: inset 0 0 35px rgba(117,86,46,.04);
      position: relative;
      padding: 18px;
    }

    .text-box textarea {
      height: 100%;
      color: rgba(25,22,19,.78);
      font-size: 16px;
      line-height: 1.52;
      letter-spacing: .01em;
    }

    .text-box textarea::placeholder {
      color: rgba(25,22,19,.36);
    }

    .corner-tool {
      position: absolute;
      right: 14px;
      bottom: 12px;
      width: 30px;
      height: 30px;
      border-radius: 9px;
      border: 0;
      background: transparent;
      color: rgba(25,22,19,.46);
      cursor: pointer;
    }

    .quick-actions {
      display: flex;
      gap: 10px;
      margin-top: 14px;
      flex-wrap: wrap;
    }

    .soft-action {
      min-height: 38px;
      padding: 0 16px;
      border-radius: 10px;
      border: 1px solid rgba(44,35,24,.09);
      background: rgba(255,255,255,.56);
      color: rgba(25,22,19,.72);
      font-size: 14px;
      cursor: pointer;
      transition: .2s;
      white-space: nowrap;
    }

    .soft-action:hover {
      border-color: rgba(183,122,40,.22);
      color: #8a5b22;
      background: rgba(255,255,255,.78);
    }

    .copy-head {
      min-height: 36px;
      padding-inline: 18px;
    }

    .result-footer {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 9px;
      margin-top: 12px;
      color: rgba(25,22,19,.46);
      font-size: 13px;
    }

    .icon-btn {
      width: 34px;
      height: 32px;
      border-radius: 9px;
      border: 1px solid rgba(44,35,24,.08);
      background: rgba(255,255,255,.48);
      color: rgba(25,22,19,.58);
      cursor: pointer;
    }

    .center-magic {
      position: relative;
      min-height: 560px;
      display: grid;
      place-items: center;
      pointer-events: none;
      z-index: 4;
      overflow: visible;
    }

    .center-magic .m-dust,
    .center-magic .m-sparks,
    .center-magic .m-orb-in,
    .center-magic .m-orb-out {
      position: absolute;
      inset: 70px -24px 126px;
      pointer-events: none;
    }

    .pill-convert {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      pointer-events: auto;
      width: 150px;
      height: 72px;
      border-radius: 999px;
      border: 1px solid rgba(255, 222, 156, .70);
      background:
        radial-gradient(circle at 34% 26%, rgba(255,255,255,.08), transparent 40%),
        linear-gradient(135deg, #3a2d1e 0%, #15120e 55%, #2a2017 100%);
      box-shadow:
        0 0 0 7px rgba(218,164,84,.06),
        0 0 22px rgba(218,164,84,.34),
        0 18px 44px rgba(86,55,20,.24),
        inset 0 0 28px rgba(255,221,173,.10);
      color: rgba(255,246,225,.96);
      z-index: 6;
      cursor: pointer;
      display: grid;
      place-items: center;
      transition: .22s;
    }

    .pill-convert::before {
  content: "";
  position: absolute;
 inset: -8px;
  border-radius: 999px;
  border: 1px solid rgba(218,164,84,.24);
  box-shadow:
    0 0 24px rgba(218,164,84,.25),
    0 0 70px rgba(218,164,84,.13);
  pointer-events: none;
}

.pill-convert::after {
  display: none;
}

    .pill-convert:hover {
      transform: translate(-50%, calc(-50% - 1px));
      box-shadow:
        0 0 0 7px rgba(218,164,84,.08),
        0 0 28px rgba(218,164,84,.42),
        0 20px 52px rgba(86,55,20,.28),
        inset 0 0 30px rgba(255,221,173,.13);
    }

    .pill-text {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: 16px;
      line-height: 1.3;
      letter-spacing: .025em;
      text-align: center;
      position: relative;
      z-index: 8;
    }

    .magic-note {
      position: absolute;
      left: 50%;
      top: calc(50% + 48px);
      width: 128px;
      transform: translateX(-50%);
      color: rgba(25,22,19,.50);
      font-size: 12px;
      line-height: 1.35;
      text-align: center;
    }

    .settings-strip {
      margin-top: 28px;
      border-radius: 22px;
      border: 1px solid rgba(44,35,24,.10);
      background: rgba(255,255,255,.60);
      box-shadow: 0 20px 60px rgba(117,86,46,.08);
      padding: 20px 22px;
      display: grid;
      grid-template-columns: 1.25fr .9fr .9fr .8fr 1fr 1.05fr;
      gap: 26px;
      align-items: center;
    }

    .setting-label {
      color: rgba(25,22,19,.76);
      font-size: 14px;
      font-weight: 620;
      margin-bottom: 12px;
      white-space: nowrap;
    }

    .setting-label span {
      color: rgba(25,22,19,.34);
      font-size: 12px;
    }

    .range-line {
      height: 18px;
      position: relative;
      display: flex;
      align-items: center;
    }

    .range-line::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, #b77a28 0 45%, rgba(183,122,40,.24) 45% 100%);
    }

    .range-line i {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #d5a866;
      position: relative;
      z-index: 2;
      margin-right: 35px;
    }

    .range-line b {
      position: absolute;
      left: 42%;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: #a86d23;
      box-shadow: 0 0 18px rgba(168,109,35,.32);
      z-index: 3;
    }

    .range-line.short::before {
      background: linear-gradient(90deg, #b77a28 0 48%, rgba(183,122,40,.20) 48% 100%);
    }

    .range-labels {
      display: flex;
      justify-content: space-between;
      font-size: 12px;
      color: rgba(25,22,19,.44);
      margin-top: 4px;
    }

    .range-labels strong {
      color: #a86d23;
      font-weight: 600;
    }

    .range-labels.single {
      justify-content: center;
    }

    .select-like {
      width: 100%;
      height: 42px;
      border-radius: 10px;
      border: 1px solid rgba(44,35,24,.10);
      background: rgba(255,255,255,.55);
      color: rgba(25,22,19,.68);
      text-align: left;
      padding: 0 14px;
      cursor: pointer;
    }

    .switch-block {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      column-gap: 10px;
    }

    .switch-block .setting-label {
      grid-column: 1 / -1;
    }

    .switch-block em {
      font-style: normal;
      color: rgba(25,22,19,.58);
      font-size: 13px;
    }

    .mini-switch input { display: none; }

    .mini-switch span {
      width: 43px;
      height: 24px;
      display: block;
      border-radius: 999px;
      background: rgba(25,22,19,.13);
      position: relative;
      cursor: pointer;
    }

    .mini-switch span::after {
      content: "";
      position: absolute;
      left: 3px;
      top: 3px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,.12);
      transition: .2s;
    }

    .mini-switch input:checked + span {
      background: #b77a28;
    }

    .mini-switch input:checked + span::after {
      left: 22px;
    }

    .privacy-card {
      min-height: 64px;
      border-radius: 14px;
      background: rgba(243,201,139,.12);
      padding: 14px 16px;
      color: rgba(25,22,19,.62);
      font-size: 13px;
      line-height: 1.35;
    }

    .privacy-card strong {
      display: block;
      color: rgba(25,22,19,.74);
      margin-bottom: 4px;
    }

    .trust-line {
      margin-top: 18px;
      text-align: center;
      color: rgba(25,22,19,.42);
      font-size: 13px;
      letter-spacing: .03em;
    }

    .trust-line span {
      margin: 0 15px;
      color: rgba(183,122,40,.42);
    }

    .app-page .features,
    .app-page .dot,
    .app-page .title-line {
      display: none;
    }

    /* dark mode for new first screen */
    body.dark-app .app-page {
      background:
        radial-gradient(circle at 50% 42%, rgba(243, 201, 139, .10), transparent 30%),
        radial-gradient(circle at -7% 18%, rgba(255, 245, 218, 0.55) 0 4%, rgba(255, 221, 165, 0.11) 20%, transparent 42%),
        linear-gradient(110deg, rgba(36, 34, 33, 0.42) 0%, rgba(5, 8, 12, 0.98) 38%, #03070a 100%);
      color: rgba(255,255,255,.86);
    }

   body.dark-app .app-header .brand-word {
  background: transparent;
  color: #f3c98b;
  border: 0;
  box-shadow: none;
}

    body.dark-app .app-header .brand-ru { color: #f3c98b; }

    body.dark-app .tool-tabs,
    body.dark-app .work-card,
    body.dark-app .settings-strip {
      background: rgba(12, 15, 18, .72);
      border-color: rgba(255,231,190,.16);
      box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.03);
    }

    body.dark-app .tool-tab { color: rgba(255,255,255,.52); }
    body.dark-app .tool-tab.active { color: #f3c98b; background: rgba(243,201,139,.08); }

    body.dark-app .hero-copy .title,
    body.dark-app .card-head .card-label,
    body.dark-app .setting-label,
    body.dark-app .privacy-card strong {
      color: rgba(255,255,255,.84);
    }

    body.dark-app .hero-sub,
    body.dark-app .counter,
    body.dark-app .magic-note,
    body.dark-app .result-footer,
    body.dark-app .trust-line,
    body.dark-app .setting-label span {
      color: rgba(255,255,255,.46);
    }

    body.dark-app .text-box,
    body.dark-app .select-like,
    body.dark-app .soft-action,
    body.dark-app .icon-btn {
      background: rgba(3, 6, 9, .42);
      border-color: rgba(255,255,255,.10);
      color: rgba(255,255,255,.72);
    }

    body.dark-app .text-box textarea {
      color: rgba(255,255,255,.82);
    }

    body.dark-app .text-box textarea::placeholder {
      color: rgba(255,255,255,.36);
    }

    body.dark-app .privacy-card {
      background: rgba(243,201,139,.08);
      color: rgba(255,255,255,.52);
    }

    @media (max-width: 1100px) {
      .app-header {
        grid-template-columns: 1fr auto;
        gap: 12px;
      }

      .tool-tabs-wrap {
  grid-column: 1 / -1;
  width: 100%;
}

.tool-tabs {
  width: 100%;
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

.tool-tabs::-webkit-scrollbar {
  display: none;
}

      .new-workspace {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .new-workspace::before {
        display: none;
      }

      .source-card,
      .result-card {
        border-radius: 22px;
      }

      .center-magic {
        min-height: 156px;
      }

      .magic-note {
        top: calc(50% + 52px);
      }

      .settings-strip {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 600px) {
      .app-page {
        padding: 15px 12px 28px;
      }

      .app-header {
        display: grid;
        grid-template-columns: 1fr auto;
      }

      .app-header .brand-word {
        font-size: 17px;
        padding: 4px 9px;
      }

      .app-header .brand-ru {
        font-size: 17px;
      }

      .tool-tabs {
        height: auto;
        padding: 4px;
        border-radius: 14px;
      }

      .tool-tab {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
      }

      .product-hero {
        margin-top: 22px;
      }

      .hero-copy {
        margin-bottom: 18px;
      }

      .hero-copy .title {
        font-size: 24px;
        line-height: 1.18;
      }

      .hero-sub {
        font-size: 13px;
        line-height: 1.4;
      }

      .hero-spark {
        display: none;
      }

      .work-card {
        min-height: auto;
        padding: 15px;
        border-radius: 18px;
      }

      .text-box {
        height: 250px;
        padding: 15px;
      }

      .text-box textarea {
        font-size: 14px;
      }

      .quick-actions {
        gap: 8px;
      }

      .soft-action {
        min-height: 34px;
        padding: 0 11px;
        font-size: 12px;
      }

      .center-magic {
        min-height: 138px;
      }

      .pill-convert {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 150px;
        height: 70px;
      }

      .pill-text {
        font-size: 15px;
      }

      .pill-convert:hover {
        transform: translateY(-1px);
      }

      .magic-note {
        display: none;
      }

      .settings-strip {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
        border-radius: 18px;
      }

      .trust-line {
        font-size: 12px;
        line-height: 1.8;
      }

      .trust-line span {
        margin: 0 8px;
      }
    }

  
    /* ===== CENTER / CLEAN MENU FIX ===== */
    .app-page {
      padding-left: 22px;
      padding-right: 22px;
    }

    .app-header {
      max-width: 1560px;
      grid-template-columns: 300px 1fr 300px;
      justify-items: center;
    }

    .app-header .brand {
      justify-self: start;
      gap: 8px;
    }

    .brand-mark {
      width: 28px;
      height: 28px;
      display: inline-grid;
      place-items: center;
      color: #a86d23;
      flex: 0 0 auto;
    }

    .brand-mark svg {
      width: 28px;
      height: 28px;
      display: block;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.45;
      stroke-linejoin: round;
      stroke-linecap: round;
      filter: drop-shadow(0 0 10px rgba(168,109,35,.18));
    }

    .tool-tabs {
      justify-self: center;
      margin-inline: auto;
      gap: 4px;
    }

    .tool-tab {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 0 18px;
    }

    .tool-tab svg {
      width: 16px;
      height: 16px;
      display: block;
      fill: none;
      stroke: currentColor;
      stroke-width: 1.75;
      stroke-linecap: round;
      stroke-linejoin: round;
      opacity: .8;
    }

    .theme-icon {
      justify-self: end;
    }

    .product-hero {
      max-width: 1560px;
      margin-left: auto;
      margin-right: auto;
    }

    .new-workspace {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .settings-strip {
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      grid-template-columns: minmax(220px, 1.1fr) minmax(185px, .75fr) minmax(185px, .75fr) minmax(170px, .7fr) minmax(190px, .85fr) minmax(220px, .9fr);
      justify-content: center;
      justify-items: stretch;
      gap: 24px;
    }

    .setting-block,
    .privacy-card {
      align-self: center;
    }

    body.dark-app .brand-mark {
      color: #f3c98b;
    }

    @media (max-width: 1100px) {
      .app-header {
        grid-template-columns: 1fr auto;
        justify-items: stretch;
      }

      .app-header .brand {
        justify-self: start;
      }

      .tool-tabs {
        justify-self: center;
        justify-content: center;
      }

      .settings-strip {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 600px) {
      .app-page {
        padding-left: 12px;
        padding-right: 12px;
      }

      .brand-mark {
        width: 24px;
        height: 24px;
      }

      .brand-mark svg {
        width: 24px;
        height: 24px;
      }

      .tool-tabs {
        justify-content: flex-start;
      }

      .settings-strip {
        grid-template-columns: 1fr;
      }
    }

.fly-letter {
  position: fixed;
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  pointer-events: none;
  z-index: 100;
  transition: none;
  will-change: transform, opacity;
}
.fly-letter.to-btn {
  color: rgba(255,255,255,.85);
  text-shadow: 0 0 8px rgba(218,164,84,.6), 0 0 20px rgba(218,164,84,.3);
}
.fly-letter.to-result {
  color: rgba(243,201,139,.9);
  text-shadow: 0 0 12px rgba(218,164,84,.8), 0 0 28px rgba(255,180,60,.4);
}

.brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: Georgia, 'Times New Roman', serif;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 0 8px rgba(243, 201, 139, .35))
    drop-shadow(0 0 18px rgba(243, 201, 139, .18));
}

.brand-word {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f3c98b !important;
  font-size: 26px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  text-shadow: 0 0 18px rgba(243, 201, 139, .22);
}

.brand-mark,
.brand-ru,
.brand-star {
  display: none !important;
}

@media (max-width: 600px) {
  .brand-logo {
    width: 26px;
    height: 26px;
  }

  .brand-word {
    font-size: 20px !important;
  }
}

/* ===== SMALL LOGO FINAL ===== */
.app-header .brand {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.app-header .brand-logo,
.app-header .brand-star {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  opacity: .9 !important;
  filter: drop-shadow(0 0 7px rgba(243, 201, 139, .22)) !important;
}

.app-header .brand-word {
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: .01em !important;
  color: rgba(243, 201, 139, .9) !important;
  text-shadow: 0 0 10px rgba(243, 201, 139, .12) !important;
}

/* ===== MOVING TOP MENU ===== */
.tool-tabs {
  position: relative !important;
  overflow: hidden !important;
}

.tool-tabs::before {
  content: "";
  position: absolute;
  left: var(--tab-x, 5px);
  top: 5px;
  width: var(--tab-w, 210px);
  height: calc(100% - 10px);
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 38%),
    linear-gradient(135deg, rgba(58,45,30,.82), rgba(21,18,14,.92));
  border: 1px solid rgba(243, 201, 139, .22);
  box-shadow:
    0 0 20px rgba(243, 201, 139, .12),
    inset 0 0 20px rgba(243, 201, 139, .05);
  transition:
    left .38s cubic-bezier(.22, 1, .36, 1),
    width .38s cubic-bezier(.22, 1, .36, 1);
  z-index: 0;
}

.tool-tab {
  position: relative !important;
  z-index: 2 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.tool-tab.active {
  background: transparent !important;
  box-shadow: none !important;
  color: #f3c98b !important;
}

.tool-tab:not(.active) {
  color: rgba(255,255,255,.52) !important;
}

/* ===== SETTINGS PANEL FINAL FIX ===== */

.settings-strip {
  max-width: 980px !important;
  margin: 28px auto 0 !important;
  display: grid !important;
  grid-template-columns: 300px 230px 260px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 34px !important;
  padding: 22px 28px !important;
}

.setting-block {
  min-width: 0;
}

.setting-label {
  color: rgba(255,255,255,.82) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

.setting-label span {
  color: rgba(243,201,139,.65) !important;
}

.range-line {
  height: 22px !important;
  position: relative !important;
  cursor: pointer !important;
}

.range-line::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 50% !important;
  height: 4px !important;
  transform: translateY(-50%) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.13) !important;
}

.range-line::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: var(--range-fill, 50%) !important;
  height: 4px !important;
  transform: translateY(-50%) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #f3c98b, #b77a28) !important;
  box-shadow: 0 0 12px rgba(243,201,139,.35) !important;
}

.range-line i {
  position: relative !important;
  z-index: 2 !important;
  width: 2px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(243, 201, 139, .55) !important;
  margin-right: calc((100% - 6px) / 2) !important;
  top: 0 !important;
  display: inline-block !important;
  box-shadow: none !important;
}
.range-line i:last-of-type {
  margin-right: 0 !important;
}

.range-line b {
  position: absolute !important;
  left: var(--range-fill, 50%) !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 50% !important;
  background: #c9872c !important;
  box-shadow:
    0 0 0 5px rgba(243,201,139,.12),
    0 0 18px rgba(243,201,139,.45) !important;
  z-index: 3 !important;
}

.range-labels span,
.range-labels strong {
  color: rgba(255,255,255,.45) !important;
}

.range-labels .active,
.range-labels strong.active {
  color: #f3c98b !important;
}

.select-like {
  position: relative !important;
  height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(243,201,139,.22) !important;
  background: rgba(3,6,9,.58) !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

.tone-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  border-radius: 12px;
  border: 1px solid rgba(243,201,139,.22);
  background: rgba(8,11,15,.98);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  overflow: hidden;
}

.setting-block.compact {
  position: relative;
}

.setting-block.compact.open .tone-menu {
  display: block;
}

.tone-option {
  width: 100%;
  height: 40px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  text-align: left;
  padding: 0 14px;
  cursor: pointer;
}

.tone-option:hover,
.tone-option.active {
  color: #f3c98b;
  background: rgba(243,201,139,.08);
}

.switch-block {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  column-gap: 12px !important;
  row-gap: 10px !important;
  align-items: center !important;
}

.switch-block .setting-label {
  grid-column: 1 / -1 !important;
}

.switch-block em {
  color: rgba(255,255,255,.72) !important;
  font-size: 14px !important;
}

.mini-switch span {
  width: 48px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.14) !important;
  border: 1px solid rgba(243,201,139,.28) !important;
  box-shadow: inset 0 0 12px rgba(0,0,0,.35) !important;
}

.mini-switch span::after {
  width: 20px !important;
  height: 20px !important;
  left: 3px !important;
  top: 3px !important;
  background: #fff !important;
  box-shadow: 0 0 10px rgba(255,255,255,.35) !important;
}

.mini-switch input:checked + span {
  background: rgba(183,122,40,.75) !important;
  border-color: rgba(243,201,139,.55) !important;
}

.mini-switch input:checked + span::after {
  left: 23px !important;
  background: #f3c98b !important;
}

@media (max-width: 900px) {
  .settings-strip {
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
  }
}


/* ===== COMPACT SETTINGS PANEL ===== */

.settings-strip {
  max-width: 760px !important;
  margin: 22px auto 0 !important;
  padding: 14px 20px !important;
  border-radius: 18px !important;
  grid-template-columns: 260px 210px 210px !important;
  gap: 22px !important;
}

.setting-label {
  font-size: 13px !important;
  margin-bottom: 8px !important;
}

.range-line {
  height: 18px !important;
}

.range-line b {
  width: 16px !important;
  height: 16px !important;
}

.range-labels {
  font-size: 11px !important;
  margin-top: 2px !important;
}

.select-like {
  height: 38px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 0 12px !important;
}

.switch-block {
  column-gap: 10px !important;
  row-gap: 7px !important;
}

.switch-block em {
  font-size: 13px !important;
  color: rgba(255,255,255,.72) !important;
}

.mini-switch span {
  width: 42px !important;
  height: 24px !important;
}

.mini-switch span::after {
  width: 18px !important;
  height: 18px !important;
  left: 2px !important;
  top: 2px !important;
}

.mini-switch input:checked + span::after {
  left: 20px !important;
}

/* список тональности открывается вверх */
.tone-menu {
  top: auto !important;
  bottom: calc(100% + 8px) !important;
  border-radius: 12px !important;
}

.tone-option {
  height: 36px !important;
  font-size: 13px !important;
}

/* ===== LIGHT THEME VISIBILITY FIX ONLY ===== */

body:not(.dark-app) .tool-tab:not(.active) {
  color: rgba(35, 31, 25, .62) !important;
}

body:not(.dark-app) .tool-tab svg {
  color: rgba(35, 31, 25, .55) !important;
}

body:not(.dark-app) .tool-tabs {
  background: rgba(255,255,255,.72) !important;
  border-color: rgba(44,35,24,.10) !important;
}

body:not(.dark-app) .brand-word {
  color: #b77a28 !important;
  text-shadow: 0 0 14px rgba(183,122,40,.16) !important;
}

body:not(.dark-app) .brand-logo,
body:not(.dark-app) .brand-star {
  opacity: .9 !important;
  filter: drop-shadow(0 0 8px rgba(183,122,40,.22)) !important;
}

body:not(.dark-app) .settings-strip {
  background: rgba(255,255,255,.78) !important;
  border-color: rgba(44,35,24,.10) !important;
  box-shadow: 0 18px 50px rgba(117,86,46,.10) !important;
}

body:not(.dark-app) .setting-label {
  color: rgba(35,31,25,.76) !important;
}

body:not(.dark-app) .setting-label span {
  color: #b77a28 !important;
}

body:not(.dark-app) .range-line::before {
  background: rgba(35,31,25,.14) !important;
}

body:not(.dark-app) .range-labels span,
body:not(.dark-app) .range-labels strong {
  color: rgba(35,31,25,.48) !important;
}

body:not(.dark-app) .range-labels .active,
body:not(.dark-app) .range-labels strong.active {
  color: #b77a28 !important;
}

body:not(.dark-app) .select-like {
  background: rgba(255,255,255,.92) !important;
  color: rgba(35,31,25,.78) !important;
  border-color: rgba(44,35,24,.16) !important;
}

body:not(.dark-app) .tone-menu {
  background: rgba(255,255,255,.98) !important;
  border-color: rgba(44,35,24,.14) !important;
}

body:not(.dark-app) .tone-option {
  color: rgba(35,31,25,.70) !important;
}

body:not(.dark-app) .tone-option:hover,
body:not(.dark-app) .tone-option.active {
  color: #b77a28 !important;
  background: rgba(183,122,40,.08) !important;
}

body:not(.dark-app) .switch-block em {
  color: rgba(35,31,25,.62) !important;
}

body:not(.dark-app) .mini-switch span {
  background: rgba(35,31,25,.10) !important;
  border-color: rgba(44,35,24,.18) !important;
}

body:not(.dark-app) .mini-switch span::after {
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16) !important;
}

body:not(.dark-app) .mini-switch input:checked + span {
  background: rgba(183,122,40,.62) !important;
  border-color: rgba(183,122,40,.45) !important;
}

body:not(.dark-app) .mini-switch input:checked + span::after {
  background: #fff8e8 !important;
}

/* ===== LIGHT THEME FINAL POLISH ONLY ===== */

/* 1. Полоска счётчика символов в белой теме */
body:not(.dark-app) .counter-bar {
  background: rgba(35,31,25,.14) !important;
}

body:not(.dark-app) .counter-fill {
  background: linear-gradient(90deg, #b77a28, #f3c98b) !important;
  box-shadow: 0 0 10px rgba(183,122,40,.35) !important;
}

body:not(.dark-app) .counter {
  color: #b77a28 !important;
}

body:not(.dark-app) .counter span {
  color: rgba(35,31,25,.38) !important;
}

/* 2. Центруем нижнюю панель и делаем её компактнее */
@media (min-width: 901px) {
  body:not(.dark-app) .settings-strip {
    max-width: 760px !important;
    margin: 20px auto 0 !important;
    padding: 14px 20px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 22px !important;
    border-radius: 18px !important;
  }
}

/* 3. Убираем лишнюю белую пустую область снизу */
body:not(.dark-app) .app-page {
  min-height: 100vh !important;
  padding-bottom: 18px !important;
  overflow: hidden !important;
}

body:not(.dark-app) .trust-line {
  margin-top: 12px !important;
  padding-bottom: 0 !important;
}

/* 4. Делаем подписи внизу видимыми */
body:not(.dark-app) .trust-line,
body:not(.dark-app) .trust-line span {
  color: rgba(35,31,25,.45) !important;
}


/* ===== SETTINGS ALIGN FINAL ===== */

@media (min-width: 901px) {
.settings-strip {
  max-width: 620px !important;
  grid-template-columns: 230px 150px 170px !important;
  gap: 18px !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: center !important;
}

.setting-block {
  width: 100% !important;
  text-align: center !important;
}

.setting-label {
  text-align: center !important;
  width: 100% !important;
}

.range-labels {
  text-align: center !important;
}

.select-like {
  width: 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  text-align: center !important;
  padding: 0 10px !important;
}

.tone-menu {
  width: 150px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

.switch-block {
  width: 100% !important;
  justify-items: center !important;
}

.switch-block .setting-label {
  text-align: center !important;
}

.switch-block em {
  white-space: nowrap !important;
}

.switch-block em {
  white-space: nowrap !important;
}
} /* end SETTINGS ALIGN FINAL desktop-only */

@media (max-height: 850px) and (min-width: 900px) {
  .product-hero {
    margin-top: 22px !important;
  }

  .hero-copy {
    margin-bottom: 16px !important;
  }

  .work-card {
    min-height: 500px !important;
  }

  .text-box {
    height: 380px !important;
  }

  .center-magic {
    min-height: 500px !important;
  }

  .settings-strip {
    margin-top: 16px !important;
  }
}

/* ===== TEXT CARDS PREMIUM POLISH ===== */

.work-card {
  position: relative !important;
  overflow: hidden !important;
}

.work-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 201, 139, .42),
    transparent
  );
  opacity: .7;
  pointer-events: none;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(243,201,139,.08), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.035), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.card-head,
.text-box,
.quick-actions,
.copy-head {
  position: relative !important;
  z-index: 2 !important;
}

.card-head .card-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  font-size: 15px !important;
  letter-spacing: .03em !important;
}

.source-card .card-head .card-label::before {
  content: "✎";
  color: #f3c98b;
  font-size: 13px;
  opacity: .85;
}

.result-card .card-head .card-label::before {
  content: "✦";
  color: #f3c98b;
  font-size: 13px;
  opacity: .9;
}

.text-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)),
    rgba(2, 6, 8, .52) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow:
    inset 0 0 55px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.04),
    0 18px 44px rgba(0,0,0,.14) !important;
}

.text-box textarea {
  padding-top: 2px !important;
}

.text-box textarea::placeholder {
  color: rgba(255,255,255,.38) !important;
}

body:not(.dark-app) .work-card::after {
  background:
    radial-gradient(circle at 18% 0%, rgba(183,122,40,.08), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(255,255,255,.5), transparent 30%);
}

body:not(.dark-app) .source-card .card-head .card-label::before,
body:not(.dark-app) .result-card .card-head .card-label::before {
  color: #b77a28;
}

body:not(.dark-app) .text-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82)) !important;
  border-color: rgba(44,35,24,.11) !important;
  box-shadow:
    inset 0 0 40px rgba(117,86,46,.035),
    0 18px 44px rgba(117,86,46,.07) !important;
}

.faq-list { max-width: 800px; margin: 0 auto; }
    .faq-item { border-bottom: 1px solid rgba(255,231,190,.08); }
    .faq-item:last-child { border: 0; }
    .faq-q {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 0;
      cursor: pointer;
      font-family: Georgia, serif;
      font-size: 18px;
      color: rgba(255,255,255,.78);
      transition: color .25s;
      gap: 16px;
    }
    .faq-q:hover { color: rgba(255,255,255,.95); }
    .faq-q span {
      color: rgba(218,164,84,.5);
      font-size: 22px;
      transition: transform .3s;
      flex-shrink: 0;
    }
    .faq-item.open .faq-q span { transform: rotate(45deg); }
    .faq-item.open .faq-q { color: var(--gold); }
    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height .4s ease, padding .4s ease;
      padding: 0 0;
    }
    .faq-item.open .faq-a {
      max-height: 300px;
      padding: 0 0 20px;
    }
    .faq-a p {
      font-size: 15px;
      color: rgba(255,255,255,.46);
      line-height: 1.65;
      margin: 0;
    }
    
    /* SEO BLOCK */
    .seo-block { max-width: 860px; margin: 0 auto; }
    .seo-block h3 {
      font-family: Georgia, serif;
      font-weight: 400;
      font-size: 20px;
      color: rgba(255,255,255,.82);
      margin: 36px 0 12px;
      letter-spacing: .02em;
      position: relative;
      padding-left: 18px;
    }
    .seo-block h3::before {
      content: '';
      position: absolute;
      left: 0;
      top: 4px;
      bottom: 4px;
      width: 3px;
      border-radius: 2px;
      background: linear-gradient(180deg, #d4a040, #8a6520);
    }
    .seo-block p {
      font-size: 15px;
      color: rgba(255,255,255,.48);
      line-height: 1.7;
      margin-bottom: 16px;
    }
    .seo-imgs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin: 24px 0;
    }
    .seo-img-ph {
      height: 180px;
      border-radius: 14px;
      background: rgba(218,164,84,.04);
      border: 1px dashed rgba(218,164,84,.15);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(218,164,84,.25);
      font-size: 13px;
      overflow: hidden;
    }
    .seo-img-ph img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 14px;
    }
    .seo-callout {
      margin: 24px 0;
      padding: 18px 22px;
      border-radius: 14px;
      border-left: 3px solid rgba(218,164,84,.5);
      background: rgba(218,164,84,.04);
    }
    .seo-callout p { color: rgba(255,255,255,.58); margin: 0; font-size: 14px; }
    .seo-callout strong { color: rgba(218,164,84,.8); }
    .seo-list {
      margin: 16px 0 20px;
      padding: 0;
      list-style: none;
    }
    .seo-list li {
      font-size: 15px;
      color: rgba(255,255,255,.5);
      padding: 8px 0 8px 22px;
      position: relative;
      line-height: 1.55;
    }
    .seo-list li::before {
      content: '✦';
      position: absolute;
      left: 0;
      top: 8px;
      color: rgba(218,164,84,.5);
      font-size: 10px;
    }
    .seo-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin: 24px 0;
    }
    .seo-stat {
      text-align: center;
      padding: 18px 12px;
      border-radius: 14px;
      border: 1px solid rgba(255,231,190,.1);
      background: rgba(255,255,255,.015);
    }
    .seo-stat-num { font-family: Georgia, serif; font-size: 32px; color: #d4a040; margin-bottom: 4px; }
    .seo-stat-label { font-size: 12px; color: rgba(255,255,255,.35); letter-spacing: .03em; }
    .seo-quote {
      margin: 24px 0;
      padding: 22px 26px;
      border-radius: 16px;
      border: 1px solid rgba(218,164,84,.15);
      background: rgba(218,164,84,.03);
      position: relative;
    }
    .seo-quote::before {
      content: '«';
      position: absolute;
      left: 16px;
      top: 8px;
      font-family: Georgia, serif;
      font-size: 48px;
      color: rgba(218,164,84,.15);
      line-height: 1;
    }
    .seo-quote p { color: rgba(255,255,255,.6); font-style: italic; margin: 0 0 8px; padding-left: 20px; }
    .seo-quote cite { font-size: 13px; color: rgba(218,164,84,.5); font-style: normal; padding-left: 20px; }
    .seo-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
    }
    .seo-table th {
      text-align: left;
      padding: 10px 14px;
      font-size: 13px;
      color: rgba(218,164,84,.7);
      font-weight: 500;
      border-bottom: 1px solid rgba(218,164,84,.15);
      font-family: Georgia, serif;
      letter-spacing: .03em;
    }
    .seo-table td {
      padding: 10px 14px;
      font-size: 14px;
      color: rgba(255,255,255,.45);
      border-bottom: 1px solid rgba(255,255,255,.04);
    }
    .seo-table tr:last-child td { border: 0; }
    .seo-table .check { color: #d4a040; }

    @media (max-width: 600px) {
      .seo-imgs { grid-template-columns: 1fr; }
      .seo-stats { grid-template-columns: 1fr; gap: 10px; }
      .seo-table { font-size: 13px; }
      .seo-table th, .seo-table td { padding: 8px 10px; }
    }
    
    body.dark-app .btn-pricing {
  box-shadow: 0 10px 26px rgba(243,201,139,.22);
}

body.dark-app .btn-more {
  border-color: rgba(243,201,139,.2);
  color: rgba(255,255,255,.62);
}

body.dark-app .btn-more:hover {
  border-color: rgba(243,201,139,.45);
  color: var(--gold);
  background: rgba(243,201,139,.06);
}

body.dark-app .more-menu.open .btn-more {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(243,201,139,.1);
}

body.dark-app .more-dropdown {
  background: #15161b;
  border-color: rgba(243,201,139,.15);
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
}

body.dark-app .more-dropdown a {
  color: rgba(255,255,255,.78);
}

body.dark-app .more-dropdown a:hover {
  background: rgba(243,201,139,.08);
  color: var(--gold);
}

body.dark-app .more-divider {
  background: rgba(243,201,139,.12);
}

@media (max-width: 600px) {
  .header-actions {
    gap: 6px;
  }

  .btn-pricing {
    height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }

  .btn-more {
    height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }
}
  
  
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(154,100,34,.22);
  background: rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: .2s ease;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #8a5b22;
  border-radius: 1px;
}

body.dark-app .mobile-menu-btn {
  background: rgba(255,255,255,.04);
  border-color: rgba(243,201,139,.2);
}

body.dark-app .mobile-menu-btn span {
  background: var(--gold);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,6,4,.55);
  opacity: 0;
  transition: opacity .25s ease;
}

.mobile-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: #faf5ec;
  padding: 18px 16px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: -16px 0 48px rgba(0,0,0,.25);
}

.mobile-drawer.open .mobile-drawer-panel {
  transform: translateX(0);
}

body.dark-app .mobile-drawer-panel {
  background: #14110b;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mobile-drawer-brand {
  font-size: 17px;
  font-family: Georgia, serif;
  color: var(--gold);
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(154,100,34,.22);
  background: transparent;
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(243,201,139,.12);
}

.mobile-pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 14px;
  background: var(--gold);
  color: #1a1308;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 24px;
  transition: .2s ease;
}

.mobile-pricing-btn:hover {
  background: #f9d9a3;
}

.mobile-drawer-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(45,42,38,.45);
  margin-bottom: 6px;
  padding: 0 4px;
}

body.dark-app .mobile-drawer-label {
  color: rgba(255,255,255,.38);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 6px;
  border-bottom: 1px solid rgba(40,31,20,.07);
  color: rgba(45,42,38,.82);
  font-size: 15px;
  text-decoration: none;
  transition: color .15s ease;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav a span {
  color: rgba(45,42,38,.3);
  font-size: 18px;
}

.mobile-nav a:hover { color: #8a5b22; }

body.dark-app .mobile-nav a {
  color: rgba(255,255,255,.78);
  border-bottom-color: rgba(243,201,139,.1);
}

body.dark-app .mobile-nav a span {
  color: rgba(255,255,255,.28);
}

body.dark-app .mobile-nav a:hover { color: var(--gold); }

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(40,31,20,.1);
}

body.dark-app .mobile-theme-row {
  border-top-color: rgba(243,201,139,.14);
}

.mobile-theme-label {
  font-size: 14px;
  color: rgba(45,42,38,.8);
}

body.dark-app .mobile-theme-label {
  color: rgba(255,255,255,.75);
}

.mobile-theme-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  border: 0;
  background: rgba(40,31,20,.15);
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: background .2s ease;
}

.mobile-theme-toggle.on { background: var(--gold); }

.mobile-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.mobile-theme-toggle.on .mobile-toggle-thumb {
  transform: translateX(20px);
  background: #1a1308;
}

body.drawer-open { overflow: hidden; }

@media (max-width: 900px) {
  .btn-pricing,
  .more-menu,
  .theme-icon {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .app-header {
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    height: auto !important;
    gap: 10px 0 !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }

  .app-header .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
  }

  .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    padding-right: 4px !important;
  }

  .tool-tabs-wrap {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

 

  .tool-tabs {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  .tool-tabs::-webkit-scrollbar {
    display: none;
  }

  body.drawer-open { overflow: hidden; }
}

  .tool-tabs-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
  }

 
}  

/* ===== MOBILE: поднять заголовок ===== */
/* ===== MOBILE: заголовок выше и чуть меньше ===== */
@media (max-width: 600px) {
  .app-page {
    padding-top: 6px !important;
  }

  .product-hero {
    margin-top: 4px !important;
  }

  .hero-copy {
    margin-bottom: 10px !important;
  }

  .hero-copy .title {
    font-size: 21px !important;
    line-height: 1.12 !important;
    letter-spacing: .015em !important;
  }

  .hero-sub {
    margin-top: 5px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}


/* ===== MOBILE: source -> result replacement ===== */
.mobile-back-btn {
  display: none;
}

@media (max-width: 900px) {
  .new-workspace {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 1px !important;
  }

  .new-workspace::before {
    display: none !important;
  }

  .new-workspace .source-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .new-workspace .result-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: none !important;
    opacity: 0 !important;
    transform: translateY(10px) scale(.985) !important;
    pointer-events: none !important;
  }

  .new-workspace .center-magic {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

 

  .new-workspace.result-active .result-card {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    animation: mobileResultIn .32s ease both;
  }

  .new-workspace.result-active + .settings-strip {
    display: none !important;
  }

  .mobile-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    padding: 0 10px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(255,231,190,.18) !important;
    background: rgba(255,255,255,.04) !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    cursor: pointer !important;
  }

  body:not(.dark-app) .mobile-back-btn {
    background: rgba(255,255,255,.62) !important;
    border-color: rgba(44,35,24,.12) !important;
    color: rgba(25,22,19,.72) !important;
  }
}

@keyframes mobileResultIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* настройки — отдельной строкой воркспейса */
.new-workspace > .settings-strip {
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 900px) {
  .new-workspace {
    grid-template-rows: auto auto auto !important;
  }
  .new-workspace > .settings-strip {
    grid-row: 2 !important;            /* между текстом и кнопкой */
    grid-column: 1 !important;
    grid-template-columns: 1fr !important;  /* всё в одну колонку, не вылезает */
    max-width: 100% !important;
    gap: 14px !important;
    margin: 0 !important;
  }
  .new-workspace > .center-magic {
    grid-row: 3 !important;            /* кнопка уезжает под настройки */
  }
}


  
  /* ===== MOBILE FINAL: поднять первый экран ===== */
@media (max-width: 768px) {
  .app-page {
    padding-top: 8px !important;
  }

  .app-header {
    min-height: 0 !important;
    height: auto !important;
    gap: 6px !important;
    margin-bottom: 0 !important;
  }

  .tool-tabs-wrap {
    margin-top: 4px !important;
  }

  .tool-tabs {
    min-height: 0 !important;
  }

  .product-hero {
    margin-top: 6px !important;
  }

  .hero-copy {
    margin-bottom: 10px !important;
  }

  .hero-copy .title,
  .product-hero .title {
    font-size: 20px !important;
    line-height: 1.08 !important;
    letter-spacing: .01em !important;
    margin: 0 !important;
  }

  .hero-sub {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
}

/* ===== MOBILE DRAWER NORMAL FINAL ===== */
@media (max-width: 768px) {
  .mobile-drawer-panel {
    top: 8px !important;
    right: 8px !important;
    bottom: auto !important;
    left: auto !important;

    width: 300px !important;
    max-width: calc(100vw - 16px) !important;
    min-height: 0 !important;
    max-height: calc(100vh - 16px) !important;

    padding: 14px 14px 16px !important;
    border-radius: 22px !important;

    background: #0f0d08 !important;
    color: rgba(255,255,255,.82) !important;

    overflow-y: auto !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.45) !important;
  }

  .mobile-drawer-head {
    margin-bottom: 12px !important;
  }

  .mobile-drawer-brand {
    color: #f3c98b !important;
  }

  .mobile-pricing-btn {
    height: 42px !important;
    margin-bottom: 14px !important;
    border-radius: 13px !important;
    font-size: 14px !important;
  }

  .mobile-drawer-label {
    margin: 0 0 4px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    letter-spacing: .14em !important;
    color: rgba(255,255,255,.36) !important;
  }

  .mobile-nav {
    gap: 0 !important;
  }

  .mobile-nav a {
    min-height: 42px !important;
    padding: 10px 6px !important;
    border-bottom: 1px solid rgba(243,201,139,.10) !important;

    color: rgba(255,255,255,.78) !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
  }

  .mobile-nav a span {
    color: rgba(255,255,255,.32) !important;
    font-size: 15px !important;
  }

  .mobile-theme-row {
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(243,201,139,.14) !important;
  }

  .mobile-theme-label {
    color: rgba(255,255,255,.74) !important;
    font-size: 13px !important;
  }

  .mobile-drawer-close {
    color: #f3c98b !important;
    border-color: rgba(243,201,139,.28) !important;
  }
}

/* ===== MOBILE: кнопки под полем в один ряд ===== */
@media (max-width: 768px) {
  .source-card .quick-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 10px !important;
  }

  .source-card .quick-actions .soft-action {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 0 4px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    border-radius: 9px !important;
  }
}

/* ===== MOBILE: компактный нижний блок настроек ===== */
@media (max-width: 768px) {
  .settings-strip {
    margin-top: 1px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 10px !important;
    align-items: start !important;
  }

  .settings-strip .setting-block:first-child {
    grid-column: 1 / -1 !important;
  }

  .setting-label {
    margin-bottom: 7px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .range-line {
    height: 12px !important;
  }

  .range-line b {
    width: 13px !important;
    height: 13px !important;
  }

  .range-labels {
    margin-top: 2px !important;
    font-size: 10px !important;
  }

  .select-like {
    height: 36px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    text-align: center !important;
    border-radius: 10px !important;
  }

  .switch-block {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 8px !important;
    align-items: center !important;
  }

  .switch-block .setting-label {
    grid-column: 1 / -1 !important;
    margin-bottom: 6px !important;
  }

  .switch-block em {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  .mini-switch span {
    width: 38px !important;
    height: 22px !important;
  }

  .mini-switch span::after {
    width: 16px !important;
    height: 16px !important;
  }

  .mini-switch input:checked + span::after {
    left: 19px !important;
  }
}

/* ===== MOBILE: компактные настройки FINAL ===== */
@media (max-width: 900px) {
  .new-workspace > .settings-strip {
    grid-row: 2 !important;
    grid-column: 1 !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;

    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
  }

  .new-workspace > .settings-strip .setting-block:first-child {
    grid-column: 1 / -1 !important;
  }

  .new-workspace > .settings-strip .setting-label {
    margin-bottom: 6px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .new-workspace > .settings-strip .range-line {
    height: 12px !important;
  }

  .new-workspace > .settings-strip .range-labels {
    margin-top: 2px !important;
    font-size: 10px !important;
  }

  .new-workspace > .settings-strip .select-like {
    height: 36px !important;
    font-size: 12px !important;
    text-align: center !important;
  }

  .new-workspace > .settings-strip .switch-block {
    align-items: center !important;
  }

  .new-workspace > .settings-strip .switch-block em {
    font-size: 11px !important;
  }
}


/* ===== MOBILE: фикс горизонтального вылета при скролле табов ===== */
@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .page,
  .app-page,
  .product-hero,
  .new-workspace,
  .source-card,
  .work-card {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .app-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .tool-tabs-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .tool-tabs {
    width: max-content !important;
    max-width: none !important;
    min-width: max-content !important;
    overflow: visible !important;
  }

  .tool-tab {
    flex: 0 0 auto !important;
  }
}

/* ===== MOBILE: аккуратные стрелки табов по краям ===== */
@media (max-width: 768px) {
  .tool-tabs-wrap {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .tool-tabs {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    padding-left: 34px !important;
    padding-right: 34px !important;
    scroll-behavior: smooth;
  }

  .tool-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tabs-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 30px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 12px;
    background: rgba(10, 10, 8, .72);
    color: #f3c98b;
    font-size: 18px;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 18px rgba(0,0,0,.25);
  }

 .tabs-arrow.left {
  left: -2px !important;
}

.tabs-arrow.right {
  right: -2px !important;
}

  .tool-tabs-wrap.can-left .tabs-arrow.left,
  .tool-tabs-wrap.can-right .tabs-arrow.right {
    display: inline-flex;
  }

  body:not(.dark-app) .tabs-arrow {
    background: rgba(255,255,255,.82);
    color: #8a5b22;
    border: 1px solid rgba(154,100,34,.16);
  }
}

/* ===== MOBILE: clean tabs scroll final ===== */
@media (max-width: 768px) {
  .tool-tabs-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 18px !important;
  }

  .tool-tabs-wrap::before,
  .tool-tabs-wrap::after {
    display: none !important;
    content: none !important;
  }

  .tool-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;

padding: 5px 8px !important;
gap: 8px !important;

    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .tool-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tool-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  .tabs-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 30 !important;

  width: 24px !important;
height: 30px !important;
    transform: translateY(-50%) !important;

    border: 1px solid rgba(243,201,139,.18) !important;
    border-radius: 11px !important;
    background: rgba(8,8,6,.82) !important;
    color: #f3c98b !important;

    font-size: 18px !important;
    line-height: 1 !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    backdrop-filter: blur(10px);
  }

.tabs-arrow.left {
  left: -2px !important;
}

.tabs-arrow.right {
  right: -2px !important;
}

  .tool-tabs-wrap.can-left .tabs-arrow.left,
  .tool-tabs-wrap.can-right .tabs-arrow.right {
    display: inline-flex !important;
  }

  body:not(.dark-app) .tabs-arrow {
    background: rgba(255,255,255,.86) !important;
    color: #8a5b22 !important;
    border-color: rgba(154,100,34,.16) !important;
  }
}

/* ===== MOBILE: стрелки не ломают активную таблетку ===== */
@media (max-width: 768px) {
  .tool-tabs {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .tool-tab.active {
    position: relative !important;
    z-index: 5 !important;
  }

  .tabs-arrow {
    z-index: 12 !important;
    opacity: .92 !important;
  }


}

/* ===== MOBILE: stable tabs arrows final ===== */
@media (max-width: 768px) {
  .app-header,
  .tool-tabs-wrap {
    overflow: visible !important;
  }

  .tool-tabs-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border-radius: 18px !important;
  }

  .tool-tabs-wrap::before,
  .tool-tabs-wrap::after {
    display: none !important;
    content: none !important;
  }

  .tool-tabs {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    padding: 5px 6px !important;
    gap: 8px !important;

    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .tool-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .tool-tab {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    position: relative !important;
    z-index: 2 !important;

    border: 1px solid transparent !important;
  }

  .tool-tab.active {
    z-index: 5 !important;
    color: #f3c98b !important;
    background: rgba(243, 201, 139, .10) !important;
    border-color: rgba(243, 201, 139, .32) !important;
    box-shadow:
      inset 0 -1px 0 rgba(243, 201, 139, .22),
      0 0 18px rgba(243, 201, 139, .08) !important;
  }

  .tabs-arrow {
    position: absolute !important;
    top: 50% !important;
    z-index: 20 !important;

    width: 22px !important;
    height: 30px !important;
    transform: translateY(-50%) !important;

    border: 1px solid rgba(243, 201, 139, .18) !important;
    border-radius: 10px !important;
    background: rgba(8, 8, 6, .88) !important;
    color: #f3c98b !important;

    font-size: 17px !important;
    line-height: 1 !important;

    display: none !important;
    align-items: center !important;
    justify-content: center !important;

    cursor: pointer !important;
    backdrop-filter: blur(10px);
  }

  .tabs-arrow.left {
    left: -7px !important;
  }

  .tabs-arrow.right {
    right: -7px !important;
  }

  .tool-tabs-wrap.can-left .tabs-arrow.left,
  .tool-tabs-wrap.can-right .tabs-arrow.right {
    display: inline-flex !important;
  }

  body:not(.dark-app) .tabs-arrow {
    background: rgba(255,255,255,.92) !important;
    color: #8a5b22 !important;
    border-color: rgba(154,100,34,.18) !important;
  }

  body:not(.dark-app) .tool-tab.active {
    color: #8a5b22 !important;
    background: rgba(255,255,255,.78) !important;
    border-color: rgba(183,122,40,.28) !important;
  }
}

/* ===== MOBILE: убрать дублирующую пилюлю табов ===== */
@media (max-width: 768px) {
  .tool-tabs::before {
    display: none !important;
    content: none !important;
  }

  .tool-tab {
    background: transparent !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
  }

  .tool-tab.active {
    color: #f3c98b !important;
    background: rgba(243, 201, 139, .10) !important;
    border: 1px solid rgba(243, 201, 139, .34) !important;
    box-shadow:
      inset 0 -1px 0 rgba(243, 201, 139, .22),
      0 0 16px rgba(243, 201, 139, .10) !important;
  }

  body:not(.dark-app) .tool-tab.active {
    color: #8a5b22 !important;
    background: rgba(255,255,255,.78) !important;
    border-color: rgba(183,122,40,.28) !important;
  }
}

/* ===== BRAND FLAP LOGO ===== */
.bl {
  display: inline-block;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  text-align: center;
  background: linear-gradient(90deg, #f3c98b, #e8a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  transition: opacity .3s;
}

.bl.err {
  background: none;
  -webkit-text-fill-color: rgba(255,255,255,.4);
  border: none;
}

.bl.ok {
  background: linear-gradient(90deg, #f3c98b, #e8a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  border: none;
}

@keyframes flapPop {
  0% { transform: scaleY(1); }
  40% { transform: scaleY(.4); }
  70% { transform: scaleY(1.15); }
  100% { transform: scaleY(1); }
}

.bl.pop {
  animation: flapPop .25s ease;
}

.brand-dot {
  color: rgba(243,201,139,.45);
  font-weight: 400;
}

.brand-ru {
  color: rgba(243,201,139,.4) !important;
  font-weight: 400 !important;
  font-size: inherit !important;
  display: inline !important;
}

body:not(.dark-app) .bl {
  background: linear-gradient(90deg, #b77a28, #9a5e18) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  border: none !important;
}

body:not(.dark-app) .bl.err {
  background: none !important;
  -webkit-text-fill-color: rgba(35,31,25,.3) !important;
  border: none !important;
}

body:not(.dark-app) .bl.ok {
  background: linear-gradient(90deg, #b77a28, #9a5e18) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  border: none !important;
  text-shadow: none;
}

body:not(.dark-app) .brand-dot {
  color: rgba(183,122,40,.4);
}

body:not(.dark-app) .brand-ru {
  color: rgba(183,122,40,.35) !important;
}

/* Текст лого светлый, только плашки золотые */
.app-header .brand-word {
  color: rgba(255,255,255,.85) !important;
  text-shadow: none !important;
}

.brand-dot {
  color: rgba(243,201,139,.7);
  margin: 0 !important;
}

.brand-ru {
  background: linear-gradient(90deg, #f3c98b, #c9872c) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 600 !important;
  font-size: inherit !important;
  display: inline !important;
  margin-left: 0 !important;
}

body:not(.dark-app) .brand-dot {
  color: rgba(183,122,40,.5);
}

body:not(.dark-app) .brand-ru {
  background: linear-gradient(90deg, #b77a28, #8a5510) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.app-header .brand-logo {
  width: 32px !important;
  height: 32px !important;
  opacity: .7 !important;
}

.tabs-arrow {
  display: none !important;
}

@media (max-width: 768px) {
  .tool-tabs-wrap.can-left .tabs-arrow.left,
  .tool-tabs-wrap.can-right .tabs-arrow.right {
    display: inline-flex !important;
    
  }
}

@media (max-width: 768px) {
  .mobile-pricing-btn {
    display: none !important;
  }
  
  .mobile-drawer-brand {
    font-size: 15px !important;
    font-family: Georgia, serif !important;
    color: rgba(243,201,139,.7) !important;
    font-weight: 400 !important;
  }
  
  .mobile-drawer-close {
    width: 30px !important;
    height: 30px !important;
    font-size: 13px !important;
    border: 1px solid rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.5) !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 900px) {
  .center-magic {
    overflow: hidden !important;
    min-height: 130px !important;
    max-height: 150px !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  
  .center-magic .m-dust,
  .center-magic .m-sparks,
  .center-magic .m-orb-in,
  .center-magic .m-orb-out {
    inset: 20px -10px 20px !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

.trust-line {
  font-size: 13px;
}

.trust-check {
  display: none;
}

.tch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(243,201,139,.15);
  color: #f3c98b;
  font-size: 11px;
  font-style: normal;
  vertical-align: middle;
  margin-right: 4px;
}

body:not(.dark-app) .tch {
  background: rgba(183,122,40,.1);
  color: #b77a28;
}

@media (max-width: 768px) {
  textarea,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  .select-like {
    font-size: 16px !important;
  }
}

.mini-tool {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  padding: 0;
}

.mini-tool:hover {
  border-color: rgba(243,201,139,.3);
  color: #f3c98b;
  background: rgba(243,201,139,.06);
}

.clear-tool:hover {
  border-color: rgba(255,100,100,.3);
  color: rgba(255,120,120,.8);
  background: rgba(255,80,80,.06);
}

body:not(.dark-app) .mini-tool {
  border-color: rgba(35,31,25,.1);
  background: rgba(255,255,255,.5);
  color: rgba(35,31,25,.4);
}

body:not(.dark-app) .mini-tool:hover {
  border-color: rgba(183,122,40,.25);
  color: #b77a28;
}

body:not(.dark-app) .clear-tool:hover {
  border-color: rgba(200,80,80,.25);
  color: rgba(180,60,60,.7);
}

.corner-clear {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.3);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
  padding: 0;
  z-index: 3;
}

.corner-clear:hover {
  background: rgba(255,80,80,.1);
  color: rgba(255,120,120,.8);
}

body:not(.dark-app) .corner-clear {
  background: rgba(35,31,25,.05);
  color: rgba(35,31,25,.25);
}

body:not(.dark-app) .corner-clear:hover {
  background: rgba(200,60,60,.08);
  color: rgba(180,60,60,.7);
}

.copy-action {
  border-color: rgba(243,201,139,.2) !important;
  color: #f3c98b !important;
}

.copy-action:hover {
  border-color: rgba(243,201,139,.4) !important;
  background: rgba(243,201,139,.08) !important;
}

body:not(.dark-app) .copy-action {
  border-color: rgba(183,122,40,.18) !important;
  color: #b77a28 !important;
}

body:not(.dark-app) .copy-action:hover {
  border-color: rgba(183,122,40,.35) !important;
  background: rgba(183,122,40,.06) !important;
}

.mob-copy {
  display: none;
}

@media (max-width: 900px) {
  .mob-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid rgba(243,201,139,.2);
    background: rgba(243,201,139,.06);
    color: #f3c98b;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: .2s;
    margin-right: 4px;
  }

  body:not(.dark-app) .mob-copy {
    border-color: rgba(183,122,40,.18);
    background: rgba(183,122,40,.06);
    color: #b77a28;
  }
}

.mob-copy svg {
  pointer-events: none;
}

.copy-toast {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  font-size: 11px;
  color: #8ee6a0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
  text-shadow: 0 0 8px rgba(100,200,120,.3);
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body:not(.dark-app) .copy-toast {
  color: #4a9e5c;
  text-shadow: none;
}

.mob-copy {
  position: relative !important;
}

.soft-action svg {
  vertical-align: -2px;
}

.seo-img-ph {
  height: auto;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(218,164,84,.2);
}

.seo-img-ph img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

/* ===== MOBILE: PRO wide button ===== */
.mobile-pro-wide {
  display: none;
}

@media (max-width: 900px) {
  .mobile-pro-wide {
    display: block !important;
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 2px 0 !important;
    position: relative !important;
  }

  .mobile-pro-wide-btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;

    border-radius: 14px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;
    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.12), rgba(243, 201, 139, 0.04)),
      rgba(8, 10, 12, 0.74) !important;

    color: #f3c98b !important;
    cursor: pointer !important;

    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.28),
      0 0 24px rgba(243, 201, 139, 0.11),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  }

  .mobile-pro-left {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  .mobile-pro-icon {
    font-size: 12px !important;
    text-shadow: 0 0 14px rgba(243, 201, 139, 0.55) !important;
  }

  .mobile-pro-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .mobile-pro-badge {
    padding: 3px 6px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(243, 201, 139, 0.28) !important;
    background: rgba(243, 201, 139, 0.12) !important;
    color: rgba(243, 201, 139, 0.9) !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  .mobile-pro-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 42px !important;
    height: 24px !important;
  }

  .mobile-pro-switch input {
    display: none !important;
  }

  .mobile-pro-switch span {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.13) !important;
    border: 1px solid rgba(243, 201, 139, 0.3) !important;
    transition: 0.2s ease !important;
  }

  .mobile-pro-switch span::before {
    content: "" !important;
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    left: 3px !important;
    top: 2px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    transition: 0.2s ease !important;
  }

  .mobile-pro-switch input:checked + span {
    background: rgba(243, 201, 139, 0.9) !important;
    box-shadow: 0 0 20px rgba(243, 201, 139, 0.35) !important;
  }

  .mobile-pro-switch input:checked + span::before {
    transform: translateX(18px) !important;
    background: #1a1308 !important;
  }

  .mobile-pro-tooltip {
    display: none !important;
  }
}

/* ===== FINAL MOBILE CLEAN FIX ===== */

@media (max-width: 900px) {
  /* убираем все старые подсказки и псевдо-иконки */
  .mobile-pro-wide::after,
  .mobile-pro-wide::before,
  .mobile-pro-tooltip,
  .mobile-pro-badge {
    display: none !important;
    content: none !important;
  }

  /* блок PRO по центру */
  .settings-strip > .mobile-pro-wide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    visibility: visible !important;
    overflow: visible !important;
  }

  /* сама кнопка PRO — компактная */
  .mobile-pro-wide-btn {
    width: 280px !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;

    border-radius: 13px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;
    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.10), rgba(243, 201, 139, 0.03)),
      rgba(8, 10, 12, 0.78) !important;

    color: #f3c98b !important;
    box-shadow: none !important;
    cursor: default !important;
  }

  .mobile-pro-left {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  .mobile-pro-icon {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .mobile-pro-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  /* тумблер внутри кнопки */
  .mobile-pro-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 21px !important;
    margin: 0 !important;
  }

  .mobile-pro-switch input {
    display: none !important;
  }

  .mobile-pro-switch span {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(243, 201, 139, 0.32) !important;
  }

  .mobile-pro-switch span::before {
    content: "" !important;
    position: absolute !important;
    width: 15px !important;
    height: 15px !important;
    left: 3px !important;
    top: 2px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    transition: 0.2s ease !important;
  }

  .mobile-pro-switch input:checked + span {
    background: rgba(243, 201, 139, 0.9) !important;
  }

  .mobile-pro-switch input:checked + span::before {
    transform: translateX(15px) !important;
    background: #1a1308 !important;
  }

  /* уровень преобразования — меньше и по центру */
  .settings-strip > .setting-block:first-of-type,
  .settings-strip > div.setting-block:nth-of-type(2) {
    grid-column: 1 / -1 !important;
    width: 300px !important;
    max-width: 100% !important;
    justify-self: center !important;
  }

  .settings-strip > .setting-block:first-of-type .setting-label,
  .settings-strip > div.setting-block:nth-of-type(2) .setting-label {
    text-align: center !important;
  }

  .settings-strip > .setting-block:first-of-type .range-line,
  .settings-strip > div.setting-block:nth-of-type(2) .range-line,
  .settings-strip > .setting-block:first-of-type .range-labels,
  .settings-strip > div.setting-block:nth-of-type(2) .range-labels {
    width: 100% !important;
  }
}

@media (max-width: 900px) {
  .settings-strip > .setting-block:first-of-type,
  .settings-strip > div.setting-block:nth-of-type(2) {
    width: 210px !important;
    max-width: 210px !important;
    justify-self: center !important;
  }

  .settings-strip > .setting-block:first-of-type .range-line,
  .settings-strip > div.setting-block:nth-of-type(2) .range-line,
  .settings-strip > .setting-block:first-of-type .range-labels,
  .settings-strip > div.setting-block:nth-of-type(2) .range-labels {
    width: 210px !important;
  }
}

@media (max-width: 900px) {
  .mobile-pro-crown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin-left: auto !important;
    margin-right: 8px !important;

    width: 17px !important;
    height: 17px !important;
    flex: 0 0 17px !important;
  }

  .mobile-pro-crown svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    fill: none !important;
    stroke: #f3c98b !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: drop-shadow(0 0 6px rgba(243, 201, 139, 0.45)) !important;
  }
}


/* ===== CLEAN MOBILE PRO BUTTON ===== */

@media (max-width: 900px) {
  .mobile-pro-wide::before,
  .mobile-pro-wide::after,
  .mobile-pro-badge {
    display: none !important;
    content: none !important;
  }

  .settings-strip > .mobile-pro-wide {
    display: flex !important;
    justify-content: center !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .mobile-pro-wide-btn {
    position: relative !important;
    width: 255px !important;
    max-width: 100% !important;
    height: 42px !important;
    padding: 0 9px 0 12px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    border-radius: 13px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;
    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.10), rgba(243, 201, 139, 0.03)),
      rgba(8, 10, 12, 0.78) !important;

    color: #f3c98b !important;
    box-shadow: none !important;
  }

  .mobile-pro-left {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    min-width: 0 !important;
  }

  .mobile-pro-icon {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .mobile-pro-title {
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .mobile-pro-crown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    margin-left: 4px !important;
  }

  .mobile-pro-crown svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: #f3c98b !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: drop-shadow(0 0 6px rgba(243, 201, 139, 0.45)) !important;
  }

  /* переключатель ближе к короне */
  .mobile-pro-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 36px !important;
    height: 21px !important;
    margin-left: 3px !important;
  }

  .mobile-pro-switch input {
    display: none !important;
  }

  .mobile-pro-switch span {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(243, 201, 139, 0.32) !important;
  }

  .mobile-pro-switch span::before {
    content: "" !important;
    position: absolute !important;
    width: 15px !important;
    height: 15px !important;
    left: 3px !important;
    top: 2px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    transition: 0.2s ease !important;
  }

  .mobile-pro-switch input:checked + span {
    background: rgba(243, 201, 139, 0.9) !important;
  }

  .mobile-pro-switch input:checked + span::before {
    transform: translateX(15px) !important;
    background: #1a1308 !important;
  }

  /* восклицательный знак в углу */
  .mobile-pro-info {
    position: absolute !important;
    right: 6px !important;
    top: 5px !important;

    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;

    border: 1px solid rgba(243, 201, 139, 0.45) !important;
    background: rgba(243, 201, 139, 0.12) !important;
    color: #f3c98b !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }

  .mobile-pro-tooltip {
    display: none !important;
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 8px) !important;
    transform: translateX(-50%) !important;

    width: 285px !important;
    max-width: calc(100vw - 36px) !important;
    padding: 10px 12px !important;

    border-radius: 12px !important;
    border: 1px solid rgba(243, 201, 139, 0.25) !important;
    background: rgba(8, 10, 12, 0.96) !important;

    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;

    z-index: 50 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38) !important;
  }

  .mobile-pro-wide:has(.mobile-pro-info:hover) .mobile-pro-tooltip,
  .mobile-pro-wide:has(.mobile-pro-info:focus) .mobile-pro-tooltip,
  .mobile-pro-wide.show-tip .mobile-pro-tooltip {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .mobile-pro-wide-btn {
    overflow: visible !important;
  }

  .mobile-pro-info {
    position: absolute !important;

    /* правый верхний угол, чуть наружу */
    right: -6px !important;
    top: -7px !important;

    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 0 !important;
    background: #6f5cff !important;
    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    box-shadow: 0 0 10px rgba(111, 92, 255, 0.45) !important;
    z-index: 20 !important;
  }

  .mobile-pro-tooltip {
    bottom: calc(100% + 14px) !important;
  }
}

@media (max-width: 900px) {
  .mobile-pro-wide::before,
  .mobile-pro-wide::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  .mobile-pro-info {
    background: #22c55e !important;
    color: #07120b !important;
    border: 0 !important;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.45) !important;
  }
}

@media (max-width: 900px) {
  .mobile-pro-info {
    background: rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
  }
}

@media (max-width: 900px) {
  .mobile-pro-info {
    right: -6px !important;
    top: -7px !important;

    width: 17px !important;
    height: 17px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.13) !important;
    box-shadow: none !important;
  }

  .mobile-pro-info svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
    fill: none !important;
    stroke: rgba(255, 255, 255, 0.9) !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }
}


@media (max-width: 900px) {
  .mobile-pro-info svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
    fill: none !important;
    stroke: rgba(255, 255, 255, 0.92) !important;
    stroke-width: 2.1 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .mobile-pro-info svg circle {
    fill: rgba(255, 255, 255, 0.92) !important;
    stroke: none !important;
  }
}

/* ===== FIX PC PRO BUTTON + HIDE MOBILE PRO ON PC ===== */

/* мобильную кнопку в настройках на ПК скрыть */
@media (min-width: 901px) {
  .settings-strip > .mobile-pro-wide {
    display: none !important;
  }
}

/* ПК-кнопка в блоке результата */
@media (min-width: 901px) {
  .result-pro-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 14px !important;
  }

  .pro-deep-btn {
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-width: 320px !important;
    height: 52px !important;
    padding: 0 18px !important;

    border-radius: 14px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;

    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.12), rgba(243, 201, 139, 0.04)),
      rgba(8, 10, 12, 0.76) !important;

    color: #f3c98b !important;
    font-family: Inter, Manrope, Arial, sans-serif !important;
    cursor: pointer !important;

    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.32),
      0 0 28px rgba(243, 201, 139, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  }

  .pro-deep-btn strong {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #f3c98b !important;
  }

  .pro-deep-btn small {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: rgba(255, 255, 255, 0.52) !important;
  }

  .pro-crown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #f3c98b !important;
    font-size: 15px !important;
    text-shadow: 0 0 12px rgba(243, 201, 139, 0.45) !important;
  }
}

/* на мобилке ПК-кнопку в результате не показываем */
@media (max-width: 900px) {
  .result-pro-actions {
    display: none !important;
  }
}

/* ===== DESKTOP PRO CROWN + TOOLTIP ===== */
@media (min-width: 901px) {
  .result-pro-actions {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 14px !important;
    overflow: visible !important;
  }

  .pro-deep-btn {
    position: relative !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-width: 330px !important;
    height: 52px !important;
    padding: 0 18px !important;

    border-radius: 14px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;

    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.12), rgba(243, 201, 139, 0.04)),
      rgba(8, 10, 12, 0.76) !important;

    color: #f3c98b !important;
    font-family: Inter, Manrope, Arial, sans-serif !important;
    cursor: pointer !important;

    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.32),
      0 0 28px rgba(243, 201, 139, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  }

  .pro-deep-btn strong {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #f3c98b !important;
    text-align: center !important;
  }

  .pro-deep-btn small {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: rgba(255, 255, 255, 0.52) !important;
    text-align: center !important;
  }

  /* красивая корона как на мобиле */
  .pro-crown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    margin-left: 2px !important;
  }

  .pro-crown svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    fill: none !important;
    stroke: #f3c98b !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: drop-shadow(0 0 6px rgba(243, 201, 139, 0.45)) !important;
  }

  /* ! в уголке */
  .pro-info {
    position: absolute !important;
    right: calc(50% - 180px + 6px) !important;
    top: -8px !important;

    width: 17px !important;
    height: 17px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }

  /* подсказка */
  .pro-tooltip {
    display: none !important;
    position: absolute !important;
    left: 50% !important;
    bottom: calc(100% + 10px) !important;
    transform: translateX(-50%) !important;

    width: 300px !important;
    padding: 10px 12px !important;

    border-radius: 12px !important;
    border: 1px solid rgba(243, 201, 139, 0.25) !important;
    background: rgba(8, 10, 12, 0.96) !important;

    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;

    z-index: 30 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38) !important;
  }

  .result-pro-actions:hover .pro-tooltip,
  .result-pro-actions:focus-within .pro-tooltip {
    display: block !important;
  }
}

@media (min-width: 901px) {
  .result-pro-actions {
    position: relative !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pro-deep-btn {
    position: relative !important;
  }

  .pro-info {
    right: -5px !important;
top: -4px !important;
    left: auto !important;
  }

  .pro-tooltip {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
}

/* ===== DESKTOP PRO TOGGLE ===== */

@media (min-width: 901px) {
  .result-pro-actions {
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 14px auto 0 !important;
    overflow: visible !important;
  }

  .pro-deep-btn {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    min-width: 330px !important;
    height: 52px !important;
    padding: 0 16px 0 20px !important;

    border-radius: 14px !important;
    border: 1px solid rgba(243, 201, 139, 0.45) !important;

    background:
      linear-gradient(180deg, rgba(243, 201, 139, 0.12), rgba(243, 201, 139, 0.04)),
      rgba(8, 10, 12, 0.76) !important;

    color: #f3c98b !important;
    box-shadow:
      0 12px 34px rgba(0, 0, 0, 0.32),
      0 0 28px rgba(243, 201, 139, 0.12),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04) !important;
  }

  .pro-deep-text {
    display: block !important;
    min-width: 0 !important;
  }

  .pro-deep-btn strong {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #f3c98b !important;
    text-align: center !important;
  }

  .pro-deep-btn small {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: rgba(255, 255, 255, 0.52) !important;
    text-align: center !important;
  }

  .pro-crown {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
  }

  .pro-crown svg {
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: #f3c98b !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    filter: drop-shadow(0 0 6px rgba(243, 201, 139, 0.45)) !important;
  }

  .desktop-pro-switch {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 38px !important;
    height: 22px !important;
    cursor: pointer !important;
  }

  .desktop-pro-switch input {
    display: none !important;
  }

  .desktop-pro-switch span {
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(243, 201, 139, 0.32) !important;
    transition: 0.2s ease !important;
  }

  .desktop-pro-switch span::before {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    left: 3px !important;
    top: 2px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    transition: 0.2s ease !important;
  }

  .desktop-pro-switch input:checked + span {
    background: rgba(243, 201, 139, 0.9) !important;
    box-shadow: 0 0 18px rgba(243, 201, 139, 0.28) !important;
  }

  .desktop-pro-switch input:checked + span::before {
    transform: translateX(16px) !important;
    background: #1a1308 !important;
  }

  .pro-info {
    right: -7px !important;
    top: -8px !important;
    left: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

html, html * {
  scroll-behavior: smooth !important;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 5px 0;
  margin-bottom: 6px;
  transition: opacity .2s;
}

.hero-rating:hover {
  opacity: .8;
}

.hero-rating:hover .hr-count {
  color: #f3c98b;
}

#statsCount {
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

body:not(.dark-app) #statsCount {
  color: rgba(35, 31, 25, .52);
}

body:not(.dark-app) #statsNum {
  color: #b77a28;
}

.hr-num {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: #f3c98b;
}

.hr-bars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.hr-bar {
  width: 16px;
  height: 5px;
  border-radius: 3px;
  background: rgba(243, 201, 139, .15);
  position: relative;
  overflow: hidden;
}

.hr-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--fill, 100%);
  border-radius: 3px;
  background: #f3c98b;
  box-shadow: 0 0 6px rgba(243, 201, 139, .3);
}

.hr-count {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  font-family: Inter, sans-serif;
  transition: color .2s;
}

body:not(.dark-app) .hr-num {
  color: #b77a28;
}

body:not(.dark-app) .hr-bar {
  background: rgba(183, 122, 40, .15);
}

body:not(.dark-app) .hr-bar::after {
  background: #b77a28;
  box-shadow: 0 0 6px rgba(183, 122, 40, .2);
}

body:not(.dark-app) .hr-count {
  color: rgba(35, 31, 25, .4);
}

body:not(.dark-app) .hero-rating:hover .hr-count {
  color: #b77a28;
}

.hero-rating {
  margin-bottom: 2px;
}

.hero-copy {
  margin-bottom: 18px;
}

.product-hero {
  margin-top: 18px;
}


.center-magic.shrunk {
  transform: scale(0.85);
  opacity: .8;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s;
}

.center-magic.shrunk:hover {
  transform: scale(1);
  opacity: 1;
}

.center-magic {
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s;
}

@media (min-width: 901px) {
  .pro-deep-btn {
    min-width: 0 !important;
    width: auto !important;
    height: 42px !important;
    padding: 0 12px 0 16px !important;
    gap: 10px !important;
    border-radius: 12px !important;
  }

.pro-deep-btn strong {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  color: rgba(255, 255, 255, .88) !important;
}

  .pro-badge-max {
    vertical-align: middle;
  }
}

/* Бейдж MAX — золотой фон, чёрный текст */
.pro-badge-max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  margin-left: 8px;
  border-radius: 6px;
  border: none;
  background: #f3c98b;
  color: #1a1308;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  vertical-align: middle;
}

/* Золотая полоска перед «Обработка» */
.pro-deep-btn strong::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f3c98b, #c9872c);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(243, 201, 139, .4);
}

/* Убрать старую полоску */
.pro-deep-btn strong::before {
  display: none !important;
}

/* Золотая полоска впритык к левому краю таблетки */
.pro-deep-btn::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 25px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #f3c98b, #c9872c);
  box-shadow: 0 0 8px rgba(243, 201, 139, .35);
}

@media (min-width: 901px) {
  .pro-deep-btn {
    padding: 0 12px 0 24px !important;
  }
}

@media (max-width: 900px) {
  /* Золотая полоска слева */
  .mobile-pro-wide-btn::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(180deg, #f3c98b, #c9872c);
    box-shadow: 0 0 8px rgba(243, 201, 139, .35);
  }

  /* Белый текст */
  .mobile-pro-title {
    color: rgba(255, 255, 255, .88) !important;
  }

  /* MAX бейдж — золотой фон, чёрный текст */
  .mobile-pro-wide .pro-badge-max {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 8px;
    margin-left: 6px;
    border-radius: 6px;
    border: none !important;
    background: #f3c98b !important;
    color: #1a1308 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em;
  }

  /* Левый паддинг под полоску */
  .mobile-pro-wide-btn {
    padding-left: 16px !important;
  }
}

.pro-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}

.pro-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.pro-modal {
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(243,201,139,.18);
  background: #0d0c09;
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 40px rgba(243,201,139,.05);
  position: relative;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.pro-modal-overlay.open .pro-modal {
  transform: translateY(0) scale(1);
}

.pro-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: rgba(255,255,255,.4);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.pro-modal-close:hover {
  border-color: rgba(243,201,139,.3);
  color: #f3c98b;
}

.pro-modal-head {
  text-align: center;
  margin: 10px 0 22px;
}

.pro-modal-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pro-modal-bar {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f3c98b, #c9872c);
  box-shadow: 0 0 8px rgba(243,201,139,.3);
}

.pro-modal-title {
  color: rgba(255,255,255,.9);
  font-size: 20px;
  font-weight: 600;
  font-family: Georgia, serif;
}

.pro-badge-modal {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f3c98b;
  color: #1a1308;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.pro-modal-sub {
  color: rgba(255,255,255,.4);
  font-size: 13px;
  margin: 0;
}

.pro-modal-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.pro-modal-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.02);
  padding: 20px 16px;
  position: relative;
}

.pro-modal-card.featured {
  border: 1.5px solid rgba(243,201,139,.5);
  background: rgba(243,201,139,.03);
}

.pro-card-glow {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, #f3c98b, transparent);
}

.pro-card-name {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pro-card-price {
  color: #f3c98b;
  font-size: 32px;
  font-family: Georgia, serif;
  margin-bottom: 2px;
}

.pro-card-price span {
  font-size: 14px;
  color: rgba(255,255,255,.35);
}

.pro-card-period {
  color: rgba(255,255,255,.3);
  font-size: 12px;
  margin-bottom: 16px;
}

.pro-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pro-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.pro-card-list li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(243,201,139,.1);
  color: #f3c98b;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pro-card-btn {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(243,201,139,.3);
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
}

.pro-card-btn:hover {
  border-color: rgba(243,201,139,.5);
  background: rgba(243,201,139,.06);
}

.pro-card-btn.gold {
  border: none;
  background: #f3c98b;
  color: #1a1308;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(243,201,139,.18);
}

.pro-card-btn.gold:hover {
  background: #f9d9a3;
}

.pro-modal-skip {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.28);
  font-size: 12px;
  cursor: pointer;
  text-align: center;
  transition: color .2s;
}

.pro-modal-skip:hover {
  color: rgba(255,255,255,.5);
}

@media (max-width: 500px) {
  .pro-modal {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .pro-modal-cards {
    grid-template-columns: 1fr;
  }

  .pro-modal-title {
    font-size: 18px;
  }
}

.pro-card-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f3c98b;
  color: #1a1308;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(243, 201, 139, .25);
}

.pro-card-btn.gold {
  transition: background .2s, box-shadow .3s, transform .15s;
}

.pro-card-btn.gold:hover {
  background: #f9d9a3;
  transform: translateY(-1px);
  box-shadow:
    0 8px 24px rgba(243, 201, 139, .3),
    0 0 20px rgba(243, 201, 139, .2),
    0 0 40px rgba(243, 201, 139, .1);
}

.pro-card-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #f3c98b;
  color: #1a1308;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 4px 14px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(243, 201, 139, .25);
  z-index: 3;
}

@media (max-width: 900px) {
  .mobile-pro-left {
    width: 100% !important;
    flex: 1 !important;
  }

  .mobile-pro-switch {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}


a.tool-tab {
  text-decoration: none;
}


.email-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
}
.email-modal-overlay.open { opacity: 1; visibility: visible; }

.email-modal {
  width: 400px; max-width: calc(100vw - 32px);
  border-radius: 22px; border: 1px solid rgba(243,201,139,.18);
  background: #0d0c09; padding: 28px 24px; text-align: center;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.email-modal-overlay.open .email-modal { transform: translateY(0) scale(1); }

.email-modal-close {
  position: absolute; right: 16px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1); background: transparent;
  color: rgba(255,255,255,.4); font-size: 14px; cursor: pointer;
}
.email-modal-title {
  font-family: Georgia, serif; font-size: 20px;
  color: rgba(255,255,255,.88); margin-bottom: 6px;
}
.email-modal-sub {
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.email-modal-input {
  width: 100%; height: 48px; border-radius: 12px;
  border: 1px solid rgba(243,201,139,.25); background: rgba(3,6,9,.6);
  color: rgba(255,255,255,.85); font-size: 16px; padding: 0 16px;
  outline: none; margin-bottom: 14px; text-align: center;
}
.email-modal-input:focus { border-color: rgba(243,201,139,.5); }
.email-modal-btn {
  width: 100%; height: 48px; border-radius: 999px;
  border: 1px solid rgba(243,201,139,.45);
  background: linear-gradient(135deg, rgba(243,201,139,.15), rgba(243,201,139,.05));
  color: rgba(255,255,255,.88); font-size: 15px; cursor: pointer;
  transition: .3s;
}
.email-modal-btn:hover {
  box-shadow: 0 0 28px rgba(243,201,139,.3);
  border-color: rgba(243,201,139,.7);
}

.plan-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 10px;
  background: rgba(243,201,139,.06);
  border: 1px solid rgba(243,201,139,.3);
  cursor: pointer; transition: .2s; text-decoration: none;
}
.plan-badge:hover { border-color: rgba(243,201,139,.5); }
.plan-badge-name {
  font-size: 12px; color: #f3c98b; font-weight: 600;
}
.plan-badge-count {
  font-size: 11px; color: rgba(255,255,255,.5);
}
.plan-badge-bar {
  width: 40px; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.1); overflow: hidden;
}
.plan-badge-fill {
  height: 100%; border-radius: 99px; background: #f3c98b;
}



.attempts-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  white-space: nowrap;
  background: none;
  padding: 0;
  border: none;
  z-index: 10;
}

.attempts-dots span.dot-filled,
.attempts-dots span.dot-empty {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.attempts-dots span.dot-filled {
  background: #f3c98b;
  box-shadow: 0 0 5px rgba(243,201,139,.4);
}

.attempts-dots span.dot-empty {
  background: rgba(255,255,255,.15);
}

.attempts-label {
  font-size: 9px;
  color: rgba(255,255,255,.3);
  margin-left: 3px;
  font-family: Georgia, serif;
}

body:not(.dark-app) .attempts-dots span.dot-filled {
  background: #b77a28;
  box-shadow: 0 0 6px rgba(183,122,40,.25);
}

body:not(.dark-app) .attempts-dots span.dot-empty {
  background: rgba(35,31,25,.12);
}

body:not(.dark-app) .attempts-label {
  color: rgba(35,31,25,.3);
}


/* ===== LIGHT THEME — NORMAL PREMIUM LOOK ===== */

body:not(.dark-app) .app-page {
  background:
    radial-gradient(circle at 50% 40%, rgba(183,122,40,.10), transparent 32%),
    radial-gradient(circle at -8% 12%, rgba(255,238,205,.95) 0 6%, rgba(255,229,190,.34) 18%, transparent 42%),
    linear-gradient(180deg, #f7f1e7 0%, #efe4d3 100%) !important;
  color: rgba(36, 31, 25, .88) !important;
}

/* Убираем ощущение “белого листа” */
body:not(.dark-app) .work-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,250,241,.68)) !important;
  border: 1px solid rgba(120, 86, 42, .16) !important;
  box-shadow:
    0 24px 70px rgba(104, 76, 38, .14),
    inset 0 1px 0 rgba(255,255,255,.75) !important;
}

/* Внутренние поля — не чисто белые, а тёплые */
body:not(.dark-app) .text-box {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(252,247,238,.86)) !important;
  border: 1px solid rgba(112, 83, 45, .14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 14px 34px rgba(92, 66, 35, .07) !important;
}

/* Текст и placeholder читаемее */
body:not(.dark-app) textarea {
  color: rgba(35, 31, 25, .86) !important;
}

body:not(.dark-app) textarea::placeholder {
  color: rgba(35, 31, 25, .38) !important;
}

/* Заголовки карточек */
body:not(.dark-app) .card-head .card-label,
body:not(.dark-app) .setting-label {
  color: rgba(35, 31, 25, .78) !important;
}

/* H1 чуть плотнее и дороже */
body:not(.dark-app) .hero-copy .title,
body:not(.dark-app) .title {
  color: rgba(44, 38, 31, .86) !important;
  text-shadow: 0 10px 34px rgba(130, 92, 42, .10) !important;
}

body:not(.dark-app) .hero-sub {
  color: rgba(44, 38, 31, .48) !important;
}

/* Верхнее меню */
body:not(.dark-app) .tool-tabs {
  background: rgba(255, 251, 244, .78) !important;
  border: 1px solid rgba(120, 86, 42, .13) !important;
  box-shadow: 0 18px 44px rgba(104, 76, 38, .11) !important;
}

body:not(.dark-app) .tool-tab {
  color: rgba(45, 39, 32, .52) !important;
}

body:not(.dark-app) .tool-tab.active {
  color: #5a3a17 !important;
  background: linear-gradient(180deg, #f5d69e, #e8b867) !important;
  box-shadow:
    0 8px 22px rgba(154, 100, 34, .20),
    inset 0 1px 0 rgba(255,255,255,.55) !important;
}

/* Лого в белой теме */
body:not(.dark-app) .brand-word {
  color: #8a5b22 !important;
  text-shadow: none !important;
}

body:not(.dark-app) .brand-logo {
  opacity: .9;
}

/* Кнопки снизу под полем */
body:not(.dark-app) .soft-action {
  background: rgba(255, 251, 244, .86) !important;
  border: 1px solid rgba(112, 83, 45, .14) !important;
  color: rgba(45, 39, 32, .64) !important;
  box-shadow: 0 8px 18px rgba(92,66,35,.05) !important;
}

body:not(.dark-app) .soft-action:hover {
  color: #8a5b22 !important;
  border-color: rgba(183,122,40,.32) !important;
  background: #fff7e7 !important;
}

/* Главная кнопка — чтобы не выглядела чужеродно */
body:not(.dark-app) .pill-convert,
body:not(.dark-app) .convert {
  background: linear-gradient(180deg, #9b6a2a, #5a3a17) !important;
  color: #fff4dc !important;
  border-color: rgba(255, 217, 160, .75) !important;
  box-shadow:
    0 14px 38px rgba(128, 82, 28, .28),
    0 0 44px rgba(199, 139, 55, .22) !important;
}

/* Частицы в белой теме сделать слабее */
body:not(.dark-app) .m-dust,
body:not(.dark-app) .m-sparks,
body:not(.dark-app) .m-orb-out,
body:not(.dark-app) .m-orb-in {
  opacity: .48 !important;
}

/* Нижняя панель настроек */
body:not(.dark-app) .settings-strip {
  background: rgba(255, 250, 241, .92) !important;
  border-color: rgba(120, 86, 42, .22) !important;
  box-shadow:
    0 16px 42px rgba(104, 76, 38, .14),
    inset 0 1px 0 rgba(255,255,255,.85) !important;
}

/* Селект тональности */
body:not(.dark-app) .select-like {
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(112,83,45,.16) !important;
  color: rgba(35,31,25,.72) !important;
}

/* Тумблеры */
body:not(.dark-app) .desktop-pro-switch span,
body:not(.dark-app) .mobile-pro-switch span,
body:not(.dark-app) .mini-switch span {
  background: rgba(40,35,28,.13) !important;
  border-color: rgba(40,35,28,.16) !important;
}

/* Линия уровня преобразования */
body:not(.dark-app) .range-line {
  background: rgba(55, 44, 31, .12) !important;
}

body:not(.dark-app) .range-line b,
body:not(.dark-app) .range-line i {
  background: #c58a36 !important;
}

/* Подписи снизу */
body:not(.dark-app) .trust-line {
  color: rgba(45, 39, 32, .42) !important;
}

body:not(.dark-app) .tch {
  color: #b77a28 !important;
}

body:not(.dark-app) .work-card {
  border-color: rgba(120, 86, 42, .24) !important;
}

body:not(.dark-app) .text-box {
  border-color: rgba(120, 86, 42, .20) !important;
}

/* ===== LIGHT THEME: FIX BLACK TRAIL BEHIND TOOL TABS ===== */

body:not(.dark-app) .tool-tabs {
  background: rgba(255, 255, 255, .74) !important;
  border-color: rgba(44, 35, 24, .10) !important;
  box-shadow: 0 12px 34px rgba(117, 86, 46, .08) !important;
}

/* Обычные вкладки в белой теме */
body:not(.dark-app) .tool-tab {
  background: transparent !important;
  color: rgba(35, 31, 25, .58) !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Активная вкладка в белой теме — без чёрного следа */
body:not(.dark-app) .tool-tab.active {
  background: linear-gradient(180deg, #f6d79f, #e8b867) !important;
  color: #4f3212 !important;
  border-color: rgba(120, 76, 22, .26) !important;
  box-shadow:
    0 6px 16px rgba(154, 100, 34, .16),
    inset 0 1px 0 rgba(255, 255, 255, .55) !important;
  text-shadow: none !important;
  filter: none !important;
}

/* Иконки */
body:not(.dark-app) .tool-tab svg {
  color: currentColor !important;
  stroke: currentColor !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Убираем возможные псевдо-подложки, которые дают тёмный хвост */
body:not(.dark-app) .tool-tab::before,
body:not(.dark-app) .tool-tab::after,
body:not(.dark-app) .tool-tabs::before,
body:not(.dark-app) .tool-tabs::after {
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0 !important;
}

/* На мобильном особенно важно перебить старое правило .tool-tab.active */
@media (max-width: 768px) {
  body:not(.dark-app) .tool-tab.active {
    background: linear-gradient(180deg, #f6d79f, #e8b867) !important;
    color: #4f3212 !important;
    border-color: rgba(120, 76, 22, .26) !important;
    box-shadow:
      0 6px 16px rgba(154, 100, 34, .16),
      inset 0 1px 0 rgba(255, 255, 255, .55) !important;
  }

  body:not(.dark-app) .tool-tab,
  body:not(.dark-app) .tool-tab * {
    text-shadow: none !important;
    filter: none !important;
  }

  body:not(.dark-app) .tool-tabs {
    scroll-behavior: auto !important;
  }
}

/* ===== ATTEMPTS: FIX POSITION INSIDE BUTTON ===== */

.pill-convert > .attempts-dots {
  position: absolute !important;
  left: 50% !important;
  top: auto !important;
  bottom: 8px !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  .pill-convert > .attempts-dots {
    top: auto !important;
    bottom: 7px !important;
    margin: 0 !important;
  }
}

/* ===== MOBILE: CENTER 3-IN-1 BLOCK ON ALL PAGES ===== */

@media (max-width: 900px) {
  .product-hero > .mobile-pro-wide,
  .settings-strip > .mobile-pro-wide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;

    margin: 12px auto 0 !important;
    padding: 0 12px !important;

    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    overflow: visible !important;
  }

  .product-hero > .mobile-pro-wide .mobile-pro-wide-btn,
  .settings-strip > .mobile-pro-wide .mobile-pro-wide-btn {
    width: 300px !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 38px !important;

    margin: 0 auto !important;
  }
}

.pill-convert > .attempts-dots .attempts-label {
  color: #f3c98b !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  text-shadow:
    0 0 6px rgba(243, 201, 139, .45),
    0 0 14px rgba(243, 201, 139, .22) !important;
}

/* ===== SITE NOTICE / LIMIT MESSAGE ===== */

.site-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .36);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.site-notice.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-notice-card {
  position: relative;
  width: min(430px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(243, 201, 139, .28);
  background:
    radial-gradient(circle at 18% 0%, rgba(243, 201, 139, .16), transparent 38%),
    linear-gradient(180deg, rgba(18, 16, 13, .96), rgba(8, 10, 13, .97));
  box-shadow:
    0 26px 80px rgba(0, 0, 0, .48),
    0 0 60px rgba(243, 201, 139, .13),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  padding: 26px;
  color: rgba(255, 255, 255, .86);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
}

.site-notice.show .site-notice-card {
  transform: translateY(0) scale(1);
}

.site-notice-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .56);
  cursor: pointer;
}

.site-notice-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #f3c98b;
  background: rgba(243, 201, 139, .10);
  border: 1px solid rgba(243, 201, 139, .22);
  box-shadow: 0 0 28px rgba(243, 201, 139, .14);
}

.site-notice-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  line-height: 1.15;
  color: rgba(255, 246, 225, .96);
  margin-bottom: 10px;
}

.site-notice-text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .58);
  margin-bottom: 22px;
}

.site-notice-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-notice-main,
.site-notice-soft {
  height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  cursor: pointer;
  font-size: 14px;
}

.site-notice-main {
  border: 1px solid rgba(243, 201, 139, .55);
  background: linear-gradient(180deg, #f3c98b, #d59a3a);
  color: #1a1308;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(243, 201, 139, .18);
}

.site-notice-soft {
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .68);
}

body:not(.dark-app) .site-notice {
  background: rgba(66, 50, 30, .24);
}

body:not(.dark-app) .site-notice-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(183, 122, 40, .16), transparent 38%),
    linear-gradient(180deg, rgba(255, 252, 246, .98), rgba(246, 238, 224, .98));
  border-color: rgba(120, 86, 42, .20);
  color: rgba(35, 31, 25, .86);
  box-shadow:
    0 26px 80px rgba(104, 76, 38, .20),
    inset 0 1px 0 rgba(255, 255, 255, .8);
}

body:not(.dark-app) .site-notice-close {
  background: rgba(35, 31, 25, .06);
  color: rgba(35, 31, 25, .52);
}

body:not(.dark-app) .site-notice-title {
  color: rgba(35, 31, 25, .88);
}

body:not(.dark-app) .site-notice-text {
  color: rgba(35, 31, 25, .58);
}

body:not(.dark-app) .site-notice-soft {
  border-color: rgba(35, 31, 25, .10);
  background: rgba(255, 255, 255, .52);
  color: rgba(35, 31, 25, .62);
}

@media (max-width: 600px) {
  .site-notice-card {
    padding: 22px;
    border-radius: 22px;
  }

  .site-notice-title {
    font-size: 21px;
  }

  .site-notice-main,
  .site-notice-soft {
    width: 100%;
  }
}

.price-card.active-plan {
  border-color: rgba(243, 201, 139, .72) !important;
  box-shadow:
    0 0 0 1px rgba(243, 201, 139, .18),
    0 0 70px rgba(243, 201, 139, .18) !important;
}

.price-card.active-plan::after {
  content: "Активен";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(243, 201, 139, .14);
  border: 1px solid rgba(243, 201, 139, .35);
  color: #f3c98b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}

.price-btn.active-plan-btn {
  cursor: default !important;
  background: rgba(243, 201, 139, .18) !important;
  border-color: rgba(243, 201, 139, .42) !important;
  color: #f3c98b !important;
  box-shadow: none !important;
}

body:not(.dark-app) .price-card.active-plan::after {
  background: rgba(183, 122, 40, .12);
  border-color: rgba(183, 122, 40, .30);
  color: #8a5b22;
}

body:not(.dark-app) .price-btn.active-plan-btn {
  background: rgba(183, 122, 40, .12) !important;
  border-color: rgba(183, 122, 40, .26) !important;
  color: #8a5b22 !important;
}

/* ===== PAID PLAN: HIDE MANY ATTEMPT DOTS ===== */

.attempts-dots.paid-plan {
  gap: 0 !important;
}

.attempts-dots.paid-plan .attempts-label {
  color: #f3c98b !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: .04em !important;
  text-shadow:
    0 0 6px rgba(243, 201, 139, .45),
    0 0 14px rgba(243, 201, 139, .22) !important;
}

/* ===== MOBILE: PLAN BADGE WITHOUT BAR ===== */

@media (max-width: 900px) {
  .plan-badge {
    height: 30px !important;
    width: auto !important;
    min-width: 92px !important;
    max-width: none !important;
    padding: 0 10px !important;
    gap: 5px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
  }

  .plan-badge-name {
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .plan-badge-count {
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .plan-badge-bar {
    display: none !important;
  }
}

.auth-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .3s;
}
.auth-modal-overlay.open { opacity: 1; visibility: visible; }

.auth-modal {
  width: 400px; max-width: calc(100vw - 32px);
  border-radius: 22px; border: 1px solid rgba(243,201,139,.18);
  background: #0d0c09; padding: 28px 24px; text-align: center;
  position: relative;
  transform: translateY(20px) scale(.96);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.auth-modal-overlay.open .auth-modal { transform: translateY(0) scale(1); }

.auth-modal-close {
  position: absolute; right: 16px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1); background: transparent;
  color: rgba(255,255,255,.4); font-size: 14px; cursor: pointer;
}
.auth-modal-title {
  font-family: Georgia, serif; font-size: 20px;
  color: rgba(255,255,255,.88); margin-bottom: 6px;
}
.auth-modal-sub {
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 20px;
}
.auth-resend {
  display: block; width: 100%; margin-top: 12px;
  border: none; background: transparent;
  color: rgba(255,255,255,.35); font-size: 13px;
  cursor: pointer; transition: color .2s;
}
.auth-resend:hover { color: #f3c98b; }

#authCodeInput {
  font-size: 28px !important; letter-spacing: 12px;
  font-family: Georgia, serif; font-weight: 600;
}

.price-card-48h {
  max-width: 220px;
  border-style: dashed !important;
  border-color: rgba(243,201,139,.3) !important;
  background: rgba(243,201,139,.02) !important;
  padding: 28px 24px !important;
}

.tag-48h {
  position: absolute;
  top: -1px;
  right: -1px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(243,201,139,.18);
  color: #f3c98b;
  padding: 4px 12px;
  border-radius: 0 28px 0 12px;
}

.price-card-48h .price-name {
  font-size: 20px !important;
}

.price-card-48h .price-amount {
  font-size: 36px !important;
}

.price-btn-48h {
  border-color: rgba(243,201,139,.35) !important;
  background: rgba(243,201,139,.08) !important;
  color: #f3c98b !important;
}

.price-btn-48h:hover {
  background: rgba(243,201,139,.16) !important;
  border-color: rgba(243,201,139,.55) !important;
}

.prices {
  grid-template-columns: 1fr auto 1.1fr 1fr !important;
}

@media (max-width: 1100px) {
  .prices {
    grid-template-columns: 1fr 1fr !important;
  }
  .price-card-48h {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .prices {
    grid-template-columns: 1fr !important;
  }
}

body:not(.dark-app) .price-card-48h {
  border-color: rgba(183,122,40,.22) !important;
  background: rgba(183,122,40,.03) !important;
}

body:not(.dark-app) .tag-48h {
  background: rgba(183,122,40,.12);
  color: #8a5b22;
}

body:not(.dark-app) .price-btn-48h {
  border-color: rgba(183,122,40,.25) !important;
  background: rgba(183,122,40,.06) !important;
  color: #8a5b22 !important;
}

.pro-modal-trial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(243,201,139,.3);
  background: rgba(243,201,139,.03);
}

.pro-trial-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-trial-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(243,201,139,.12);
  color: #f3c98b;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.pro-trial-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

.pro-trial-desc {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  margin-top: 2px;
}

.pro-trial-btn {
  height: 34px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid rgba(243,201,139,.4);
  background: rgba(243,201,139,.08);
  color: #f3c98b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s;
}

.pro-trial-btn:hover {
  background: rgba(243,201,139,.16);
  border-color: rgba(243,201,139,.6);
}

.result-card .card-head {
  gap: 6px !important;
}

.result-card .card-head .result-title-wrap {
  margin-right: auto;
}

.mob-download-wrap {
  display: none !important;
  position: relative;
}

@media (max-width: 900px) {
  .mob-download-wrap {
    display: inline-flex !important;
  }
}

.mob-download-menu {
  display: none;
  position: fixed;
  border-radius: 10px;
  border: 1px solid rgba(243,201,139,.25);
  background: #1a1710;
  box-shadow: 0 12px 32px rgba(0,0,0,.65);
  overflow: hidden;
  z-index: 9999;
}

.mob-download-menu.open {
  display: flex;
  flex-direction: column;
}

.mob-download-menu button {
  height: 38px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  text-align: left;
  transition: .15s;
}

.mob-download-menu button:hover {
  background: rgba(243,201,139,.1);
  color: #f3c98b;
}

.mob-download-menu button + button {
  border-top: 1px solid rgba(255,255,255,.08);
}

body:not(.dark-app) .mob-download-menu {
  background: rgba(255,255,255,.97);
  border-color: rgba(44,35,24,.12);
  box-shadow: 0 12px 32px rgba(86,68,40,.18);
}

body:not(.dark-app) .mob-download-menu button {
  color: rgba(35,31,25,.72);
}

body:not(.dark-app) .mob-download-menu button:hover {
  background: rgba(183,122,40,.08);
  color: #8a5b22;
}

body:not(.dark-app) .plan-badge {
  background: rgba(183,122,40,.08);
  border-color: rgba(183,122,40,.25);
}

body:not(.dark-app) .plan-badge-name {
  color: #8a5b22;
}

body:not(.dark-app) .plan-badge-count {
  color: rgba(35,31,25,.45);
}

body:not(.dark-app) .plan-badge-bar {
  background: rgba(35,31,25,.12);
}

body:not(.dark-app) .plan-badge-fill {
  background: #b77a28;
  box-shadow: 0 0 6px rgba(183,122,40,.25);
}

/* ===== 1. Кнопка 3-в-1 для светлой темы (ПК + моб) ===== */

body:not(.dark-app) .pro-deep-btn {
  background:
    linear-gradient(180deg, rgba(183,122,40,.14), rgba(183,122,40,.06)),
    rgba(255,250,241,.92) !important;
  border-color: rgba(183,122,40,.32) !important;
  box-shadow:
    0 10px 28px rgba(117,86,46,.12),
    inset 0 1px 0 rgba(255,255,255,.7) !important;
}

body:not(.dark-app) .pro-deep-btn strong {
  color: rgba(35,31,25,.82) !important;
}

body:not(.dark-app) .pro-badge-max {
  background: #b77a28 !important;
  color: #fff8e8 !important;
}

body:not(.dark-app) .pro-deep-btn::before {
  background: linear-gradient(180deg, #b77a28, #8a5510) !important;
}

body:not(.dark-app) .desktop-pro-switch span {
  background: rgba(35,31,25,.12) !important;
  border-color: rgba(183,122,40,.22) !important;
}

body:not(.dark-app) .desktop-pro-switch input:checked + span {
  background: rgba(183,122,40,.7) !important;
}

body:not(.dark-app) .desktop-pro-switch input:checked + span::before {
  background: #fff8e8 !important;
}

@media (max-width: 900px) {
  body:not(.dark-app) .mobile-pro-wide-btn {
    background:
      linear-gradient(180deg, rgba(183,122,40,.12), rgba(183,122,40,.04)),
      rgba(255,250,241,.92) !important;
    border-color: rgba(183,122,40,.32) !important;
    box-shadow: 0 8px 22px rgba(117,86,46,.10) !important;
  }

  body:not(.dark-app) .mobile-pro-wide-btn::before {
    background: linear-gradient(180deg, #b77a28, #8a5510) !important;
  }

  body:not(.dark-app) .mobile-pro-title {
    color: rgba(35,31,25,.78) !important;
  }

  body:not(.dark-app) .mobile-pro-wide .pro-badge-max {
    background: #b77a28 !important;
    color: #fff8e8 !important;
  }

  body:not(.dark-app) .mobile-pro-switch span {
    background: rgba(35,31,25,.12) !important;
    border-color: rgba(183,122,40,.22) !important;
  }

  body:not(.dark-app) .mobile-pro-switch input:checked + span {
    background: rgba(183,122,40,.7) !important;
  }

  body:not(.dark-app) .mobile-pro-info {
    border-color: rgba(35,31,25,.18) !important;
    background: rgba(35,31,25,.08) !important;
  }

  body:not(.dark-app) .mobile-pro-info svg {
    stroke: rgba(35,31,25,.6) !important;
  }

  body:not(.dark-app) .mobile-pro-info svg circle {
    fill: rgba(35,31,25,.6) !important;
  }
}

/* ===== 2. Моб: настройки не вылезают ===== */

@media (max-width: 900px) {
  .new-workspace > .settings-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 10px !important;
    padding: 10px 12px !important;
    overflow: hidden !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .new-workspace > .settings-strip .setting-block.compact {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .new-workspace > .settings-strip .select-like {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* ===== 3. Моб: «Исходный текст» в одну строку ===== */

@media (max-width: 900px) {
  .source-card .card-head .card-label {
    white-space: nowrap !important;
    font-size: 13px !important;
  }

  .source-card .card-head {
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }

  .counter-wrap {
    flex-shrink: 0 !important;
    gap: 5px !important;
  }

  .counter-bar {
    width: 50px !important;
  }

  .counter {
    font-size: 10px !important;
    white-space: nowrap !important;
  }
}

/* ===== PROGRESS BAR INSIDE BUTTON ===== */
.pill-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(243,201,139,.15), rgba(243,201,139,.4));
  transition: width .3s ease;
  z-index: 1;
  pointer-events: none;
}

/* ===== ФЗ-152: ТУМБЛЕР СОГЛАСИЯ ===== */

.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin: 0 0 14px;
  padding: 2px;
}

.consent-toggle {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 21px;
  cursor: pointer;
}

.consent-toggle input { display: none; }

.consent-toggle span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  transition: .2s ease;
}

.consent-toggle span::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  left: 3px;
  top: 2px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  transition: .2s ease;
}

.consent-toggle input:checked + span {
  background: rgba(243,201,139,.85);
  border-color: rgba(243,201,139,.6);
  box-shadow: 0 0 12px rgba(243,201,139,.25);
}

.consent-toggle input:checked + span::before {
  transform: translateX(17px);
  background: #1a1308;
}

.consent-text {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  line-height: 1.35;
}

.consent-text a {
  color: rgba(243,201,139,.8);
  text-decoration: underline;
}

/* ===== ФЗ-152: COOKIE STRIP ===== */

.cookie-strip {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;

  max-width: 480px;
  width: calc(100% - 32px);
  padding: 10px 16px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: rgba(18,16,12,.97);
  border: 1px solid rgba(243,201,139,.2);
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(0,0,0,.45);

  animation: cookieSlideUp .35s ease;
}

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-strip-text {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.35;
  flex: 1;
}

.cookie-strip-text a {
  color: rgba(243,201,139,.7);
  text-decoration: underline;
}

.cookie-strip-btn {
  height: 30px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(243,201,139,.32);
  background: rgba(243,201,139,.15);
  color: #f3c98b;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s;
}

.cookie-strip-btn:hover {
  background: rgba(243,201,139,.25);
  border-color: rgba(243,201,139,.5);
}

body:not(.dark-app) .cookie-strip {
  background: rgba(255,252,246,.97);
  border-color: rgba(183,122,40,.18);
  box-shadow: 0 10px 34px rgba(104,76,38,.18);
}

body:not(.dark-app) .cookie-strip-text {
  color: rgba(35,31,25,.55);
}

body:not(.dark-app) .cookie-strip-text a {
  color: #b77a28;
}

body:not(.dark-app) .cookie-strip-btn {
  border-color: rgba(183,122,40,.25);
  background: rgba(183,122,40,.08);
  color: #8a5b22;
}

@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

.email-modal-btn.consent-locked {
  opacity: .4;
  cursor: not-allowed;
}

::selection{background:rgba(243,201,139,.26);color:#fff6e1}
body:not(.dark-app) ::selection{background:rgba(183,122,40,.22);color:#2a2118}

body.dark-app .text-box:focus-within{border-color:rgba(243,201,139,.34)!important;box-shadow:inset 0 0 55px rgba(0,0,0,.34),0 0 0 3px rgba(243,201,139,.10),0 18px 44px rgba(0,0,0,.18)!important;transition:border-color .3s,box-shadow .35s}
body:not(.dark-app) .text-box:focus-within{border-color:rgba(183,122,40,.36)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 3px rgba(183,122,40,.10),0 14px 34px rgba(92,66,35,.09)!important;transition:border-color .3s,box-shadow .35s}
.text-box{transition:border-color .3s,box-shadow .35s}