/*
 * 全站 span.tags 统一外观。
 *
 * 历史：
 *   以前只有 "#torrenttable .torrentname / .torrent-search-box__tag-cloud /
 *   td.embedded / .detail-tag-list" 四个上下文里的 span.tags 是 flex+圆角+阴影
 *   的精致形态，其他页面（论坛、消息、排行榜、详情页的边角等）还是最朴素的
 *   inline + 直角 + 无阴影老样式，视觉观感割裂。
 *
 * 现在：
 *   将原组合选择器放宽为通用 span.tags，让所有出现 span.tags 的地方都享受
 *   一致的 flex/圆角/字号/轻阴影体系，与种子列表页保持一致。
 *
 * 注：饱和度降档由 custom.css 内的全站规则统一叠加（见 "全站 span.tags
 * 饱和度统一"），这里只管尺寸与结构。
 */
span.tags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    min-height: 16px;
    height: auto;
    margin: 1px 3px 1px 0;
    padding: 0 7px;
    border-radius: 4px;
    line-height: 1.2;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.08);
}

.rating-icon {
    display: block;
    border-radius: 3px;
}

.detail-tag-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 100%;
}

/*"gf","gy","yy","zz","jz",'xz','diy','dh','sf','yq','m0','yc','gz','db','hdr10','hdrm'*/
span.tgf {
    background: #06c;
}

span.tyc {
    background: #085;
}

span.tgz {
    background: #530;
}

span.tdb {
    background: #358;
}

span.thdr10 {
    background: #9a3;
}

span.thdrm {
    background: #9b5;
}

span.tgy {
    background: #f96;
}

span.tyy {
    background: #f66;
}

span.tzz {
    background: #9c0;
}

span.tjz {
    background: #903;
}

span.txz {
    background: #c03;
}

span.tdiy {
    background: #993;
}

span.twj {
    background: #4382ff;
}

span.tdh {
    background: #F596AA;
}

span.tsf {
    background: #339;
}

span.tyq {
    background: #f90;
}

span.tm0 {
    background: #096;
}

span.tok {
    background: #ff3f33;
}

span.tmv {
    background: turquoise;
}

span.tlive {
    background: #ff46ed;
}

span.tconcert {
    background: #3b64ff;
}

span.tyzj {
    background: #87007e;
}

span.log {
    background: #ff9900;
    text-shadow: .2rem 0rem .5rem red, -.2rem 0rem .5rem red, 0rem .2rem .5rem red, 0rem -.2rem .5rem red;
}