/* DimaShorts tags section — based on the supplied MediaFire source. */
.tags-section{background-color:#0b0f19;padding:16px;border-radius:12px;margin:10px auto;max-width:100%;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif}.tags-header{color:#fff;font-size:18px;font-weight:700;text-align:center;margin:0 0 14px}.tags-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-height:155px;overflow:hidden;transition:max-height .3s ease}.tags-grid.expanded,.tags-grid--all{max-height:1000px}.tag-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 12px;background-color:#1a1f2c;border:1px solid rgba(255,255,255,.08);border-radius:20px;color:#fff;text-decoration:none;font-size:13px;font-weight:500;box-sizing:border-box}.tag-pill:hover,.tag-pill:focus-visible{background-color:#252c3d;color:#fff;outline:2px solid rgba(255,255,255,.55);outline-offset:1px}.tag-name{overflow-wrap:anywhere}.tag-count{color:#fff;font-weight:400;opacity:.9;white-space:nowrap}.more-btn-container{display:flex;justify-content:center;margin-top:12px}.more-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 20px;background-color:#1a1f2c;border:1px solid rgba(255,255,255,.1);border-radius:20px;color:#fff;font:600 13px/1 system-ui,-apple-system,"Segoe UI",Tahoma,sans-serif;cursor:pointer}.more-btn:hover,.more-btn:focus-visible{background-color:#252c3d;color:#fff;outline:2px solid rgba(255,255,255,.55);outline-offset:1px}.more-btn svg{transition:transform .3s ease}.tags-empty{display:block;width:100%;color:#aeb6c1;text-align:center;padding:12px}

/* Homepage categories: compact native dropdown, replacing the visual panel. */
.category-dropdown{margin:12px auto 20px;max-width:680px;color:#f3f6fa}.category-dropdown__summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid #233446;border-radius:12px;background:#0b121d;color:#f3f6fa;cursor:pointer;font-size:17px;font-weight:700;list-style:none}.category-dropdown__summary::-webkit-details-marker{display:none}.category-dropdown__chevron{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(125,211,252,.28);border-radius:50%;background:linear-gradient(145deg,rgba(30,53,75,.92),rgba(12,25,39,.96));color:#8eddf5;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 4px 12px rgba(0,0,0,.2);transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease}.category-dropdown__chevron svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}.category-dropdown[open] .category-dropdown__chevron{border-color:rgba(103,232,249,.72);background:linear-gradient(145deg,#16445c,#0c2638);box-shadow:0 0 0 4px rgba(34,211,238,.08),inset 0 1px 0 rgba(255,255,255,.12),0 5px 16px rgba(0,0,0,.28)}.category-dropdown[open] .category-dropdown__chevron svg{transform:rotate(180deg)}.category-dropdown__summary:hover,.category-dropdown__summary:focus-visible{background:#111c2a;border-color:#3c5369;outline:2px solid rgba(120,220,235,.35);outline-offset:2px}.category-dropdown__summary:hover .category-dropdown__chevron,.category-dropdown__summary:focus-visible .category-dropdown__chevron{border-color:rgba(125,211,252,.72);color:#c5f6ff;transform:translateY(-1px)}.category-dropdown__menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px;padding:10px;border:1px solid #1c2d3f;border-radius:12px;background:#080e17}.category-dropdown__item{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;padding:9px 10px;border-radius:8px;color:#e7edf3;text-decoration:none;font-size:13px;background:#172230}.category-dropdown__item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-dropdown__item b{flex:none;color:#91a4b5;font-size:12px;font-weight:400}.category-dropdown__item:hover,.category-dropdown__item:focus-visible{background:#25384a;color:#fff;outline:2px solid rgba(120,220,235,.35);outline-offset:1px}.category-dropdown__empty{grid-column:1/-1;color:#9baaba;text-align:center;padding:10px}@media(max-width:600px){.category-dropdown{margin:9px 0 16px}.category-dropdown__summary{padding:11px 13px;font-size:16px}.category-dropdown__menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}.category-dropdown__item{padding:8px 7px;font-size:12px}}
