:root {
    --ink: #16233a;
    --ink-2: #3d4c66;
    --ink-3: #6b7893;
    --brand: #1f5eff;
    --brand-deep: #0f3ecb;
    --brand-soft: #e9f0ff;
    --teal: #0f8a72;
    --teal-soft: #e4f6f1;
    --gold: #f5a623;
    --gold-deep: #b96b00;
    --bg: #f5f7fb;
    --card: #fff;
    --line: #e2e8f4;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(22, 35, 58, .05), 0 8px 24px rgba(22, 35, 58, .06);
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}


/* SECTION: breadcrumb */
.crumbs {
    font-size: 13px;
    color: var(--ink-3);
    padding: 14px 0 0
}

.crumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.crumbs li+li::before {
    content: "/";
    margin-right: 6px;
    color: #b8c2d6
}

.crumbs a {
    color: var(--ink-3)
}

.crumbs [aria-current] {
    color: var(--ink);
    font-weight: 600
}

/* SECTION: page-head（GEO 可引用导语） */
main {
    padding: 18px 0 56px
}

.page-head {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    border-top: 4px solid var(--gold);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center
}

@media (max-width:720px) {
    .page-head {
        grid-template-columns: 1fr
    }
}

h1 {
    font-size: 24px;
    margin: 10px 0 8px;
    font-weight: bold;
}

.chip-top {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-deep);
    background: #fff4e0;
    padding: 4px 10px;
    border-radius: 999px
}

.page-head p.desc {
    font-size: 14.5px;
    color: var(--ink-2);
    max-width: 70ch
}

.head-stats {
    display: flex;
    gap: 26px
}

.stat {
    text-align: center;
    min-width: 84px
}

.stat b {
    display: block;
    font-size: 26px;
    color: var(--gold-deep);
    line-height: 1.3
}

.stat span {
    font-size: 12.5px;
    color: var(--ink-3)
}

.stat .stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 2px
}

/* SECTION: tools 搜索+筛选 */
.tools {
    margin-top: 16px;
    display: grid;
    gap: 12px
}

.search-box {
    position: relative
}

.search-box input {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 44px;
    background: var(--card);
    box-shadow: var(--shadow)
}

.search-box input:focus {
    border-color: var(--brand);
    outline: none
}

.search-box .s-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-3)
}

.clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: none;
    color: var(--ink-3);
    font-size: 16px;
    cursor: pointer;
    display: none
}

.clear-btn.show {
    display: block
}

.cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.cat {
    min-height: 44px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink-2);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s
}

.cat[aria-pressed="true"] {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff
}

.cat:hover {
    text-decoration: none;
    opacity: .92
}

/* SECTION: review-grid 一排 3 / 2 / 1 卡片 */
.count-line {
    margin-top: 16px;
    font-size: 13px;
    color: var(--ink-3)
}

.count-line b {
    color: var(--gold-deep)
}

.r-list {
    list-style: none;
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

@media (max-width:1000px) {
    .r-list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .r-list {
        grid-template-columns: 1fr
    }
}

.r-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: border-color .15s, box-shadow .15s;
    display: flex
}

.r-item:hover {
    border-color: #e3cf9a;
    box-shadow: 0 2px 4px rgba(22, 35, 58, .06), 0 14px 32px rgba(22, 35, 58, .10)
}

.r-item.hide {
    display: none
}

.r-link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    flex: 1;
    color: inherit;
    min-height: 56px
}

.r-link:hover {
    text-decoration: none
}

.r-link:hover .r-name {
    color: var(--brand-deep)
}

.r-top {
    display: flex;
    align-items: center;
    gap: 10px
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    flex: none
}

.r-who {
    min-width: 0;
    flex: 1
}

.r-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4
}

.r-svc {
    font-size: 12px;
    color: var(--ink-3)
}

.stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap
}

.stars .off {
    color: #d7dfef
}

.r-quote {
    position: relative;
    font-size: 14px;
    color: var(--ink-2);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0px 15px;
}

.r-quote::before {
    content: "\201C";
    position: absolute;
    left: 0px;
    top: -14px;
    font-size: 34px;
    color: #ecd9a8;
    font-family: Georgia, serif
}

.r-quote::after {
    content: "\201D";
    position: absolute;
    right: 0px;
    bottom: -14px;
    font-size: 34px;
    color: #ecd9a8;
    font-family: Georgia, serif
}

.r-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.tag {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand-deep);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 2px 9px
}

.tag.win {
    color: #0a5c4c;
    background: var(--teal-soft)
}

.r-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ink-3)
}

.r-go {
    margin-left: auto;
    font-size: 13px;
    color: var(--gold-deep)
}

.r-item.soon .r-go {
    color: var(--ink-3)
}

.r-item.soon {
    opacity: .88
}

.tpl-note {
    margin-top: 22px;
    background: #fbfcff;
    border: 1px dashed #c9d5ea;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--ink-2)
}

.tpl-note h2 {
    font-size: 14.5px;
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: bold;
}

.tpl-note ol {
    padding-left: 20px
}

.tpl-note li {
    margin-bottom: 4px
}

.r-head {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    border-top: 4px solid var(--gold);
    line-height: 1.5;
}

.chip {
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-deep);
    background: #fff4e0;
    padding: 4px 10px;
    border-radius: 999px
}

h1 {
    font-size: 23px;
    line-height: 1.5;
    margin: 12px 0 10px
}

.r-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: var(--ink-3)
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a623, #ef6c3a);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 16px;
    flex: none
}

.stars {
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 2px
}

.stars .off {
    color: #d7dfef
}

.demo-flag {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-deep);
    border: 1px dashed var(--gold);
    border-radius: 6px;
    padding: 1px 8px
}

/* SECTION: dimension bars（演示维度值） */
.dims {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

@media (max-width:720px) {
    .dims {
        grid-template-columns: repeat(2, 1fr)
    }
}

.dim {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fbfcff;
    font-size: 12.5px;
    color: var(--ink-3)
}

.dim b {
    display: block;
    font-size: 16px;
    color: var(--gold-deep)
}

.dim .bar {
    height: 5px;
    border-radius: 99px;
    background: #efe4cd;
    margin-top: 6px;
    overflow: hidden
}

.dim .bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #ef6c3a);
    border-radius: 99px
}

/* SECTION: sections */
.section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    margin-top: 20px;
    scroll-margin-top: 84px
}

h2 {
    font-size: 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

h2 .idx {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #fff4e0;
    color: var(--gold-deep);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800
}

.section p {
    color: var(--ink-2);
    margin-bottom: 10px;
    font-size: 15px
}

.section p:last-child {
    margin-bottom: 0
}

blockquote {
    margin: 14px 0 4px;
    padding: 14px 18px;
    border-left: 4px solid var(--gold);
    background: #fffaf0;
    border-radius: 0 10px 10px 0;
    color: #6b4a00;
    font-size: 15px
}

/* SECTION: attics 3:4 附图位 */
.attics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 12px
}

@media (max-width:640px) {
    .attics {
        grid-template-columns: 1fr
    }
}

.attic {
    aspect-ratio: 3/4;
    border-radius: 12px;
    border: 1px dashed #d8c49a;
    background: linear-gradient(160deg, #fbf3e0, #f3e3c0);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #8a6a1f;
    font-size: 13px;
    padding: 16px;
    line-height: 1.7
}

.attic b {
    display: block;
    font-size: 14px;
    margin-bottom: 4px
}

/* SECTION: helpful */
.helpful-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, transform .1s
}

.btn:hover {
    background: #e09312;
    text-decoration: none
}

.btn:active {
    transform: scale(.98)
}

.btn.on {
    background: #fff;
    color: var(--gold-deep)
}

.helpful-num {
    font-size: 13px;
    color: var(--ink-3)
}

/* SECTION: other reviews */
.mini-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media (max-width:720px) {
    .mini-list {
        grid-template-columns: 1fr
    }
}

.mini {
    display: flex;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fbfcff;
    align-items: flex-start;
    color: inherit
}

.mini:hover {
    text-decoration: none;
    border-color: #e3cf9a
}

.mini .avatar {
    width: 32px;
    height: 32px;
    font-size: 13px
}

.mini p {
    font-size: 13px;
    color: var(--ink-3);
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.mini b {
    font-size: 13.5px;
    color: var(--ink)
}

/* SECTION: aside */
aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 80px
}

@media (max-width:900px) {
    aside {
        position: static;
        order: 2
    }
}

.side-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px
}

.side-card h2 {
    font-size: 15px;
    margin-bottom: 10px
}

dl.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    font-size: 13.5px
}

dl.facts dt {
    color: var(--ink-3);
    white-space: nowrap;
    padding-top: 2px
}

dl.facts dd {
    color: var(--ink);
    font-weight: 600;
    margin: 0
}

.btn-ghost {
    background: #fff;
    color: var(--brand-deep);
    border-color: #c7d6f5;
    width: 100%;
    justify-content: center;
    margin-top: 12px
}

.btn-ghost:hover {
    background: var(--brand-soft)
}

.note {
    font-size: 12px;
    color: var(--ink-3);
    line-height: 1.6
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 16px);
    background: #1c2b47;
    color: #fff;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 90;
    max-width: 88vw;
    text-align: center
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}