/* Supporters of ItsVegan — inc/supporter.php · pages/supporter.php · assets/js/parts/supporter.js · 2026-12-06 */

/* The yellow ring around the photo of a supporter (avatar() adds "av-sup") */
.avatar.av-sup{box-shadow:0 0 0 2px #fff,0 0 0 4px #F5B301}
.sc-pav .avatar.av-sup,.sp3.sc-pwrap .sc-pav .avatar.av-sup{border-color:#F5B301;box-shadow:0 0 0 3px #FDE68A,0 10px 26px -10px rgba(146,64,14,.45)}
a.cu-badge.sup-badge{text-decoration:none}
a.cu-badge.sup-badge:hover{background:#FDE68A}
.sup-pline i{color:#F59E0B}

/* The thin strip under the feed tabs */
.sup-bar{display:flex;align-items:center;gap:4px;margin:0 0 12px;padding:4px 4px 4px 6px;border-radius:14px;background:linear-gradient(90deg,#FFF8DB,#FEF3C7);box-shadow:inset 0 0 0 1px #FDE68A;color:#78350F}
.sup-bar[hidden]{display:none}
.sup-bar-link{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:4px 2px;color:inherit;text-decoration:none}
.sup-bar-ic{flex:0 0 28px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#F59E0B;font-size:13px;box-shadow:0 0 0 2px #F5B301}
.sup-bar-txt{flex:1;min-width:0;font-size:13.5px;line-height:1.3}
.sup-bar-txt b{font-weight:700;white-space:nowrap}
.sup-bar-cta{flex-shrink:0;padding:6px 12px;border-radius:999px;background:#14532D;color:#fff;font-size:12.5px;font-weight:700;line-height:1.2}
.sup-bar-link:hover .sup-bar-cta{background:#166534}
.sup-bar-x{flex:0 0 32px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:#92400E;font-size:15px;display:grid;place-items:center;cursor:pointer;opacity:.75}
.sup-bar-x:hover{background:rgba(146,64,14,.08);opacity:1}
@media (max-width:420px){.sup-bar-txt{font-size:12.5px}.sup-bar-cta{padding:5px 10px;font-size:12px}.sup-bar-link{gap:8px}}

/* /supporter */
.sup-page{max-width:680px;padding-top:16px;padding-bottom:32px}
.sup-hero{padding:26px 24px 22px;margin-bottom:16px;text-align:center;background:linear-gradient(180deg,#FFFBEB,#fff 70%)}
.sup-hero h1{font-size:26px;line-height:1.2;margin:14px 0 10px}
.sup-lead{max-width:540px;margin:0 auto 10px;font-size:15.5px;line-height:1.55;color:var(--ink-2)}
.sup-preview{display:flex;flex-direction:column;align-items:center;gap:10px}
.sup-preview-av .avatar{width:96px!important;height:96px!important;box-shadow:0 0 0 3px #fff,0 0 0 7px #F5B301,0 12px 30px -10px rgba(146,64,14,.5)}
.sup-preview-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:center;font-size:15px}
.sup-count{margin:12px 0 0;font-weight:600;color:#92400E}
.sup-count i{color:#F59E0B}
.sup-card h2{margin-top:6px}
.sup-perks li i{color:#F59E0B}
.sup-perk-ring{flex-shrink:0;width:20px;height:20px;margin:2px 1px 0;border-radius:50%;background:var(--paper-2,#eee);box-shadow:0 0 0 2px #fff,0 0 0 4px #F5B301}
.sup-amts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:4px 0 12px}
.sup-amt{position:relative;cursor:pointer}
.sup-amt input{position:absolute;opacity:0;pointer-events:none}
.sup-amt span{display:flex;flex-direction:column;align-items:center;padding:12px 4px;border-radius:14px;border:2px solid var(--line);background:#fff;transition:border-color .15s,background .15s}
.sup-amt b{font-size:20px;color:var(--ink)}
.sup-amt small{font-size:12px;color:var(--muted)}
.sup-amt:hover span{border-color:#FCD34D}
.sup-amt input:checked+span{border-color:#F5B301;background:#FFFBEB}
.sup-amt input:focus-visible+span{outline:2px solid #14532D;outline-offset:2px}
.sup-paidform{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sup-paidform select{width:auto;min-width:150px}
.sup-auth{display:flex;gap:8px;flex-wrap:wrap}
.sup-faq{margin-top:20px;border-top:1px solid var(--line);padding-top:8px}
.sup-faq details{border-bottom:1px solid var(--line);padding:10px 0}
.sup-faq summary{cursor:pointer;font-weight:600}
.sup-faq p{margin:8px 0 2px;font-size:14.5px;color:var(--ink-2);line-height:1.5}
.sup-aconf{display:flex;gap:6px;align-items:center}
.sup-aconf input{width:64px;padding:5px 6px}
@media (max-width:560px){.sup-hero{padding:20px 16px 18px}.sup-hero h1{font-size:22px}.sup-amts{grid-template-columns:repeat(2,1fr)}.sup-paidform .btn,.sup-paidform select{width:100%}}
