/* Shiji One-Country-One-Aesthetic Homepage Beautification (v1.0.0) */

.af-shiji-country-ribbon {
  max-width: 1320px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  border-bottom: 1px solid #e5e2db;
  background: #f9f8f5;
  color: #181a1d;
  font-size: 13px;
}
.af-shiji-country-ribbon__tag {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: #141619;
  color: #f8f6f0;
}
.af-shiji-country-ribbon__copy {
  flex: 1 1 300px;
  font-weight: 500;
  line-height: 1.45;
}

/* 1. DACH (DE / AT / CH): Berlin Slate & Alpine Pine */
html[data-af-region="dach"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #121619 0%, #133b2e 100%) !important;
}
html[data-af-region="dach"] .af-shiji-country-ribbon {
  background: #f2f5f3;
  border-bottom-color: #d4dfd8;
}
html[data-af-region="dach"] .af-shiji-country-ribbon__tag { background: #133b2e; }

/* 2. Japan (JP): Light Washi & Sakura Mist Hero (Visibly Distinct Soft Japanese Editorial!) */
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-hero,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #fbf7f3 0%, #f6e9ec 55%, #f4efe8 100%) !important;
  color: #231e20 !important;
  border-bottom: 1px solid #eadce0;
}
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-hero h1,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-hero h1,
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-hero p,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-hero p {
  color: #231e20 !important;
}
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-kicker,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-kicker {
  background: #422f35 !important;
  color: #fdf7f8 !important;
}
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-btn-primary,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-btn-primary {
  background: #231e20 !important;
  color: #ffffff !important;
}
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-btn-ghost,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-btn-ghost {
  color: #231e20 !important;
  border-color: rgba(35, 30, 32, 0.35) !important;
}
html[data-af-region="jp"] #af-shiji-winner-home .af-wh-card,
html[data-af-locale="ja"] #af-shiji-winner-home .af-wh-card {
  border-radius: 16px !important;
  border-color: #ece3e5 !important;
}
html[data-af-region="jp"] .af-shiji-country-ribbon,
html[data-af-locale="ja"] .af-shiji-country-ribbon {
  background: #faf4f5;
  border-bottom-color: #eadce0;
}
html[data-af-region="jp"] .af-shiji-country-ribbon__tag,
html[data-af-locale="ja"] .af-shiji-country-ribbon__tag {
  background: #422f35;
  border-radius: 999px;
}

/* 3. France & Belgium (FR / BE): Parisian Espresso & Champagne Gold */
html[data-af-region="fr"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #211915 0%, #3d2e26 100%) !important;
}
html[data-af-region="fr"] .af-shiji-country-ribbon {
  background: #f7f1e8;
  border-bottom-color: #e4d8c8;
}
html[data-af-region="fr"] .af-shiji-country-ribbon__tag {
  background: #241c18;
  color: #e8cfa0;
}

/* 4. Italy (IT): Milan Terracotta & Warm Cream */
html[data-af-region="it"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #2b1812 0%, #6f3826 100%) !important;
}
html[data-af-region="it"] .af-shiji-country-ribbon {
  background: #f7efe8;
  border-bottom-color: #e7d5c8;
}
html[data-af-region="it"] .af-shiji-country-ribbon__tag { background: #7c3f2c; }

/* 5. Spain & Portugal (ES / PT): Barcelona Olive & Sand */
html[data-af-region="es"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #1b2820 0%, #2f4637 100%) !important;
}
html[data-af-region="es"] .af-shiji-country-ribbon {
  background: #f3ede3;
  border-bottom-color: #ded6c7;
}
html[data-af-region="es"] .af-shiji-country-ribbon__tag { background: #2e4034; }

/* 6. Netherlands (NL): Amsterdam Canal Slate */
html[data-af-region="nl"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #14202b 0%, #253b4f 100%) !important;
}
html[data-af-region="nl"] .af-shiji-country-ribbon {
  background: #eef2f5;
  border-bottom-color: #d6dde5;
}
html[data-af-region="nl"] .af-shiji-country-ribbon__tag { background: #1e2d3b; }

/* 7. Nordics (SE / NO / DK / FI): Stockholm Fjord & Snow */
html[data-af-region="nordic"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #17232d 0%, #2c4152 100%) !important;
}
html[data-af-region="nordic"] .af-shiji-country-ribbon {
  background: #f0f4f7;
  border-bottom-color: #d9e1e7;
}
html[data-af-region="nordic"] .af-shiji-country-ribbon__tag { background: #22303c; }

/* 8. CEE & Greece (PL / CZ / HU / RO / GR): Continental Indigo & Gold */
html[data-af-region="cee"] #af-shiji-winner-home .af-wh-hero {
  background: linear-gradient(135deg, #161d2b 0%, #29364e 100%) !important;
}
html[data-af-region="cee"] .af-shiji-country-ribbon {
  background: #f1f2f6;
  border-bottom-color: #d9dce6;
}
html[data-af-region="cee"] .af-shiji-country-ribbon__tag {
  background: #1b2432;
  color: #ebd39d;
}
