/* 官方订阅地区比价 */
.op-page { padding-top: 40px; }
.op-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 40px;
    overflow: hidden;
    border: 1px solid var(--primary-soft);
    border-radius: 20px;
    background:
        radial-gradient(480px 220px at 100% 0%, rgba(106, 92, 246, .12), transparent 70%),
        radial-gradient(420px 200px at 0% 100%, rgba(52, 120, 229, .10), transparent 70%),
        linear-gradient(135deg, #F7FAFF 0%, #EEF4FF 100%);
}
.op-head-text { min-width: 0; }
/* 右侧：三个应用图标错落叠放 */
.op-head-art { position: relative; flex: none; width: 250px; height: 170px; margin-right: 10px; }
.op-head-art img {
    position: absolute;
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 14px 32px rgba(36, 50, 71, .16);
    animation: op-bob 5s ease-in-out infinite;
}
.op-head-art img:nth-child(1) { left: 0;     top: 46px; rotate: -8deg; animation-delay: 0s; }
.op-head-art img:nth-child(2) { left: 84px;  top: 0;    width: 96px; height: 96px; z-index: 1; animation-delay: -1.6s; }
.op-head-art img:nth-child(3) { left: 166px; top: 62px; rotate: 8deg; animation-delay: -3.2s; }
@keyframes op-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .op-head-art img { animation: none; } }

.op-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.op-card {
    display: flex;
    flex-direction: column;
    padding: 26px 26px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.op-card-hd { display: flex; align-items: center; gap: 14px; }
.op-card-hd img { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--border-light); object-fit: cover; }
.op-card-hd h2 { font-size: 21px; font-weight: 700; }
.op-card-desc {
    margin-top: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border);
    color: var(--text-secondary);
    font-size: 15px;
}

.op-plans { list-style: none; margin: 8px 0 0; }
.op-plan[hidden] { display: none; }
/* 页脚贴底：内容少的卡片中间留白，三张卡片底边对齐 */
.op-card > .op-plans + .op-more-btn,
.op-card > .op-plans:last-of-type { margin-bottom: 12px; }
.op-plan-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background .15s;
}
.op-plan-row:hover { background: var(--bg-page); }
.op-plan-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--text-primary);
    font-size: 16.5px;
    white-space: nowrap;
}
.op-tag {
    padding: 1px 7px;
    border-radius: 5px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
}
.op-tag.is-year { background: #FEF3C7; color: #B45309; }
.op-plan-low {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
}
.op-plan-low i { color: var(--text-muted); font-size: 15px; font-style: normal; }
.op-plan-low i::after { content: "·"; margin-left: 8px; color: var(--border); }
.op-plan-low b { color: var(--text-primary); font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.op-plan-caret { flex: none; color: var(--text-muted); font-size: 12px; transition: transform .2s; }
.op-plan-row[aria-expanded="true"] .op-plan-caret { transform: rotate(180deg); }

.op-rank {
    list-style: none;
    max-height: 300px;
    margin: 2px 0 8px;
    padding: 6px;
    overflow-y: auto;
    border-radius: 10px;
    background: var(--bg-page);
    font-size: 14.5px;
}
.op-rank li { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; }
.op-rank li:first-child { background: #fff; }
.op-rank-no { width: 20px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.op-rank li:first-child .op-rank-no { color: var(--primary); font-weight: 700; }
.op-rank-country { color: var(--text-primary); }
.op-rank-raw { margin-left: auto; color: var(--text-muted); font-size: 13.5px; }
.op-rank-cny { min-width: 82px; color: var(--text-primary); text-align: right; font-variant-numeric: tabular-nums; }

.op-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 36px;
    margin-top: 6px;
    border: 1px dashed var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: color .15s, border-color .15s, background .15s;
}
.op-more-btn:hover { color: var(--primary); border-color: var(--primary-soft); background: var(--primary-light); }
.op-more-btn i { font-size: 12px; transition: transform .2s; }
.op-more-btn.is-open i { transform: rotate(180deg); }
.op-empty { padding: 40px 0; color: var(--text-muted); text-align: center; }
.op-card-ft {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 13.5px;
}
.op-note { margin-top: 24px; color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.op-note i { margin-right: 4px; }

@media (max-width: 1200px) {
    .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .op-page { padding-top: 24px; }
    .op-head { padding: 22px 18px; border-radius: 16px; }
    .op-head-art { display: none; }
    .op-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
    .op-card { padding: 20px 16px 14px; border-radius: 16px; }
    .op-plan-name { font-size: 15.5px; }
    .op-plan-low i { font-size: 14px; }
    .op-plan-low b { font-size: 16px; }
}
