/* QQuack How to Find Size page — loads after base.css */
.fs-container { width: min(1240px, 90%); margin: 0 auto; }
.fs-eyebrow { margin: 0 0 12px; color: var(--yellow); font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.fs-eyebrow span { display: inline-block; width: 32px; height: 3px; margin: 0 10px 4px 0; border-radius: 2px; background: var(--yellow); }
.fs-section { padding: 96px 0; }
.fs-dark { background: radial-gradient(ellipse at 50% 0%, #15212a, #05090c 70%); border-top: 1px solid #1a2329; border-bottom: 1px solid #1a2329; }
.fs-heading { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.fs-heading h2, .decoder-intro h2, .fs-cta h2 { margin: 0 0 14px; font: 900 clamp(38px, 4.4vw, 58px)/1 var(--display); font-style: italic; letter-spacing: .3px; }
.fs-heading h2 em, .decoder-intro h2 em, .fs-cta h2 em { color: var(--yellow); font-style: inherit; }
.fs-heading p:not(.fs-eyebrow) { margin: 0; color: #c3cad0; font-size: 17px; line-height: 1.65; }
.fs-heading-left { margin: 0; text-align: left; }

/* Hero */
.fs-hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 72px; border-bottom: 1px solid #222b31; background: radial-gradient(700px 420px at 78% 55%, #ffd90024, transparent 70%), linear-gradient(120deg, #0c1216, #05090c 60%); }
.fs-hero:before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: repeating-linear-gradient(-55deg, transparent 0 46px, #ffffff05 46px 48px); }
.fs-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.fs-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: #aab3bb; font-size: 14px; }
.fs-breadcrumb a:hover { color: var(--yellow); }
.fs-breadcrumb i { font-size: 10px; color: #5d676e; }
.fs-breadcrumb span { color: #fff; font-weight: 600; }
.fs-hero h1 { margin: 0 0 18px; font: 900 clamp(46px, 5.6vw, 82px)/.92 var(--display); font-style: italic; letter-spacing: .3px; text-shadow: 0 4px 22px #000; }
.fs-hero h1 em { display: block; color: var(--yellow); font-style: inherit; }
.fs-hero-text { max-width: 540px; margin: 0 0 32px; color: #dfe3e6; font-size: 18px; line-height: 1.65; }
.fs-jump { display: flex; flex-wrap: wrap; gap: 12px; }
.fs-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border: 1px solid #2c363d; border-radius: 999px; background: #0e1418; font-size: 15px; font-weight: 600; transition: border-color .2s, color .2s, transform .2s; }
.fs-jump a span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #111; font-size: 12px; font-weight: 800; }
.fs-jump a:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.fs-hero-visual { position: relative; display: grid; place-items: center; }
.fs-hero-visual:before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffd9002e, transparent 68%); }
.fs-hero-visual img { position: relative; width: min(100%, 420px); filter: drop-shadow(0 30px 40px #000c); animation: fs-spin-in .9s ease-out both; }
.fs-callout { position: absolute; right: 4%; top: 46%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--yellow); color: #111; font: 900 26px/1 var(--display); letter-spacing: .5px; box-shadow: 0 12px 30px -8px #ffd900aa; animation: fs-float 3.5s ease-in-out infinite; }
.fs-callout:before { content: ""; position: absolute; left: -46px; top: 50%; width: 46px; height: 2px; background: var(--yellow); }
.fs-callout i { font-size: 16px; }

/* Read the code */
.code-board { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 44px; padding: 26px 34px; border: 1px solid #2c363d; border-radius: 20px; background: linear-gradient(145deg, #161c20, #0a0d0f); box-shadow: inset 0 2px 0 #ffffff0a, 0 24px 50px -24px #000; }
.seg { position: relative; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; color: #e8ebee; font: 900 clamp(48px, 7vw, 92px)/1 var(--display); letter-spacing: 1px; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.seg:hover, .seg.on { color: #111; background: var(--yellow); transform: translateY(-3px); }
.seg-sep { color: #5d676e; font: 900 clamp(48px, 7vw, 92px)/1 var(--display); }
.seg-gap { width: clamp(10px, 2vw, 28px); }
.part-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.part-card { position: relative; padding: 24px 22px 22px; border: 1px solid #222c33; border-radius: 16px; background: #0b1013; outline: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.part-card:hover, .part-card.on, .part-card:focus-visible { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 16px 34px -14px #ffd90055; }
.part-code { display: inline-grid; place-items: center; min-width: 54px; height: 44px; margin-bottom: 14px; padding: 0 12px; border-radius: 10px; background: #ffd9001a; border: 1px solid #ffd90055; color: var(--yellow); font: 900 26px/1 var(--display); transition: background .2s, color .2s; }
.part-card.on .part-code, .part-card:hover .part-code { background: var(--yellow); color: #111; }
.part-card h3 { margin: 0 0 8px; font-size: 19px; }
.part-card p { margin: 0; color: #b9c1c7; font-size: 15px; line-height: 1.6; }
.part-card strong { color: #fff; }

/* Where to find */
.where-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.where-card { position: relative; display: flex; flex-direction: column; padding: 34px 24px 26px; border: 1px solid #1f2a31; border-radius: 18px; background: linear-gradient(160deg, #121b21, #080c0f); overflow: hidden; transition: transform .3s, border-color .3s; }
.where-card:hover { transform: translateY(-6px); border-color: #ffd90088; }
.where-num { position: absolute; right: 18px; top: 6px; color: #ffffff0d; font: 900 96px/1 var(--display); font-style: italic; }
.where-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 18px; background: linear-gradient(180deg, #ffe94d, var(--yellow)); color: #111; font-size: 26px; box-shadow: 0 0 0 6px #ffd9001f, 0 0 26px #ffd90044; }
.where-card h3 { margin: 0 0 10px; font-size: 20px; }
.where-card p { margin: 0 0 20px; color: #b9c1c7; font-size: 15px; line-height: 1.6; }
.where-tag { align-self: flex-start; margin-top: auto; padding: 5px 12px; border-radius: 999px; background: #ffd90014; border: 1px solid #ffd90044; color: #ffe46b; font-size: 12px; font-weight: 700; }
.where-note { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 36px auto 0; padding: 16px 20px; border-radius: 14px; background: #ffffff08; border: 1px solid #ffffff14; color: #c3cad0; font-size: 15px; line-height: 1.6; }
.where-note i { color: var(--yellow); margin-top: 4px; }

/* Decoder */
.decoder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.decoder-intro > p:not(.fs-eyebrow):not(.decoder-error) { margin: 0 0 28px; color: #c3cad0; font-size: 17px; line-height: 1.65; }
.decoder-form { display: flex; gap: 10px; padding: 8px; border: 1px solid #c9a80088; border-radius: 16px; background: #0b1013; box-shadow: 0 0 40px -16px #ffd90066; }
.decoder-form input { flex: 1; width: 100%; min-width: 0; padding: 14px 16px; border: 0; border-radius: 10px; background: #f7f8fa; color: #111; font: 800 22px var(--body); letter-spacing: 1px; text-transform: uppercase; outline: none; }
.decoder-form input:focus { box-shadow: 0 0 0 3px #ffd90066; }
.decoder-form .button { padding: 14px 22px; font-size: 16px; white-space: nowrap; }
.decoder-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: #8d979e; font-size: 14px; }
.decoder-examples button { padding: 6px 12px; border: 1px solid #2c363d; border-radius: 999px; background: #0e1418; color: #dfe3e6; font: 600 13px var(--body); cursor: pointer; transition: border-color .2s, color .2s; }
.decoder-examples button:hover { border-color: var(--yellow); color: var(--yellow); }
.decoder-error { margin: 14px 0 0; color: #ff8a8a; font-size: 15px; }
.decoder-result { padding: 30px; border: 1px solid #ffd90055; border-radius: 22px; background: radial-gradient(400px 220px at 100% 0%, #ffd9001f, transparent 70%), linear-gradient(160deg, #121b21, #080c0f); box-shadow: 0 30px 60px -30px #000; transition: opacity .2s; }
.decoder-result.dim { opacity: .45; }
.decoder-result.pop { animation: fs-pop .35s ease-out; }
.result-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #ffffff14; }
.result-head span { color: #8d979e; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.result-head strong { color: var(--yellow); font: 900 46px/1 var(--display); letter-spacing: .5px; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 18px; }
.result-grid div { padding: 14px 16px; border-radius: 12px; background: #ffffff08; border: 1px solid #ffffff10; }
.result-grid dt { margin-bottom: 4px; color: #8d979e; font-size: 13px; }
.result-grid dd { margin: 0; font-size: 17px; font-weight: 700; }
.result-type { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #c3cad0; font-size: 15px; }
.result-type i { color: var(--yellow); }
.result-shop { width: 100%; padding: 15px; font-size: 16px; }

/* Reference tables */
.ref-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ref-card { padding: 28px; border: 1px solid #1f2a31; border-radius: 18px; background: #0b1013; }
.ref-card h3 { margin: 0 0 18px; font-size: 20px; }
.ref-card h3 i { color: var(--yellow); margin-right: 8px; }
.ref-card table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ref-card th { padding: 10px 12px; color: #8d979e; font-size: 13px; font-weight: 700; text-align: left; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #222c33; }
.ref-card td { padding: 11px 12px; border-bottom: 1px solid #161e23; color: #d3d9dd; }
.ref-card tbody tr:last-child td { border-bottom: 0; }
.ref-card tbody tr:hover td { background: #ffd9000a; }
.ref-card td:first-child, .ref-card td:nth-child(3):not(:last-child) { color: var(--yellow); font-weight: 800; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap .fs-heading p:not(.fs-eyebrow) { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { border: 1px solid #222c33; border-radius: 14px; background: #0b1013; transition: border-color .2s; }
.faq-list details[open] { border-color: #ffd90066; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; list-style: none; font-size: 17px; font-weight: 700; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #ffd9001a; color: var(--yellow); font-size: 22px; font-weight: 600; transition: transform .2s, background .2s; }
.faq-list details[open] summary:after { content: "−"; background: var(--yellow); color: #111; }
.faq-list details p { margin: 0; padding: 0 22px 22px; color: #b9c1c7; font-size: 15px; line-height: 1.7; }
.faq-list strong { color: var(--yellow); }

/* CTA */
.fs-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 96px; padding: 48px 52px; border: 1px solid #ffd90044; border-radius: 24px; background: radial-gradient(600px 300px at 90% 50%, #ffd90022, transparent 70%), linear-gradient(120deg, #11181d, #07090b); }
.fs-cta h2 { font-size: clamp(34px, 3.6vw, 48px); }
.fs-cta p:not(.fs-eyebrow) { margin: 0; color: #c3cad0; font-size: 17px; }
.fs-cta-form { display: flex; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.fs-cta-form label { display: flex; flex-direction: column; gap: 6px; color: #aab3bb; font-size: 13px; font-weight: 600; }
.fs-cta-form input { width: 86px; padding: 13px 12px; border: 2px solid transparent; border-radius: 10px; background: #f7f8fa; color: #111; font: 700 17px var(--body); text-align: center; outline: none; }
.fs-cta-form input:focus { border-color: var(--yellow); }
.fs-cta-form > span { padding-bottom: 12px; color: #8d979e; font: 900 24px var(--display); }
.fs-cta-form .button { margin-left: 6px; padding: 14px 20px; font-size: 16px; }

@keyframes fs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fs-spin-in { from { opacity: 0; transform: rotate(-25deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fs-pop { 0% { transform: scale(.98); } 60% { transform: scale(1.01); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .fs-hero-visual img, .fs-callout, .decoder-result.pop { animation: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .where-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .fs-section { padding: 72px 0; }
  .fs-hero-grid, .decoder, .ref-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .fs-hero-visual { order: -1; max-width: 340px; margin: 0 auto; }
  .fs-callout { font-size: 20px; right: -4%; }
  .decoder, .faq-wrap { gap: 36px; }
}
@media (max-width: 600px) {
  .fs-container { width: calc(100% - 32px); }
  .fs-section { padding: 56px 0; }
  .fs-hero { padding: 32px 0 48px; }
  .fs-hero-text, .fs-heading p:not(.fs-eyebrow) { font-size: 16px; }
  .fs-heading { margin-bottom: 36px; }
  .code-board { width: 100%; flex-wrap: nowrap; padding: 16px 8px; gap: 0; }
  .seg, .seg-sep { font-size: clamp(26px, 8.6vw, 44px); }
  .seg { padding: 4px 4px; border-radius: 8px; }
  .seg-gap { width: 6px; }
  .fs-jump { gap: 8px; }
  .fs-jump a { padding: 8px 14px 8px 8px; font-size: 14px; }
  .fs-jump a span { width: 26px; height: 26px; font-size: 11px; }
  .where-grid { gap: 12px; }
  .where-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px 18px; }
  .where-icon { grid-row: span 3; width: 52px; height: 52px; margin: 0; border-radius: 14px; font-size: 21px; }
  .where-card h3 { margin-bottom: 6px; font-size: 18px; }
  .where-card p { margin-bottom: 12px; font-size: 14px; }
  .where-num { font-size: 64px; right: 12px; top: 4px; }
  .where-tag { justify-self: start; }
  .where-grid { grid-template-columns: 1fr; }
  .part-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .part-card { padding: 18px 14px; }
  .part-card h3 { font-size: 16px; }
  .part-card p { font-size: 13px; }
  .part-code { height: 38px; min-width: 46px; font-size: 22px; margin-bottom: 10px; }
  .decoder-form { flex-direction: column; }
  .decoder-form input { font-size: 20px; }
  .decoder-result { padding: 22px; }
  .result-head strong { font-size: 36px; }
  .result-grid { grid-template-columns: 1fr; gap: 10px; }
  .ref-card { padding: 20px 14px; }
  .ref-card th, .ref-card td { padding: 9px 8px; font-size: 14px; }
  .fs-cta { padding: 32px 22px; margin-bottom: 64px; }
  .fs-cta-form { width: 100%; flex-wrap: wrap; }
  .fs-cta-form label { flex: 1; }
  .fs-cta-form input { width: 100%; }
  .fs-cta-form .button { width: 100%; margin: 8px 0 0; }
}
