/*
Theme Name: Google Discover Simulator
Theme URI: https://cantuariasites.com.br/
Description: Simulador visual e técnico de cards do Google Discover.
Version: 1.3.2
Author: Cantuaria Sites
*/

:root {
    --gds-bg: #0d0d0f;
    --gds-surface: #151518;
    --gds-surface-2: #1d1d21;
    --gds-border: #303036;
    --gds-text: #f3f3f4;
    --gds-muted: #a7a7ae;
    --gds-accent: #d8d8dc;
    --gds-success: #8dd7aa;
    --gds-warning: #f0c777;
    --gds-danger: #ee8f8f;
    --gds-radius: 18px;
    --gds-shadow: 0 20px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--gds-bg);
    color: var(--gds-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input { font: inherit; }

.gds-header {
    border-bottom: 1px solid var(--gds-border);
    background: rgba(13,13,15,.92);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20;
}
.gds-header-inner {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 74px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.gds-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}
.gds-brand img {
    width: 138px;
    height: auto;
    display: block;
}
.gds-brand-divider {
    width: 1px;
    height: 30px;
    background: var(--gds-border);
}
.gds-brand-name {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -.01em;
}
.gds-brand-kicker {
    color: var(--gds-muted);
    font-size: 11px;
    margin-top: 2px;
}

.gds-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 72px 24px 90px;
}
.gds-hero {
    max-width: 820px;
    margin-bottom: 44px;
}
.gds-eyebrow {
    color: #bcbcc2;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.gds-title {
    font-size: clamp(42px, 7vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0 0 22px;
}
.gds-title em {
    font-style: normal;
    color: #8e8e95;
}
.gds-lead {
    color: var(--gds-muted);
    font-size: 18px;
    line-height: 1.65;
    max-width: 720px;
    margin: 0;
}

.gds-form-card {
    background: linear-gradient(145deg, #18181b, #111114);
    border: 1px solid var(--gds-border);
    border-radius: 24px;
    padding: 10px;
    box-shadow: var(--gds-shadow);
}
.gds-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}
.gds-input {
    width: 100%;
    min-height: 60px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gds-text);
    padding: 0 18px;
    font-size: 16px;
}
.gds-input::placeholder { color: #6e6e76; }
.gds-button {
    min-height: 60px;
    border: 0;
    border-radius: 15px;
    padding: 0 25px;
    cursor: pointer;
    background: #ededee;
    color: #111113;
    font-weight: 750;
    transition: transform .18s ease, opacity .18s ease;
}
.gds-button:hover { transform: translateY(-1px); }
.gds-button:disabled { opacity: .55; cursor: wait; transform: none; }
.gds-form-note {
    margin: 12px 8px 4px;
    color: #77777f;
    font-size: 11px;
    line-height: 1.5;
}

.gds-status {
    margin-top: 18px;
    min-height: 22px;
    color: var(--gds-muted);
    font-size: 14px;
}
.gds-status.is-error { color: var(--gds-danger); }
.gds-status.is-success { color: var(--gds-success); }

.gds-results { margin-top: 56px; }
.gds-results[hidden] { display: none; }
.gds-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 42px;
    align-items: start;
}
.gds-panel {
    background: var(--gds-surface);
    border: 1px solid var(--gds-border);
    border-radius: var(--gds-radius);
    overflow: hidden;
}
.gds-panel-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gds-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.gds-panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
}
.gds-panel-body { padding: 20px; }

.gds-score {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}
.gds-score-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid #44444b;
    font-size: 20px;
    font-weight: 800;
}
.gds-score-copy strong { display: block; margin-bottom: 4px; }
.gds-score-copy span { color: var(--gds-muted); font-size: 12px; line-height: 1.5; }

.gds-checks { display: grid; gap: 8px; }
.gds-check {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 13px;
    border: 1px solid #29292e;
    border-radius: 12px;
    background: #121215;
}
.gds-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    background: #242429;
}
.gds-check.ok .gds-check-icon { color: var(--gds-success); }
.gds-check.warn .gds-check-icon { color: var(--gds-warning); }
.gds-check.bad .gds-check-icon { color: var(--gds-danger); }
.gds-check-name { font-size: 13px; font-weight: 650; }
.gds-check-detail { color: #7f7f87; font-size: 11px; text-align: right; }

.gds-meta-list { margin: 0; }
.gds-meta-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #29292e;
}
.gds-meta-row:last-child { border-bottom: 0; }
.gds-meta-row dt { color: #85858c; font-size: 12px; }
.gds-meta-row dd { margin: 0; font-size: 12px; overflow-wrap: anywhere; }
.gds-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #c9c9ce;
}

.gds-image-section { margin-top: 20px; }
.gds-image-preview {
    background: #0b0b0d;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #2a2a2e;
}
.gds-image-preview img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.gds-image-caption {
    padding: 12px 14px;
    color: #96969d;
    font-size: 11px;
}

.gds-phone-wrap {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
}
.gds-preview-switch {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 0 0 12px;
}
.gds-preview-switch button {
    border: 1px solid #38383d;
    background: #18181b;
    color: #a7a7ae;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    cursor: pointer;
}
.gds-preview-switch button.is-active {
    background: #ededee;
    color: #111113;
    border-color: #ededee;
}
.gds-phone {
    width: 390px;
    max-width: 100%;
    border: 10px solid #252529;
    border-radius: 42px;
    background: #f4f4f6;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
    overflow: hidden;
}
.gds-phone-notch {
    width: 110px;
    height: 24px;
    background: #252529;
    border-radius: 0 0 15px 15px;
    margin: -1px auto 0;
}
.gds-discover {
    min-height: 720px;
    color: #202124;
    background: #f5f6f8;
    padding-bottom: 25px;
}
.gds-discover-top {
    padding: 18px 18px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gds-discover-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.04em;
}
.gds-discover-search {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #e3e5e9;
    display: grid;
    place-items: center;
    font-size: 14px;
}
.gds-feed-card {
    background: white;
    margin: 0 0 10px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}
.gds-feed-card.compact {
    margin: 0 8px 10px;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.gds-publisher {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 51px;
    padding: 9px 14px;
}
.gds-publisher-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e6e8;
    flex: 0 0 32px;
}
.gds-publisher-text {
    min-width: 0;
    flex: 1;
}
.gds-publisher-name {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gds-publisher-time {
    font-size: 10px;
    color: #777a80;
    margin-left: auto;
    white-space: nowrap;
}
.gds-card-menu {
    color: #73767c;
    font-size: 19px;
    line-height: 1;
}
.gds-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #dedfe2;
}
.gds-card-content { padding: 13px 14px 8px; }
.gds-card-preview {
    color: #4d5055;
    font-size: 13px;
    line-height: 1.38;
    margin-bottom: 8px;
    display: none;
}
.gds-card-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.23;
    letter-spacing: -.025em;
    font-weight: 700;
}
.gds-card-title::before {
    content: "— ";
    color: #70737a;
    font-weight: 500;
}
.gds-card-domain {
    margin-top: 10px;
    color: #777a80;
    font-size: 10px;
}
.gds-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 8px 14px 13px;
    color: #6d7075;
}
.gds-card-action { font-size: 17px; }
.gds-skeleton-card {
    height: 150px;
    margin: 0 8px 10px;
    border-radius: 18px;
    background: linear-gradient(90deg,#e9eaec,#f4f4f5,#e9eaec);
}

.gds-footer {
    border-top: 1px solid var(--gds-border);
    color: #7c7c83;
    font-size: 11px;
    padding: 28px 24px;
    text-align: center;
}
.gds-footer strong { color: #bdbdc2; }

.gds-alt-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.gds-alt-image {
    border: 1px solid #2b2b30;
    border-radius: 9px;
    overflow: hidden;
    background: #0b0b0d;
}
.gds-alt-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.gds-alt-image span {
    display: block;
    padding: 6px;
    color: #7e7e86;
    font-size: 9px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .gds-result-grid { grid-template-columns: 1fr; }
    .gds-phone-wrap { position: static; }
}
@media (max-width: 640px) {
    .gds-header-inner { padding: 12px 16px; }
    .gds-brand-divider, .gds-brand-kicker { display: none; }
    .gds-brand img { width: 125px; }
    .gds-main { padding: 50px 16px 70px; }
    .gds-form { grid-template-columns: 1fr; }
    .gds-button { width: 100%; }
    .gds-meta-row { grid-template-columns: 1fr; gap: 5px; }
}

/* Compact Discover layout: headline left, square image right. */
.gds-feed-card.compact {
    display: grid;
    grid-template-columns: 1fr 122px;
    grid-template-areas:
        "publisher publisher"
        "content image"
        "actions actions";
}
.gds-feed-card.compact .gds-publisher { grid-area: publisher; }
.gds-feed-card.compact .gds-card-image {
    grid-area: image;
    width: 108px;
    height: 108px;
    aspect-ratio: 1;
    margin: 12px 12px 12px 0;
    border-radius: 10px;
}
.gds-feed-card.compact .gds-card-content {
    grid-area: content;
    padding: 16px 0 8px 14px;
}
.gds-feed-card.compact .gds-card-title {
    font-size: 16px;
    line-height: 1.25;
}
.gds-feed-card.compact .gds-card-title::before { display: none; }
.gds-feed-card.compact .gds-card-domain,
.gds-feed-card.compact .gds-card-preview { display: none; }
.gds-feed-card.compact .gds-card-actions {
    grid-area: actions;
    border-top: 1px solid #ececef;
}
.gds-feed-card.show-preview .gds-card-preview { display: block; }

.gds-options-section{margin-top:24px;padding-top:20px;border-top:1px solid #29292e}
.gds-options-label{font-size:11px;color:#8a8a91;font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin-bottom:9px}
.gds-option-buttons{display:flex;flex-wrap:wrap;gap:7px}
.gds-option-button{border:1px solid #35353b;background:#121215;color:#aaaab1;border-radius:9px;padding:8px 10px;font-size:11px;cursor:pointer;max-width:100%;text-align:left}
.gds-option-button strong{color:#dedee2;font-weight:750}
.gds-option-button.is-active{background:#ededee;color:#111113;border-color:#ededee}
.gds-option-button.is-active strong{color:#111113}
.gds-option-thumb{width:42px;height:30px;object-fit:cover;vertical-align:middle;border-radius:4px;margin-right:7px}
.gds-feed-card .gds-card-preview{display:none!important}
.gds-feed-card.show-preview .gds-card-preview{display:block!important}
.gds-feed-card .gds-card-title::before{content:""}
.gds-feed-card.show-preview .gds-card-title::before{content:"— "}
.gds-feed-card .gds-card-title{font-size:19px;line-height:1.22;font-weight:500;letter-spacing:-.02em}
.gds-feed-card .gds-card-actions{justify-content:flex-end;gap:19px;padding:6px 14px 13px}
.gds-feed-card .gds-publisher{min-height:48px;padding:9px 14px 7px}
.gds-feed-card .gds-publisher-text{display:flex;align-items:center;gap:5px}
.gds-feed-card .gds-publisher-time{margin-left:0}

/* Current Discover main card — based on the supplied August 2026 reference. */
.gds-feed-card {
    background: #202124;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    color: #f5f5f5;
}
.gds-feed-card .gds-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #303136;
}
.gds-feed-card .gds-card-content {
    padding: 17px 18px 11px;
    background: #202124;
}
.gds-feed-card .gds-card-title {
    margin: 0;
    color: #f5f5f5;
    font-size: 20px;
    line-height: 1.38;
    font-weight: 500;
    letter-spacing: -.018em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.gds-feed-card .gds-card-title::before {
    content: none !important;
}
.gds-feed-card .gds-card-preview,
.gds-feed-card .gds-card-domain {
    display: none !important;
}
.gds-feed-card.show-preview .gds-card-preview {
    display: block !important;
    color: #d1d2d5;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}
.gds-feed-card .gds-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 8px 18px 16px;
    background: #202124;
}
.gds-feed-card .gds-publisher {
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}
.gds-feed-card .gds-publisher-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    object-fit: cover;
    background: #34363b;
}
.gds-feed-card .gds-publisher-text {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}
.gds-feed-card .gds-publisher-name {
    color: #f1f1f2;
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gds-feed-card .gds-publisher-separator {
    color: #a9aaae;
    font-size: 13px;
    flex: 0 0 auto;
}
.gds-feed-card .gds-publisher-time {
    color: #a9aaae;
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
}
.gds-feed-card .gds-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 0;
    color: #bfc0c4;
}
.gds-feed-card .gds-card-action {
    width: 25px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #bfc0c4;
    display: grid;
    place-items: center;
    cursor: default;
}
.gds-feed-card .gds-card-action svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.gds-feed-card .gds-card-action:first-child svg {
    width: 25px;
    height: 25px;
}
.gds-feed-card.compact {
    display: grid;
    grid-template-columns: 1fr 122px;
    grid-template-areas:
        "image image"
        "content content"
        "footer footer";
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}
.gds-feed-card.compact .gds-card-image { grid-area: image; }
.gds-feed-card.compact .gds-card-content { grid-area: content; }
.gds-feed-card.compact .gds-card-footer { grid-area: footer; }
.gds-feed-card.compact .gds-card-title {
    font-size: 18px;
}

.gds-footer-version {
    text-align: center;
    padding: 14px 20px 22px;
    color: #777982;
    font-size: 11px;
    letter-spacing: .02em;
}

/* Google Discover Simulator v1.0.8 — current demo/card layouts */

/* Compact: title/content on the left, image on the right. */
.gds-feed-card.compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-rows: auto auto;
    grid-template-areas:
        "content image"
        "footer footer";
    align-items: stretch;
    width: 100%;
    overflow: hidden;
}
.gds-feed-card.compact .gds-card-image {
    grid-area: image;
    width: 132px;
    height: 132px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    align-self: start;
    justify-self: end;
}
.gds-feed-card.compact .gds-card-content {
    grid-area: content;
    min-width: 0;
    padding: 16px 12px 14px 18px;
    display: flex;
    align-items: center;
}
.gds-feed-card.compact .gds-card-title {
    font-size: 17px;
    line-height: 1.32;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    overflow: hidden;
}
.gds-feed-card.compact .gds-card-footer {
    grid-area: footer;
}
.gds-feed-card.compact .gds-card-preview {
    display: none !important;
}

/* Preview mode: summary comes AFTER the headline, never before it. */
.gds-feed-card.show-preview .gds-card-content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.gds-feed-card.show-preview .gds-card-title {
    order: 1;
}
.gds-feed-card.show-preview .gds-card-preview {
    order: 2;
    display: block !important;
    margin-top: 8px;
    color: #c7c8cc;
    font-size: 13px;
    line-height: 1.4;
}
.gds-feed-card.show-preview .gds-card-footer {
    margin-top: 0;
}

/* Demo article shown below the simulated current card. */
.gds-demo-card {
    display: block;
    margin-top: 14px;
    background: #202124;
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 0;
    overflow: hidden;
}
.gds-demo-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(112, 126, 255, .55), transparent 32%),
        linear-gradient(135deg, #11131a 0%, #20294a 48%, #121318 100%);
}
.gds-demo-image-mark {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 12px;
    letter-spacing: .04em;
}
.gds-demo-card-content {
    padding: 14px 18px 15px;
}
.gds-demo-card-content h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.32;
    font-weight: 500;
}
.gds-demo-card-footer {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 10px;
}
.gds-demo-publisher {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #a9aaae;
    font-size: 12px;
    white-space: nowrap;
}
.gds-demo-favicon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f2f2f2;
    color: #171717;
    font-size: 12px;
    font-weight: 700;
}
.gds-demo-dot { color: #88898d; }
.gds-demo-actions {
    display: flex;
    gap: 13px;
    color: #bfc0c4;
    font-size: 16px;
    align-items: center;
}
.gds-demo-actions span:last-child {
    letter-spacing: 1px;
}

/* Compact Discover card — v1.0.9: final isolated layout */
.gds-feed-card.compact {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 116px !important;
    grid-template-rows: auto !important;
    grid-template-areas: "compact-content compact-image" !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}
.gds-feed-card.compact .gds-card-image {
    grid-area: compact-image !important;
    display: block !important;
    width: 116px !important;
    height: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    align-self: start !important;
    justify-self: end !important;
    margin: 0 !important;
}
.gds-feed-card.compact .gds-card-content {
    grid-area: compact-content !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 14px 12px 14px 16px !important;
    margin: 0 !important;
    align-self: stretch !important;
}
.gds-feed-card.compact .gds-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.32 !important;
    font-weight: 500 !important;
    letter-spacing: -.01em !important;
}
.gds-feed-card.compact .gds-card-preview,
.gds-feed-card.compact .gds-card-domain,
.gds-feed-card.compact .gds-card-footer {
    display: none !important;
}
.gds-feed-card.compact.show-preview .gds-card-preview {
    display: none !important;
}
.gds-phone .gds-feed-card.compact,
.gds-discover .gds-feed-card.compact {
    max-width: 100% !important;
}

/* v1.0.10: compact metadata, phone theme toggle, and real blog examples */

/* Compact card refinements */
.gds-feed-card.compact {
    grid-template-columns: minmax(0, 1fr) 116px 24px !important;
    grid-template-areas: "compact-content compact-image compact-more" !important;
    column-gap: 0 !important;
    position: relative !important;
    padding: 0 !important;
}
.gds-feed-card.compact .gds-card-image {
    grid-area: compact-image !important;
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    margin: 12px 0 12px 0 !important;
    border-radius: 8px !important;
    align-self: start !important;
}
.gds-feed-card.compact .gds-card-content {
    grid-area: compact-content !important;
    padding: 14px 8px 12px 16px !important;
    align-self: stretch !important;
}
.gds-feed-card.compact .gds-card-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 4 !important;
}
.gds-feed-card.compact .gds-compact-meta {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-top: 10px !important;
    min-width: 0 !important;
    color: #9ea0a5 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}
.gds-feed-card:not(.compact) .gds-compact-meta { display:none !important; }
.gds-compact-avatar {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.gds-compact-name {
    color: #d9dade !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gds-compact-time { color:#9ea0a5 !important; }
.gds-compact-separator { color:#777a80 !important; }
.gds-feed-card.compact .gds-compact-more {
    grid-area: compact-more !important;
    align-self: center !important;
    justify-self: center !important;
    width: 24px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #aeb0b5 !important;
    display: grid !important;
    place-items: center !important;
}
.gds-feed-card.compact .gds-compact-more svg {
    width: 18px !important;
    height: 28px !important;
    fill: currentColor !important;
    stroke: none !important;
}
.gds-feed-card:not(.compact) .gds-compact-more { display:none !important; }

/* Phone theme switch */
.gds-phone-theme-toggle-wrap {
    display:flex;
    justify-content:flex-end;
    margin:0 0 8px;
}
.gds-theme-toggle {
    border:1px solid #3a3c41;
    background:#18191c;
    color:#d9dadd;
    border-radius:999px;
    padding:6px 10px;
    display:flex;
    align-items:center;
    gap:6px;
    font-size:11px;
    cursor:pointer;
}
.gds-theme-icon { font-size:14px; line-height:1; }
.gds-phone {
    transition:background-color .2s ease,color .2s ease;
}
.gds-phone.gds-phone-dark {
    background:#000 !important;
    color:#fff !important;
}
.gds-phone.gds-phone-dark .gds-discover {
    background:#000 !important;
    color:#fff !important;
}
.gds-phone.gds-phone-dark .gds-discover-top {
    background:#000 !important;
    color:#fff !important;
}
.gds-phone.gds-phone-dark .gds-discover-logo {
    color:#fff !important;
}
.gds-phone.gds-phone-light {
    background:#fff !important;
    color:#202124 !important;
}
.gds-phone.gds-phone-light .gds-discover {
    background:#fff !important;
    color:#202124 !important;
}
.gds-phone.gds-phone-light .gds-discover-top {
    background:#fff !important;
    color:#202124 !important;
}
.gds-phone.gds-phone-light .gds-discover-logo {
    color:#202124 !important;
}

/* Real latest-blog examples */
.gds-blog-examples {
    margin-top:18px;
    display:flex;
    flex-direction:column;
    gap:12px;
}
.gds-blog-examples-title {
    color:#8e9096;
    font-size:10px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    padding:4px 2px;
}
.gds-blog-card {
    display:block;
    position:relative;
    overflow:hidden;
    background:#202124;
    color:#f5f5f5;
    text-decoration:none;
    border-radius:0;
}
.gds-blog-card > img {
    display:block;
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
}
.gds-blog-card-label {
    position:absolute;
    z-index:2;
    top:8px;
    left:8px;
    padding:4px 7px;
    border-radius:5px;
    background:rgba(0,0,0,.65);
    color:#fff;
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.gds-blog-card-body {
    padding:12px 14px 14px;
}
.gds-blog-card-body h3 {
    margin:0 0 10px;
    font-size:16px;
    line-height:1.3;
    font-weight:500;
}
.gds-blog-card-footer {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
}
.gds-blog-publisher {
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    color:#aeb0b5;
    font-size:10px;
    white-space:nowrap;
    overflow:hidden;
}
.gds-blog-publisher img {
    width:20px;
    height:20px;
    border-radius:50%;
    object-fit:cover;
    flex:0 0 20px;
}
.gds-blog-actions {
    display:flex;
    gap:11px;
    color:#aeb0b5;
    font-size:14px;
}
.gds-blog-card-compact {
    display:grid;
    grid-template-columns:minmax(0,1fr) 94px 20px;
    align-items:center;
    min-height:118px;
}
.gds-blog-compact-content {
    padding:14px 8px 14px 14px;
    min-width:0;
}
.gds-blog-compact-content h3 {
    margin:0 0 9px;
    font-size:14px;
    line-height:1.28;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:4;
    overflow:hidden;
}
.gds-blog-compact-image {
    width:82px !important;
    height:82px !important;
    aspect-ratio:1/1 !important;
    border-radius:7px;
    margin:10px 0;
    object-fit:cover !important;
}
.gds-blog-compact-more {
    color:#aaa;
    font-size:18px;
    justify-self:center;
}
.gds-blog-card-preview p {
    margin:0 0 10px;
    color:#c2c4c8;
    font-size:11px;
    line-height:1.4;
}

/* v1.0.11 */
.gds-feed-card.compact{grid-template-columns:minmax(0,1fr) 112px 22px!important;grid-template-areas:"compact-content compact-image compact-more"!important;}
.gds-feed-card.compact .gds-card-image{width:100px!important;height:100px!important;min-width:100px!important;margin:10px 0!important;border-radius:8px!important;}
.gds-feed-card.compact .gds-card-content{padding:12px 6px 12px 15px!important;}
.gds-feed-card.compact .gds-compact-meta{display:flex!important;align-items:center;gap:4px;margin-top:8px;color:#9ea0a5;font-size:9px;white-space:nowrap;overflow:hidden;}
.gds-feed-card:not(.compact) .gds-compact-meta{display:none!important;}
.gds-compact-avatar{width:17px!important;height:17px!important;border-radius:50%;object-fit:cover;flex:0 0 17px;}
.gds-compact-more{grid-area:compact-more;align-self:center;justify-self:center;border:0;background:transparent;color:#aaa;font-size:20px;line-height:1;padding:0;display:none;}
.gds-feed-card.compact .gds-compact-more{display:block!important;}
#gds-blog-card-link{display:none;margin-top:14px;text-decoration:none;color:inherit;}
#gds-blog-card-link.is-ready{display:block;}
.gds-blog-card-inner{background:#202124;color:#f5f5f5;overflow:hidden;}
.gds-blog-card-image{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;}
.gds-blog-card-body{padding:12px 14px 14px;}
.gds-blog-card-title{margin:0 0 8px;font-size:16px;line-height:1.3;font-weight:500;}
.gds-blog-card-preview{display:none;margin:0 0 9px;color:#c2c4c8;font-size:11px;line-height:1.4;}
.gds-blog-card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;}
.gds-blog-publisher{display:flex;align-items:center;gap:5px;color:#aeb0b5;font-size:10px;white-space:nowrap;overflow:hidden;}
.gds-blog-publisher img{width:20px;height:20px;border-radius:50%;object-fit:cover;}
.gds-blog-actions{display:flex;gap:10px;color:#aeb0b5;}
.gds-blog-card-inner.compact{display:grid;grid-template-columns:minmax(0,1fr) 84px 18px;align-items:center;}
.gds-blog-card-inner.compact .gds-blog-card-image{width:74px;height:74px;border-radius:7px;margin:10px 0;}
.gds-blog-card-inner.compact .gds-blog-card-body{padding:12px 5px 12px 14px;}
.gds-blog-card-inner.compact .gds-blog-card-title{font-size:13px;line-height:1.28;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;}
.gds-blog-card-inner.compact .gds-blog-card-preview,.gds-blog-card-inner.compact .gds-blog-actions{display:none;}
.gds-blog-card-inner.compact::after{content:"⋮";color:#aaa;font-size:18px;justify-self:center;}
.gds-blog-card-inner.preview .gds-blog-card-preview{display:block;}
.gds-phone-theme-toggle-wrap{position:relative;z-index:999;}
.gds-theme-toggle{pointer-events:auto!important;cursor:pointer!important;position:relative;z-index:1000;}


/* v1.0.13 — final Discover and blog card rules */

/* The Discover viewport is fixed; cards scroll inside it. */
.gds-phone {
    background: #000 !important;
}
.gds-discover {
    height: 500px !important;
    max-height: 500px !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
}

/* ---------- Dark ---------- */
.gds-phone.gds-phone-dark {
    background: #000 !important;
    color: #fff !important;
}
.gds-phone.gds-phone-dark .gds-discover,
.gds-phone.gds-phone-dark .gds-discover-top {
    background: #000 !important;
    color: #fff !important;
}
.gds-phone.gds-phone-dark .gds-discover-logo {
    color: #fff !important;
}
.gds-phone.gds-phone-dark .gds-discover-search {
    background: #242424 !important;
    color: #fff !important;
}
.gds-phone.gds-phone-dark .gds-feed-card,
.gds-phone.gds-phone-dark .gds-feed-card .gds-card-content,
.gds-phone.gds-phone-dark .gds-feed-card .gds-card-footer {
    background: #202124 !important;
    color: #f5f5f5 !important;
}
.gds-phone.gds-phone-dark .gds-feed-card .gds-card-title {
    color: #f5f5f5 !important;
}
.gds-phone.gds-phone-dark #gds-blog-card-link,
.gds-phone.gds-phone-dark #gds-blog-card {
    background: #202124 !important;
    color: #f5f5f5 !important;
}
.gds-phone.gds-phone-dark .gds-blog-card-title {
    color: #f5f5f5 !important;
}
.gds-phone.gds-phone-dark .gds-blog-card-preview {
    color: #d1d2d5 !important;
}

/* ---------- Light ---------- */
.gds-phone.gds-phone-light {
    background: #fff !important;
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-discover,
.gds-phone.gds-phone-light .gds-discover-top {
    background: #fff !important;
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-discover-logo {
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-discover-search {
    background: #e9eaed !important;
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-feed-card,
.gds-phone.gds-phone-light .gds-feed-card .gds-card-content,
.gds-phone.gds-phone-light .gds-feed-card .gds-card-footer {
    background: #fff !important;
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-feed-card .gds-card-title {
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-feed-card .gds-card-preview {
    color: #333 !important;
}
.gds-phone.gds-phone-light #gds-blog-card-link,
.gds-phone.gds-phone-light #gds-blog-card {
    background: #fff !important;
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-blog-card-title {
    color: #000 !important;
}
.gds-phone.gds-phone-light .gds-blog-card-preview {
    color: #333 !important;
}
.gds-phone.gds-phone-light .gds-blog-publisher,
.gds-phone.gds-phone-light .gds-blog-actions {
    color: #555 !important;
}

/* Toggle must always be clickable. */
.gds-phone-theme-toggle-wrap {
    position: relative !important;
    z-index: 99999 !important;
}
#gds-theme-toggle {
    position: relative !important;
    z-index: 100000 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
}

/* ---------- Blog: Principal ---------- */
#gds-blog-card-link {
    display: none;
    margin-top: 14px;
    color: inherit;
    text-decoration: none;
}
#gds-blog-card-link.is-ready {
    display: block;
}
.gds-blog-card-inner {
    display: block;
    overflow: hidden;
    background: #202124;
}
.gds-blog-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.gds-blog-card-body {
    padding: 17px 18px 11px;
}
.gds-blog-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 !important;
    font-size: 20px !important;
    line-height: 1.38 !important;
    font-weight: 500 !important;
    letter-spacing: -.018em;
}
.gds-blog-card-preview {
    display: none !important;
    margin: 0 !important;
}
.gds-blog-card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 8px 0 5px;
}
.gds-blog-publisher {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #aeb0b5;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
}
.gds-blog-publisher img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    object-fit: cover;
}
.gds-blog-actions {
    display: flex;
    gap: 11px;
    color: #aeb0b5;
    font-size: 14px;
}

/* ---------- Blog: Compacto ---------- */
.gds-blog-card-inner.compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px 18px;
    align-items: center;
    min-height: 0;
}
.gds-blog-card-inner.compact .gds-blog-card-image {
    grid-column: 2;
    grid-row: 1;
    width: 74px;
    height: 74px;
    margin: 10px 0;
    border-radius: 7px;
    object-fit: cover;
}
.gds-blog-card-inner.compact .gds-blog-card-body {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 12px 6px 12px 14px;
}
.gds-blog-card-inner.compact .gds-blog-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    margin: 0 0 7px !important;
    font-size: 14px !important;
    line-height: 1.28 !important;
    font-weight: 500 !important;
}
.gds-blog-card-inner.compact .gds-blog-card-preview {
    display: none !important;
}
.gds-blog-card-inner.compact .gds-blog-card-footer {
    display: block;
    padding: 0 !important;
}
.gds-blog-card-inner.compact .gds-blog-actions {
    display: none !important;
}
.gds-blog-card-inner.compact::after {
    grid-column: 3;
    grid-row: 1;
    content: "⋮";
    align-self: center;
    justify-self: center;
    color: #aaa;
    font-size: 20px;
    line-height: 1;
}

/* ---------- Blog: Com Preview ---------- */
.gds-blog-card-inner.preview .gds-blog-card-body {
    padding: 17px 18px 11px;
}
.gds-blog-card-inner.preview .gds-blog-card-title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 8px !important;
    font-size: 20px !important;
    line-height: 1.38 !important;
    font-weight: 500 !important;
    letter-spacing: -.018em;
}
.gds-blog-card-inner.preview .gds-blog-card-preview {
    display: block !important;
    margin: 0 0 8px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    color: #d1d2d5 !important;
}
.gds-blog-card-inner.preview .gds-blog-card-footer {
    display: grid !important;
    padding: 8px 0 5px !important;
}

/* v1.0.14 — authoritative final overrides */

/* ===== Phone theme ===== */
.gds-phone.gds-phone-dark,
.gds-phone.gds-phone-dark .gds-discover,
.gds-phone.gds-phone-dark .gds-discover-top {
    background-color:#000 !important;
    color:#fff !important;
}
.gds-phone.gds-phone-light,
.gds-phone.gds-phone-light .gds-discover,
.gds-phone.gds-phone-light .gds-discover-top {
    background-color:#fff !important;
    color:#000 !important;
}
.gds-phone.gds-phone-dark .gds-discover-logo { color:#fff !important; }
.gds-phone.gds-phone-light .gds-discover-logo { color:#000 !important; }
.gds-phone.gds-phone-dark .gds-discover-search { background:#242424 !important;color:#fff !important; }
.gds-phone.gds-phone-light .gds-discover-search { background:#e9eaed !important;color:#000 !important; }
#gds-theme-toggle {
    position:relative !important;
    z-index:999999 !important;
    pointer-events:auto !important;
    cursor:pointer !important;
}

/* ===== Blog card: standard / Principal ===== */
#gds-blog-card.standard .gds-blog-card-preview {
    display:none !important;
}
#gds-blog-card.standard .gds-blog-card-title {
    font-size:20px !important;
    line-height:1.38 !important;
    font-weight:500 !important;
    margin:0 !important;
    color:#f5f5f5 !important;
}

/* ===== Blog card: Compacto ===== */
#gds-blog-card.compact {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 82px 18px !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    min-height:0 !important;
}
#gds-blog-card.compact .gds-blog-card-image {
    grid-column:2 !important;
    grid-row:1 !important;
    width:74px !important;
    height:74px !important;
    margin:8px 0 !important;
    align-self:center !important;
}
#gds-blog-card.compact .gds-blog-card-body {
    grid-column:1 !important;
    grid-row:1 !important;
    padding:10px 4px 10px 12px !important;
    min-width:0 !important;
}
#gds-blog-card.compact .gds-blog-card-title {
    font-size:14px !important;
    line-height:1.28 !important;
    font-weight:500 !important;
    margin:0 0 5px !important;
    -webkit-line-clamp:4 !important;
}
#gds-blog-card.compact .gds-blog-card-preview {
    display:none !important;
    width:0 !important;
    height:0 !important;
    margin:0 !important;
    padding:0 !important;
}
#gds-blog-card.compact .gds-blog-card-footer {
    padding:0 !important;
    margin:0 !important;
}
#gds-blog-card.compact .gds-blog-actions {
    display:none !important;
}
#gds-blog-card.compact::after {
    grid-column:3 !important;
    grid-row:1 !important;
    content:"⋮" !important;
    align-self:center !important;
    justify-self:center !important;
    color:#999 !important;
    font-size:20px !important;
}

/* ===== Blog card: Com Preview ===== */
#gds-blog-card.preview .gds-blog-card-body {
    padding:17px 18px 11px !important;
}
#gds-blog-card.preview .gds-blog-card-title {
    font-size:20px !important;
    line-height:1.38 !important;
    font-weight:500 !important;
    margin:0 0 8px !important;
    color:#f5f5f5 !important;
    -webkit-line-clamp:3 !important;
}
#gds-blog-card.preview .gds-blog-card-preview {
    display:block !important;
    font-size:13px !important;
    line-height:1.4 !important;
    font-weight:400 !important;
    margin:0 0 8px !important;
    color:#d1d2d5 !important;
}

/* v1.0.15 — native theme switch + exact blog card dimensions */

/* Native checkbox is visually hidden but remains the actual clickable control. */
.gds-theme-checkbox {
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    opacity:0 !important;
    pointer-events:none !important;
}
.gds-phone-theme-toggle-wrap {
    position:relative !important;
    z-index:999999 !important;
}
.gds-theme-toggle {
    position:relative !important;
    z-index:1000000 !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:6px !important;
    cursor:pointer !important;
    user-select:none !important;
    pointer-events:auto !important;
}
/* CSS itself performs the color switch as soon as the checkbox is checked. */
.gds-phone-wrap:has(#gds-theme-checkbox:checked) .gds-phone {
    background:#fff !important;
    color:#000 !important;
}
.gds-phone-wrap:has(#gds-theme-checkbox:checked) .gds-phone .gds-discover,
.gds-phone-wrap:has(#gds-theme-checkbox:checked) .gds-phone .gds-discover-top {
    background:#fff !important;
    color:#000 !important;
}
.gds-phone-wrap:has(#gds-theme-checkbox:checked) .gds-phone .gds-discover-logo {
    color:#000 !important;
}
.gds-phone-wrap:not(:has(#gds-theme-checkbox:checked)) .gds-phone {
    background:#000 !important;
    color:#fff !important;
}
.gds-phone-wrap:not(:has(#gds-theme-checkbox:checked)) .gds-phone .gds-discover,
.gds-phone-wrap:not(:has(#gds-theme-checkbox:checked)) .gds-phone .gds-discover-top {
    background:#000 !important;
    color:#fff !important;
}
.gds-phone-wrap:not(:has(#gds-theme-checkbox:checked)) .gds-phone .gds-discover-logo {
    color:#fff !important;
}

/* All blog headlines: maximum three lines with ellipsis. */
#gds-blog-card-title {
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:3 !important;
    overflow:hidden !important;
}

/* Blog compact: 104px image + clear separation from text. */
#gds-blog-card.compact {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 120px 20px !important;
    align-items:center !important;
}
#gds-blog-card.compact .gds-blog-card-image {
    grid-column:2 !important;
    width:104px !important;
    height:104px !important;
    max-width:104px !important;
    min-width:104px !important;
    margin:10px 0 !important;
    justify-self:start !important;
    border-radius:8px !important;
    object-fit:cover !important;
}
#gds-blog-card.compact .gds-blog-card-body {
    grid-column:1 !important;
    min-width:0 !important;
    padding:12px 16px 12px 14px !important;
}
#gds-blog-card.compact .gds-blog-card-title {
    font-size:14px !important;
    line-height:1.28 !important;
    font-weight:500 !important;
    -webkit-line-clamp:3 !important;
    margin:0 0 6px !important;
}
#gds-blog-card.compact .gds-blog-card-preview {
    display:none !important;
}
#gds-blog-card.compact .gds-blog-card-footer {
    padding:0 !important;
    margin:0 !important;
}
#gds-blog-card.compact::after {
    grid-column:3 !important;
    font-size:20px !important;
}

/* Principal: no summary and max 3 lines. */
#gds-blog-card.standard .gds-blog-card-preview {
    display:none !important;
}
#gds-blog-card.standard .gds-blog-card-title {
    font-size:20px !important;
    line-height:1.38 !important;
    font-weight:500 !important;
    -webkit-line-clamp:3 !important;
}

/* Preview: title and summary are deliberately distinct. */
#gds-blog-card.preview .gds-blog-card-title {
    font-size:20px !important;
    line-height:1.38 !important;
    font-weight:500 !important;
    -webkit-line-clamp:3 !important;
    color:#f5f5f5 !important;
    margin:0 0 8px !important;
}
#gds-blog-card.preview .gds-blog-card-preview {
    display:block !important;
    font-size:13px !important;
    line-height:1.4 !important;
    font-weight:400 !important;
    color:#d1d2d5 !important;
    margin:0 0 8px !important;
}

/* v1.2.0 — Topical Authority Analyzer */
.gds-authority-main .gds-lead{max-width:760px}
.gds-authority-results{margin-top:28px}
.gds-authority-score-panel{display:grid;grid-template-columns:180px 1fr;gap:26px;align-items:center;background:#202124;color:#fff;border-radius:18px;padding:28px;margin-bottom:18px}
.gds-authority-score{font-size:72px;font-weight:700;line-height:1;text-align:center;letter-spacing:-4px}
.gds-authority-score small{font-size:22px;letter-spacing:0;color:#aaa}
.gds-authority-kicker{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#aaa}
.gds-authority-score-panel h2{margin:5px 0;font-size:30px}
.gds-authority-score-panel p{margin:0 0 10px;color:#c5c6c9;font-size:13px}
.gds-confidence{font-size:12px;color:#aaa}
.gds-authority-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.gds-authority-grid .gds-panel{margin:0}
.gds-authority-score-list{display:grid;gap:14px}
.gds-authority-score-row>div{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}
.gds-authority-score-row strong{font-size:13px}
.gds-authority-bar{height:6px;border-radius:99px;background:#e4e5e8;overflow:hidden}
.gds-authority-bar i{display:block;height:100%;background:#202124;border-radius:inherit}
.gds-authority-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.gds-authority-columns h3{font-size:13px;margin:0 0 10px}
.gds-authority-columns ul,.gds-authority-detail-copy ul{margin:0;padding-left:19px}
.gds-authority-columns li,.gds-authority-detail-copy li{font-size:12px;line-height:1.5;margin:0 0 8px}
.gds-topic-box{display:grid;gap:15px}
.gds-topic-box span{display:block;color:#777;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}
.gds-topic-box strong{font-size:13px;font-weight:500;line-height:1.5}
.gds-meta-list{display:grid;gap:0;margin:0}
.gds-meta-list>div{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #e8e8ea}
.gds-meta-list dt{font-size:11px;color:#777}
.gds-meta-list dd{margin:0;font-size:12px;word-break:break-word}
.gds-authority-detail-copy{font-size:13px;line-height:1.5}
@media(max-width:800px){
 .gds-authority-score-panel{grid-template-columns:1fr;text-align:center}
 .gds-authority-grid{grid-template-columns:1fr}
 .gds-authority-columns{grid-template-columns:1fr}
 .gds-authority-score{font-size:58px}
}

.gds-score-evidence{margin:9px 0 0;padding:9px 10px;border-left:2px solid #ddd;background:#f7f7f8;font-size:11px;line-height:1.5;color:#666}
.gds-score-evidence>div{margin:0 0 5px}
.gds-score-evidence>div:last-child{margin-bottom:0}
.gds-score-evidence a{color:inherit;text-decoration:underline}
.gds-score-evidence small{display:block;margin-top:3px;color:#888}
.gds-sources-panel{grid-column:1/-1}
.gds-source-list{display:grid;gap:12px}
.gds-source-item{padding:12px;border:1px solid #e6e6e8;border-radius:10px}
.gds-source-item>a{font-size:13px;font-weight:600;word-break:break-word}
.gds-source-item small{display:block;color:#888;font-size:10px;margin-top:3px}
.gds-source-item p{margin:7px 0 0!important;font-size:11px;line-height:1.45;color:#666}

/* v1.3.0 — UTM Builder + tool home */
.gds-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gds-tool-card{position:relative;min-height:285px;padding:28px;border:1px solid var(--gds-border);border-radius:22px;background:linear-gradient(145deg,#18181b,#111114);text-decoration:none;transition:transform .2s,border-color .2s}
.gds-tool-card:hover{transform:translateY(-3px);border-color:#56565e}
.gds-tool-number{display:block;color:#77777f;font-size:11px;letter-spacing:.12em;margin-bottom:65px}
.gds-tool-card h2{font-size:25px;letter-spacing:-.03em;margin:0 0 10px}
.gds-tool-card p{color:var(--gds-muted);font-size:13px;line-height:1.6;margin:0;max-width:330px}
.gds-tool-arrow{position:absolute;right:25px;bottom:23px;font-size:24px;color:#aaa}
.gds-utm-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:22px;align-items:start}
.gds-utm-form-panel,.gds-utm-preview-column>.gds-panel{margin:0}
.gds-field{display:block;margin-bottom:20px}
.gds-field>span{display:block;font-size:12px;font-weight:700;margin-bottom:8px}
.gds-field b{color:#aaa}
.gds-input-box{min-height:50px!important;border:1px solid #34343a!important;border-radius:12px!important;background:#111114!important;padding:0 14px!important}
.gds-field small{display:block;color:#77777f;font-size:10px;line-height:1.45;margin-top:6px}
.gds-field code{font-size:10px}
.gds-utm-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.gds-utm-actions{display:flex;align-items:center;gap:12px;border-top:1px solid var(--gds-border);padding-top:20px}
.gds-utm-copy-status{font-size:12px;color:var(--gds-success)}
.gds-url-display{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:#c9c9ce;min-height:40px}
.gds-ga-subtitle{font-size:10px;color:#777;margin-top:3px}
.gds-ga-pill{font-size:9px;letter-spacing:.1em;border:1px solid #444;border-radius:99px;padding:5px 8px;color:#999}
.gds-ga-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}
.gds-ga-grid>div{padding:14px 10px;border-bottom:1px solid #29292e}
.gds-ga-grid span{display:block;color:#85858c;font-size:10px;margin-bottom:5px}
.gds-ga-grid strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.gds-recent-list{display:flex;flex-wrap:wrap;gap:7px}
.gds-recent-list button{border:1px solid #34343a;background:#121215;color:#c5c5ca;border-radius:999px;padding:7px 10px;cursor:pointer;font-size:11px}
.gds-recent-list button span{color:#777;margin-right:6px}
@media(max-width:900px){
 .gds-tools-grid,.gds-utm-layout{grid-template-columns:1fr}
 .gds-utm-fields{grid-template-columns:1fr}
}

.gds-header-cta,.gds-footer-cta{font-size:11px;color:#bdbdc3;text-decoration:none;border:1px solid #34343a;border-radius:999px;padding:9px 13px;transition:.2s}
.gds-header-cta:hover,.gds-footer-cta:hover{color:#fff;border-color:#5a5a62}
.gds-header-cta span,.gds-footer-cta span{margin-left:6px}
.gds-footer-cta{display:inline-block;margin-top:12px}
@media(max-width:700px){.gds-header-cta{display:none}}
