/*
 * styles.css — 页面主样式(原站 assets/styles.css)
 * 来源: pialnewmed.com/am/native-creatine(静态克隆)
 */
:root {
   --bg: #f3f6fa;
   --paper: #ffffff;
   --ink: #161a1f;
   --ink-soft: #2d333c;
   --rule: #dde3ec;
   --muted: #5b6573;
   --accent: #01396f;
   --accent-soft: #e3edf5;
   --highlight: #fff3a8;
   --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
   --sans: "Inter", -apple-system, system-ui, sans-serif;
   --mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
   box-sizing: border-box
}

html,
body {
   margin: 0;
   padding: 0;
   background: var(--bg);
   color: var(--ink);
   font-family: var(--serif);
   font-size: 19px;
   line-height: 1.65;
   -webkit-font-smoothing: antialiased
}

body {
   min-width: 360px;
}

a {
   color: var(--accent)
}

img {
   max-width: 100%;
   display: block
}

.topbar {
   background: var(--ink);
   color: #eee9df;
   font-family: var(--sans);
   font-size: 12px;
   letter-spacing: .08em;
   text-transform: uppercase;
   padding: 8px 20px;
   display: flex;
   justify-content: space-between;
   align-items: center
}

.topbar .tb-links a {
   color: #eee9df;
   text-decoration: none;
   margin-left: 18px;
   opacity: .8
}

.masthead {
   background: var(--paper);
   border-bottom: 1px solid var(--rule);
   padding: 22px 20px 18px;
   text-align: center
}

.mast-title {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 44px;
   letter-spacing: -.01em;
   margin: 0;
   line-height: 1
}

.mast-title em {
   font-style: italic;
   color: var(--accent);
   font-weight: 600
}

.mast-tag {
   font-family: var(--sans);
   font-size: 11px;
   letter-spacing: .3em;
   text-transform: uppercase;
   color: var(--muted);
   margin-top: 10px
}

.mast-nav {
   margin-top: 14px;
   display: flex;
   justify-content: center;
   gap: 22px;
   flex-wrap: wrap;
   font-family: var(--sans);
   font-size: 13px;
   letter-spacing: .04em
}

.mast-nav a {
   color: var(--ink-soft);
   text-decoration: none
}

.mast-nav a:hover {
   color: var(--accent)
}

.article {
   max-width: 720px;
   margin: 0 auto;
   padding: 44px 22px;
}

.crumbs {
   font-family: var(--sans);
   font-size: 12px;
   color: var(--muted);
   letter-spacing: .06em;
   text-transform: uppercase;
   margin-bottom: 22px
}

.crumbs span {
   color: var(--accent)
}

.kicker {
   display: inline-block;
   background: var(--accent);
   color: #fff;
   font-family: var(--sans);
   font-weight: 700;
   font-size: 11px;
   letter-spacing: .2em;
   padding: 5px 9px;
   text-transform: uppercase;
   margin-bottom: 14px
}

h1.headline {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 46px;
   line-height: 1.1;
   letter-spacing: -.015em;
   margin: 0 0 18px;
   text-wrap: balance
}

.byline {
   display: flex;
   align-items: center;
   gap: 14px;
   padding: 14px 0;
   border-top: 1px solid var(--rule);
   border-bottom: 1px solid var(--rule);
   font-family: var(--sans);
   font-size: 13px;
   color: var(--ink-soft);
   margin-bottom: 28px
}

.byline .avatar {
   width: 44px;
   height: 44px;
   border-radius: 50%;
   background: var(--accent-soft);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   color: var(--accent);
   flex-shrink: 0
}

.byline b {
   color: var(--ink)
}

.byline .meta {
   margin-left: auto;
   text-align: right;
   font-size: 12px;
   color: var(--muted);
   font-family: var(--mono)
}

.hero {
   margin: 0 0 30px
}

.hero-ph {
   display: block;
   overflow: hidden
}

.hero-ph img {
   width: 100%;
   height: auto;
   display: block
}

figcaption {
   font-family: var(--sans);
   font-size: 12px;
   color: var(--muted);
   padding: 10px 2px 0;
   font-style: italic;
   text-align: center
}

.body p {
   margin: 0 0 1.1em
}

.body p.lead::first-letter {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 4.2em;
   line-height: .85;
   float: left;
   margin: .08em .1em -.05em 0;
   color: var(--accent)
}

.body p b,
.body p strong {
   color: var(--ink);
   font-weight: 700
}

.body .hl {
   background: var(--highlight);
   padding: .02em .18em;
   box-decoration-break: clone
}

h2.section {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 30px;
   line-height: 1.2;
   letter-spacing: -.01em;
   margin: 44px 0 20px;
   text-wrap: balance
}

h2.section::before {
   content: "";
   display: block;
   width: 40px;
   height: 3px;
   background: var(--accent);
   margin-bottom: 14px
}

h3.sub {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 22px;
   line-height: 1.3;
   margin: 32px 0 14px;
   font-style: italic
}

figure.inline {
   margin: 28px 0
}

figure.inline .ph {
   aspect-ratio: 3/2;
   background: repeating-linear-gradient(135deg, #ede6d8 0 10px, #e2d9c6 10px 20px);
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: var(--mono);
   font-size: 12px;
   color: var(--muted);
   border: 1px solid var(--rule);
   text-align: center;
   padding: 16px;
   overflow: hidden
}

figure.inline .ph img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block
}

figure.inline .ph.square {
   aspect-ratio: 1/1
}

figure.inline .ph.wide {
   aspect-ratio: 3/2
}

figure.inline figcaption {
   text-align: left;
   padding: 8px 2px 0;
   font-style: italic
}

blockquote.pull {
   margin: 34px 0;
   padding: 22px 26px;
   border-left: 4px solid var(--accent);
   background: var(--accent-soft);
   font-family: var(--serif);
   font-style: italic;
   font-size: 22px;
   line-height: 1.4;
   color: var(--ink)
}

blockquote.pull cite {
   display: block;
   margin-top: 12px;
   font-style: normal;
   font-family: var(--sans);
   font-size: 13px;
   letter-spacing: .06em;
   text-transform: uppercase;
   color: var(--muted)
}

.stats {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 12px;
   margin: 28px 0;
   padding: 22px;
   background: var(--ink);
   color: #fff;
   border-radius: 2px
}

.stats .s-num {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 40px;
   line-height: 1;
   color: #fff
}

.stats .s-num em {
   font-style: normal;
   color: var(--accent-soft)
}

.stats .s-lbl {
   font-family: var(--sans);
   font-size: 12px;
   color: #cfc9bd;
   margin-top: 6px;
   line-height: 1.4
}

.ingredient {
   border: 1px solid var(--rule);
   background: #fff;
   padding: 22px;
   margin: 22px 0;
   display: grid;
   grid-template-columns: 110px 1fr;
   gap: 20px;
   align-items: start
}

.ingredient .num {
   font-family: var(--serif);
   font-style: italic;
   font-size: 56px;
   font-weight: 700;
   color: var(--accent);
   line-height: .9
}

.ingredient h4 {
   font-family: var(--serif);
   font-size: 22px;
   margin: 0 0 8px;
   font-weight: 700
}

.ingredient .tag {
   font-family: var(--mono);
   font-size: 11px;
   color: var(--muted);
   text-transform: uppercase;
   letter-spacing: .08em;
   margin-bottom: 10px
}

.ingredient p {
   margin: 0 0 .8em;
   font-size: 17px
}

.ingredient p:last-child {
   margin-bottom: 0
}

.timeline {
   margin: 28px 0;
   border-top: 1px solid var(--rule)
}

.timeline .row {
   display: grid;
   grid-template-columns: 130px 1fr;
   gap: 20px;
   padding: 18px 0;
   border-bottom: 1px solid var(--rule);
   align-items: baseline
}

.timeline .when {
   font-family: var(--sans);
   font-weight: 700;
   font-size: 12px;
   letter-spacing: .12em;
   text-transform: uppercase;
   color: var(--accent)
}

.timeline .what {
   font-size: 17px;
   color: var(--ink-soft)
}

.timeline .what b {
   color: var(--ink)
}

.checks {
   margin: 22px 0;
   padding: 22px;
   background: #fff;
   border: 1px solid var(--rule)
}

.checks li {
   list-style: none;
   padding: 10px 0 10px 36px;
   position: relative;
   border-bottom: 1px dashed var(--rule);
   font-size: 17px
}

.checks li:last-child {
   border-bottom: none
}

.checks li::before {
   content: "✓";
   position: absolute;
   left: 0;
   top: 9px;
   width: 24px;
   height: 24px;
   background: var(--accent);
   color: #fff;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 13px;
   font-weight: 700
}

.checks ul {
   margin: 0;
   padding: 0
}

.review {
   border: 1px solid var(--rule);
   background: #fff;
   padding: 20px 22px;
   margin: 18px 0;
   font-size: 17px;
   line-height: 1.55
}

.review .stars {
   color: #d4a017;
   font-size: 14px;
   letter-spacing: .1em;
   margin-bottom: 6px
}

.review .quote {
   font-family: var(--serif);
   font-style: italic;
   color: var(--ink);
   margin: 0 0 10px
}

.review .who {
   font-family: var(--sans);
   font-size: 12px;
   color: var(--muted);
   letter-spacing: .04em;
   text-transform: uppercase
}

.review .who b {
   color: var(--ink);
   font-weight: 600;
   letter-spacing: .02em;
   text-transform: none
}

.cta {
   margin: 40px -22px;
   padding: 36px 24px;
   background: var(--accent-soft);
   border-top: 3px solid var(--accent);
   border-bottom: 3px solid var(--accent);
   text-align: center
}

.cta .eyebrow {
   font-family: var(--sans);
   font-weight: 700;
   font-size: 12px;
   letter-spacing: .25em;
   text-transform: uppercase;
   color: var(--accent);
   margin-bottom: 10px
}

.cta h3 {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 28px;
   line-height: 1.2;
   margin: 0 0 16px;
   text-wrap: balance
}

.cta .product-ph {
   width: 340px;
   max-width: 100%;
   margin: 0 auto 18px;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center
}

.cta .product-ph img {
   max-width: 100%;
   height: auto;
   display: block;
   filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .18))
}

.cta .btn {
   display: inline-block;
   background: var(--accent);
   color: #fff;
   font-family: var(--sans);
   font-weight: 700;
   font-size: 16px;
   letter-spacing: .12em;
   text-transform: uppercase;
   padding: 18px 36px;
   text-decoration: none;
   border-radius: 3px;
   box-shadow: 0 6px 0 #01233f;
   transition: transform .1s, box-shadow .1s;
   margin: 6px 0
}

.cta .btn:hover {
   transform: translateY(2px);
   box-shadow: 0 4px 0 #01233f
}

.cta .btn .arrow {
   margin-left: 8px
}

.cta .micro {
   font-family: var(--sans);
   font-size: 12px;
   color: var(--ink-soft);
   margin-top: 14px;
   font-style: italic;
   line-height: 1.5
}

.cta .stock {
   font-family: var(--mono);
   font-size: 11px;
   color: var(--accent);
   margin-top: 12px;
   letter-spacing: .05em
}

.cta .guarantee {
   display: flex;
   width: 100%;
   max-width: 200px;
   justify-content: center;
   align-self: center;
   align-items: center;
   gap: 10px;
   margin: 16px auto;
   padding: 8px 14px;
   background: #fff;
   border: 1px dashed var(--accent);
   font-family: var(--sans);
   font-size: 12px;
   color: var(--ink-soft);
}

.cta .guarantee b {
   color: var(--accent)
}

.comments {
   margin-top: 50px;
   border-top: 2px solid var(--ink);
   padding-top: 24px
}

.comments h3 {
   font-family: var(--sans);
   font-weight: 700;
   font-size: 13px;
   letter-spacing: .2em;
   text-transform: uppercase;
   margin: 0 0 8px
}

.comments .note {
   font-family: var(--sans);
   font-size: 12px;
   color: var(--muted);
   margin-bottom: 20px
}

.comment {
   display: grid;
   grid-template-columns: 42px 1fr;
   gap: 12px;
   padding: 14px 0;
   border-bottom: 1px solid var(--rule);
   font-family: var(--sans);
   font-size: 14px
}

.comment.reply {
   background: #eaf0f7;
   padding: 14px 14px;
   border: 1px solid var(--rule);
   border-radius: 4px;
   border-bottom: 1px solid var(--rule);
   margin-top: 12px;
   margin-bottom: 4px
}

.comment .av {
   width: 42px;
   height: 42px;
   border-radius: 50%;
   background: var(--accent-soft);
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: 700;
   color: var(--accent);
   font-size: 14px
}

.comment .c-name {
   font-weight: 600;
   color: var(--ink)
}

.comment .c-body {
   color: var(--ink-soft);
   margin: 4px 0 6px;
   line-height: 1.5
}

.comment .c-body b {
   font-weight: 600;
}

.comment .c-actions {
   font-size: 11px;
   color: var(--muted);
   letter-spacing: .04em
}

.comment .c-actions span {
   margin-right: 10px
}

.comment .c-actions .act {
   color: var(--muted);
   font-weight: 600;
   cursor: pointer;
}

.comment .c-actions .like-ico {
   display: inline-block;
   width: 11px;
   height: 11px;
   vertical-align: -0.12em;
   margin: 0 3px 0 2px;
   background: var(--accent);
   -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21h2.5V10H2v11zM23 10.5c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1.5 7.59 8.09C7.22 8.45 7 8.96 7 9.5V19c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
   mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 21h2.5V10H2v11zM23 10.5c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1.5 7.59 8.09C7.22 8.45 7 8.96 7 9.5V19c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.5z'/%3E%3C/svg%3E") center / contain no-repeat
}

/* RevContent: big ADVERTORIAL top label */
.adv-label {
   background: #fff;
   padding: 12px 0 0;
   text-align: center
}

.adv-label span {
   display: block;
   font-family: var(--sans);
   font-size: 12px;
   line-height: 1;
   color: #5b657347;
   letter-spacing: .14em;
   text-transform: uppercase
}

/* RevContent: sources section */
.footnotes {
   max-width: 720px;
   margin: 0 auto;
   padding: 0 22px;
   font-family: var(--sans);
   font-size: 13px;
   color: var(--muted);
   line-height: 1.65
}

.footnotes h3 {
   font-family: var(--sans);
   font-size: 16px;
   font-weight: 700;
   color: var(--ink-soft);
   letter-spacing: .14em;
   text-transform: uppercase;
   margin: 0 0 14px
}

.footnotes p {
   font-family: var(--sans);
   font-size: 12px;
   line-height: 1.65;
   margin: 0 0 8px;
   color: var(--muted);
}

.footnotes a {
   color: var(--accent);
   text-decoration: none;
   word-wrap: break-word;
}

.footnotes a:hover {
   text-decoration: underline
}

footer {
   text-align: center;
   padding: 40px 20px;
   margin-top: 40px;
   background: var(--accent);
   font-family: var(--sans);
   font-size: 12px;
   line-height: 1.6;
   color: #fff;
}

footer p {
   max-width: 720px;
   margin: 0 auto 14px
}

footer p:last-child {
   margin-bottom: 0;
}

footer a {
   color: #fff;
   margin: 0 8px;
   text-decoration: none
}

footer a:hover {
   text-decoration: underline
}

footer img {
   max-width: 115px;
   margin: 0 auto;
   opacity: .92
}

@media (max-width:640px) {
   body {
      font-size: 17px
   }

   h1.headline {
      font-size: 32px
   }

   h2.section {
      font-size: 24px
   }

   .mast-title {
      font-size: 32px
   }

   .stats {
      grid-template-columns: 1fr;
      gap: 18px
   }

   .ingredient {
      grid-template-columns: 1fr;
      gap: 10px
   }

   .ingredient .num {
      font-size: 40px
   }

   .timeline .row {
      grid-template-columns: 1fr;
      gap: 4px
   }

   .hero {
      margin-left: -22px;
      margin-right: -22px
   }

   .cta {
      margin-left: -22px;
      margin-right: -22px
   }
}

/* Contact Us popup */
.contact-overlay {
   display: none;
   position: fixed;
   inset: 0;
   background: rgba(27, 26, 24, .55);
   z-index: 1000;
   align-items: center;
   justify-content: center;
   padding: 20px
}

.contact-overlay.open {
   display: flex
}

.contact-us-popup {
   position: relative;
   background: var(--paper);
   border: 1px solid var(--rule);
   border-radius: 6px;
   box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
   padding: 28px 26px;
   max-width: 380px;
   width: 100%;
   font-family: var(--sans);
   font-size: 14px;
   color: var(--ink-soft);
   line-height: 1.5
}

.contact-us-popup h4 {
   font-family: var(--serif);
   font-weight: 700;
   font-size: 22px;
   margin: 0 0 14px;
   color: var(--ink)
}

.contact-us-popup p {
   margin: 0 0 8px
}

.contact-us-popup b {
   color: var(--ink)
}

.contact-close {
   position: absolute;
   top: 10px;
   right: 12px;
   background: none;
   border: none;
   font-size: 24px;
   line-height: 1;
   color: var(--muted);
   cursor: pointer;
   padding: 4px
}

.contact-close:hover {
   color: var(--ink)
}

a, button {
   cursor: pointer;
}
