/* adfree/ — the ad-free pass (22 Nov). Mobile first; old-browser rules by tools/css_compat.py. */
.af { max-width: 760px; }
.af-note { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.05); color: #dfe6e1; }
.af-note.is-warn { background: rgba(255,214,107,0.1); color: #ffe3a3; }
.af-status { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 14px; border-radius: 14px; border: 1px solid rgba(57,255,106,0.35); background: rgba(57,255,106,0.08); }
.af-status b { display: block; font-size: 15px; }
.af-status small { color: #b9c4bd; font-size: 12.5px; }
.af-badge { flex: none; padding: 4px 10px; border-radius: 999px; background: #39ff6a; color: #06210f; font-size: 12px; font-weight: 800; }
.af-perks { margin: 0 0 18px; padding-left: 18px; color: #dfe6e1; line-height: 1.6; }
.af-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 14px 10px; gap: 14px 10px; padding-top: 10px; }
@media (min-width: 640px) { .af-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.af-plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 92px; padding: 14px 12px 12px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .15s; }
.af-plan b { font-size: 15px; }
.af-plan .af-price { font-size: 18px; font-weight: 800; color: #39ff6a; }
.af-plan small { font-size: 11.5px; color: #aeb8b1; }
.af-plan[aria-checked="true"] { border-color: #39ff6a; background: rgba(57,255,106,0.1); }
.af-plan:active { transform: scale(.98); }
.af-plan:disabled { opacity: .5; cursor: not-allowed; }
.af-plan.is-bundle { border-color: rgba(255,214,107,0.45); }
.af-tag { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 999px; background: #ffd66b; color: #2a1d00; font-size: 10.5px; font-weight: 800; }
.af-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; }
.af-go { min-height: 46px; padding: 0 22px; font-size: 15px; }
.af-fine { color: #9aa59e; font-size: 12px; }
.af-hist { margin-top: 26px; }
.af-hist h2 { font-size: 16px; }
.af-hist ul { margin: 0; padding: 0; list-style: none; }
.af-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.af-hist li small { display: block; color: #9aa59e; font-size: 12px; }
.af-hist li > span:last-child { text-align: right; }

/* compat:no-flexgap:start — rebuilt by tools/css_compat.py: spacing for engines without flex gap
   (html.no-flexgap, set in the head). Edit the gap in the rule above, then run the tool. */
.no-flexgap .af-status > :not(:last-child) { margin-right: 12px; }
.no-flexgap .af-plan > :not(:last-child) { margin-bottom: 3px; }
.no-flexgap .af-buy > :not(:last-child) { margin-bottom: 8px; }
.no-flexgap .af-hist li > :not(:last-child) { margin-right: 12px; }
/* compat:no-flexgap:end */
