


:root{
  --bg:#0a0c0a;
  --bg-2:#0e110e;
  --surface:#13171400;
  --card:#14181530;
  --line:rgba(255,255,255,.07);
  --line-strong:rgba(255,255,255,.12);
  --text:#e9ede9;
  --muted:#8b938b;
  --faint:#5d645d;
  --accent:#6fe79b;
  --accent-dim:#39634c;
  --accent-ink:#04130a;
  --danger:#f87171;
  --r:18px;
  --r-sm:12px;
  --shadow:0 1px 0 rgba(255,255,255,.04), 0 18px 50px -24px rgba(0,0,0,.8);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  --display:var(--font);
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  height:100%;
}

body{
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(111,231,155,.07), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(111,231,155,.05), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:15px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  letter-spacing:.1px;
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font-family:inherit;
  cursor:pointer;
  border:none;
  background:none;
  color:inherit;
}

input,
textarea,
select{
  font-family:inherit;
  font-size:15px;
}

::selection{
  background:var(--accent);
  color:var(--accent-ink);
}

.wrap{
  display:grid;
  min-height:100dvh;
  grid-template-columns:1fr;
  max-width:1180px;
  margin:0 auto;
}

@media(min-width:900px){
  .wrap{
    grid-template-columns:248px minmax(0,1fr) 300px;
  }
}

/* ---------- Sidebar ---------- */

.side{
  display:none;
  border-right:1px solid var(--line);
  padding:26px 18px;
  position:sticky;
  top:0;
  height:100dvh;
}

@media(min-width:900px){
  .side{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
}

.brand{
  font-family:var(--display);
  font-weight:800;
  font-size:24px;
  letter-spacing:-.5px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:6px 10px 22px;
}

.brand .dot{
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 16px var(--accent);
}

.nav-btn{
  display:flex;
  align-items:center;
  gap:13px;
  padding:11px 13px;
  border-radius:var(--r-sm);
  color:var(--muted);
  font-weight:600;
  transition:.15s;
  width:100%;
  text-align:left;
}

.nav-btn svg{
  width:21px;
  height:21px;
  flex:none;
  stroke-width:1.9;
}

.nav-btn:hover{
  background:rgba(255,255,255,.04);
  color:var(--text);
}

.nav-btn.active{
  background:rgba(111,231,155,.1);
  color:var(--accent);
}

.side .me{
  margin-top:auto;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px;
  border-radius:var(--r-sm);
  border:1px solid var(--line);
}

/* ---------- Main ---------- */

main{
  min-width:0;
  padding:0 0 96px;
}

@media(min-width:900px){
  main{
    padding-bottom:24px;
  }
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(14px);
  background:linear-gradient(var(--bg),rgba(10,12,10,.7));
  border-bottom:1px solid var(--line);
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.topbar .m-brand{
  font-family:var(--display);
  font-weight:800;
  font-size:20px;
  display:flex;
  align-items:center;
  gap:8px;
}

@media(min-width:900px){
  .topbar .m-brand{
    display:none;
  }
}

.tabs{
  display:flex;
  gap:4px;
  background:rgba(255,255,255,.04);
  padding:4px;
  border-radius:999px;
}

.tab{
  padding:7px 15px;
  border-radius:999px;
  font-weight:600;
  font-size:13.5px;
  color:var(--muted);
  transition:.15s;
}

.tab.active{
  background:var(--text);
  color:var(--bg);
}

.col{
  padding:18px;
}

.section-h{
  font-family:var(--display);
  font-weight:700;
  font-size:17px;
  margin:4px 2px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* ---------- Cards ---------- */

.card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:var(--r);
  padding:16px;
  margin-bottom:14px;
  box-shadow:var(--shadow);
  animation:rise .5s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes rise{
  from{
    opacity:0;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

.post-head{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:11px;
}

.avatar{
  width:40px;
  height:40px;
  border-radius:13px;
  flex:none;
  display:grid;
  place-items:center;
  font-family:var(--display);
  font-weight:700;
  color:var(--accent-ink);
  background:linear-gradient(140deg,var(--accent),#bdf3d2);
}

.avatar.sm{
  width:32px;
  height:32px;
  border-radius:10px;
  font-size:13px;
}

.uname{
  font-weight:700;
}

.meta{
  color:var(--faint);
  font-size:12.5px;
}

.lvl{
  font-size:11px;
  font-weight:700;
  color:var(--accent);
  border:1px solid var(--accent-dim);
  padding:2px 8px;
  border-radius:999px;
  margin-left:7px;
}

.body{
  white-space:pre-wrap;
  word-wrap:break-word;
}

.tags{
  margin-top:9px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.tag{
  font-size:12px;
  color:var(--accent);
  background:rgba(111,231,155,.08);
  padding:3px 9px;
  border-radius:8px;
}

.actions{
  display:flex;
  gap:6px;
  margin-top:13px;
  border-top:1px solid var(--line);
  padding-top:11px;
}

.act{
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-weight:600;
  font-size:13.5px;
  padding:6px 11px;
  border-radius:9px;
  transition:.15s;
}

.act:hover{
  background:rgba(255,255,255,.05);
  color:var(--text);
}

.act.on{
  color:var(--accent);
}

.act svg{
  width:18px;
  height:18px;
  stroke-width:1.9;
}

/* ---------- Forms ---------- */

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:13px;
}

.field label{
  font-size:12.5px;
  color:var(--muted);
  font-weight:600;
  letter-spacing:.3px;
}

.input,
textarea.input,
select.input{
  width:100%;
  background:rgba(255,255,255,.035);
  border:1px solid var(--line-strong);
  color:var(--text);
  padding:12px 14px;
  border-radius:var(--r-sm);
  outline:none;
  transition:.15s;
}

.input:focus,
textarea.input:focus,
select.input:focus{
  border-color:var(--accent);
  background:rgba(111,231,155,.05);
}

textarea.input{
  resize:vertical;
  min-height:84px;
}

.row{
  display:flex;
  gap:10px;
}

.row > *{
  flex:1;
}

.btn{
  background:var(--accent);
  color:var(--accent-ink);
  font-weight:700;
  padding:12px 18px;
  border-radius:var(--r-sm);
  transition:.15s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.btn:hover{
  filter:brightness(1.07);
  transform:translateY(-1px);
}

.btn.ghost{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--line-strong);
}

.btn.block{
  width:100%;
}

.btn:disabled{
  opacity:.5;
  pointer-events:none;
}

.btn.small{
  padding:9px 13px;
  border-radius:999px;
  font-size:13.5px;
}

/* ---------- Right rail ---------- */

.rail{
  display:none;
}

@media(min-width:900px){
  .rail{
    display:block;
    border-left:1px solid var(--line);
    padding:22px 18px;
    position:sticky;
    top:0;
    height:100dvh;
    overflow:auto;
  }
}

.rail .card{
  padding:14px;
}

.pill{
  display:inline-block;
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--line);
  padding:4px 10px;
  border-radius:999px;
  margin:0 5px 5px 0;
}

/* ---------- Bottom nav ---------- */

.botnav{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:30;
  display:flex;
  justify-content:space-around;
  background:rgba(10,12,10,.85);
  backdrop-filter:blur(16px);
  border-top:1px solid var(--line);
  padding:9px 6px calc(9px + env(safe-area-inset-bottom));
}

@media(min-width:900px){
  .botnav{
    display:none;
  }
}

.botnav button{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  color:var(--faint);
  font-size:10.5px;
  font-weight:600;
  padding:4px 14px;
}

.botnav button svg{
  width:23px;
  height:23px;
  stroke-width:1.9;
}

.botnav button.active{
  color:var(--accent);
}

/* ---------- Public marketing shell ---------- */

.public-shell{
  min-height:100dvh;
  overflow:hidden;
}

.public-nav{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(18px);
  background:rgba(10,12,10,.72);
  border-bottom:1px solid var(--line);
  transform:translateY(0);
  opacity:1;
  transition:transform .28s ease, opacity .28s ease;
  will-change:transform;
}

.public-nav.public-nav-hidden{
  transform:translateY(-110%);
  opacity:0;
}

.public-nav-inner{
  max-width:1180px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.public-links{
  display:none;
  gap:18px;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
}

@media(min-width:760px){
  .public-links{
    display:flex;
  }
}

.public-links a:hover{
  color:var(--text);
}

.public-actions{
  display:flex;
  gap:9px;
  align-items:center;
}

.lang-select{
  background:rgba(255,255,255,.05);
  color:var(--text);
  border:1px solid var(--line-strong);
  border-radius:999px;
  padding:8px 10px;
}

.hero{
  max-width:1180px;
  margin:0 auto;
  padding:72px 18px 36px;
  display:grid;
  gap:34px;
  align-items:center;
}

@media(min-width:900px){
  .hero{
    grid-template-columns:1.05fr .95fr;
    padding-top:96px;
  }
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--accent);
  border:1px solid rgba(111,231,155,.25);
  background:rgba(111,231,155,.07);
  border-radius:999px;
  padding:6px 11px;
  font-size:13px;
  font-weight:750;
  margin-bottom:18px;
}

.hero h1{
  font-family:var(--display);
  font-size:clamp(42px,7vw,82px);
  line-height:.93;
  letter-spacing:-3px;
  margin:0 0 20px;
}

.lead{
  font-size:clamp(18px,2.3vw,23px);
  color:#b7beb7;
  max-width:660px;
  line-height:1.35;
  margin:0 0 26px;
}

.hero-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:20px;
}

.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:13px;
}

.trust-row span{
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:999px;
  padding:5px 10px;
}

.preview-card{
  position:relative;
  border:1px solid var(--line-strong);
  border-radius:28px;
  padding:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
  box-shadow:0 28px 90px -45px rgba(111,231,155,.45);
}

.preview-screen{
  border-radius:22px;
  background:#0d100d;
  border:1px solid var(--line);
  overflow:hidden;
  padding:14px;
}

.mock-line{
  height:10px;
  border-radius:99px;
  background:rgba(255,255,255,.08);
  margin:8px 0;
}

.mock-line.w70{
  width:70%;
}

.mock-line.w85{
  width:85%;
}

.mock-plant{
  height:210px;
  border-radius:18px;
  background:
    radial-gradient(circle at 45% 25%,rgba(111,231,155,.35),transparent 16%),
    radial-gradient(circle at 57% 34%,rgba(111,231,155,.22),transparent 15%),
    linear-gradient(160deg,rgba(111,231,155,.16),rgba(255,255,255,.035));
  border:1px solid rgba(111,231,155,.14);
  display:grid;
  place-items:center;
  color:rgba(233,237,233,.78);
  font-weight:800;
}

.mock-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:12px;
}

.mock-stat{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  background:rgba(255,255,255,.03);
}

.mock-stat b{
  display:block;
  font-size:17px;
  color:var(--text);
}

.mock-stat small{
  color:var(--muted);
}

.public-section{
  max-width:1180px;
  margin:0 auto;
  padding:54px 18px;
}

.public-section h2{
  font-family:var(--display);
  font-size:clamp(30px,4vw,48px);
  letter-spacing:-1.5px;
  line-height:1;
  margin:0 0 14px;
}

.section-lead{
  color:var(--muted);
  font-size:18px;
  max-width:760px;
  margin:0 0 26px;
}

.feature-grid{
  display:grid;
  gap:14px;
}

@media(min-width:760px){
  .feature-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.feature-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  border-radius:22px;
  padding:20px;
  min-height:160px;
}

.feature-card .icon{
  font-size:28px;
  margin-bottom:14px;
}

.feature-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.feature-card p{
  margin:0;
  color:var(--muted);
}

.steps{
  display:grid;
  gap:12px;
}

@media(min-width:760px){
  .steps{
    grid-template-columns:repeat(4,1fr);
  }
}

.step{
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  background:rgba(255,255,255,.025);
}

.step b{
  color:var(--accent);
  display:block;
  margin-bottom:8px;
}

.step p{
  color:var(--muted);
  margin:0;
}

.quote{
  border:1px solid var(--line-strong);
  border-radius:26px;
  padding:26px;
  background:linear-gradient(135deg,rgba(111,231,155,.1),rgba(255,255,255,.03));
  font-size:20px;
  color:#dce3dc;
}

.quote small{
  display:block;
  color:var(--muted);
  font-size:14px;
  margin-top:12px;
}

.faq-list{
  display:grid;
  gap:10px;
}

.faq-item{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:rgba(255,255,255,.025);
}

.faq-item b{
  display:block;
  margin-bottom:6px;
}

.faq-item span{
  color:var(--muted);
}

.public-footer{
  border-top:1px solid var(--line);
  padding:26px 18px;
  color:var(--muted);
}

.public-footer-inner{
  max-width:1180px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
}

.public-footer a{
  color:var(--text);
}

/* ---------- Logged-in shell ---------- */

#app.wrap{
  max-width:1280px;
  gap:0;
}

#app .side{
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  border-right:1px solid var(--line-strong);
}

#app .side .brand{
  margin-bottom:12px;
  border:1px solid rgba(111,231,155,.16);
  background:linear-gradient(135deg,rgba(111,231,155,.12),rgba(255,255,255,.025));
  border-radius:22px;
  padding:16px 15px;
  box-shadow:0 18px 55px -42px rgba(111,231,155,.9);
}

#app .side .brand::after{
  content:"GrowDiary";
  margin-left:auto;
  font-family:var(--font);
  font-size:11px;
  font-weight:800;
  letter-spacing:.4px;
  color:var(--accent);
  border:1px solid var(--accent-dim);
  border-radius:999px;
  padding:3px 7px;
}

#app .topbar{
  background:linear-gradient(180deg,rgba(10,12,10,.96),rgba(10,12,10,.74));
}

.app-hero{
  margin:18px 18px 2px;
  border:1px solid var(--line-strong);
  border-radius:30px;
  background:
    radial-gradient(520px 220px at 12% 0%,rgba(111,231,155,.16),transparent 70%),
    linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.024));
  padding:22px;
  box-shadow:0 24px 80px -55px rgba(111,231,155,.85);
}

.app-hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

.app-kicker{
  color:var(--accent);
  font-size:12px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
  margin-bottom:6px;
}

.app-hero h1{
  font-family:var(--display);
  font-size:clamp(28px,4vw,44px);
  line-height:1;
  letter-spacing:-1.4px;
  margin:0 0 8px;
}

.app-hero p{
  margin:0;
  color:var(--muted);
  max-width:620px;
  font-size:15.5px;
}

.app-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.dashboard-grid{
  display:grid;
  gap:12px;
  margin-top:20px;
}

@media(min-width:720px){
  .dashboard-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.dash-card{
  border:1px solid var(--line);
  background:rgba(10,12,10,.36);
  border-radius:20px;
  padding:15px;
}

.dash-card b{
  display:block;
  font-size:22px;
  line-height:1;
  color:var(--text);
  letter-spacing:-.5px;
}

.dash-card span{
  display:block;
  color:var(--muted);
  font-size:12.5px;
  margin-top:3px;
}

.dash-card.accent{
  border-color:rgba(111,231,155,.23);
  background:rgba(111,231,155,.08);
}

.workspace-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:4px 2px 16px;
  flex-wrap:wrap;
}

.workspace-title{
  font-family:var(--display);
  font-weight:850;
  font-size:24px;
  letter-spacing:-.7px;
}

.workspace-sub{
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
}

.quick-panel{
  display:grid;
  gap:10px;
  margin:0 18px 4px;
}

@media(min-width:720px){
  .quick-panel{
    grid-template-columns:repeat(3,1fr);
  }
}

.quick-action{
  text-align:left;
  border:1px solid var(--line);
  border-radius:20px;
  padding:15px;
  background:rgba(255,255,255,.026);
  transition:.16s;
  min-height:104px;
  display:flex;
  flex-direction:column;
  gap:6px;
}

.quick-action:hover{
  transform:translateY(-1px);
  border-color:rgba(111,231,155,.28);
  background:rgba(111,231,155,.06);
}

.quick-action strong{
  font-size:15px;
}

.quick-action span{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.quick-action i{
  font-style:normal;
  font-size:22px;
}

.onboarding{
  margin:16px 18px 0;
  border:1px solid rgba(111,231,155,.18);
  background:rgba(111,231,155,.06);
  border-radius:22px;
  padding:16px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

.onboarding h3{
  font-family:var(--display);
  font-size:18px;
  margin:0;
}

.onboarding p{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
}

.onboarding .chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.chips span{
  border:1px solid var(--line-strong);
  border-radius:999px;
  padding:7px 11px;
  color:var(--text);
  background:rgba(255,255,255,.035);
  font-weight:700;
  font-size:12.5px;
}

#app .card{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border-color:var(--line-strong);
}

#app .empty{
  border:1px dashed rgba(111,231,155,.24);
  background:rgba(111,231,155,.04);
  border-radius:22px;
  color:#b5bdb5;
}

.rail .card{
  background:rgba(255,255,255,.026);
}

.rail-note{
  border:1px solid rgba(111,231,155,.2);
  background:rgba(111,231,155,.06);
  border-radius:20px;
  padding:16px;
  margin-bottom:14px;
}

.rail-note b{
  display:block;
  margin-bottom:5px;
}

.rail-note span{
  color:var(--muted);
  font-size:13px;
}

/* ---------- Auth ---------- */

.auth{
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:24px;
}

.auth-box{
  width:100%;
  max-width:400px;
  text-align:center;
}

.auth .brand{
  justify-content:center;
  font-size:40px;
  padding:0 0 6px;
}

.auth .tagline{
  color:var(--muted);
  margin-bottom:30px;
}

.switch{
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}

.switch b{
  color:var(--accent);
  cursor:pointer;
}

.err{
  color:var(--danger);
  font-size:13.5px;
  min-height:18px;
  margin:4px 0 6px;
}

/* ---------- Utilities ---------- */

.empty{
  text-align:center;
  color:var(--faint);
  padding:50px 16px;
}

.hide{
  display:none!important;
}

.spin{
  width:18px;
  height:18px;
  border:2px solid rgba(255,255,255,.2);
  border-top-color:var(--accent);
  border-radius:50%;
  animation:sp .7s linear infinite;
  display:inline-block;
}

@keyframes sp{
  to{
    transform:rotate(360deg);
  }
}

.modal-bg{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(4px);
  z-index:50;
  display:grid;
  place-items:center;
  padding:20px;
}

.modal{
  width:100%;
  max-width:460px;
  background:var(--bg-2);
  border:1px solid var(--line-strong);
  border-radius:var(--r);
  padding:22px;
  box-shadow:var(--shadow);
  max-height:90dvh;
  overflow:auto;
}

.modal h3{
  font-family:var(--display);
  margin:0 0 16px;
  font-size:19px;
}

/* ---------- Standalone auth/newsletter pages ---------- */

.auth-page{
  min-height:100dvh;
  display:grid;
  grid-template-columns:1fr;
}

@media(min-width:900px){
  .auth-page{
    grid-template-columns:minmax(0,1fr) 460px;
  }
}

.auth-visual{
  display:none;
  padding:42px;
  align-content:center;
  background:
    radial-gradient(700px 420px at 30% 15%,rgba(111,231,155,.14),transparent 65%),
    linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  border-right:1px solid var(--line);
}

@media(min-width:900px){
  .auth-visual{
    display:grid;
  }
}

.auth-visual h1{
  font-family:var(--display);
  font-size:clamp(42px,5vw,72px);
  line-height:.95;
  letter-spacing:-2.5px;
  margin:24px 0 16px;
}

.auth-visual p{
  color:var(--muted);
  font-size:19px;
  max-width:620px;
}

.auth-panel{
  display:grid;
  align-content:center;
  padding:24px;
}

.auth-card{
  width:100%;
  max-width:420px;
  margin:0 auto;
}

.auth-card h2{
  font-family:var(--display);
  font-size:32px;
  letter-spacing:-1px;
  margin:0 0 8px;
}

.auth-card .auth-lead{
  color:var(--muted);
  margin:0 0 22px;
}

.auth-card .card{
  margin-bottom:0;
}

.auth-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:16px;
  color:var(--muted);
  font-size:14px;
}

.auth-links a{
  color:var(--accent);
  font-weight:700;
}

.check-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.4;
  margin:10px 0 14px;
}

.check-row input{
  margin-top:3px;
  accent-color:var(--accent);
}

.notice{
  border:1px solid rgba(111,231,155,.22);
  background:rgba(111,231,155,.07);
  color:#cfe8d5;
  border-radius:var(--r-sm);
  padding:12px 14px;
  font-size:13.5px;
  margin-bottom:14px;
}

.notice.warn{
  border-color:rgba(248,113,113,.3);
  background:rgba(248,113,113,.08);
  color:#ffd1d1;
}

/* ---------- Landingpage polish ---------- */

.hero-polished{
  min-height:calc(100dvh - 74px);
}

.landing-device .mock-plant{
  text-align:center;
}

.landing-device .mock-plant strong{
  display:block;
  font-size:22px;
  letter-spacing:-.5px;
}

.landing-device .mock-plant span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

.newsletter-section{
  display:grid;
  gap:22px;
  align-items:start;
}

@media(min-width:860px){
  .newsletter-section{
    grid-template-columns:minmax(0,1fr) 420px;
  }
}

.newsletter-card{
  border:1px solid var(--line-strong);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  border-radius:var(--r);
  padding:18px;
  box-shadow:var(--shadow);
}

.brand-logo{
  padding:0;
}

.brand-logo img{
  display:block;
  width:60px;
  height:58px;
  border-radius:2px;
  object-fit:cover;
  box-shadow:0 0 0 0px var(--line-strong), 0 12px 34px -22px var(--accent);
}

/* ---------- Feed owner tools ---------- */

.post-tools{
  display:flex;
  gap:8px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.post-tools .act{
  border:1px solid var(--line);
}

.post-tools .delete-post{
  color:var(--danger);
}

/* ---------- Blocked users ---------- */

.blocked-user-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  border-radius:var(--r-sm);
  padding:10px;
  margin-bottom:8px;
  background:rgba(255,255,255,.025);
}
