/* EURO DREAMS 4 corporate rewards site — V20 */
:root {
  color-scheme: light;
  --corp-ink: #172a25;
  --corp-green: #173e35;
  --corp-green-2: #245a4c;
  --corp-cream: #f4f0e7;
  --corp-paper: #fffdf8;
  --corp-copper: #b66b3f;
  --corp-gold: #c49a4a;
  --corp-line: #d8d0c1;
  --corp-muted: #6d746f;
  --corp-dark: #091711;
}

html { scroll-behavior: smooth; }

body.corp-site {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--corp-cream);
  color: var(--corp-ink);
  font-family: "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.corp-site::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background-color: var(--corp-cream);
  pointer-events: none;
}

.corp-site a { color: inherit; text-decoration: none; }

/* Keep accessible labels available to screen readers without letting them
   consume visible layout space. */
.corp-site .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.corp-site .site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: min(1400px, calc(100% - 64px));
  height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid rgba(23,42,37,.15);
  background: rgba(244,240,231,.94);
  backdrop-filter: blur(16px);
}

.corp-site .brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 235px;
}

.corp-site .brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--corp-green);
  border-radius: 4px;
  color: var(--corp-green);
  background: transparent;
  box-shadow: 5px 5px 0 rgba(182,107,63,.18);
  font: 700 15px/1 Georgia, serif;
  letter-spacing: -.04em;
}

.corp-site .brand-copy { display: block; }
.corp-site .brand strong {
  display: block;
  color: var(--corp-ink);
  font: 700 16px/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
}
.corp-site .brand small {
  display: block;
  margin-top: 6px;
  color: var(--corp-muted);
  font-size: 10px;
  letter-spacing: .16em;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.site-nav a {
  position: relative;
  padding: 31px 0 29px;
  color: #4b5b55;
  font-size: 13px;
  letter-spacing: .06em;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--corp-copper);
  transition: right .2s ease;
}
.site-nav a:hover::after { right: 0; }

.header-tools {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.language-control { min-width: 0; display: inline-flex; }
.language-control select {
  width: clamp(142px, 14vw, 184px);
  height: 38px;
  min-width: 0;
  padding: 0 30px 0 11px;
  border: 1px solid #b9ad99;
  border-radius: 3px;
  color: var(--corp-ink);
  background: #fffdf8;
  font: 600 11px/1 "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.language-control select:focus-visible {
  outline: 2px solid var(--corp-copper);
  outline-offset: 2px;
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--corp-green);
  color: var(--corp-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.corp-site .shell {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 72px;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 5vw, 80px);
  padding: 64px 0 74px;
}

.hero-copy { padding: 16px 0; }
.hero-copy, .live-module { min-width: 0; max-width: 100%; }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--corp-copper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .21em;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 30px; height: 1px; background: var(--corp-copper); }

.hero h1 {
  max-width: 670px;
  margin: 0;
  color: var(--corp-ink);
  font: 600 clamp(45px, 5vw, 76px)/1.08 Georgia, "Noto Serif TC", serif;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--corp-green); font-style: normal; }
.hero-intro {
  max-width: 570px;
  margin: 30px 0 0;
  color: #56645e;
  font-size: 15px;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  border: 1px solid var(--corp-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(23,62,53,.12); }
.button-primary { background: var(--corp-green); color: #fffdf8 !important; }
.button-secondary { color: var(--corp-green); background: transparent; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 570px;
  margin: 46px 0 0;
  padding-top: 21px;
  border-top: 1px solid var(--corp-line);
  width: 100%;
}
.hero-facts div { padding-right: 18px; }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--corp-line); }
.hero-facts dt { color: var(--corp-green); font: 700 25px/1 Georgia, serif; }
.hero-facts dt small { margin-left: 2px; font: 600 11px/1 "Segoe UI", sans-serif; }
.hero-facts dd { margin: 8px 0 0; color: var(--corp-muted); font-size: 11px; }

.live-module {
  position: relative;
  width: 100%;
  align-self: center;
  overflow: hidden;
  border: 1px solid #1f443a;
  background: var(--corp-dark);
  box-shadow: 0 28px 58px rgba(23,42,37,.18);
}
.live-module::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 84px;
  height: 4px;
  background: var(--corp-copper);
}
.live-module__header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px 14px;
  border-bottom: 1px solid #214037;
  color: #f5efe3;
}
.live-module__header .section-kicker { margin: 0 0 6px; color: #bda671; }
.live-module__header h2 { margin: 0; font: 600 21px/1.1 Georgia, "Noto Serif TC", serif; }
.corp-site .connection { display: flex; align-items: center; gap: 8px; color: #b9cbc3; font-size: 11px; }
.corp-site .connection i { width: 7px; height: 7px; border-radius: 50%; background: #5de0a7; box-shadow: 0 0 13px rgba(93,224,167,.65); }
.compliance-note {
  min-height: 38px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-top: 1px solid #214037;
  background: #0d211a;
  color: #b9cbc3;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
}
.compliance-note > span {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid #bda671;
  border-radius: 50%;
  color: #e2cc95;
  font: 700 10px/1 Georgia, serif;
}
.compliance-note strong { font: inherit; }

.corp-site .game-panel.active { display: block; }
.corp-site .draw-card,
.corp-site .archive-card { border-radius: 0; }
.corp-site .draw-card {
  overflow: hidden;
  border: 0;
  background: #081610;
  box-shadow: none;
}
.corp-site .draw-titlebar {
  height: auto;
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-bottom: 1px solid #213b33;
  background: #0d211a;
}
.corp-site .draw-titlebar > div { display: grid; gap: 3px; }
.corp-site .draw-titlebar small { color: #87a196; font-size: 8px; letter-spacing: .16em; }
.corp-site .draw-titlebar strong { color: #f7f1e5; font-size: 12px; }
.corp-site .draw-titlebar .event-identity strong { font-family: Georgia, "Noto Serif TC", serif; font-size: 14px; }
.corp-site .issue-block, .corp-site .status-block { min-width: 90px; text-align: right; }
.corp-site .status-block { display: grid !important; }
.corp-site .status-block strong { color: #d9b976; }

.corp-site .draw-layout { display: block; grid-template-columns: none; }
.corp-site .stage-column { min-width: 0; }
.corp-site .stage { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #020704; }
.corp-site .mouse-canvas { width: 100%; height: 100%; display: block; }
.corp-site .stage-shade { pointer-events: none; }
.corp-site .draw-sidebar {
  width: 100%;
  min-width: 0;
  padding: 13px 17px 15px;
  border: 0;
  border-top: 1px solid #213b33;
  background: #0d211a;
}
.corp-site .stage-history { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; min-height: 0; padding: 0; }
.corp-site .stage-history > span { color: #a9bdb4; font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
.corp-site .stage-history .history-grid { display: grid; grid-template-columns: repeat(10, minmax(24px, 1fr)); gap: 5px; overflow: visible; }
.corp-site .stage-history .history-item { min-width: 0; padding: 0; border: 0; background: transparent; }
.corp-site .stage-history .result-ball { width: 25px; height: 25px; font-size: 12px; color: #fff; box-shadow: none; }
.corp-site .stage-history .history-item span { margin-top: 4px; color: #678076; font-size: 7px; }
.corp-site .stage-history .empty { grid-column: 1 / -1; margin: 0; color: #7f968d; font-size: 10px; }

.corp-site .sound-toggle {
  top: 10px;
  right: 10px;
  bottom: auto;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  display: grid;
  place-items: center;
  gap: 0;
  padding: 0;
  border-radius: 50%;
}
.corp-site .sound-toggle .sound-icon { display: block; font-size: 8px; line-height: 1; }
.corp-site .sound-toggle .sound-label { display: none; }
.corp-site .waiting-plaque { bottom: 12px; }

.trust-strip {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  gap: 30px;
  min-height: 92px;
  margin: 0 0 110px;
  padding: 0 26px;
  border-top: 1px solid var(--corp-line);
  border-bottom: 1px solid var(--corp-line);
  background: rgba(255,253,248,.48);
}
.trust-strip p { margin: 0; color: var(--corp-green); font: 600 15px/1.3 Georgia, "Noto Serif TC", serif; }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust-strip li { display: flex; align-items: center; gap: 10px; color: #5c6762; font-size: 11px; white-space: nowrap; }
.trust-strip li span { color: var(--corp-copper); font: 700 10px/1 Georgia, serif; }

.section-block { margin: 0 0 132px; }
.section-heading-corp { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 64px; margin-bottom: 42px; }
.section-heading-corp .section-kicker, .service-story .section-kicker, .history-intro .section-kicker { margin-bottom: 12px; }
.section-heading-corp h2, .service-story h2, .history-intro h2 {
  margin: 0;
  color: var(--corp-green);
  font: 600 clamp(34px, 4vw, 56px)/1.12 Georgia, "Noto Serif TC", serif;
  letter-spacing: -.035em;
}
.section-heading-corp > p { margin: 0; color: var(--corp-muted); font-size: 14px; line-height: 1.8; }

.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gift-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--corp-line); background: var(--corp-paper); }
.gift-card__visual { position: relative; height: 185px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--corp-line); background: #e9e1d2; }
.gift-card__visual::before, .gift-card__visual::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.32);
}
.gift-card__visual::before { width: 28px; height: 100%; left: calc(50% - 14px); top: 0; }
.gift-card__visual::after { width: 100%; height: 28px; top: calc(50% - 14px); left: 0; }
.gift-card__visual span { position: relative; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid currentColor; background: rgba(255,253,248,.88); font: 700 28px/1 Georgia, serif; }
.gift-card__visual i { position: absolute; z-index: 1; top: 22px; left: 50%; width: 64px; height: 40px; border: 12px solid rgba(255,255,255,.32); border-bottom: 0; transform: translateX(-50%); }
.gift-one .gift-card__visual { color: #8d302e; background-color: #c7635d; }
.gift-two .gift-card__visual { color: #234d74; background-color: #7797b6; }
.gift-three .gift-card__visual { color: #285e43; background-color: #6f9b7e; }
.gift-four .gift-card__visual { color: #302e2b; background-color: #77736d; }
.gift-card__body { padding: 24px 22px 27px; }
.gift-card__body small { color: var(--corp-copper); font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.gift-card__body h3 { margin: 8px 0 10px; color: var(--corp-ink); font: 600 23px/1.2 Georgia, "Noto Serif TC", serif; }
.gift-card__body p { margin: 0; color: var(--corp-muted); font-size: 12px; line-height: 1.75; }

.service-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding: 80px; background: var(--corp-green); color: #eff3ed; }
.service-story h2 { color: #fff9ee; }
.service-story > p:not(.section-kicker) { margin: 26px 0 0; color: #bdcec6; font-size: 14px; line-height: 1.9; }
.service-story > a { display: inline-flex; align-items: center; gap: 18px; margin-top: 34px; padding-bottom: 5px; border-bottom: 1px solid #be9a55; color: #f5d896; font-size: 12px; font-weight: 700; }
.service-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.service-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.service-steps > li > span { color: #ddb96f; font: 700 12px/1.5 Georgia, serif; }
.service-steps h3 { margin: 0 0 7px; color: #fff9ee; font: 600 20px/1.2 Georgia, "Noto Serif TC", serif; }
.service-steps p { margin: 0; color: #aebfb7; font-size: 12px; line-height: 1.6; }

.history-section { margin: 0 0 120px; display: grid; grid-template-columns: .35fr .65fr; gap: 60px; align-items: start; }
.history-intro { position: sticky; top: 118px; }
.history-intro h2 { font-size: clamp(33px, 3.5vw, 50px); }
.corp-site .mouse-sync-note { margin: 20px 0 0; color: var(--corp-muted); font-size: 13px; line-height: 1.8; }
.corp-site .archive-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--corp-line);
  background: var(--corp-paper);
  box-shadow: none;
}
.corp-site .archive-heading { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border-bottom: 1px solid var(--corp-line); }
.corp-site .archive-heading h2 { margin: 0; color: var(--corp-green); font: 600 23px/1.2 Georgia, "Noto Serif TC", serif; }
.corp-site .archive-heading p { margin: 6px 0 0; color: var(--corp-muted); font-size: 10px; }
.history-search { display: grid; grid-template-columns: minmax(145px, 190px) auto auto; gap: 7px; align-items: center; }
.history-search input { min-width: 0; height: 38px; padding: 0 12px; border: 1px solid #cfc5b5; border-radius: 0; outline: 0; color: var(--corp-green); background: #fffdf8; font: 600 11px/1 "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; font-variant-numeric: tabular-nums; }
.history-search input::placeholder { color: #929d98; font-weight: 500; }
.history-search input:focus { border-color: var(--corp-green); box-shadow: 0 0 0 2px rgba(23,62,53,.09); }
.history-search button { height: 38px; padding: 0 13px; border: 1px solid var(--corp-green); border-radius: 0; color: #fffdf8; background: var(--corp-green); font: 700 10px/1 "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif; cursor: pointer; }
.history-search .history-search-clear { color: var(--corp-green); background: transparent; }
.history-search button:focus-visible, .history-search input:focus-visible { outline: 2px solid var(--corp-copper); outline-offset: 2px; }
.corp-site .archive-list { padding: 0 26px; }
.corp-site .archive-row { min-height: 72px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding: 12px 0; border-bottom: 1px solid #e5ded1; background: transparent; }
.corp-site .archive-row time { color: var(--corp-muted); font-size: 11px; }
.corp-site .archive-issue { color: #58645f; font-size: 11px; }
.corp-site .mouse-outcome { display: flex; align-items: center; gap: 9px; }
.corp-site .archive-row .result-ball {
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.corp-site .result-attributes { display: flex; gap: 4px; }
.corp-site .result-attributes i { min-width: 34px; padding: 6px 8px; border: 1px solid var(--corp-line); color: var(--corp-muted); background: #faf7ef; font-size: 10px; font-style: normal; text-align: center; }
.corp-site .result-ball.red { background: #c43e43; }
.corp-site .result-ball.blue { background: #2675b5; }
.corp-site .result-ball.green { background: #25945a; }
.corp-site .result-ball.black { background: #252a28; }
.corp-site .archive-row .result-ball.black { border-color: #dce9ef; }
.corp-site .archive-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; border-top: 1px solid var(--corp-line); }
.corp-site .archive-pagination button { min-height: 36px; padding: 0 15px; border: 1px solid var(--corp-green); border-radius: 0; color: var(--corp-green); background: transparent; font: 700 11px/1 "Segoe UI", sans-serif; }
.corp-site .archive-pagination button:disabled { opacity: .35; }
.corp-site .archive-pagination span { color: var(--corp-muted); font-size: 11px; }

.closing-panel { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px 60px; background: #c0774b; color: #fffaf1; }
.closing-panel .section-kicker { margin-bottom: 10px; color: #3a251a; }
.closing-panel h2 { max-width: 800px; margin: 0; font: 600 clamp(30px, 4vw, 52px)/1.15 Georgia, "Noto Serif TC", serif; }
.button-light { border-color: #fffaf1; color: #fffaf1 !important; }

.site-footer {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0;
  color: #65706b;
  text-align: left;
}
.site-footer div { display: grid; gap: 5px; }
.site-footer strong { color: var(--corp-green); font: 700 15px/1 Georgia, serif; letter-spacing: .08em; }
.site-footer span, .site-footer p { margin: 0; font-size: 10px; line-height: 1.6; }

@media (max-width: 1180px) {
  .corp-site .site-header, .corp-site .shell, .site-footer { width: min(100% - 40px, 1040px); }
  .corp-site .site-header { gap: 22px; }
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 50px; padding-top: 70px; }
  .hero-copy { max-width: 820px; }
  .hero-intro, .hero-facts { max-width: 680px; }
  .live-module { width: min(900px, 100%); justify-self: end; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .service-section { gap: 50px; padding: 60px 48px; }
}

@media (max-width: 760px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body.corp-site::before { background-image: none; }
  .corp-site .site-header, .corp-site .shell, .site-footer { width: calc(100% - 28px); }
  .corp-site .site-header { height: 70px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .corp-site .brand, .corp-site .brand-copy, .header-tools { min-width: 0; }
  .corp-site .brand-mark { width: 38px; height: 38px; box-shadow: 4px 4px 0 rgba(182,107,63,.16); }
  .corp-site .brand strong { font-size: 13px; }
  .corp-site .brand small { font-size: 9px; }
  .header-tools { gap: 0; }
  .language-control { min-height: 44px; align-items: center; }
  .language-control select { width: clamp(126px, 34vw, 148px); height: 34px; padding-left: 9px; padding-right: 25px; font-size: 11px; }
  .site-nav { display: none; }
  .header-cta { display: inline-flex; min-height: 36px; padding: 0 11px; font-size: 9px; }
  .corp-site .shell { padding-bottom: 38px; }
  .hero { min-height: 0; gap: 38px; padding: 48px 0 54px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 9px; letter-spacing: .16em; }
  .hero h1 { font-size: clamp(37px, 11.2vw, 48px); line-height: 1.12; overflow-wrap: anywhere; }
  .hero-intro { margin-top: 22px; font-size: 13px; line-height: 1.8; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 46px; padding: 0 17px; font-size: 11px; }
  .hero-facts { margin-top: 34px; }
  .hero-facts dt { font-size: 21px; }
  .hero-facts dd { font-size: 10px; }
  .live-module { box-shadow: 0 16px 34px rgba(23,42,37,.16); }
  .live-module__header { min-height: 62px; padding: 12px 14px; }
  .live-module__header h2 { font-size: 18px; }
  .compliance-note { padding: 8px 12px; font-size: 9px; }
  .corp-site .draw-titlebar { grid-template-columns: 1fr auto; gap: 10px; padding: 9px 12px; }
  .corp-site .draw-titlebar .event-identity { display: none; }
  .corp-site .issue-block, .corp-site .status-block { margin-left: 0; min-width: 0; }
  .corp-site .draw-titlebar small { font-size: 8px; }
  .corp-site .draw-titlebar strong { font-size: 11px; }
  .corp-site .stage { aspect-ratio: 16 / 9; }
  .corp-site .sound-toggle {
    top: 7px;
    right: 7px;
    bottom: auto;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    transform: none;
  }
  .corp-site .draw-sidebar { padding: 11px 12px 12px; }
  .corp-site .stage-history { grid-template-columns: 1fr; gap: 8px; }
  .corp-site .stage-history .history-grid { grid-template-columns: repeat(10, minmax(22px, 1fr)); gap: 2px; }
  .corp-site .stage-history .result-ball { width: 23px; height: 23px; font-size: 11px; }
  .corp-site .stage-history .history-item span { display: none; }
  .trust-strip { grid-template-columns: 1fr; gap: 15px; margin-bottom: 78px; padding: 22px 18px; }
  .trust-strip ul { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .trust-strip li { font-size: 11px; }
  .section-block { margin-bottom: 86px; }
  .section-heading-corp { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .section-heading-corp h2, .service-story h2, .history-intro h2 { font-size: 35px; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gift-card__visual { height: 120px; }
  .gift-card__visual span { width: 55px; height: 55px; font-size: 21px; }
  .gift-card__body { padding: 18px 14px 21px; }
  .gift-card__body h3 { font-size: 19px; }
  .gift-card__body p { font-size: 12px; }
  .service-section { grid-template-columns: 1fr; gap: 44px; padding: 42px 24px; }
  .history-section { grid-template-columns: 1fr; gap: 28px; margin-bottom: 78px; }
  .history-intro { position: static; }
  .corp-site .archive-heading { padding: 19px 16px; }
  .corp-site .archive-list { padding: 0 16px; }
  .corp-site .archive-row { min-height: 78px; grid-template-columns: 1fr auto; gap: 8px 14px; }
  .corp-site .archive-row time { grid-column: 1; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
  .corp-site .archive-issue { grid-column: 1; font-size: 12px; }
  .corp-site .mouse-outcome { grid-column: 2; grid-row: 1 / span 2; }
  .corp-site .archive-row .result-ball {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    flex-basis: 34px;
    font-size: 15px;
  }
  .corp-site .result-attributes i { min-width: 32px; padding: 6px 5px; font-size: 11px; }
  .closing-panel { min-height: 240px; align-items: flex-start; flex-direction: column; padding: 34px 24px; }
  .site-footer { min-height: 120px; align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 420px) {
  .corp-site .site-header, .corp-site .shell, .site-footer { width: calc(100% - 20px); }
  .header-cta { display: none; }
  .corp-site .site-header { height: 64px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .corp-site .brand { gap: 9px; }
  .corp-site .brand-mark { width: 34px; height: 34px; }
  .corp-site .brand strong { overflow: hidden; font-size: 12px; letter-spacing: .045em; text-overflow: ellipsis; white-space: nowrap; }
  .corp-site .brand small { margin-top: 4px; font-size: 8px; letter-spacing: .1em; }
  .language-control select { width: 126px; height: 34px; padding-left: 8px; padding-right: 23px; font-size: 11px; }
  .hero { padding-top: 36px; }
  .hero-facts dd { line-height: 1.35; }
  .live-module__header .connection { font-size: 10px; }
  .corp-site .draw-sidebar { overflow-x: hidden; }
  .corp-site .stage-history .history-grid { grid-template-columns: repeat(5, 1fr); row-gap: 7px; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-card { display: grid; grid-template-columns: 110px 1fr; }
  .gift-card__visual { height: 100%; min-height: 145px; }
  .section-heading-corp h2, .service-story h2, .history-intro h2,
  .profile-heading h2, .closing-panel h2 { overflow-wrap: anywhere; }
}

@media (max-width: 620px) {
  .corp-site .archive-heading { min-height: 0; align-items: stretch; flex-direction: column; gap: 16px; }
  .history-search { width: 100%; grid-template-columns: minmax(0, 1fr) auto auto; }
  .history-search input { width: 100%; height: 44px; font-size: 16px; }
  .history-search button { height: 44px; padding-inline: 14px; font-size: 12px; }
}

@media (max-width: 360px) {
  .corp-site .site-header { gap: 6px; }
  .corp-site .brand { gap: 7px; }
  .corp-site .brand-mark { width: 32px; height: 32px; }
  .corp-site .brand strong { font-size: 10px; }
  .corp-site .brand small { display: none; }
  .language-control select { width: 112px; height: 32px; font-size: 10px; }
  .history-search { gap: 5px; }
  .history-search button { padding-inline: 10px; }
}
@media (hover: none) and (pointer: coarse) {
  .language-control select:focus,
  .language-control select:focus-visible {
    outline: none;
    outline-offset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a::after { transition: none; }
}
