.xg-product-guide,.xg-lua-gallery { --guide-text:#234253;--guide-accent:#096a77;--guide-muted:#526b7b;--guide-surface:#eff7fb;--guide-subtle:#e1eef4;--guide-border:#bdd2df;box-sizing:border-box;width:100%;min-width:0;color:var(--guide-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.65;}
html.xg-midnight :is(.xg-product-guide,.xg-lua-gallery){--guide-text:#e9e1f1;--guide-accent:#86dede;--guide-muted:#c0b2cf;--guide-surface:#2a2035;--guide-subtle:#352942;--guide-border:#604b74;}
.xg-product-guide h3,.xg-lua-gallery h3 {margin:0!important;color:var(--guide-accent)!important;font-size:20px!important;line-height:1.4;font-weight:750;}
.xg-product-guide h4 {margin:0 0 10px!important;color:var(--guide-text)!important;font-size:15px!important;font-weight:750;}
.xg-guide-heading {display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:16px 0 10px;}
.xg-guide-badge {display:inline-block;padding:3px 9px;border:1px solid var(--guide-border);border-radius:7px;background:var(--guide-subtle);color:var(--guide-accent)!important;font-size:12px;line-height:1.5;font-weight:700;}
.xg-product-guide .xg-guide-lead {margin:0 0 14px;color:var(--guide-text)!important;font-size:14px;}
.xg-guide-section {margin:12px 0;padding:15px;background:var(--guide-surface);border:1px solid var(--guide-border);border-radius:13px;}
.xg-guide-section ul {list-style:none;padding:0!important;margin:0!important;}
.xg-guide-section li {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 12px;margin:7px 0!important;}
.xg-guide-section li strong {min-width:90px;color:var(--guide-accent)!important;font-size:14px;}
.xg-guide-section li span {color:var(--guide-text)!important;font-size:14px;}
.xg-guide-note {margin:10px 0 0!important;color:var(--guide-muted)!important;font-size:12px!important;font-weight:400;}
.xg-guide-specs {display:flex;flex-wrap:wrap;gap:10px 20px;margin:0!important;}
.xg-guide-specs>div {flex:1 1 180px;min-width:0;}
.xg-guide-specs dt {font-size:12px;font-weight:500;color:var(--guide-muted)!important;}
.xg-guide-specs dd {margin:1px 0 0!important;font-size:14px;font-weight:650;color:var(--guide-text)!important;}
.xg-guide-figure {margin:0!important;min-width:0;}
.yinse-item-content-root[data-item-id] .yinse-description-body .xg-guide-figure a {display:block;padding:0!important;border:0!important;border-radius:10px;background:transparent!important;box-shadow:none!important;}
.xg-guide-figure img {display:block;max-width:100%!important;width:auto;height:auto!important;margin:0 auto;border-radius:10px;}
.xg-guide-figure figcaption {padding:8px 0 0;color:var(--guide-muted)!important;font-size:12px;font-weight:450;}
.xg-lua-gallery {margin:18px 0 0;padding:16px;background:var(--guide-surface);border:1px solid var(--guide-border);border-radius:14px;}
.xg-lua-gallery .xg-guide-heading {margin-top:0;}
.xg-product-guide .xg-guide-image-link {display:inline-block;padding:8px 12px;border:1px solid var(--guide-border);border-radius:9px;background:var(--guide-subtle);color:var(--guide-accent)!important;font-size:13px;font-weight:650;}
@media(max-width:480px){.xg-guide-section,.xg-lua-gallery {padding:12px;}.xg-product-guide h3,.xg-lua-gallery h3 {font-size:18px!important;}}

/* Preserve NG original description template; adjust only text contrast. */
.yinse-item-content-root[data-item-id="1322"] .yinse-description-body font[color="#08727c"]{color:#08727c!important;}
html.xg-midnight .yinse-item-content-root[data-item-id="1322"] .yinse-description-body font[color="#08727c"]{color:#86dede!important;}

/* NG gold identity: readable on both store themes. */
font[color="#765b32"] {color:#765b32!important;}
html.xg-midnight font[color="#765b32"] {color:#dfc894!important;}
.yinse-item-content-root[data-item-id="1322"] .yinse-description-body a:has(font[color="#765b32"]) {color:#765b32!important;background:rgba(236,222,191,.72)!important;border-color:#bda879!important;}
html.xg-midnight .yinse-item-content-root[data-item-id="1322"] .yinse-description-body a:has(font[color="#765b32"]) {color:#dfc894!important;background:rgba(63,51,32,.75)!important;border-color:#8b744d!important;}
html.xg-midnight .yinse-item-content-root[data-item-id="1322"] .fecurity-risk-wrap blockquote {border-left-color:#b79b64!important;}

html.xg-midnight body.yinse-theme.ys font[color="#765b32"],
html.xg-midnight body.yinse-theme.ys .yinse-item-content-root[data-item-id="1322"] .yinse-description-body font[color="#765b32"] {color:#dfc894!important;-webkit-text-fill-color:#dfc894!important;text-shadow:none!important;}
html.xg-midnight body.yinse-theme.ys .yinse-item-content-root[data-item-id="1322"] .yinse-description-body .fecurity-risk-wrap blockquote {--ys-quote-color:#c5a86f;--ys-quote-rgb:197,168,111;background:linear-gradient(125deg,#30291e,#241f19)!important;border-color:#8b744d!important;}
html.xg-midnight body.yinse-theme.ys .yinse-item-content-root[data-item-id="1322"] .yinse-description-body .fecurity-risk-wrap blockquote::after {color:#c5a86f!important;}
