/*
Theme Name: トレカLabo
Theme URI: https://example.com
Author: tcg-labo
Description: トレカ攻略・最新弾・相場・デッキ構築メディア用の軽量WordPressテーマ。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: tcg-labo
*/

:root {
  --tcg-bg: #fbfbff;
  --tcg-ink: #12131f;
  --tcg-text: #34384d;
  --tcg-muted: #7a8195;
  --tcg-line: #e6e8f2;
  --tcg-line-soft: #f0f2f8;
  --tcg-panel: #ffffff;
  --tcg-pink: #ff3f9a;
  --tcg-purple: #7756ff;
  --tcg-blue: #1677ff;
  --tcg-orange: #f28b3c;
  --tcg-yellow: #ffd94a;
  --tcg-green: #18b77a;
  --tcg-shadow: 0 34px 80px rgba(43, 52, 82, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tcg-bg);
  color: var(--tcg-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  height: auto;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.tcg-site {
  overflow-x: hidden;
  overflow-y: auto;
}

.tcg-header {
  align-items: center;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 31, 86, .12);
  display: flex;
  justify-content: space-between;
  left: 50%;
  max-width: 1180px;
  min-height: 66px;
  padding: 0 18px 0 24px;
  position: fixed;
  top: 22px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  z-index: 50;
}

.admin-bar .tcg-header {
  top: 54px;
}

.tcg-logo {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: 0;
}

.tcg-logo-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--tcg-pink), var(--tcg-purple));
  border-radius: 12px;
  color: #fff;
  display: flex;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.tcg-logo strong {
  display: block;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.tcg-logo span span {
  color: var(--tcg-muted);
  display: block;
  font-size: 10px;
  font-weight: 750;
  margin-top: 4px;
}

.tcg-menu {
  align-items: center;
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcg-menu a {
  color: #31374e;
  font-size: 13px;
  font-weight: 850;
}

.tcg-nav-cta {
  background: #0d1325;
  border-radius: 999px;
  color: #fff !important;
  padding: 12px 20px;
}

.tcg-hero {
  background:
    radial-gradient(circle at 4% 18%, rgba(255, 105, 93, .48), transparent 24%),
    radial-gradient(circle at 95% 8%, rgba(0, 153, 255, .48), transparent 26%),
    radial-gradient(circle at 96% 83%, rgba(242, 139, 60, .42), transparent 22%),
    linear-gradient(135deg, #0a3f9f 0%, #4d79ff 45%, #ffe0a6 100%);
  min-height: 880px;
  padding: 132px 24px 96px;
  position: relative;
}

.tcg-hero::after {
  background: linear-gradient(180deg, transparent, var(--tcg-bg));
  bottom: 0;
  content: "";
  height: 190px;
  left: 0;
  position: absolute;
  right: 0;
}

.tcg-hero-copy {
  color: #fff;
  margin: 0 auto 42px;
  max-width: 920px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.tcg-kicker {
  color: var(--tcg-orange);
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.tcg-hero-copy .tcg-kicker {
  color: #fff2b7;
}

.tcg-hero-copy h1 {
  font-size: 64px;
  line-height: 1.08;
  margin: 0 auto 20px;
  max-width: 900px;
  text-shadow: 0 12px 34px rgba(0, 22, 67, .24);
}

.tcg-hero-copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  font-weight: 720;
  line-height: 2;
  margin: 0 auto;
  max-width: 700px;
}

.tcg-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.tcg-btn,
.tcg-btn-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 950;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
}

.tcg-btn {
  background: linear-gradient(135deg, var(--tcg-pink), #ff76b9);
  box-shadow: 0 18px 34px rgba(255, 63, 154, .3);
  color: #fff;
}

.tcg-btn-secondary {
  background: rgba(255, 255, 255, .92);
  color: #17213a;
}

.tcg-browser {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 22px;
  box-shadow: var(--tcg-shadow);
  margin: 0 auto;
  max-width: 1120px;
  min-height: 500px;
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  transform: perspective(1400px) rotateX(2deg);
  z-index: 2;
}

.tcg-browser-bar {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--tcg-line);
  display: flex;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
}

.tcg-dot {
  border-radius: 999px;
  height: 11px;
  width: 11px;
}

.tcg-dot:nth-child(1) { background: #ff5f57; }
.tcg-dot:nth-child(2) { background: #ffbd2e; }
.tcg-dot:nth-child(3) { background: #28c840; }

.tcg-url {
  background: #f4f6fb;
  border-radius: 999px;
  color: var(--tcg-muted);
  flex: 1;
  font-size: 12px;
  font-weight: 760;
  margin-left: 8px;
  padding: 9px 14px;
}

.tcg-browser-content {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 280px;
  min-width: 980px;
  min-height: 452px;
}

.tcg-browser-side,
.tcg-browser-right {
  background: #fbfcff;
  padding: 22px;
}

.tcg-browser-side {
  border-right: 1px solid var(--tcg-line);
}

.tcg-browser-right {
  border-left: 1px solid var(--tcg-line);
}

.tcg-browser-side h3,
.tcg-browser-right h3 {
  font-size: 15px;
  margin: 0 0 16px;
}

.tcg-filter-line {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 10px;
  color: var(--tcg-muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  padding: 12px;
}

.tcg-browser-main {
  padding: 24px;
}

.tcg-browser-main h2 {
  font-size: 25px;
  margin: 0 0 18px;
}

.tcg-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tcg-card,
.tcg-post-card {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 14px;
  box-shadow: 0 12px 22px rgba(70, 83, 125, .08);
  overflow: hidden;
}

.tcg-card > a,
.tcg-feature-card > a {
  display: block;
}

.tcg-card-art {
  aspect-ratio: 5 / 7;
  background: linear-gradient(135deg, var(--a, #2d14a9), var(--b, #3fd1ff));
  border: 4px solid #101522;
  border-radius: 12px;
  margin: 10px;
  position: relative;
}

.tcg-card-image {
  aspect-ratio: 5 / 7;
  display: block;
  object-fit: cover;
  width: 100%;
}

.tcg-card .tcg-card-image {
  margin: 10px;
  width: calc(100% - 20px);
}

.tcg-card-art::before {
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, .9), transparent 11%),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .24), transparent 26%);
  content: "";
  inset: 16px 8px 44px;
  position: absolute;
}

.tcg-card h3,
.tcg-post-card h3 {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  padding: 0 12px;
}

.tcg-card span,
.tcg-card-price {
  color: var(--tcg-pink);
  display: block;
  font-size: 14px;
  font-weight: 950;
  padding: 8px 12px 14px;
}

.tcg-chart {
  background:
    linear-gradient(var(--tcg-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tcg-line) 1px, transparent 1px);
  background-size: 100% 44px, 48px 100%;
  border: 1px solid var(--tcg-line);
  border-radius: 14px;
  height: 180px;
  margin-top: 12px;
  position: relative;
}

.tcg-chart svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tcg-section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 96px 24px;
  position: relative;
}

.tcg-section-head {
  margin-bottom: 36px;
  max-width: 760px;
}

.tcg-section-head h2 {
  font-size: 46px;
  line-height: 1.16;
  margin: 0 0 16px;
}

.tcg-section-head p {
  color: var(--tcg-text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.95;
  margin: 0;
}

.tcg-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 70px;
  position: relative;
}

.tcg-flow::before {
  background: linear-gradient(90deg, var(--tcg-orange), var(--tcg-pink), var(--tcg-purple));
  content: "";
  height: 2px;
  left: 8%;
  position: absolute;
  right: 8%;
  top: 42px;
}

.tcg-step {
  position: relative;
  text-align: center;
}

.tcg-step-icon {
  align-items: center;
  background: #fff;
  border: 3px solid var(--tcg-orange);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(242, 139, 60, .18);
  color: var(--tcg-orange);
  display: inline-flex;
  font-size: 28px;
  height: 86px;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  width: 86px;
  z-index: 2;
}

.tcg-step small {
  color: var(--tcg-orange);
  display: block;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 8px;
}

.tcg-step strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.tcg-step span {
  color: var(--tcg-muted);
  display: block;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.65;
  margin-top: 6px;
}

.tcg-panel {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(45, 57, 100, .08);
  overflow: hidden;
}

.tcg-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
}

.tcg-panel-copy {
  padding: 46px;
}

.tcg-panel-copy h3 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 14px;
}

.tcg-panel-copy p {
  color: var(--tcg-text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.95;
  margin: 0;
}

.tcg-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.tcg-list a {
  align-items: center;
  background: #f8f9ff;
  border: 1px solid var(--tcg-line);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr auto;
  padding: 12px;
}

.tcg-list .tcg-card-art {
  border-width: 3px;
  border-radius: 8px;
  margin: 0;
}

.tcg-list strong {
  display: block;
  font-size: 14px;
}

.tcg-list span {
  color: var(--tcg-muted);
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-top: 4px;
}

.tcg-phone-zone {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 63, 154, .22), transparent 24%),
    linear-gradient(135deg, #f4f7ff, #fff0f8);
  padding: 34px;
}

.tcg-phone {
  background: #111827;
  border: 8px solid #111827;
  border-radius: 34px;
  box-shadow: var(--tcg-shadow);
  margin: 0 auto;
  max-width: 300px;
  min-height: 560px;
  overflow: hidden;
}

.tcg-phone-screen {
  background: #fff;
  border-radius: 25px;
  min-height: 544px;
  padding: 18px;
}

.tcg-phone-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.tcg-phone-pill {
  background: #f3f5fb;
  border-radius: 999px;
  height: 10px;
  width: 78px;
}

.tcg-phone-card {
  background: linear-gradient(135deg, #2d14a9, #3fd1ff);
  border-radius: 18px;
  color: #fff;
  min-height: 210px;
  padding: 18px;
}

.tcg-phone-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.35;
  margin-top: 120px;
}

.tcg-phone-feed {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tcg-phone-feed div {
  background: #f7f8fc;
  border-radius: 14px;
  min-height: 66px;
}

.tcg-media {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.1fr .9fr;
}

.tcg-video {
  background: #111827;
  border-radius: 26px;
  box-shadow: var(--tcg-shadow);
  color: #fff;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.tcg-video::before {
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 63, 154, .5), transparent 24%),
    radial-gradient(circle at 70% 60%, rgba(22, 119, 255, .45), transparent 25%),
    linear-gradient(135deg, #251443, #060813);
  content: "";
  inset: 0;
  position: absolute;
}

.tcg-play {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  color: var(--tcg-pink);
  display: flex;
  font-size: 34px;
  height: 84px;
  justify-content: center;
  left: 50%;
  padding-left: 5px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  z-index: 2;
}

.tcg-video-caption {
  bottom: 0;
  left: 0;
  padding: 30px;
  position: absolute;
  right: 0;
  z-index: 2;
}

.tcg-video-caption span {
  background: var(--tcg-pink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  margin-bottom: 10px;
  padding: 6px 10px;
}

.tcg-video-caption h3 {
  font-size: 27px;
  line-height: 1.38;
  margin: 0;
}

.tcg-social-wall {
  display: grid;
  gap: 14px;
}

.tcg-post {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(45, 57, 100, .08);
  display: grid;
  gap: 14px;
  grid-template-columns: 46px 1fr;
  padding: 16px;
}

.tcg-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--tcg-pink), var(--tcg-purple));
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-weight: 950;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.tcg-post strong {
  display: block;
  font-size: 14px;
}

.tcg-post p {
  color: var(--tcg-text);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.75;
  margin: 6px 0;
}

.tcg-post small {
  color: var(--tcg-muted);
  font-size: 11px;
  font-weight: 850;
}

.tcg-archive,
.tcg-single {
  margin: 0 auto;
  max-width: 1120px;
  padding: 140px 24px 72px;
}

.tcg-archive-head,
.tcg-single-card {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(45, 57, 100, .08);
  padding: 42px;
}

.tcg-archive-head {
  margin-bottom: 22px;
}

.tcg-archive-head h1,
.tcg-single-card h1 {
  font-size: 44px;
  line-height: 1.18;
  margin: 0 0 14px;
}

.tcg-archive-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tcg-post-card {
  min-width: 0;
}

.tcg-post-card img {
  aspect-ratio: 5 / 7;
  display: block;
  object-fit: cover;
  width: 100%;
}

.tcg-post-card-body {
  padding: 0 16px 18px;
}

.tcg-post-card h3 {
  font-size: 18px;
  padding: 0;
}

.tcg-post-card p {
  color: var(--tcg-muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.75;
}

.tcg-meta {
  color: var(--tcg-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 850;
  gap: 10px;
  margin: 0 0 18px;
}

.tcg-single-content {
  color: var(--tcg-text);
  font-size: 17px;
  font-weight: 620;
  line-height: 2;
  margin-top: 28px;
}

.tcg-card-detail-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 320px minmax(0, 1fr);
  margin-top: 30px;
}

.tcg-card-detail-art {
  max-width: 320px;
}

.tcg-card-detail-art .tcg-card-art,
.tcg-card-detail-art .tcg-card-image {
  box-shadow: var(--tcg-shadow);
  margin: 0;
}

.tcg-card-spec-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tcg-card-spec-grid div {
  background: #f8f9ff;
  border: 1px solid var(--tcg-line);
  border-radius: 18px;
  padding: 18px;
}

.tcg-card-spec-grid span,
.tcg-card-spec-grid strong {
  display: block;
}

.tcg-card-spec-grid span {
  color: var(--tcg-muted);
  font-size: 12px;
  font-weight: 850;
}

.tcg-card-spec-grid strong {
  font-size: 22px;
  margin-top: 8px;
}

.tcg-card-market-note {
  color: var(--tcg-text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.9;
  margin: 24px 0 0;
}

.tcg-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tcg-card-links a {
  background: #f8f9ff;
  border: 1px solid var(--tcg-line);
  border-radius: 999px;
  color: var(--tcg-purple);
  font-size: 13px;
  font-weight: 950;
  padding: 10px 14px;
}

.tcg-single-content h2,
.tcg-single-content h3 {
  color: var(--tcg-ink);
  line-height: 1.35;
  margin-top: 2em;
}

.tcg-single-actions {
  border-top: 1px solid var(--tcg-line);
  display: flex;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
}

.tcg-subpage {
  margin: 0 auto;
  max-width: 1180px;
  padding: 140px 24px 72px;
}

.tcg-sub-hero {
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 63, 154, .18), transparent 22%),
    radial-gradient(circle at 90% 84%, rgba(22, 119, 255, .16), transparent 24%),
    #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(45, 57, 100, .08);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 380px;
  margin-bottom: 22px;
  min-height: 360px;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.tcg-sub-hero h1 {
  font-size: 48px;
  line-height: 1.16;
  margin: 0 0 18px;
  max-width: 740px;
}

.tcg-sub-hero p {
  color: var(--tcg-text);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.95;
  margin: 0;
  max-width: 700px;
}

.tcg-release-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 63, 154, .2), transparent 24%),
    linear-gradient(135deg, #fff, #f0f6ff 52%, #fff0f8);
}

.tcg-market-hero {
  background:
    radial-gradient(circle at 88% 22%, rgba(24, 183, 122, .16), transparent 24%),
    linear-gradient(135deg, #fff, #f6fff9 50%, #fff0f8);
}

.tcg-deck-hero {
  background:
    radial-gradient(circle at 84% 26%, rgba(119, 86, 255, .18), transparent 25%),
    linear-gradient(135deg, #fff, #f5f1ff 52%, #eef7ff);
}

.tcg-media-hero {
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 63, 154, .22), transparent 24%),
    linear-gradient(135deg, #fff, #fff0f8 48%, #eef7ff);
}

.tcg-sub-hero-stack {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.tcg-sub-hero-stack .tcg-card-art {
  box-shadow: var(--tcg-shadow);
  margin: 0;
  position: absolute;
  width: 150px;
}

.tcg-sub-hero-stack .tcg-card-art:nth-child(1) {
  transform: translateX(-90px) rotate(-12deg);
}

.tcg-sub-hero-stack .tcg-card-art:nth-child(2) {
  transform: translateY(-18px) scale(1.15);
  z-index: 2;
}

.tcg-sub-hero-stack .tcg-card-art:nth-child(3) {
  transform: translateX(90px) rotate(12deg);
}

.tcg-sub-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.tcg-metric-card {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(45, 57, 100, .06);
  padding: 20px;
}

.tcg-metric-card span,
.tcg-metric-card small {
  color: var(--tcg-muted);
  display: block;
  font-size: 12px;
  font-weight: 850;
}

.tcg-metric-card strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0;
}

.tcg-sub-section {
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(45, 57, 100, .08);
  margin-top: 22px;
  padding: 36px;
}

.tcg-sub-head {
  margin-bottom: 24px;
  max-width: 760px;
}

.tcg-sub-head h2 {
  font-size: 34px;
  line-height: 1.2;
  margin: 0;
}

.tcg-feature-grid,
.tcg-deck-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tcg-feature-card,
.tcg-deck-card {
  background: #fbfcff;
  border: 1px solid var(--tcg-line);
  border-radius: 20px;
  overflow: hidden;
}

.tcg-feature-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.tcg-feature-card .tcg-card-art {
  border-radius: 16px;
  margin: 16px;
}

.tcg-feature-card .tcg-card-image {
  border-radius: 16px;
  margin: 16px;
  width: calc(100% - 32px);
}

.tcg-feature-card > div,
.tcg-deck-card {
  padding: 18px;
}

.tcg-feature-card h3,
.tcg-deck-card h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 10px 0;
}

.tcg-feature-card p,
.tcg-deck-card p {
  color: var(--tcg-text);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.8;
}

.tcg-feature-card strong {
  color: var(--tcg-pink);
  display: block;
  font-size: 18px;
  margin-top: 10px;
}

.tcg-chip {
  background: rgba(255, 63, 154, .1);
  border-radius: 999px;
  color: var(--tcg-pink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
}

.tcg-check-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tcg-check-grid div {
  background: #f8f9ff;
  border: 1px solid var(--tcg-line);
  border-radius: 18px;
  min-height: 142px;
  padding: 18px;
}

.tcg-check-grid strong,
.tcg-check-grid span {
  display: block;
}

.tcg-check-grid strong {
  font-size: 17px;
  margin-bottom: 10px;
}

.tcg-check-grid span {
  color: var(--tcg-muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.75;
}

.tcg-market-chart {
  background:
    linear-gradient(var(--tcg-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tcg-line) 1px, transparent 1px),
    #fff;
  background-size: 100% 54px, 72px 100%;
  border: 1px solid var(--tcg-line);
  border-radius: 22px;
  min-height: 260px;
  position: relative;
}

.tcg-market-chart svg {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tcg-market-list {
  counter-reset: market;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tcg-market-list li {
  align-items: center;
  counter-increment: market;
  display: grid;
  gap: 16px;
  grid-template-columns: 34px 70px 1fr auto;
  padding: 16px 0;
}

.tcg-market-list li + li {
  border-top: 1px solid var(--tcg-line-soft);
}

.tcg-market-list li::before {
  align-items: center;
  background: linear-gradient(135deg, var(--tcg-pink), var(--tcg-purple));
  border-radius: 999px;
  color: #fff;
  content: counter(market);
  display: flex;
  font-size: 13px;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.tcg-market-list .tcg-card-art {
  border-width: 3px;
  border-radius: 8px;
  margin: 0;
}

.tcg-market-list strong,
.tcg-market-list span {
  display: block;
}

.tcg-market-list span {
  color: var(--tcg-muted);
  font-size: 12px;
  font-weight: 750;
  margin-top: 4px;
}

.tcg-market-list b {
  color: var(--tcg-pink);
}

.tcg-deck-stack {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 260px;
}

.tcg-deck-stack > span {
  display: block;
  margin-right: -46px;
  transform: rotate(-8deg);
  width: 128px;
}

.tcg-deck-stack > span:nth-child(2) {
  transform: translateY(-18px) rotate(2deg);
  z-index: 2;
}

.tcg-deck-stack > span:nth-child(3) {
  transform: rotate(10deg);
  z-index: 3;
}

.tcg-deck-stack .tcg-card-art {
  box-shadow: var(--tcg-shadow);
  margin: 0;
}

.tcg-deck-mini {
  display: flex;
  margin-bottom: 18px;
}

.tcg-deck-mini .tcg-card-art {
  border-width: 3px;
  border-radius: 8px;
  margin: 0 -12px 0 0;
  width: 64px;
}

.tcg-deck-mini .tcg-card-image {
  border-radius: 8px;
  margin: 0 -12px 0 0;
  width: 64px;
}

.tcg-deck-card a {
  color: var(--tcg-pink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 950;
  margin-top: 8px;
}

.tcg-media-orbit {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 260px;
  position: relative;
}

.tcg-media-orbit span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--tcg-line);
  border-radius: 999px;
  box-shadow: var(--tcg-shadow);
  color: var(--tcg-pink);
  display: flex;
  font-size: 34px;
  font-weight: 950;
  height: 108px;
  justify-content: center;
  position: absolute;
  width: 108px;
}

.tcg-media-orbit span:nth-child(1) {
  transform: translate(-76px, -34px);
}

.tcg-media-orbit span:nth-child(2) {
  color: #111827;
  transform: translate(74px, -18px);
}

.tcg-media-orbit span:nth-child(3) {
  color: var(--tcg-purple);
  transform: translate(0, 76px);
}

.tcg-media-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.1fr .9fr;
}

.tcg-footer {
  color: var(--tcg-muted);
  font-size: 12px;
  font-weight: 760;
  padding: 42px 24px;
  text-align: center;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

@media (max-width: 1120px) {
  .tcg-panel-grid,
  .tcg-media,
  .tcg-media-layout,
  .tcg-sub-hero {
    grid-template-columns: 1fr;
  }

  .tcg-browser-side {
    border-right: 1px solid var(--tcg-line);
  }

  .tcg-browser-right {
    border-left: 1px solid var(--tcg-line);
  }

  .tcg-card-grid,
  .tcg-archive-grid,
  .tcg-card-detail-grid,
  .tcg-sub-grid,
  .tcg-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tcg-feature-grid,
  .tcg-deck-grid {
    grid-template-columns: 1fr;
  }

  .tcg-browser .tcg-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tcg-flow {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .tcg-flow::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .tcg-header {
    align-items: center;
    border-radius: 999px;
    gap: 18px;
    min-height: 62px;
    overflow-x: auto;
    padding: 0 12px;
    width: calc(100% - 20px);
  }

  .tcg-menu {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .tcg-menu a {
    font-size: 12px;
  }

  .tcg-hero {
    min-height: 820px;
    padding: 118px 12px 70px;
  }

  .tcg-hero-copy h1 {
    font-size: 38px;
  }

  .tcg-hero-actions,
  .tcg-single-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tcg-browser {
    border-radius: 16px;
    transform: perspective(1400px) rotateX(2deg);
  }

  .tcg-archive-grid {
    grid-template-columns: 1fr;
  }

  .tcg-section,
  .tcg-archive,
  .tcg-single,
  .tcg-subpage {
    padding: 70px 14px;
  }

  .tcg-section-head h2,
  .tcg-archive-head h1,
  .tcg-single-card h1,
  .tcg-sub-hero h1 {
    font-size: 32px;
  }

  .tcg-panel-copy,
  .tcg-archive-head,
  .tcg-single-card,
  .tcg-sub-hero,
  .tcg-sub-section {
    padding: 28px;
  }

  .tcg-sub-grid,
  .tcg-card-spec-grid,
  .tcg-check-grid,
  .tcg-market-list li {
    grid-template-columns: 1fr;
  }

  .tcg-sub-hero-stack {
    min-height: 220px;
  }

  .tcg-market-chart {
    min-height: 220px;
  }
}
