/* ZERO TWO: manual badges (Hot / Featured), developer bulk menu, and readable text on anime cards. Loaded last. */

/* ---- pills ---- */
.pinb{display:inline-flex;align-items:center;gap:5px;flex:none;vertical-align:middle;padding:3px 9px 3px 7px;border-radius:999px;font-weight:800;font-size:10.5px;line-height:1.2;letter-spacing:.02em;margin:0 6px 6px 0;border:1px solid transparent}
.pinb svg{width:12px;height:12px;fill:currentColor;stroke:none}
.pinb-hot{color:#b4310d;background:#fff0e6;border-color:#ffd2b8}
.pinb-featured{color:#8a5a00;background:#fff6d6;border-color:#f7de8a}
.arr-top .pinb{margin:0}

/* ---- anime cards: keep the white text readable (the brand refresh forces dark text on titles) ---- */
html:root:root body .is-anime .ig-title,
html:root:root body .is-anime .ig-tx h3,
html:root:root body .is-anime h3.ig-title,
html:root:root body #view-scripts .is-anime .ig-title,
html:root:root body .cards .is-anime .ig-title,
html:root:root body .is-anime .arr-title,
html:root:root body .is-anime .post-name{color:#fff!important;text-shadow:0 2px 14px rgba(0,0,0,.6)}
html:root:root body .is-anime .ig-desc,
html:root:root body .is-anime .arr-desc{color:rgba(244,238,255,.92)!important}
html:root:root body .is-anime .ig-who,
html:root:root body .is-anime .ig-who a,
html:root:root body .is-anime .ig-who .nm,
html:root:root body .is-anime .ig-head a{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.55)}
html:root:root body .is-anime .ig-ago,
html:root:root body .is-anime .dot,
html:root:root body .is-anime .ig-stats,
html:root:root body .is-anime .ig-stat,
html:root:root body .is-anime .arr-top time,
html:root:root body .is-anime .arr-foot{color:rgba(236,226,255,.82)!important}
html:root:root body .is-anime .ig-more,
html:root:root body .is-anime .pact{color:rgba(244,238,255,.92)!important}
html:root:root body .is-anime .ig-tags span{color:#fff!important}
html:root:root body .is-anime .newb{background:rgba(255,255,255,.92)}

/* ---- Developer edit form row ---- */
.pin-opt{display:grid;gap:8px;padding:12px 14px;border-radius:14px;border:1px solid color-mix(in srgb,#f59e0b 45%,transparent);background:color-mix(in srgb,#f59e0b 7%,transparent)}

/* ---- Developer bulk bar: Badge / Anime pop-up ---- */
.dv-bar .dv-m.on{background:rgba(255,255,255,.26);border-color:rgba(255,255,255,.5)}
.dv-menu{position:absolute;left:0;right:0;bottom:calc(100% + 10px);padding:12px;border-radius:16px;background:#14102a;color:#fff;box-shadow:0 24px 50px -16px rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.14)}
.dv-menu>b{display:block;margin:0 0 10px;font-size:12.5px;font-weight:700;color:#d9ccff}
.dv-opts{display:flex;flex-wrap:wrap;gap:8px}
.dv-menu .dv-opts button{height:38px;padding:0 14px}
.dv-menu .dv-opts .pin-hot{border-color:#ff9a62}
.dv-menu .dv-opts .pin-featured{border-color:#f5cf5b}
.dv-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.dv-menu .dv-grid button{position:relative;height:auto;aspect-ratio:3/4;padding:0;overflow:hidden;background-size:cover;background-position:50% 12%;border-radius:12px;border:2px solid rgba(255,255,255,.18);display:grid;align-items:end}
.dv-menu .dv-grid button span{display:block;padding:14px 4px 5px;font-size:10.5px;font-weight:700;text-align:center;background:linear-gradient(transparent,rgba(10,6,24,.88))}
.dv-menu .dv-grid button:hover{border-color:#fff}
.dv-menu .dv-grid .dv-off{background:#2a2250;align-items:center}
.dv-menu .dv-grid .dv-off span{background:none;padding:0;font-size:12px}
@media (max-width:640px){
  .dv-bar{flex-wrap:wrap;bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .dv-bar .dv-acts{flex-basis:100%;order:3}
  .dv-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.pinb-trending{color:#0b6b4f;background:#e4fbf1;border-color:#a8ecd2}
.pinb-pick{color:#6b21a8;background:#f5e9ff;border-color:#dcb8f7}
.pinb-popular{color:#b0143f;background:#ffe9ef;border-color:#f8b8c9}
.pinb-trusted{color:#0b5aa6;background:#e6f2ff;border-color:#b2d6f7}
.pinb-top{color:#8a4b00;background:#fff1d9;border-color:#f3cf8f}
.pinb-staff{color:#3730a3;background:#ebeaff;border-color:#c3c0f5}
