.ft-news{display:block}
.ft-news{margin-top:0;max-width:260px}
.ft-news-title{font-weight:800;font-size:1.05rem;margin-bottom:6px;color:#fff}
.ft-news-sub{color:rgba(255,255,255,.56);font-size:.95rem;line-height:1.45;margin-bottom:12px}
.ft-news-form{display:grid;grid-template-columns:1fr;gap:10px;align-items:start}
.ft-news-form input{width:100%;min-width:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.15);background:rgba(0,0,0,.08);color:inherit;outline:none}
.ft-news-form input::placeholder{color:rgba(255,255,255,.65)}
.ft-news-btn{justify-self:start;padding:10px 14px;border-radius:10px;border:0;cursor:pointer;background:var(--primary-color,#14b789);color:#fff;font-weight:700;transition:transform .15s ease,background .15s ease}
.ft-news-btn:hover{transform:translateY(-1px);background:#12a37a}
.ft-news-note{margin-top:8px;font-size:.85rem;color:rgba(255,255,255,.7)}
footer .ft-news-note{color:rgba(255,255,255,.5)}

@media (max-width:680px){
  footer{
    padding:clamp(2.4rem,8vw,3.1rem) clamp(1rem,4vw,1.25rem) calc(1.35rem + env(safe-area-inset-bottom)) !important;
  }

  footer .ft{
    max-width:430px;
  }

  footer .ft-top,
  footer .ftt{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:.85rem !important;
    align-items:start !important;
    margin-bottom:1.2rem !important;
  }

  footer .ft-top>div,
  footer .ftt>div{
    min-width:0;
  }

  footer .ft-top>div:first-child,
  footer .ftt>div:first-child{
    grid-column:1 / -1 !important;
    text-align:center;
    padding-bottom:1.15rem;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  footer .ft-brand,
  footer .fb{
    justify-content:center !important;
    margin-bottom:.65rem !important;
  }

  footer .ft-about,
  footer .fa{
    max-width:32ch;
    margin:0 auto !important;
    font-size:.9rem;
    line-height:1.55;
  }

  footer .ft-soc,
  footer .fs-row,
  footer .fs{
    justify-content:center;
    gap:.5rem;
    margin-top:.9rem;
  }

  footer .fsoc,
  footer .fsc{
    width:38px;
    height:38px;
    border-radius:12px;
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.1);
    font-size:.78rem;
  }

  footer .ft-h,
  footer .fh{
    display:flex;
    align-items:center;
    gap:.65rem;
    font-size:.68rem;
    letter-spacing:.14em;
    margin-bottom:.75rem;
  }

  footer .ft-h::after,
  footer .fh::after{
    content:"";
    flex:1;
    height:1px;
    background:linear-gradient(90deg,rgba(13,255,176,.3),rgba(255,255,255,.06));
  }

  footer .ft-links,
  footer .fl{
    display:grid;
    grid-template-columns:1fr;
    gap:.5rem;
  }

  footer .ft-links a,
  footer .fl a{
    display:flex;
    align-items:center;
    min-height:40px;
    min-width:0;
    padding:.58rem .7rem;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    background:rgba(255,255,255,.035);
    color:rgba(255,255,255,.72);
    font-size:.86rem;
    line-height:1.25;
    overflow-wrap:anywhere;
  }

  footer .ft-links a:hover,
  footer .fl a:hover{
    border-color:rgba(13,255,176,.28);
    background:rgba(13,255,176,.075);
  }

  footer .ft-top>div:not(:first-child):not(:has(.ft-news)),
  footer .ftt>div:not(:first-child):not(:has(.ft-news)){
    padding:.95rem;
    border:1px solid rgba(255,255,255,.075);
    border-radius:16px;
    background:rgba(255,255,255,.025);
  }

  footer .ft-top>div:nth-child(5),
  footer .ftt>div:nth-child(5),
  footer .ftt>div:nth-child(4):not(:has(.ft-news)){
    grid-column:1 / -1 !important;
    padding:.95rem;
    border:1px solid rgba(255,255,255,.075);
    border-radius:16px;
    background:rgba(255,255,255,.025);
  }

  footer .ft-top>div:nth-child(5) .ft-links,
  footer .ftt>div:nth-child(5) .fl,
  footer .ftt>div:nth-child(4):not(:has(.ft-news)) .fl{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  footer .ft-top>div:nth-child(5) .ft-links a,
  footer .ftt>div:nth-child(5) .fl a,
  footer .ftt>div:nth-child(4):not(:has(.ft-news)) .fl a{
    position:relative;
    min-height:38px;
    padding-left:1.85rem;
    background:rgba(0,0,0,.1);
  }

  footer .ft-top>div:nth-child(5) .ft-links a:nth-child(n+3),
  footer .ftt>div:nth-child(5) .fl a:nth-child(n+3),
  footer .ftt>div:nth-child(4):not(:has(.ft-news)) .fl a:nth-child(n+2){
    grid-column:1 / -1;
  }

  footer .ft-top>div:nth-child(5) .ft-links a::before,
  footer .ftt>div:nth-child(5) .fl a::before,
  footer .ftt>div:nth-child(4):not(:has(.ft-news)) .fl a::before{
    content:"";
    position:absolute;
    left:.72rem;
    top:50%;
    width:7px;
    height:7px;
    border-radius:999px;
    background:var(--g,#14b789);
    box-shadow:0 0 0 4px rgba(13,255,176,.08);
    transform:translateY(-50%);
  }

  footer .ft-top>div:has(.ft-news),
  footer .ftt>div:has(.ft-news){
    grid-column:1 / -1 !important;
    padding:1rem;
    border:1px solid rgba(13,255,176,.14);
    border-radius:16px;
    background:linear-gradient(135deg,rgba(13,255,176,.07),rgba(255,255,255,.025));
  }

  footer .ft-news{
    max-width:none;
  }

  footer .ft-news-title{
    font-size:1rem;
    margin-bottom:.35rem;
  }

  footer .ft-news-sub{
    font-size:.88rem;
    line-height:1.45;
    margin-bottom:.85rem;
  }

  footer .ft-news-form{
    grid-template-columns:minmax(0,1fr) auto;
    gap:.55rem;
    align-items:stretch;
  }

  footer .ft-news-form input{
    min-height:44px;
    padding:.68rem .8rem;
    border-radius:12px;
    font-size:.88rem;
  }

  footer .ft-news-btn{
    min-height:44px;
    padding:.68rem .9rem;
    border-radius:12px;
    white-space:nowrap;
  }

  footer .ft-news-note{
    margin-top:.65rem;
    font-size:.78rem;
  }

  footer .ft-bot,
  footer .fbot{
    justify-content:center !important;
    text-align:center;
    gap:.4rem;
    padding-top:1.05rem !important;
  }

  footer .ft-copy,
  footer .fc{
    width:100%;
    font-size:.72rem;
    line-height:1.5;
  }

  .btt{
    display:none !important;
  }
}

@media (max-width:380px){
  footer .ft-news-form{
    grid-template-columns:1fr;
  }

  footer .ft-news-btn{
    justify-self:start;
  }
}

