/* Trustpilot-Inspired Minimal Template — Dark Bar · Cream · Indigo Accent */

:root {
    /* Brand */
    --green:          #00b67a;
    --green-deep:     #00915f;
    --green-light:    rgba(0, 182, 122, 0.1);

    /* Indigo CTA (For businesses button) */
    --indigo:         #6060e0;
    --indigo-deep:    #4848c8;
    --indigo-light:   rgba(96, 96, 224, 0.1);

    /* Topbar */
    --topbar-bg:      #111111;
    --topbar-text:    #ffffff;

    /* Text */
    --ink:            #1a1a1a;
    --ink-mid:        #3c3c3c;
    --ink-soft:       #6b6b6b;
    --ink-faint:      #a8a8a8;

    /* Surfaces */
    --bg:             #f5f0e8;     /* Trustpilot cream/beige */
    --bg-warm:        #ede8df;
    --surface:        #ffffff;
    --rule:           #e4e0d8;
    --rule-dark:      #ccc8be;

    /* Radii */
    --r-xs:           4px;
    --r-sm:           8px;
    --r-md:           12px;
    --r-lg:           20px;
    --r-pill:         999px;

    /* Motion */
    --ease:           cubic-bezier(0.22, 1, 0.36, 1);
    --trans:          all 0.2s var(--ease);

    /* Shadows */
    --sh-xs:          0 1px 4px rgba(0,0,0,0.06);
    --sh-sm:          0 3px 12px rgba(0,0,0,0.09);
    --sh-md:          0 6px 24px rgba(0,0,0,0.12);
    --sh-grn:         0 4px 16px rgba(0,182,122,0.22);
    --sh-ind:         0 4px 16px rgba(96,96,224,0.22);

    --maxw:           1080px;
    --gap:            8px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Microsoft YaHei', Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ══════════════════════════════
   TOPBAR  (黑色顶栏)
   ══════════════════════════════ */
.topnav {
    background: var(--topbar-bg);
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.topnav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 绿星装饰 */
.brand-link::before {
    content: '★';
    font-size: 22px;
    color: var(--green);
    line-height: 1;
    flex-shrink: 0;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--topbar-text);
    letter-spacing: -0.3px;
    line-height: 1;
    border-bottom: none;
}

.topnav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.domain-group {
    display: flex;
    align-items: center;
    gap: 9px;
}

.domain-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--topbar-bg);
    background: var(--green);
    padding: 2px 8px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    white-space: nowrap;
}

.domain-str {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.1px;
    white-space: nowrap;
}

/* ══════════════════════════════
   CONTAINER
   ══════════════════════════════ */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 16px;
}

.content { padding: 7px 0; }

/* ══════════════════════════════
   PROMO BANNER
   ══════════════════════════════ */
.promo-shelf {
    width: 100%;
    overflow: hidden;
    border-radius: var(--r-md);
    margin: 4px 0;
    box-shadow: var(--sh-sm);
}
.promo-shelf img { display:block; width:100%; }

/* ══════════════════════════════
   NAV MODULE
   ══════════════════════════════ */
.navpanel {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--gap);
    box-shadow: var(--sh-xs);
}

.navpanel-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--rule);
}

.navpanel-row:last-child { border-bottom: none; }

.navpanel-zone {
    background: var(--topbar-bg);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    width: 10%;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 5px;
    flex-shrink: 0;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.navpanel-links {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 9px 10px;
    align-items: center;
    background: var(--surface);
}

.navpanel-links a {
    display: inline-block;
    color: var(--ink-mid);
    text-decoration: none;
    padding: 5px 4px;
    border-radius: var(--r-sm);
    transition: var(--trans);
    background: var(--bg);
    border: 1px solid var(--rule);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.navpanel-links a:hover {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    box-shadow: var(--sh-xs);
}

.navpanel-links a.active {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    font-weight: 700;
}

/* ══════════════════════════════
   SEARCH BAR
   ══════════════════════════════ */
.sbar {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    padding: 10px 14px;
    margin-bottom: var(--gap);
    box-shadow: var(--sh-sm);
}

.sbar form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
}

.sbar input[type="text"] {
    flex: 1;
    min-width: 150px;
    padding: 9px 16px;
    border: 1.5px solid var(--rule-dark);
    border-radius: var(--r-pill);
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    outline: none;
    transition: var(--trans);
}

.sbar input[type="text"]:focus {
    border-color: var(--indigo);
    background: #fff;
    box-shadow: 0 0 0 3px var(--indigo-light);
}

.sbar input[type="text"]::placeholder { color: var(--ink-faint); }

.sbar button {
    padding: 9px 18px;
    border: none;
    border-radius: var(--r-pill);
    background: var(--indigo);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-shadow: var(--sh-ind);
}

.sbar button:hover {
    background: var(--indigo-deep);
    box-shadow: 0 6px 20px rgba(96,96,224,0.3);
}

/* ══════════════════════════════
   HOT TAGS
   ══════════════════════════════ */
.keywords-shelf {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    margin-bottom: var(--gap);
    box-shadow: var(--sh-xs);
}

.kw-chip {
    padding: 5px 14px;
    background: var(--bg);
    border-radius: var(--r-pill);
    color: var(--ink-mid);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: var(--trans);
    border: 1px solid var(--rule-dark);
}

.kw-chip:hover {
    background: var(--indigo);
    color: #fff;
    border-color: var(--indigo);
    box-shadow: var(--sh-xs);
}

/* ══════════════════════════════
   SECTION BLOCK
   ══════════════════════════════ */
.secwrap { margin-bottom: var(--gap); }

.sec-hd {
    margin-bottom: 10px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--rule);
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.sec-hd::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 42px;
    height: 2px;
    background: var(--green);
    border-radius: var(--r-pill);
}

.sec-ht {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.3px;
}

.sec-ht a {
    color: var(--ink);
    text-decoration: none;
    transition: var(--trans);
}

.sec-ht a:hover { color: var(--green); }

/* ══════════════════════════════
   FILM GRID  (ratio 600:350)
   ══════════════════════════════ */
.filmrow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
}

.filmrow li { animation: slideIn 0.4s var(--ease) backwards; }
.filmrow li:nth-child(1){animation-delay:.04s}
.filmrow li:nth-child(2){animation-delay:.08s}
.filmrow li:nth-child(3){animation-delay:.12s}
.filmrow li:nth-child(4){animation-delay:.16s}
.filmrow li:nth-child(5){animation-delay:.20s}
.filmrow li:nth-child(6){animation-delay:.24s}
.filmrow li:nth-child(7){animation-delay:.28s}
.filmrow li:nth-child(8){animation-delay:.32s}

@keyframes slideIn {
    from { opacity:0; transform:translateY(14px); }
    to   { opacity:1; transform:translateY(0); }
}

/* 封面宽高比 600:350 */
.coverlnk {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r-md);
    aspect-ratio: 600 / 350;
    background: var(--rule);
    box-shadow: var(--sh-xs);
    transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.coverlnk img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
    display: block;
}

.coverlnk:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
}

.coverlnk:hover img { transform: scale(1.07); }

.coverlnk::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: rgba(255,255,255,0.95);
    background: rgba(0,0,0,0.32);
    opacity: 0;
    transition: opacity 0.2s;
}

.coverlnk:hover::after { opacity: 1; }

.cardtitle { padding: 7px 2px 0; }

.cardtitle h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cardtitle h5 a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans);
}

.cardtitle h5 a:hover { color: var(--green); }

/* ══════════════════════════════
   ENTRY TITLE BAND
   ══════════════════════════════ */
.entry-band {
    line-height: 1.7;
    text-align: left;
    padding: 14px 20px;
    font-size: 16px;
    margin: 7px 0;
    word-break: break-all;
    background: var(--surface);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    box-shadow: var(--sh-xs);
}

.entry-band a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-right: 10px;
    background: var(--green-light);
    padding: 2px 9px;
    border-radius: var(--r-pill);
}

/* ══════════════════════════════
   DETAIL SPEC PANEL
   ══════════════════════════════ */
.infocard {
    font-size: 14px;
    line-height: 1.9;
    padding: 18px 22px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    margin: 7px 0;
    box-shadow: var(--sh-xs);
}

/* ══════════════════════════════
   CAPTURE PREVIEW
   ══════════════════════════════ */
.capthumb { margin-top: 12px; }

.capthumb picture,
.capthumb img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-sm);
}

/* ══════════════════════════════
   DOWNLOAD BUTTONS
   ══════════════════════════════ */
.dlstrip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px;
    margin: 7px 0;
    flex-wrap: wrap;
}

.dlbtn {
    display: inline-block;
    padding: 11px 26px;
    background: var(--topbar-bg);
    color: #fff;
    text-decoration: none;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--trans);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

.dlbtn:hover {
    background: var(--indigo);
    box-shadow: var(--sh-ind);
    transform: translateY(-1px);
}

/* ══════════════════════════════
   SHARE STRIP
   ══════════════════════════════ */
.sharestrip {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    margin: 7px 0;
    box-shadow: var(--sh-xs);
    flex-wrap: nowrap;
}

.shareurl-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: var(--r-pill);
    padding: 8px 14px;
    overflow: hidden;
}

.shareurl-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.shareurl-val {
    font-size: 11px;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

.sharecopy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 16px;
    background: var(--topbar-bg);
    color: #fff;
    border: none;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.sharecopy-btn:hover { background: var(--indigo); box-shadow: var(--sh-ind); }
.share-sym { font-size: 14px; line-height: 1; }

/* ══════════════════════════════
   BT CLIENT HINTS
   ══════════════════════════════ */
.bthint-pc, .bthint-mob {
    text-align: center;
    padding: 10px;
}

.bthint-pc a, .bthint-mob a {
    color: var(--green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--trans);
}

.bthint-pc a:hover, .bthint-mob a:hover {
    color: var(--green-deep);
    text-decoration: underline;
}

/* ══════════════════════════════
   PAGINATION
   ══════════════════════════════ */
.pagebar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    padding: 16px 0;
    align-items: center;
}

.pagea, .pagec {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    min-width: 38px;
    text-align: center;
    transition: var(--trans);
}

.pagea {
    background: var(--surface);
    color: var(--ink);
    border: 1.5px solid var(--rule-dark);
    text-decoration: none;
}

.pagea:hover {
    background: var(--topbar-bg);
    border-color: var(--topbar-bg);
    color: #fff;
}

.pagec {
    background: var(--topbar-bg);
    color: #fff;
    border: 1.5px solid var(--topbar-bg);
    cursor: default;
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.pgend {
    padding: 18px 0;
    text-align: center;
    border-top: 3px solid var(--topbar-bg);
    margin-top: 14px;
    background: var(--surface);
}

.pgend p {
    margin: 5px 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.pgend a { color: var(--ink-soft); text-decoration: none; transition: var(--trans); }
.pgend a:hover { color: var(--green); }

/* ══════════════════════════════
   FRIENDLY LINKS
   ══════════════════════════════ */
.flinkbox {
    padding: 10px 12px;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
}

.flinkbox dl  { margin:0; }
.flinkbox dd  { display:inline-block; margin:3px 4px; }

.flinkbox a {
    color: var(--green);
    text-decoration: none;
    font-size: 12px;
    transition: var(--trans);
}

.flinkbox a:hover { color: var(--green-deep); text-decoration: underline; }
.flinkbox a.pd5  { padding: 2px 4px; }

/* ══════════════════════════════
   VISIBILITY
   ══════════════════════════════ */
.showpc  { display:block; }
.showmob { display:block; }

@media (max-width: 768px) { .showpc  { display:none !important; } }
@media (min-width: 769px) { .showmob { display:none !important; } }

/* clearfix / lazy */
.clearfix::after { content:""; display:table; clear:both; }
img[data-original] { background: var(--rule); }

/* ══════════════════════════════════
   TABLET  ≤768px
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .container { padding: 0 10px; }
    .content   { padding: 5px 0; }

    /* topbar */
    .topnav-inner  { gap: 10px; }
    .brand-name    { font-size: 19px; }
    .topnav-divider{ height: 20px; }
    .domain-str    { font-size: 15px; }
    .brand-link::before { font-size: 18px; }

    /* Nav: 15% label / 85% links, 4-per-row, 14px */
    .navpanel-zone {
        width: 15%;
        min-width: 0;
        font-size: 10px;
        padding: 8px 3px;
        letter-spacing: 0;
        word-break: break-all;
        line-height: 1.25;
    }

    .navpanel-links {
        width: 85%;
        gap: 4px;
        padding: 7px 5px;
    }

    .navpanel-links a {
        font-size: 14px;
        padding: 5px 2px;
        width: calc((100% - 12px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .filmrow {
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
    }

    .sec-ht { font-size: 16px; }

    .sbar { padding: 9px 10px; }
    .sbar input[type="text"] { min-width: 100px; font-size: 13px; padding: 7px 12px; }
    .sbar button { padding: 7px 12px; font-size: 11px; }

    .entry-band { font-size: 14px; padding: 11px 14px; }
    .infocard   { padding: 13px 16px; font-size: 13px; }

    .dlstrip { gap: 8px; padding: 10px 6px; flex-wrap: nowrap; }
    .dlbtn   { padding: 9px 16px; font-size: 12px; }

    .sharestrip   { padding: 9px 10px; gap: 7px; }
    .sharecopy-btn{ padding: 8px 12px; font-size: 11px; }

    .keywords-shelf { gap: 5px; padding: 9px 10px; }
    .kw-chip        { font-size: 11px; padding: 4px 10px; }

    .pagebar { padding: 12px 0; gap: 5px; }
    .pagea, .pagec { padding: 5px 10px; font-size: 12px; min-width: 32px; }

    .secwrap { margin-bottom: 6px; }
}

/* ══════════════════════════════════
   PHONE  ≤480px
   ══════════════════════════════════ */
@media (max-width: 480px) {
    .brand-name  { font-size: 17px; }
    .domain-str  { font-size: 14px; }

    /* Still 15%/85%, 4-per-row, 12px */
    .navpanel-zone {
        width: 15%;
        font-size: 10px;
        padding: 6px 2px;
    }

    .navpanel-links {
        width: 85%;
        gap: 3px;
        padding: 6px 3px;
    }

    .navpanel-links a {
        font-size: 12px;
        padding: 4px 1px;
        width: calc((100% - 9px) / 4);
    }

    .filmrow { gap: 7px; }
    .cardtitle h5 { font-size: 12px; }

    .dlstrip { gap: 5px; padding: 9px 3px; flex-wrap: nowrap; }
    .dlbtn   { padding: 8px 12px; font-size: 11px; }

    .sharestrip    { padding: 7px 8px; gap: 5px; }
    .shareurl-wrap { padding: 7px 10px; }
    .shareurl-tag  { font-size: 9px; }
    .shareurl-val  { font-size: 10px; }
    .sharecopy-btn { padding: 7px 10px; font-size: 11px; }
    .share-sym     { font-size: 12px; }
}

/* ══════════════════════════════════
   PC  ≥769px
   ══════════════════════════════════ */
@media (min-width: 769px) {
    .navpanel-zone  { width: 10%; font-size: 13px; }
    .navpanel-links { width: 90%; }
    .navpanel-links a { width: calc((100% - 35px) / 8); font-size: 13px; }
    .filmrow { grid-template-columns: repeat(4, 1fr); }
}
