/* GameScoreCraft tool pages (2026-10-25, v1.0.2: music waveform decoration, category and page layouts): dark hero, calculator card, bands, formula card, stat tiles, cards, FAQ, more tools.
   Loaded only by page-tool.php, after style.css and gsc-v3.css. */
.gsc-tool { overflow-x: clip; }
.gsc-thero { position: relative; overflow: hidden; color: #fff; padding: 72px 24px 40px;
  background: radial-gradient(900px 460px at 88% -12%, rgba(240,168,39,.34), transparent 62%), radial-gradient(760px 420px at -5% 110%, rgba(31,158,143,.26), transparent 60%), var(--navy); }
.gsc-thero::after { content: ""; position: absolute; right: -40px; top: 50%; width: 640px; height: 320px; margin-top: -170px; opacity: .1; pointer-events: none;
  animation: gsc-float 9s ease-in-out infinite alternate; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'%3E%3Cg fill='%23fff'%3E%3Crect x='4.0' y='38.5' width='2.4' height='23.0' rx='1.2'/%3E%3Crect x='8.4' y='33.1' width='2.4' height='33.7' rx='1.2'/%3E%3Crect x='12.8' y='27.9' width='2.4' height='44.1' rx='1.2'/%3E%3Crect x='17.2' y='23.7' width='2.4' height='52.6' rx='1.2'/%3E%3Crect x='21.6' y='21.0' width='2.4' height='58.0' rx='1.2'/%3E%3Crect x='26.0' y='20.4' width='2.4' height='59.1' rx='1.2'/%3E%3Crect x='30.4' y='22.2' width='2.4' height='55.7' rx='1.2'/%3E%3Crect x='34.8' y='26.1' width='2.4' height='47.8' rx='1.2'/%3E%3Crect x='39.2' y='31.8' width='2.4' height='36.5' rx='1.2'/%3E%3Crect x='43.6' y='38.4' width='2.4' height='23.1' rx='1.2'/%3E%3Crect x='48.0' y='42.8' width='2.4' height='14.4' rx='1.2'/%3E%3Crect x='52.4' y='36.9' width='2.4' height='26.2' rx='1.2'/%3E%3Crect x='56.8' y='32.7' width='2.4' height='34.5' rx='1.2'/%3E%3Crect x='61.2' y='31.0' width='2.4' height='38.1' rx='1.2'/%3E%3Crect x='65.6' y='31.9' width='2.4' height='36.3' rx='1.2'/%3E%3Crect x='70.0' y='35.3' width='2.4' height='29.4' rx='1.2'/%3E%3Crect x='74.4' y='40.7' width='2.4' height='18.6' rx='1.2'/%3E%3Crect x='78.8' y='40.7' width='2.4' height='18.5' rx='1.2'/%3E%3Crect x='83.2' y='34.1' width='2.4' height='31.8' rx='1.2'/%3E%3Crect x='87.6' y='28.5' width='2.4' height='43.0' rx='1.2'/%3E%3Crect x='92.0' y='24.9' width='2.4' height='50.2' rx='1.2'/%3E%3Crect x='96.4' y='24.0' width='2.4' height='52.0' rx='1.2'/%3E%3Crect x='100.8' y='26.1' width='2.4' height='47.9' rx='1.2'/%3E%3Crect x='105.2' y='31.0' width='2.4' height='37.9' rx='1.2'/%3E%3Crect x='109.6' y='38.3' width='2.4' height='23.4' rx='1.2'/%3E%3Crect x='114.0' y='41.1' width='2.4' height='17.8' rx='1.2'/%3E%3Crect x='118.4' y='32.2' width='2.4' height='35.7' rx='1.2'/%3E%3Crect x='122.8' y='24.1' width='2.4' height='51.7' rx='1.2'/%3E%3Crect x='127.2' y='18.0' width='2.4' height='64.0' rx='1.2'/%3E%3Crect x='131.6' y='14.4' width='2.4' height='71.1' rx='1.2'/%3E%3Crect x='136.0' y='13.9' width='2.4' height='72.2' rx='1.2'/%3E%3Crect x='140.4' y='16.2' width='2.4' height='67.6' rx='1.2'/%3E%3Crect x='144.8' y='21.0' width='2.4' height='58.1' rx='1.2'/%3E%3Crect x='149.2' y='27.4' width='2.4' height='45.3' rx='1.2'/%3E%3Crect x='153.6' y='34.4' width='2.4' height='31.1' rx='1.2'/%3E%3Crect x='158.0' y='41.2' width='2.4' height='17.6' rx='1.2'/%3E%3Crect x='162.4' y='41.2' width='2.4' height='17.5' rx='1.2'/%3E%3Crect x='166.8' y='37.5' width='2.4' height='25.0' rx='1.2'/%3E%3Crect x='171.2' y='35.9' width='2.4' height='28.2' rx='1.2'/%3E%3Crect x='175.6' y='36.4' width='2.4' height='27.2' rx='1.2'/%3E%3Crect x='180.0' y='38.7' width='2.4' height='22.7' rx='1.2'/%3E%3Crect x='184.4' y='42.1' width='2.4' height='15.7' rx='1.2'/%3E%3Crect x='188.8' y='41.9' width='2.4' height='16.2' rx='1.2'/%3E%3Crect x='193.2' y='38.1' width='2.4' height='23.8' rx='1.2'/%3E%3C/g%3E%3Cpath d='M0 50h200' stroke='%23fff' stroke-width='.6' opacity='.6'/%3E%3C/svg%3E") center/contain no-repeat; }
@keyframes gsc-float { from { transform: translateY(-8px) scaleY(.92); } to { transform: translateY(8px) scaleY(1.06); } }
.gsc-thero-in { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.gsc-thero .gsc-kicker { margin: 0 0 12px; }
.gsc-thero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; }
.gsc-thero .gsc-dek { margin-top: 16px; }
.gsc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0 !important; padding: 0; }
.gsc-chips li { margin: 0; padding: 7px 13px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: #e6ebf5; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.gsc-chips li::before { content: "✓  "; color: var(--gold); }
.gsc-stage { padding: 0 24px 64px; background: linear-gradient(var(--navy) 0, var(--navy) 120px, var(--paper) 120px); }
.gsc-stage-in { max-width: 900px; margin: 0 auto; }

/* Calculator card */
.gsc-calc { background: #fff; border-radius: 24px; padding: 28px; color: var(--ink); box-shadow: 0 0 0 1px rgba(12,20,37,.06), 0 40px 80px -32px rgba(12,20,37,.45); }
.gsc-calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.gsc-calc-grid.gsc-two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: end; }
.gsc-f { display: flex; flex-direction: column; gap: 6px; }
.gsc-f > span:first-child { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.gsc-f input, .gsc-f select { width: 100%; font: 700 1.15rem/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--navy); padding: 11px 13px;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.gsc-f input:focus, .gsc-f select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(240,168,39,.2); }
.gsc-ts { display: flex; align-items: center; gap: 8px; }
.gsc-ts b { color: var(--ink-faint); font-size: 1.2rem; }
.gsc-f em { font-style: normal; font-size: .82rem; color: var(--ink-faint); }
.gsc-tap { padding: 12px 18px; border: 0; border-radius: 12px; cursor: pointer; font-weight: 800; font-size: 1rem; color: var(--navy); background: var(--gold); transition: transform .1s, background .2s; }
.gsc-tap:hover { background: var(--gold-soft); }
.gsc-tap:active { transform: scale(.96); }
.gsc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 18px; }
.gsc-out > div { padding: 16px 18px; border-radius: 16px; background: #f6f4ee; }
.gsc-out small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.gsc-out b { display: block; margin: 4px 0 2px; font: 800 1.45rem/1.15 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--navy); }
.gsc-out span { font-size: .85rem; color: var(--ink-soft); }
.gsc-out .gsc-big { background: var(--navy); }
.gsc-out .gsc-big small, .gsc-out .gsc-big span { color: #b7c2d8; }
.gsc-out .gsc-big b { color: var(--gold); font-size: 1.8rem; }
.gsc-out span.ok { color: #157a54; font-weight: 600; }
.gsc-out span.warn { color: #a5600b; font-weight: 600; }
.gsc-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-variant-numeric: tabular-nums; font-size: .95rem; }
.gsc-table th { background: var(--navy); color: #fff; text-align: left; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 10px 14px; }
.gsc-table td { padding: 10px 14px; border-top: 1px solid var(--line); }
.gsc-table td small { display: block; color: var(--ink-faint); font-size: .78rem; }
.gsc-table tr.on td { background: var(--gold-tint); font-weight: 700; }
.gsc-rev { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; }
.gsc-rev summary { cursor: pointer; padding: 14px 0; font-weight: 800; color: var(--navy); }
.gsc-rev .gsc-calc-grid { padding-bottom: 16px; }
.gsc-rev-out p { margin: 0 0 6px; font-size: .95rem; }
.gsc-note { margin: 14px 0 0; font-size: .82rem; color: var(--ink-faint); }

/* Bands */
.gsc-band { padding: 72px 24px; }
.gsc-band-alt { background: #efece4; }
.gsc-band-dark { background: var(--navy); color: #e6ebf5; }
.gsc-band-in { max-width: 760px; margin: 0 auto; }
.gsc-band-in.wide { max-width: 1132px; }
.gsc-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 22px; color: var(--navy); }
.gsc-band-dark h2 { color: #fff; }
.gsc-band p, .gsc-band li { font-size: 1.05rem; line-height: 1.7; color: #26303f; }
.gsc-band p { margin: 0 0 14px; }
.gsc-formula { background: var(--navy); border-radius: 22px; padding: 30px; }
.gsc-formula p { color: #c6d0e2; }
.gsc-formula ul { list-style: none; margin: 16px 0; padding: 0; }
.gsc-formula li { margin: 0 0 8px; padding: 12px 16px; border-radius: 12px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.07);
  color: #fff; font: 600 .95rem/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.gsc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 0 0 24px; }
.gsc-stat { padding: 22px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.gsc-stat b { display: block; font-size: clamp(1.8rem, 3.6vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; color: var(--gold); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.gsc-stat span { display: block; margin-top: 6px; font-size: .92rem; color: var(--ink-soft); }
.gsc-cards { counter-reset: c; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gsc-cards li { counter-increment: c; margin: 0; padding: 24px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); font-size: .97rem; line-height: 1.6; color: var(--ink-soft); transition: transform .3s, box-shadow .3s; }
.gsc-cards li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gsc-cards li::before { content: counter(c, decimal-leading-zero); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy); color: var(--gold); font-weight: 800; font-size: .85rem; }
.gsc-cards li strong { display: block; margin: 14px 0 6px; font-size: 1.1rem; color: var(--navy); }
.gsc-faq details { border-bottom: 1px solid var(--line); }
.gsc-faq details:first-child { border-top: 1px solid var(--line); }
.gsc-faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.gsc-faq summary::-webkit-details-marker { display: none; }
.gsc-faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 300; color: var(--ink-faint); transition: transform .25s; }
.gsc-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gsc-faq summary:hover { color: #b9780a; }
.gsc-faq details > div p { margin: 0 0 20px; }
.gsc-toolcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gsc-toolcard { display: block; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e6ebf5; transition: transform .3s, background .3s; }
.gsc-toolcard:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); text-decoration: none; }
.gsc-toolcard i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold); color: var(--navy); font-style: normal; font-size: 1.4rem; }
.gsc-toolcard strong { display: block; margin: 16px 0 6px; font-size: 1.3rem; color: #fff; }
.gsc-toolcard span { display: block; font-size: .95rem; color: #a9b5cb; }
.gsc-toolcard em { display: block; margin-top: 14px; font-style: normal; font-weight: 800; color: var(--gold); }
.gsc-band-alt .gsc-toolcard, .gsc-band:not(.gsc-band-dark) .gsc-toolcard { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.gsc-band:not(.gsc-band-dark) .gsc-toolcard strong { color: var(--navy); }
.gsc-band:not(.gsc-band-dark) .gsc-toolcard span { color: var(--ink-soft); }
@media (max-width: 640px) {
  .gsc-thero { padding-top: 52px; }
  .gsc-calc { padding: 18px; border-radius: 20px; }
  .gsc-band { padding: 52px 18px; }
  .gsc-formula { padding: 20px; }
  .gsc-table { font-size: .85rem; }
  .gsc-table th, .gsc-table td { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) { .gsc-thero::after { animation: none; } .gsc-cards li, .gsc-toolcard { transition: none; } }

/* the dark tools band runs straight into the dark footer */
main.gsc-tool + .site-footer, main.gsc-tool ~ .site-footer { margin-top: 0; border-top: 1px solid rgba(255,255,255,.08); }

/* v1.0.2: category and static page layouts */
.gsc-thero .breadcrumbs { margin: 0 0 18px; font-size: .85rem; color: #93a1bc; }
.gsc-thero .breadcrumbs a { color: #c6d0e2; }
.gsc-chead { display: flex; align-items: center; gap: 20px; }
.gsc-chead .gsc-kicker { margin-bottom: 4px; }
.gsc-cico { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--gold); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(240,168,39,.8); }
.gsc-cico svg, .gsc-toolcard i svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gsc-toolcard i svg { width: 24px; height: 24px; }
.gsc-cnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.gsc-cnav a { padding: 8px 15px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #c6d0e2; border: 1px solid rgba(255,255,255,.16); transition: background .2s, color .2s; }
.gsc-cnav a:hover { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.gsc-cnav a.is-current { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.gsc-chero { padding-bottom: 56px; }
.gsc-feature { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 28px; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .3s, box-shadow .3s; }
.gsc-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.gsc-feature-img img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gsc-feature-body { display: flex; flex-direction: column; justify-content: center; padding: 34px 38px; }
.gsc-feature-body strong { margin: 10px 0 12px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; color: var(--navy); }
.gsc-feature-ex { color: var(--ink-soft); line-height: 1.6; }
.gsc-feature-body em { margin-top: 18px; font-style: normal; font-weight: 800; color: #0b63ce; }
.gsc-empty { padding: 26px; border-radius: 18px; background: var(--gold-tint); }
.gsc-phero { padding-bottom: 96px; }
.gsc-page { padding: 0 24px 72px; }
.gsc-page-body { position: relative; z-index: 2; max-width: 820px; margin: -64px auto 0; padding: 44px 52px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(12,20,37,.05), 0 30px 60px -30px rgba(12,20,37,.35); font-size: 1.05rem; line-height: 1.75; color: #26303f; }
.gsc-page.is-wide .gsc-page-body { max-width: 1132px; }
.gsc-page-body h2 { margin: 34px 0 12px; font-size: 1.45rem; color: var(--navy); }
.gsc-page-body h2:first-child { margin-top: 0; }
.gsc-page-body h3 { margin: 26px 0 10px; font-size: 1.15rem; color: var(--navy); }
.gsc-page-body p { margin: 0 0 16px; }
.gsc-page-body ul, .gsc-page-body ol { margin: 0 0 18px 22px; }
.gsc-page-body li { margin-bottom: 8px; }
@media (max-width: 760px) {
  .gsc-feature { grid-template-columns: 1fr; }
  .gsc-feature-img img { min-height: 200px; }
  .gsc-feature-body { padding: 24px; }
  .gsc-page { padding: 0 14px 52px; }
  .gsc-page-body { padding: 28px 22px; margin-top: -48px; }
  .gsc-chead { gap: 14px; }
  .gsc-cico { width: 56px; height: 56px; border-radius: 18px; }
  .gsc-cico svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .gsc-thero::after { animation: none; } .gsc-feature { transition: none; } }

/* any full-width band runs straight into the footer */
.gsc-band + .site-footer, .gsc-page + .site-footer { margin-top: 0; }
