/* CastWatch Design System
   Premium Nightlife Data Service — shared visual tokens and components. */
:root {
  color-scheme: light;
  --cw-bg-dark: #140b1a;
  --cw-bg-dark-secondary: #38203f;
  --cw-bg-page: #f8f4f7;
  --cw-bg-soft: #f3ebf1;
  --cw-surface: #ffffff;
  --cw-surface-hover: #fff9fb;
  --cw-text-primary: #211923;
  --cw-text-secondary: #544b56;
  --cw-text-on-dark: #fffafc;
  --cw-text-muted: #766d78;
  --cw-brand: #bd2f68;
  --cw-brand-hover: #941e4e;
  --cw-brand-soft: #fae8ef;
  --cw-positive: #167657;
  --cw-positive-soft: #e2f4ed;
  --cw-info: #356b89;
  --cw-info-soft: #e7f1f6;
  --cw-warning: #946013;
  --cw-warning-soft: #fff5d9;
  --cw-danger: #a52a45;
  --cw-danger-soft: #fce9ed;
  --cw-border: #e4dbe4;
  --cw-border-strong: #cdbfcb;
  --cw-border-dark: rgba(255, 255, 255, .16);
  --cw-shadow-sm: 0 6px 24px rgba(38, 19, 42, .06);
  --cw-shadow-md: 0 16px 44px rgba(31, 10, 34, .12);
  --cw-radius-sm: 6px;
  --cw-radius-md: 10px;
  --cw-radius-lg: 16px;
  --cw-content: 1240px;
  --cw-reading: 880px;

  /* Compatibility with existing pages. */
  --ink: var(--cw-text-primary);
  --muted: var(--cw-text-muted);
  --paper: var(--cw-surface);
  --soft: var(--cw-bg-soft);
  --accent: var(--cw-brand);
  --accent-dark: var(--cw-brand-hover);
  --line: var(--cw-border);
  --shadow: var(--cw-shadow-md);
  --cw-navy: var(--cw-bg-dark-secondary);
  --cw-accent: var(--cw-brand);
  --cw-accent-dark: var(--cw-brand-hover);
  --cw-paper: var(--cw-bg-page);
  --cw-card: var(--cw-surface);
  --cw-line: var(--cw-border);
  --cw-muted: var(--cw-text-muted);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cw-bg-page); color: var(--cw-text-primary); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--cw-bg-page);
  color: var(--cw-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  overflow-x: clip;
}
body.has-open-menu { overflow: hidden; }
main { min-height: 68vh; }
img { max-width: 100%; height: auto; }
a { color: var(--cw-brand-hover); text-underline-offset: .2em; }
a:hover { color: var(--cw-brand); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.28; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ef87ad; outline-offset: 3px; }
::selection { background: #f4b2c9; color: #251127; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: var(--cw-radius-sm);
  background: var(--cw-surface);
  color: var(--cw-text-primary);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.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;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: block;
  min-height: 76px;
  height: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(224, 97, 145, .58);
  background: rgba(20, 11, 26, .98);
  color: var(--cw-text-on-dark);
  box-shadow: 0 4px 20px rgba(12, 5, 15, .14);
}
.site-header-inner {
  width: min(calc(100% - 40px), var(--cw-content));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  flex: 0 0 auto;
  display: inline-grid;
  gap: 0;
  color: var(--cw-text-on-dark) !important;
  text-decoration: none;
  line-height: 1;
}
.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: 1.58rem;
  font-weight: 500;
  letter-spacing: -.045em;
}
.brand > .brand-word {
  display: inline-flex;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  place-items: initial;
  white-space: nowrap;
}
.brand .brand-word > span,
.brand .brand-word > strong {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: none;
  color: inherit;
}
.brand .brand-word > strong { color: #e65d8e; font-weight: 600; }
.brand small {
  margin-top: 5px;
  color: rgba(255, 250, 252, .68);
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .02em;
}
.site-menu {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-primary-nav,
.site-account-actions { display: flex; align-items: center; gap: 5px; }
.site-primary-nav { margin: auto; }
.site-header .site-primary-nav a,
.site-header .site-account-actions > a,
.site-header .nav-logout button {
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--cw-radius-sm);
  background: transparent;
  color: rgba(255, 250, 252, .88);
  font-size: .85rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .site-primary-nav a:hover,
.site-header .site-primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  box-shadow: inset 0 -2px 0 #e65d8e;
}
.site-header .site-account-actions > .nav-outline,
.site-header .nav-logout button {
  border: 1px solid rgba(230, 93, 142, .66);
}
.site-header .site-account-actions > .nav-primary {
  border: 1px solid var(--cw-brand);
  background: var(--cw-brand);
  color: #fff;
}
.site-header .site-account-actions > .nav-primary:hover { background: var(--cw-brand-hover); }
.nav-logout { margin: 0; }
.site-header .nav-logout button { cursor: pointer; }
.site-menu-toggle {
  display: none;
  width: 46px;
  min-height: 46px;
  padding: 11px;
  border: 1px solid var(--cw-border-dark);
  border-radius: var(--cw-radius-sm);
  background: transparent;
}
.site-menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: #fff; }

/* Shared type and layout */
.eyebrow {
  margin: 0 0 8px;
  color: var(--cw-brand);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.content-shell,
.section,
.page-heading,
.page-head,
.detail-hero {
  width: min(calc(100% - 40px), var(--cw-content));
  max-width: var(--cw-content);
  margin-inline: auto;
}
.content-shell { padding: 34px 0 72px; }
.section { padding: 54px 0; }
.page-heading,
.page-head,
.detail-hero {
  position: relative;
  padding: 64px 0 42px;
}
.page-heading::after,
.page-head::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 25px;
  background: var(--cw-brand);
}
.page-heading h1,
.page-head h1,
.detail-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--cw-text-primary);
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.page-heading > p:last-child,
.page-head > p:last-child { max-width: 720px; margin: 20px 0 0; color: var(--cw-text-secondary); }
.page-head.centered { text-align: center; }
.page-head.centered::after { margin-inline: auto; }
.section h2,
.section-head h2,
.section-heading h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-weight: 600; }
.section-head,
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.text-link { font-weight: 800; }

/* Form controls and actions */
label { color: var(--cw-text-primary); font-weight: 720; }
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--cw-border-strong);
  border-radius: var(--cw-radius-sm);
  background: var(--cw-surface);
  color: var(--cw-text-primary);
  box-shadow: none;
}
textarea { min-height: 130px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #948b95; }
input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus { border-color: var(--cw-brand); outline: 3px solid rgba(189, 47, 104, .14); }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--cw-brand); }
button,
.button {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--cw-brand);
  border-radius: var(--cw-radius-sm);
  background: var(--cw-brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
}
button:hover, .button:hover { background: var(--cw-brand-hover); border-color: var(--cw-brand-hover); color: #fff; }
button:disabled, .button:disabled { opacity: .5; cursor: not-allowed; }
.secondary,
button.secondary,
.button.secondary {
  border-color: var(--cw-border-strong);
  background: transparent;
  color: var(--cw-text-primary);
}
.secondary:hover,
button.secondary:hover,
.button.secondary:hover { border-color: var(--cw-brand); background: var(--cw-brand-soft); color: var(--cw-brand-hover); }
.text-button { min-height: 44px; padding: 7px 4px; border: 0; background: transparent; color: var(--cw-brand-hover); }
.danger-button { border-color: var(--cw-danger); background: var(--cw-danger); }
.danger-button:hover { border-color: #7e1830; background: #7e1830; }
.form-message {
  width: min(calc(100% - 40px), var(--cw-content));
  margin: 16px auto;
  padding: 12px 15px;
  border: 1px solid #efc4d2;
  border-left: 4px solid var(--cw-brand);
  border-radius: var(--cw-radius-sm);
  background: #fff6f9;
}
.form-message.error { border-color: #edbec7; border-left-color: var(--cw-danger); background: var(--cw-danger-soft); }
.hint, .empty { color: var(--cw-text-muted); font-size: .9rem; }
.empty { width: 100%; padding: 28px; border: 1px dashed var(--cw-border-strong); background: var(--cw-surface); text-align: center; }
.card-panel {
  border: 1px solid var(--cw-border);
  border-radius: var(--cw-radius-md);
  background: var(--cw-surface);
  box-shadow: var(--cw-shadow-sm);
}
.status-badge,
.plan-badge,
.recommend,
.review-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
}
.status-badge { background: var(--cw-positive-soft); color: var(--cw-positive); }
.plan-badge, .recommend { background: var(--cw-brand-soft); color: var(--cw-brand-hover); }
.review-chip { background: var(--cw-warning-soft); color: #765212; }

/* Footer */
.site-footer {
  padding: 0;
  border: 0;
  background: var(--cw-bg-dark);
  color: rgba(255, 250, 252, .7);
}
.site-footer-inner {
  width: min(calc(100% - 40px), var(--cw-content));
  margin: auto;
  padding: 46px 0 20px;
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 36px;
}
.footer-brand p { max-width: 330px; margin: 15px 0 0; font-size: .84rem; }
.site-footer nav { display: grid; align-content: start; gap: 7px; }
.site-footer nav strong { margin-bottom: 5px; color: #fff; font-size: .84rem; }
.site-footer nav a { color: rgba(255, 250, 252, .7); font-size: .82rem; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--cw-border-dark);
  font-size: .76rem;
}

/* Home */
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 34%, rgba(213, 53, 111, .29), transparent 30%),
    radial-gradient(circle at 8% 88%, rgba(189, 47, 104, .15), transparent 21%),
    linear-gradient(117deg, #140b1a 0%, #26102b 62%, #39132f 100%);
  color: var(--cw-text-on-dark);
}
.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.home-hero::before { width: 190px; height: 190px; right: 6%; top: 8%; background: radial-gradient(circle, rgba(255, 129, 170, .22), transparent 65%); }
.home-hero::after { width: 5px; height: 5px; left: 7%; bottom: 18%; background: #ee6999; box-shadow: 64px -76px 0 rgba(255,255,255,.42), 202px -32px 0 rgba(238,105,153,.48), 520px -124px 0 rgba(255,255,255,.22), 870px 18px 0 rgba(238,105,153,.4), 1040px -100px 0 rgba(255,255,255,.25); }
.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--cw-content));
  margin: auto;
  padding: clamp(64px, 7vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}
.home-hero .eyebrow { color: #ee759f; }
.home-hero h1 { margin: 0 0 18px; font-size: .82rem; letter-spacing: .18em; color: rgba(255, 250, 252, .66); text-transform: uppercase; }
.home-hero h2 {
  margin: 0;
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(2.6rem, 5.1vw, 5.05rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.12;
  text-wrap: balance;
}
.home-hero h2 em { display: block; color: #f06899; font-style: normal; }
.seo-lead { max-width: 650px; margin: 25px 0 0; color: rgba(255, 250, 252, .8); font-size: 1rem; }
.seo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.seo-actions .button { min-width: 210px; }
.home-hero .seo-actions .secondary { border-color: rgba(255,255,255,.42); color: #fff; }
.home-hero .seo-actions .secondary:hover { background: rgba(255,255,255,.08); }
.seo-search-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: var(--cw-radius-lg);
  background: rgba(255,255,255,.97);
  color: var(--cw-text-primary);
  box-shadow: 0 22px 70px rgba(5, 1, 8, .3);
}
.home-search-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.home-search-heading > span { color: var(--cw-brand); font-size: 2rem; line-height: 1; }
.home-search-heading h2 { margin: 0; color: var(--cw-text-primary); font-family: inherit; font-size: 1.24rem; font-weight: 850; letter-spacing: -.02em; }
.home-search-heading p { margin: 3px 0 0; color: var(--cw-text-muted); font-size: .78rem; }
.seo-search-card > label { display: grid; gap: 6px; font-size: .84rem; }
.seo-search-card fieldset { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 17px 0; padding: 0; border: 0; }
.seo-search-card legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.seo-search-card fieldset label { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; }
.seo-search-card button { width: 100%; justify-content: space-between; }
.home-quick-search {
  width: 100%;
  min-height: 78px;
  padding: 14px max(20px, calc((100vw - var(--cw-content)) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--cw-border);
  background: var(--cw-surface);
}
.home-quick-search > strong { font-size: .82rem; }
.home-quick-search > div { display: flex; flex: 1; gap: 12px; }
.home-quick-search > div a {
  min-height: 40px;
  padding: 7px 20px;
  border: 1px solid #ead8e0;
  border-radius: 999px;
  background: #fffafd;
  color: var(--cw-brand-hover);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.quick-all { font-size: .82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.home-content { background: var(--cw-bg-page); }
.home-intro,
.home-feature-section,
.home-steps,
.home-lower-grid {
  width: min(calc(100% - 40px), var(--cw-content));
  margin-inline: auto;
}
.home-intro { padding: 64px 0 24px; max-width: 820px; text-align: center; }
.home-intro h2,
.home-section-heading h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 600; }
.home-intro > p:not(.eyebrow) { color: var(--cw-text-secondary); }
.home-feature-section { padding: 42px 0 58px; }
.home-section-heading { margin-bottom: 24px; text-align: center; }
.home-section-heading em { color: var(--cw-brand); font-style: normal; }
.home-section-heading > p:last-child { margin: 6px 0 0; color: var(--cw-text-muted); }
.seo-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seo-feature-grid article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--cw-border);
  border-top: 2px solid #e7c2d0;
  border-radius: var(--cw-radius-md);
  background: var(--cw-surface);
}
.seo-feature-grid .feature-index { color: var(--cw-brand); font-family: Georgia, serif; font-size: .78rem; }
.seo-feature-grid h2,
.seo-feature-grid h3 { margin: 8px 0; font-size: 1.12rem; }
.seo-feature-grid p { margin: 0 0 12px; color: var(--cw-text-secondary); font-size: .88rem; }
.seo-feature-grid a { font-size: .82rem; font-weight: 800; }
.home-steps {
  padding: 28px 32px 34px;
  border: 1px solid #4d2f53;
  border-radius: var(--cw-radius-md);
  background: linear-gradient(115deg, #140b1a, #26152c);
  color: var(--cw-text-on-dark);
}
.home-steps .eyebrow { color: #e86b99; }
.home-steps .home-section-heading { margin-bottom: 20px; }
.home-steps .home-section-heading h2 { color: #fff; font-size: 1.5rem; }
.seo-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.seo-steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; align-items: center; column-gap: 12px; }
.seo-steps li::before { counter-increment: step; content: "0" counter(step); grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(230,93,142,.68); border-radius: 50%; color: #f17ba5; font-family: Georgia, serif; }
.seo-steps strong { color: #f38aaa; }
.seo-steps span { color: rgba(255,255,255,.7); font-size: .78rem; }
.home-lower-grid { padding: 52px 0 70px; display: grid; grid-template-columns: 1.45fr .75fr; gap: 20px; }
.home-faq,
.home-service { padding: 24px; border: 1px solid var(--cw-border); background: var(--cw-surface); }
.home-faq { border-radius: var(--cw-radius-md); }
.home-service { border-top: 3px solid var(--cw-brand); }
.home-section-heading.compact { display: flex; justify-content: space-between; align-items: end; text-align: left; }
.home-section-heading.compact h2 { font-size: 1.45rem; }
.home-section-heading.compact > a { font-size: .8rem; font-weight: 800; }
.seo-faq { display: grid; gap: 0; }
.seo-faq details { border: 1px solid var(--cw-border); border-bottom: 0; background: var(--cw-surface); }
.seo-faq details:last-child { border-bottom: 1px solid var(--cw-border); }
.seo-faq summary { min-height: 48px; padding: 12px 14px; cursor: pointer; font-weight: 760; list-style-position: inside; }
.seo-faq details p { margin: 0; padding: 0 15px 15px; color: var(--cw-text-secondary); }
.home-service h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: 1.45rem; }
.home-service > p:not(.eyebrow) { color: var(--cw-text-secondary); }
.seo-link-list { display: grid; gap: 7px; }
.seo-link-list a { font-size: .86rem; font-weight: 760; }

/* Search filters and dense data views */
.filter-mobile-toggle { display: none; }
.filter-panel,
.finder {
  margin-bottom: 28px;
  padding: 20px;
  border: 1px solid var(--cw-border);
  border-top: 3px solid var(--cw-bg-dark-secondary);
  border-radius: var(--cw-radius-md);
  background: var(--cw-surface);
  box-shadow: var(--cw-shadow-sm);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}
.filter-panel > label,
.finder > label { display: grid; gap: 5px; font-size: .82rem; }
.choice-filter { min-width: 0; }
.choice-filter > summary {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--cw-border-strong);
  border-radius: var(--cw-radius-sm);
  background: var(--cw-surface);
  color: var(--cw-text-primary);
  font-size: .86rem;
  font-weight: 720;
  cursor: pointer;
}
.choice-filter[open] > summary { border-color: var(--cw-brand); box-shadow: 0 0 0 3px rgba(189,47,104,.1); }
.choice-options {
  z-index: 20;
  max-height: 320px;
  padding: 8px;
  border: 1px solid var(--cw-border);
  border-radius: var(--cw-radius-sm);
  background: var(--cw-surface);
  box-shadow: var(--cw-shadow-md);
}
.choice-option { min-height: 42px; padding: 7px 8px; display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.area-picker > summary::after,
.store-picker > summary::after { content: "⌄"; color: var(--cw-brand); font-size: 1rem; }
.area-picker[open] > summary::after,
.store-picker[open] > summary::after { content: "⌃"; }
.js-only-picker { display: none; }
.js-ui-ready .js-only-picker { display: block; }
.choice-filter[open] > .picker-popover {
  width: min(440px, calc(100vw - 40px));
  max-width: none;
  max-height: min(70vh, 650px);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  border-color: var(--cw-brand);
}
.choice-filter[open] > .store-picker-popover { width: min(580px, calc(100vw - 40px)); }
.picker-heading { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picker-heading strong { font-size: .93rem; }
.picker-close { width: auto; min-height: 36px; padding: 6px 11px; border: 0; background: transparent; color: var(--cw-brand); font-size: .8rem; }
.picker-search { position: relative; display: block !important; }
.picker-search > span { position: absolute; z-index: 1; left: 12px; top: 50%; color: var(--cw-text-muted); font-size: 1.2rem; transform: translateY(-52%); }
.picker-search input { width: 100%; min-height: 44px; padding-left: 37px; border-color: var(--cw-border); background: var(--cw-bg-page); }
.area-level,
.area-search-results,
.store-picker-results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.picker-popover > .area-level,
.picker-popover > .area-search-results { flex: 1 1 auto; }
.area-level-root { display: grid; gap: 2px; }
.area-band-button,
.area-prefecture-button,
.area-back-button,
.area-search-result {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: var(--cw-radius-sm);
  background: transparent;
  color: var(--cw-text-primary);
  text-align: left;
  font-size: .86rem;
  font-weight: 760;
}
.area-band-button:hover,
.area-prefecture-button:hover,
.area-back-button:hover,
.area-search-result:hover { background: var(--cw-bg-soft); }
.area-prefecture-button { list-style: none; cursor: pointer; }
.area-prefecture-button::-webkit-details-marker { display: none; }
.region-choice-group:not([open]) > :not(summary) { display: none !important; }
.region-choice-group[open] > .area-prefecture-button > span:last-child { transform: rotate(90deg); }
.area-back-button { justify-content: flex-start; border-bottom: 1px solid var(--cw-border); border-radius: 0; color: var(--cw-brand); }
.area-search-result { justify-content: flex-start; border-bottom: 1px solid var(--cw-border); border-radius: 0; }
.area-search-result[aria-pressed="true"] { color: var(--cw-brand); background: var(--cw-brand-soft); }
.region-choice-options { display: grid; max-height: none; overflow: visible; }
.region-choice-group-toggle { background: var(--cw-bg-soft) !important; }
.region-choice-items { display: grid; padding-left: 12px; }
.region-choice-child { border-radius: 0; border-bottom: 1px solid var(--cw-border) !important; }
.region-choice-all { border: 0 !important; border-radius: var(--cw-radius-sm); background: var(--cw-brand-soft) !important; color: var(--cw-brand); }
.picker-selection-mark { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border: 1px solid var(--cw-border-strong); border-radius: 50%; color: #fff; font-size: .74rem; font-weight: 900; }
[aria-pressed="true"] > .picker-selection-mark { border-color: var(--cw-brand); background: var(--cw-brand); }
.store-area-chip { width: max-content; max-width: 100%; min-height: 36px; padding: 6px 10px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: var(--cw-bg-soft); color: var(--cw-text-secondary); font-size: .76rem; }
.store-picker-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.store-picker-tabs button { min-width: 0; min-height: 40px; padding: 6px 4px; border: 1px solid var(--cw-border); border-radius: 7px; background: var(--cw-bg-page); color: var(--cw-text-secondary); font-size: .73rem; white-space: nowrap; }
.store-picker-tabs button[aria-selected="true"] { border-color: var(--cw-brand); background: var(--cw-brand); color: #fff; }
.store-picker-results { flex: 1 1 auto; border-block: 1px solid var(--cw-border); }
.store-result-section { padding: 9px 0; }
.store-result-section + .store-result-section { border-top: 1px solid var(--cw-border); }
.store-result-section h4 { margin: 0 0 5px; color: var(--cw-text-secondary); font-size: .77rem; }
.store-picker-row { width: 100%; min-height: 48px; padding: 7px 5px; display: grid; grid-template-columns: 22px minmax(0, 1fr) 24px; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid var(--cw-border); border-radius: 0; background: transparent; color: var(--cw-text-primary); text-align: left; }
.store-picker-row:hover { background: var(--cw-bg-soft); }
.store-picker-row[aria-pressed="true"] { background: var(--cw-brand-soft); }
.store-picker-row-text { min-width: 0; display: grid; gap: 1px; }
.store-picker-row-text strong { overflow-wrap: anywhere; font-size: .82rem; }
.store-picker-row-text small { color: var(--cw-text-muted); font-size: .68rem; }
.store-favorite-state { color: var(--cw-brand); font-size: 1rem; text-align: center; }
.store-more-button { width: 100%; min-height: 42px; margin-top: 7px; border: 1px solid var(--cw-border); background: var(--cw-surface); color: var(--cw-brand); font-size: .78rem; }
.store-picker-footer { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.store-picker-footer strong { font-size: .78rem; }
.store-picker-footer .tertiary { width: auto; min-height: 36px; padding: 5px 7px; border: 0; background: transparent; color: var(--cw-brand); font-size: .76rem; }
.picker-empty { margin: 0; padding: 20px 8px; color: var(--cw-text-muted); text-align: center; font-size: .8rem; }
.picker-backdrop { display: none; }
.no-js-store-picker { display: grid; gap: 6px; font-size: .82rem; font-weight: 720; }
.no-js-store-picker select { min-height: 180px; }
.filter-actions { grid-column: span 2; display: flex; gap: 10px; }
.filter-actions > * { flex: 1; }
.favorite-only { min-height: 48px; padding: 9px 12px; display: flex !important; align-items: center; gap: 8px; border: 1px solid var(--cw-border); border-radius: var(--cw-radius-sm); background: var(--cw-bg-soft); }
.dashboard-summary,
.today-summary,
.admin-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 20px 0;
  border-block: 1px solid var(--cw-border);
  background: var(--cw-surface);
}
.today-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dashboard-summary > div,
.today-summary > div,
.admin-summary > div { padding: 15px 18px; border-right: 1px solid var(--cw-border); }
.dashboard-summary > div:last-child,
.today-summary > div:last-child,
.admin-summary > div:last-child { border-right: 0; }
.dashboard-summary span,
.today-summary span,
.admin-summary span { display: block; color: var(--cw-text-muted); font-size: .73rem; }
.dashboard-summary strong,
.today-summary strong,
.admin-summary strong { margin-right: 3px; font-size: 1.5rem; line-height: 1; }
.dashboard-summary small,
.today-summary small { color: var(--cw-text-muted); }
.schedule-panel { overflow: hidden; }
.schedule-panel .section-heading { margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--cw-border); }
.view-switch { display: flex; align-items: center; gap: 7px; }
.view-switch button { min-height: 36px; padding: 6px 10px; font-size: .76rem; }
.table-scroll { overflow-x: auto; }
.availability-table { width: 100%; border-collapse: collapse; background: var(--cw-surface); font-size: .82rem; }
.availability-table th { padding: 10px 12px; border-bottom: 1px solid var(--cw-border-strong); background: var(--cw-bg-soft); color: var(--cw-text-muted); text-align: left; white-space: nowrap; }
.availability-table td { padding: 12px; border-bottom: 1px solid var(--cw-border); vertical-align: middle; }
.availability-table tbody tr:hover { background: var(--cw-surface-hover); }
.cast-thumb { width: 66px; height: 82px; border-radius: var(--cw-radius-sm); object-fit: cover; }
.availability-person { min-width: 250px; }
.table-cast-name { display: block; max-width: 310px; font-size: 1rem; line-height: 1.35; }
.table-cast-name a { color: var(--cw-text-primary); }
.availability-store-name { display: block; color: var(--cw-text-muted); }
.availability-facts { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.availability-facts > span:not(.review-chip) { padding: 2px 6px; border-radius: 4px; background: var(--cw-bg-soft); color: var(--cw-text-secondary); font-size: .7rem; }
.next-available { color: var(--cw-brand-hover); font-size: 1.1rem; }
.pager { margin: 30px 0; display: flex; justify-content: center; align-items: center; gap: 10px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; padding: 9px 13px; display: inline-grid; place-items: center; border: 1px solid var(--cw-border); background: var(--cw-surface); text-decoration: none; }

/* Catalogs and cards */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card-grid.casts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  padding: 19px;
  border: 1px solid var(--cw-border);
  border-radius: var(--cw-radius-md);
  background: var(--cw-surface);
  box-shadow: none;
  color: var(--cw-text-primary);
  text-decoration: none;
}
.card:hover { transform: none; border-color: #d7b2c1; background: var(--cw-surface-hover); box-shadow: var(--cw-shadow-sm); }
.card-kicker { color: var(--cw-brand); font-size: .74rem; font-weight: 800; }
.cast-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.catalog-card { min-width: 0; display: grid; grid-template-columns: 138px minmax(0, 1fr); border: 1px solid var(--cw-border); border-radius: var(--cw-radius-md); background: var(--cw-surface); overflow: hidden; }
.catalog-photo { display: block; min-height: 190px; background: var(--cw-bg-soft); }
.catalog-photo img { width: 100%; height: 100%; object-fit: cover; }
.catalog-photo-empty { height: 100%; min-height: 190px; display: grid; place-items: center; color: var(--cw-brand); font-family: Georgia, serif; font-size: 2rem; }
.catalog-body { min-width: 0; padding: 15px; display: flex; flex-direction: column; align-items: flex-start; }
.catalog-body h2 { width: 100%; margin: 0; font-size: clamp(.95rem, 1.3vw, 1.16rem); line-height: 1.28; }
.complete-cast-name, .complete-cast-name a { max-width: 100%; overflow: visible; white-space: normal; overflow-wrap: anywhere; word-break: normal; }
.name-size-long { font-size: .96rem !important; }
.name-size-xlong { font-size: .84rem !important; line-height: 1.34 !important; }
.catalog-store { margin: 7px 0; color: var(--cw-text-secondary); font-size: .78rem; }
.catalog-store span { display: block; color: var(--cw-text-muted); }
.catalog-facts { display: flex; flex-wrap: wrap; gap: 4px; }
.catalog-facts > span:not(.review-chip) { padding: 2px 6px; border-radius: 4px; background: var(--cw-bg-soft); font-size: .68rem; }
.catalog-links { margin-top: auto; padding-top: 9px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .75rem; font-weight: 760; }
.favorite-form { margin-top: 8px; }
.favorite-button,
.favorite-login { min-height: 40px; padding: 6px 10px; border: 1px solid var(--cw-border-strong); background: transparent; color: var(--cw-brand-hover); font-size: .76rem; }

/* Today decision view */
.today-section { padding-top: 0; }
.finder-title { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--cw-border); }
.finder-title > div { display: grid; }
.candidate-list { display: grid; gap: 12px; }
.candidate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  border: 1px solid var(--cw-border);
  border-left: 3px solid #d5799d;
  border-radius: var(--cw-radius-md);
  background: var(--cw-surface);
  overflow: hidden;
}
.candidate-main { min-width: 0; padding: 15px; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; color: var(--cw-text-primary); text-decoration: none; }
.candidate-photo { width: 112px; height: 145px; border-radius: var(--cw-radius-sm); object-fit: cover; }
.candidate-main h2 { margin: 2px 0; font-size: 1.2rem; }
.candidate-main p { margin: 3px 0; color: var(--cw-text-secondary); font-size: .78rem; }
.next-time { color: var(--cw-brand-hover) !important; font-weight: 800; }
.candidate-side { padding: 15px; display: grid; align-content: center; justify-items: center; gap: 10px; border-left: 1px solid var(--cw-border); background: var(--cw-bg-soft); }
.score { display: grid; place-items: center; }
.score strong { color: var(--cw-brand-hover); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.score span { color: var(--cw-text-muted); font-size: .7rem; }
.candidate > details { grid-column: 1 / -1; border-top: 1px solid var(--cw-border); }
.candidate > details > summary { min-height: 44px; padding: 8px 15px; cursor: pointer; font-size: .78rem; font-weight: 800; }
.candidate > details dl { margin: 0; padding: 0 15px 15px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.candidate > details dl div { padding: 8px; background: var(--cw-bg-soft); }
.candidate > details dt { color: var(--cw-text-muted); font-size: .66rem; }
.candidate > details dd { margin: 0; font-weight: 800; }

/* Detail pages and reviews */
.detail-hero {
  margin-top: 44px;
  padding: 34px;
  border-left: 4px solid var(--cw-brand);
  background: var(--cw-surface);
  box-shadow: var(--cw-shadow-sm);
}
.detail-hero h1 { font-size: clamp(2rem, 4vw, 4rem); }
.profile {
  width: min(calc(100% - 40px), 1060px);
  max-width: 1060px;
  margin: 0 auto;
  padding: 58px 0;
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 70px);
}
.profile-photo img { width: 100%; max-height: 570px; aspect-ratio: 4 / 5; border-radius: var(--cw-radius-md); object-fit: cover; box-shadow: var(--cw-shadow-md); }
.profile .profile-name { margin: 0; color: var(--cw-text-primary); font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 500; line-height: 1.07; }
.profile-copy { min-width: 0; }
.profile-meta { font-size: 1.1rem; color: var(--cw-text-secondary); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.profile-availability { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--cw-positive); background: var(--cw-positive-soft); }
.profile-availability > span, .profile-availability small { display: block; color: var(--cw-text-muted); font-size: .72rem; }
.profile-availability strong { color: var(--cw-positive); font-size: 1.35rem; }
.profile-availability p { margin: 2px 0; }
.profile-availability.is-unknown { border-left-color: var(--cw-info); background: var(--cw-info-soft); }
.shift-list { margin-top: 18px; border-top: 1px solid var(--cw-border); }
.shift-list article { padding: 15px 8px; display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; border-bottom: 1px solid var(--cw-border); }
.review-section { scroll-margin-top: 90px; }
.review-average, .review-card, .review-form-panel, .review-gate { border-radius: var(--cw-radius-md); }
.review-form-panel > summary { min-height: 48px; }

/* Authentication */
.auth-shell { min-height: 72vh; padding: clamp(35px, 6vw, 72px) 20px; display: block; background: var(--cw-bg-soft); }
.auth-layout { width: min(100%, 960px); margin: auto; display: grid; grid-template-columns: .83fr 1.17fr; box-shadow: var(--cw-shadow-md); }
.auth-brand-panel {
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 10% 80%, rgba(189,47,104,.23), transparent 28%),
    linear-gradient(145deg, var(--cw-bg-dark), #2b142f);
  color: var(--cw-text-on-dark);
}
.auth-brand-panel .eyebrow { margin-top: 42px; color: #e8779e; }
.auth-brand-panel h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 500; }
.auth-brand-panel p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.auth-brand-panel > a:last-child { margin-top: 20px; color: #f38aaf; font-weight: 800; }
.auth-card { width: 100%; max-width: none; padding: clamp(28px, 5vw, 54px); border: 0; border-radius: 0; background: var(--cw-surface); box-shadow: none; }
.auth-card h1 { margin: 0 0 22px; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(2rem, 3vw, 2.8rem); }
.auth-card form { display: grid; gap: 16px; }
.auth-card label { display: grid; gap: 6px; }
.auth-card .form-message { width: 100%; margin: 12px 0; }
.auth-card.account-close-card { width: min(100%, 620px); margin: auto; border-top: 3px solid var(--cw-danger); }
.account-close-confirm { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; }

/* My page and pricing */
.mypage-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.mypage-heading > .eyebrow, .mypage-heading > h1, .mypage-heading > p { grid-column: 1; }
.mypage-identity { grid-column: 2; grid-row: 1 / 5; display: grid; justify-items: end; gap: 8px; }
.mypage-dashboard { display: grid; gap: 18px; }
.mypage-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--cw-border); background: var(--cw-surface); }
.mypage-shortcuts a { min-height: 84px; padding: 16px 20px; display: grid; align-content: center; border-right: 1px solid var(--cw-border); color: var(--cw-text-primary); text-decoration: none; }
.mypage-shortcuts a:last-child { border-right: 0; }
.mypage-shortcuts a:hover { background: var(--cw-surface-hover); }
.mypage-shortcuts span { color: var(--cw-text-muted); font-size: .78rem; }
.mypage-panel { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--cw-border); background: var(--cw-surface); }
.mypage-panel h2 { margin: 0; }
.mypage-panel p { margin: 5px 0; color: var(--cw-text-secondary); }
.mypage-panel.is-upgrade { border-left: 3px solid var(--cw-brand); background: #fffafd; }
.mypage-panel.is-list { display: block; }
.mypage-account-actions { padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--cw-border); }
.account-close-link { max-width: 500px; color: var(--cw-text-secondary); font-size: .88rem; }
.account-close-link h2 { margin: 0; color: var(--cw-text-primary); font-size: 1rem; }
.pricing-grid { width: min(calc(100% - 40px), 920px); margin: 0 auto 42px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price-card { position: relative; padding: 32px; border: 1px solid var(--cw-border); border-radius: var(--cw-radius-md); background: var(--cw-surface); }
.price-card.featured { border: 1px solid var(--cw-brand); border-top: 4px solid var(--cw-brand); box-shadow: var(--cw-shadow-sm); }
.price-card h2 { margin: 0; font-size: 1.5rem; }
.price { margin: 12px 0; font-size: 2.6rem; font-weight: 850; }
.price-card li { margin: 8px 0; }
.centerText { text-align: center; }

/* Static content, contact, and administration */
.legal-page,
.seo-faq-page,
.contact-card { max-width: var(--cw-reading); }
.legal-page { padding: clamp(24px, 4vw, 48px); }
.legal-page h2 { margin-top: 2em; padding-bottom: 8px; border-bottom: 1px solid var(--cw-border); }
.legal-page p, .legal-page li { color: var(--cw-text-secondary); }
.seo-feature-page { width: min(calc(100% - 40px), var(--cw-content)); margin: 0 auto 72px; }
.contact-card { padding: clamp(24px, 4vw, 40px); }
.contact-card form { display: grid; gap: 18px; }
.contact-card label { display: grid; gap: 6px; }
.admin-console { padding-top: 10px; }
.admin-section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.admin-section-nav .button { min-height: 42px; padding: 7px 12px; }
.admin-tools { padding: 18px; }
.admin-list { display: grid; gap: 14px; }
.admin-account, .contact-admin-item, .review-card { border-radius: var(--cw-radius-md); }
.analytics-kpis { gap: 10px; }

@media (max-width: 1100px) {
  .site-header-inner { gap: 16px; }
  .site-header .site-primary-nav a { padding-inline: 8px; font-size: .78rem; }
  .site-header .site-account-actions > a, .site-header .nav-logout button { padding-inline: 10px; font-size: .78rem; }
  .cast-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-panel, .finder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header { min-height: 66px; }
  .site-header-inner { min-height: 66px; width: min(calc(100% - 32px), var(--cw-content)); justify-content: space-between; }
  .brand-word { font-size: 1.42rem; }
  .site-header .brand small { display: none; }
  .site-menu-toggle { display: block; flex: 0 0 46px; visibility: visible; }
  .site-menu {
    position: fixed;
    inset: 66px 0 auto;
    max-height: calc(100dvh - 66px);
    padding: 18px 20px 24px;
    display: none;
    overflow-y: auto;
    border-top: 1px solid var(--cw-border-dark);
    background: var(--cw-bg-dark);
    box-shadow: 0 18px 34px rgba(0,0,0,.28);
  }
  .site-menu.is-open { display: grid; gap: 18px; }
  .site-header .site-primary-nav { display: grid; margin: 0; gap: 2px; overflow: visible; }
  .site-header .site-primary-nav a { min-height: 48px; padding: 11px 6px; border-bottom: 1px solid var(--cw-border-dark); border-radius: 0; font-size: .92rem; }
  .site-header .site-primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #e65d8e; padding-left: 14px; }
  .site-account-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .site-account-actions .nav-logout, .site-account-actions .nav-logout button { width: 100%; }
  .site-header .site-account-actions > a, .site-header .nav-logout button { min-height: 48px; font-size: .88rem; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .home-hero .seo-hero-copy { max-width: 760px; }
  .home-quick-search { flex-wrap: wrap; gap: 12px 18px; }
  .home-quick-search > div { order: 3; flex-basis: 100%; }
  .home-lower-grid { grid-template-columns: 1fr; }
  .site-footer-inner { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .profile { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); gap: 34px; }
  .card-grid.casts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .content-shell, .section, .page-heading, .page-head, .detail-hero,
  .home-hero-inner, .home-intro, .home-feature-section, .home-steps, .home-lower-grid { width: min(calc(100% - 28px), var(--cw-content)); }
  .page-heading, .page-head { padding: 40px 0 26px; }
  .page-heading h1, .page-head h1 { font-size: clamp(2rem, 11vw, 3rem); }
  .content-shell { padding-top: 22px; }
  .home-hero-inner { padding: 43px 0 34px; gap: 26px; }
  .home-hero h1 { margin-bottom: 10px; }
  .home-hero h2 { font-size: clamp(2.4rem, 12vw, 3.45rem); }
  .seo-lead { margin-top: 17px; font-size: .9rem; }
  .seo-actions { display: grid; margin-top: 22px; }
  .seo-actions .button { width: 100%; min-width: 0; }
  .seo-search-card { padding: 19px 16px; border-radius: var(--cw-radius-md); }
  .seo-search-card fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 7px; }
  .seo-search-card fieldset label:last-child { grid-column: 1 / -1; }
  .home-quick-search { min-height: 0; padding: 14px; }
  .home-quick-search > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .home-quick-search > div a { padding: 8px 5px; display: grid; place-items: center; text-align: center; font-size: .72rem; }
  .home-intro { padding: 46px 0 16px; }
  .home-feature-section { padding: 30px 0 40px; }
  .seo-feature-grid { grid-template-columns: 1fr; gap: 0; }
  .seo-feature-grid article { padding: 18px; border-top-width: 1px; border-radius: 0; }
  .seo-feature-grid article + article { border-top: 0; }
  .home-steps { padding: 25px 19px; }
  .home-steps .home-section-heading { text-align: left; }
  .seo-steps { grid-template-columns: 1fr; gap: 15px; }
  .home-lower-grid { padding: 32px 0 48px; }
  .home-faq, .home-service { padding: 18px; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-top: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer nav:last-of-type { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }

  .filter-mobile-toggle { width: 100%; margin: 0 0 12px; display: flex; justify-content: space-between; border-color: var(--cw-bg-dark-secondary); background: var(--cw-bg-dark-secondary); color: #fff; }
  .js-ui-ready .filter-panel { display: none; }
  .js-ui-ready .filter-panel.is-mobile-open { display: grid; }
  .filter-panel, .finder { grid-template-columns: 1fr; padding: 15px; gap: 12px; }
  .filter-actions, .finder-title { grid-column: 1; }
  .filter-actions { display: grid; }
  .choice-options { position: static; max-height: 270px; box-shadow: none; }
  .choice-filter[open] > .picker-popover {
    position: fixed;
    z-index: 120;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    max-height: 62dvh;
    padding: 12px;
    border-radius: var(--cw-radius-md);
    box-shadow: 0 18px 55px rgba(25, 12, 29, .3);
  }
  body.has-open-picker { overflow: hidden; }
  .picker-backdrop {
    position: fixed;
    z-index: 110;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 0;
    background: rgba(20, 9, 23, .46);
  }
  .picker-backdrop[hidden] { display: none; }
  .picker-heading,
  .picker-search,
  .store-area-chip,
  .store-picker-tabs,
  .store-picker-footer { flex: 0 0 auto; }
  .area-level,
  .area-search-results,
  .store-picker-results { flex: 1 1 auto; }
  .dashboard-summary, .today-summary, .admin-summary { grid-template-columns: repeat(2, 1fr); }
  .dashboard-summary > div, .today-summary > div, .admin-summary > div { padding: 11px 12px; border-right: 1px solid var(--cw-border); border-bottom: 1px solid var(--cw-border); }
  .dashboard-summary > div:nth-child(even), .today-summary > div:nth-child(even), .admin-summary > div:nth-child(even) { border-right: 0; }
  .dashboard-summary strong, .today-summary strong, .admin-summary strong { font-size: 1.3rem; }
  .schedule-panel .section-heading { align-items: flex-start; }
  .view-switch { flex-wrap: wrap; justify-content: flex-end; }
  .cast-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .catalog-card { display: block; }
  .catalog-photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .catalog-body { padding: 11px; }
  .catalog-links { display: grid; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.casts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.casts > .card { min-width: 0; overflow: hidden; }
  .card-grid.casts h2,
  .card-grid.casts h2 a,
  .card-grid.casts p,
  .card-grid.casts .official-link { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
  .candidate { grid-template-columns: minmax(0, 1fr) 105px; }
  .candidate-main { grid-template-columns: 92px minmax(0, 1fr); gap: 11px; padding: 11px; }
  .candidate-photo { width: 92px; height: 125px; }
  .candidate-side { padding: 10px 6px; }
  .candidate-side .official-link { text-align: center; font-size: .7rem; }
  .candidate > details dl { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; padding: 30px 0; gap: 24px; }
  .profile-photo { width: min(100%, 430px); margin-inline: auto; }
  .profile-photo img { max-height: 610px; }
  .profile .profile-name { font-size: clamp(2.2rem, 12vw, 3.7rem); }
  .shift-list article { grid-template-columns: 1fr; gap: 1px; }
  .detail-hero { margin-top: 28px; padding: 24px 20px; }
  .auth-shell { padding: 28px 14px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand-panel { padding: 24px; min-height: 170px; }
  .auth-brand-panel .eyebrow { margin-top: 22px; }
  .auth-brand-panel h2 { font-size: 1.55rem; }
  .auth-brand-panel > p:not(.eyebrow), .auth-brand-panel > a:last-child { display: none; }
  .auth-card { padding: 26px 20px; }
  .mypage-heading { display: block; }
  .mypage-identity { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: flex-start; }
  .mypage-shortcuts { grid-template-columns: 1fr; }
  .mypage-shortcuts a { min-height: 72px; border-right: 0; border-bottom: 1px solid var(--cw-border); }
  .mypage-shortcuts a:last-child { border-bottom: 0; }
  .mypage-panel { display: grid; padding: 19px; }
  .mypage-account-actions { display: grid; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .home-hero h2 { font-size: 2.52rem; }
  .home-quick-search .quick-all { margin-left: auto; }
  .site-account-actions { grid-template-columns: 1fr; }
  .cast-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-body h2 { font-size: .92rem; }
  .name-size-long { font-size: .82rem !important; }
  .name-size-xlong { font-size: .72rem !important; }
  .catalog-store { font-size: .7rem; }
  .candidate { grid-template-columns: 1fr; }
  .candidate-side { grid-row: 2; border-top: 1px solid var(--cw-border); border-left: 0; display: flex; justify-content: space-between; }
  .candidate > details { grid-row: 3; }
  .score { display: flex; gap: 7px; }
  .score strong { font-size: 1.5rem; }
  .card-grid.casts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.casts .card { padding: 10px; }
  .card-grid.casts .cast-card-photo { border-radius: var(--cw-radius-sm); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
