/* FANGST v164 — Trollingklubber, respects existing themes */
.fangst-clubs{max-width:980px;margin:0 auto}
.fangst-clubs .back{margin-bottom:18px}
.fangst-clubs .fangst-club-search{margin:17px 0 14px;display:flex;align-items:center;gap:10px}
.fangst-club-search input{flex:1;min-width:0}
.fangst-clubs .fangst-club-head{display:flex;align-items:center;gap:13px;min-width:0}
.fangst-clubs .fangst-club-card{display:flex;flex-direction:column;gap:13px;min-width:0}
.fangst-clubs .fangst-club-card .btn{align-self:flex-start}
.fangst-clubs .fangst-club-card h3{margin:0 0 4px;overflow-wrap:anywhere}
.fangst-club-logo,.fangst-club-hero-logo{width:66px;height:66px;object-fit:cover;border-radius:16px;flex-shrink:0;border:1px solid rgba(136,155,181,.35)}
.fangst-club-placeholder{display:inline-flex;align-items:center;justify-content:center;font-size:33px;background:rgba(45,106,145,.12)}
.fangst-club-hero{margin:14px 0 17px;align-items:flex-start!important;gap:14px}
.fangst-club-hero h1{margin:2px 0 7px;overflow-wrap:anywhere;font-size:clamp(1.4rem,6vw,2rem)}
.fangst-club-hero-logo{width:84px;height:84px}
.fangst-club-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:16px}
.fangst-club-tabs button{min-width:0;overflow-wrap:anywhere;line-height:1.15;padding:12px 3px;border:1px solid rgba(140,150,172,.42);border-radius:11px;background:transparent;color:inherit;font-size:clamp(.71rem,2.6vw,.88rem);font-weight:750}
.fangst-club-tabs button.active{border-color:#55b8cc;background:rgba(60,165,191,.2);box-shadow:inset 0 -3px #55b8cc}
.fangst-club-form{margin-top:16px}
.fangst-club-form label,.fangst-clubs form label{display:block;margin-bottom:11px;font-weight:600}
.fangst-club-form input,.fangst-club-form textarea,.fangst-clubs form input,.fangst-clubs form textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;padding:11px;border:1px solid rgba(137,162,188,.47);border-radius:10px;margin-top:6px;color:inherit;background:rgba(120,140,165,.06);font:inherit}
.fangst-clubs form input[type=file]{font-size:.87rem}
.fangst-clubs .card{overflow-wrap:anywhere}
.fangst-club-member{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid rgba(127,154,174,.23)}
.fangst-club-member:last-child{border-bottom:0}
.fangst-club-member .grow{min-width:130px;flex:1}
.fangst-club-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px}
.fangst-club-gallery-img{display:block;width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:12px;cursor:zoom-in}
.fangst-club-gallery p{margin:10px 0 5px}
.fangst-club-paragraph{white-space:pre-wrap;line-height:1.6}
.fangst-club-entry{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:15px 0}
.fangst-club-entry h2{margin:3px 0}
.fangst-club-entry .btn{flex-shrink:0}
.fangst-fish-affiliation{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.82rem;line-height:1.45;opacity:.86;margin:5px 0}
.fangst-fish-affiliation span{display:inline-flex;gap:3px;align-items:center}
.fangst-clubs .btn{white-space:normal}
@media(min-width:730px){.fangst-clubs .fangst-club-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.fangst-club-tabs button{padding:11px 1px;font-size:.7rem}.fangst-club-hero-logo{width:65px;height:65px}.fangst-club-member .btn{padding:7px 9px}}

/* Identity labels appear on separate lines below the angler's name. */
.v94-fisher{white-space:pre-line}
.fangst-club-roster-label{margin-top:3px;line-height:1.45}

/* Visible, full-width Trollingklubber shortcut on the home page */
#fangst-club-home-entry{display:flex!important;align-items:center;min-height:78px;width:100%;box-sizing:border-box;grid-column:1/-1!important;text-align:left;gap:12px;margin:8px 0 12px;border-radius:14px;border:1px solid rgba(69,165,205,.53);background:linear-gradient(120deg,rgba(38,109,145,.13),rgba(20,55,80,.10));color:inherit;padding:14px 15px;cursor:pointer;}
#fangst-club-home-entry .v57-action-text{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px;}
#fangst-club-home-entry .v57-action-text strong{font-size:1.02rem;line-height:1.2}
#fangst-club-home-entry .v57-action-text small{line-height:1.35;font-size:.84rem;opacity:.83}
#fangst-club-home-entry .v57-action-icon{font-size:1.6rem;flex:0 0 auto}
#fangst-club-home-entry .v57-arrow{font-size:1.55rem;flex:0 0 auto;opacity:.75}
#fangst-club-home-entry:focus-visible{outline:3px solid #51bfd3;outline-offset:3px}
#fangst-club-home-entry[hidden]{display:none!important}


/* v166: Fixed bottom navigation must never cover club forms and actions. */
.screen.fangst-clubs{padding-bottom:calc(190px + env(safe-area-inset-bottom, 0px))!important;overflow:visible}
.screen.fangst-clubs #club-create button[type="submit"],.screen.fangst-clubs #club-edit button[type="submit"],.screen.fangst-clubs #club-photo button[type="submit"]{min-height:52px;scroll-margin-bottom:160px}
