/* The existing forms and content live inside a bounded service workspace. */
body.service-navigation {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
  background: #0e1210;
  color: #eee5d4;
  --service-line: #5c5037;
  --service-gold: #d4ba7f;
}
.service-navigation .site-header {
  position: relative;
  inset: auto;
  flex: 0 0 106px;
  height: 106px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: 44px 44px;
  gap: 0 12px;
  padding: 8px 18px;
  background: #101510;
  border-bottom: 1px solid var(--service-line);
}
.service-navigation .site-header .brand { color: #e4ca91; font-size: 29px; gap: 10px; }
.service-navigation .site-header .brand span { color: #e4ca91; font-size: 18px; }
.service-navigation .site-header .brand small { font-size: 6px; }
.service-navigation .site-header > nav:not(.japan-service-countries) { display: none; }
.service-navigation .site-header .navright { width: auto; grid-column: 2; grid-row: 1; }
.service-navigation .site-header .language-control { color: #e0cc9f; border-color: var(--service-line); }
.service-navigation .site-header .language-control > .icon { color: #e0cc9f; }
.service-navigation .site-header select { color-scheme: dark; background: #101510; color: #eee5d4; }
.service-navigation .site-header .japan-service-countries {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  gap: 8px;
  align-items: stretch;
}
.service-navigation .japan-service-countries a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  flex: 1;
  border: 1px solid #514733;
  color: #c6bda9;
  font: 12px/1.3 Arial, sans-serif;
  text-decoration: none;
}
.service-navigation .japan-service-countries [aria-current] { border-color: #b39860; color: #e8d09c; background: #2a2d22; }
.service-navigation #yoru-member-access[hidden],
.service-navigation .yoru-mobile-navigation,
.japan-service-pane[hidden] { display: none !important; }
.service-navigation #main { display: block; flex: 1 1 0; min-height: 0; width: 100%; overflow: hidden; margin: 0; padding: 0; }
.japan-service-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  grid-template-rows: minmax(0,1fr) auto;
}
.service-navigation .japan-service-categories {
  display: block;
  position: static;
  inset: auto;
  padding: 0;
  margin: 0;
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 0;
  overflow-y: auto;
  border-inline-end: 1px solid #453f2e;
  background: #141a15;
}
.japan-service-tab {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 18px;
  border: 0;
  border-block-end: 1px solid #323b2e;
  border-inline-start: 3px solid transparent;
  background: transparent;
  color: #bcb8a8;
  text-align: start;
  font: 500 14px/1.5 Arial, sans-serif;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.japan-service-tab.is-current { color: #ebd39d; border-inline-start-color: #d0b36f; background: #2c3124; }
.japan-service-number { font-size: 10px; color: #9b8c68; }
.japan-service-content {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px;
  scroll-padding-block: 20px;
}
.japan-service-pane { min-width: 0; max-width: 1050px; margin-inline: auto; }
.japan-service-pane:focus { outline: none; }
.service-navigation .japan-service-title { margin: 0 0 12px; color: #f1e5c9; font: 400 32px/1.3 Georgia, serif; letter-spacing: 0; }
.japan-service-hint,.japan-service-confirmation { margin: 0 0 22px; color: #bbb4a4; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.japan-service-city { display: grid; gap: 8px; margin-block-end: 18px; color: #cfbc90; font-size: 13px; }
.japan-service-city select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #695b3d;
  border-radius: 4px;
  background: #1a211a;
  color: #ece2cd;
  color-scheme: dark;
  font: 16px/1.4 Arial, sans-serif;
}
.japan-service-choices { display: grid; gap: 12px; }
.japan-service-choice {
  display: grid;
  gap: 9px;
  padding: 20px;
  width: 100%;
  min-width: 0;
  border: 1px solid #514b36;
  border-radius: 5px;
  background: #192019;
  color: #dbd1bb;
  text-align: start;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.japan-service-choice strong { color: #eddbb3; font-size: 17px; line-height: 1.5; }
.japan-service-choice > span { color: #b5b19f; font-size: 13px; line-height: 1.7; }
.japan-service-choice.is-selected { border-color: #c5a768; background: #303326; box-shadow: inset 3px 0 #c5a768; }
.japan-service-actionbar {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  background: #20251b;
  border-block-start: 1px solid #796542;
}
.japan-service-brief { min-width: 0; flex: 1; }
.japan-service-brief-label { display: block; margin-bottom: 5px; color: #b9aa83; font-size: 11px; }
.japan-service-brief-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e5d6b6; font-size: 13px; }
.japan-service-actions { display: flex; gap: 8px; flex-shrink: 0; }
.japan-service-primary,.japan-service-back {
  min-height: 46px;
  max-width: 220px;
  padding: 11px 18px;
  border: 1px solid #ab915b;
  border-radius: 4px;
  background: #d4ba7f;
  color: #161c13;
  font: 600 14px/1.4 Arial, sans-serif;
  white-space: normal;
  cursor: pointer;
}
.japan-service-primary:disabled { opacity: .45; cursor: default; }
.japan-service-back { color: #e0c994; background: transparent; }
.japan-service-back[hidden],.japan-native-request-submit,.japan-native-send-submit { display: none !important; }
.service-navigation button:focus-visible,.service-navigation a:focus-visible {
  outline: 2px solid #e2ca91; outline-offset: 3px;
}
.japan-service-content .wrap { width: 100%; max-width: none; }
.japan-service-content #membership { padding: 0; margin: 0; border: 0; }
.japan-service-content .public-member-benefits { padding: 0 0 22px; }
.japan-service-content .public-member-benefits h2 { color: #ead4a0; font-size: 28px; }
.japan-service-content .public-member-benefits p { color: #c0b7a4; font-size: 13px; line-height: 1.8; }
.japan-service-content .public-member-rules { background: #1c231b; color: #c0b7a4; border-color: #64573b; padding: 18px; }
.japan-service-content .public-member-rules h3 { color: #e0c894; }
.japan-service-content .public-member-login,.japan-service-content .public-member-china-rules { color: #dec38b; }
.japan-service-content .public-member-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.japan-service-content .public-member-actions .button { min-width: 0; width: 100%; font-size: 14px; }
.japan-service-content .yoru-entry-destinations { padding: 0; border: 0; }
.japan-service-content .yoru-entry-destination-heading { display: block; margin-bottom: 22px; }
.japan-service-content .yoru-entry-destination-title { color: #ead4a0; font-size: 28px; }
.japan-service-content .yoru-entry-destination-intro { color: #bcb29f; margin-top: 14px; }
.japan-service-content .yoru-entry-destination-grid { grid-template-columns: 1fr; gap: 14px; }
.japan-service-content .yoru-entry-destination-card,
.japan-service-content #yoru-contact-japan { background: #1c231b; border-color: #6b593a; padding: 20px; }
.japan-service-content .yoru-entry-card-title { color: #e5cfa0; font-size: 25px; }
.japan-service-content .yoru-entry-card-body,.japan-service-content .yoru-entry-contact-note { color: #bdb29d; }
.japan-service-content .yoru-entry-text-link { color: #d8bf87; }
.japan-service-content .yoru-entry-wechat { background: #252c20; border-color: #74623e; }
.japan-service-content .yoru-entry-wechat-value { color: #efe0c1; }
.japan-service-content #plan { display: block; padding: 0; border: 0; }
.japan-service-content .planIntro { display: none; }
.japan-service-content #request { padding: 0; border: 0; background: transparent; }
.japan-service-content #request .formGrid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.japan-service-content #request label:has(#city),
.japan-service-content #request fieldset { display: none; }
.japan-service-content label { color: #cbb68b; font-size: 13px; }
.japan-service-content input,.japan-service-content select,.japan-service-content textarea {
  min-width: 0; width: 100%; background: #1b231a; color: #f0e5d1; border-color: #6d5b39; color-scheme: dark; font-size: 16px;
}
.japan-service-content input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; accent-color: #d2b570; }
.japan-service-content .chips span { color: #d5c59e; border-color: #76613b; }
.japan-service-content .fine,.japan-service-content legend { color: #c3b89f; }
.japan-service-content #result { margin: 0; padding: 0; border: 0; }
.japan-service-content #result h3 { color: #e8d3a7; font-size: 23px; margin-top: 14px; }
.japan-service-content #summaryText { white-space: pre-wrap; overflow-wrap: anywhere; color: #cec4ae; font-size: 13px; }
.japan-service-content .yoru-request-send { background: #1b221a; color: #d8c79f; padding: 18px; margin: 20px 0; border-color: #74613c; }
.japan-service-content .yoru-request-send h3 { font-size: 22px; color: #ead6ae; }
.japan-service-content .yoru-request-send p { color: #bfb49e; overflow-wrap: anywhere; }
.japan-service-content .yoru-ai-launcher { position: static; margin-top: 16px; }
.japan-service-content .yoru-tools { padding: 0; }
.japan-service-content .yoru-tools-card { min-width: 0; }
.japan-service-content .yoru-tools-tabs { min-width: 0; grid-template-columns: repeat(3,minmax(0,1fr)); }
.japan-service-content .yoru-tools-tab { min-width: 0; padding-inline: 5px; overflow-wrap: anywhere; }
.japan-service-content .yoru-tools-form { padding: 18px; }
.japan-service-content .yoru-tools-controls { flex-wrap: wrap; }
.japan-service-content .hero { min-height: 0; padding: 0; background: transparent; }
.japan-service-content .heroCopy { width: 100%; padding: 0 0 25px; color: #e4d3af; }
.japan-service-content .hero h1 { color: #ecd9b4; font-size: 39px; }
.japan-service-content .hero .lead { font-size: 20px; color: #bfb29b; margin-bottom: 25px; }
.japan-service-content .hero-media { position: relative; inset: auto; height: 220px; margin-bottom: 20px; }
.japan-service-content .experiences,.japan-service-content .how { padding: 20px 0; }
.japan-service-content .editorial-intro,.japan-service-content .editorial-copy { display: block; }
.japan-service-content .editorial-photo { display: none; }
.japan-service-content .cards,.japan-service-content .steps,.japan-service-content .memberBenefits { grid-template-columns: 1fr; }
.japan-service-content .sectionHead { display: block; }
.japan-service-content .budgetLayout { display: block; min-width: 0; width: 100%; padding: 16px; }
.japan-service-content .budgetResult { padding: 18px 0 0; margin-top: 18px; border-inline-start: 0; border-top: 1px solid #64573b; }
.japan-service-content .button { min-width: 0; max-width: 100%; white-space: normal; font-size: 14px; padding: 12px; }
.japan-service-content .hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.japan-service-content .hero-actions .button { min-width: 0; }
.japan-service-content .yoru-life,.japan-service-content .yoru-partners { padding: 22px 0; border-color: #605235; }
.japan-service-content .yoru-life-card,.japan-service-content .yoru-partner-card {
  background: #1c231a; border-color: #605235; color: #c3b69c;
}
.japan-service-content h2 { color: #e2cd9f; font-size: 28px; }
.japan-service-content h3 { color: #e2cd9f; }
.japan-service-content p { overflow-wrap: anywhere; }
.japan-service-content footer { padding: 20px 0; margin-top: 20px; }
.japan-about-brand { margin: 0 0 18px; color: #c8ac70; font-size: 11px; letter-spacing: .18em; }
.japan-about-lead { margin: 18px 0; color: #d1c7b2; font-size: 15px; line-height: 1.9; }
.japan-about-promise { margin: 20px 0; padding-block: 16px; border-block: 1px solid #4d4b35; color: #d9c38c; font-size: 13px; line-height: 1.7; }
.japan-about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 22px; }
.japan-about-story { border-top: 1px solid #645438; padding-top: 4px; margin-top: 26px; }
.japan-about-story > summary { min-height: 44px; padding-block: 13px; color: #c6b286; font-size: 13px; line-height: 1.5; cursor: pointer; }
.japan-about-story > summary:focus-visible { outline: 2px solid #e2ca91; outline-offset: 3px; }
.japan-about-story[open] > summary { margin-bottom: 24px; }
@media (min-width: 900px) {
  .japan-service-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .service-navigation .site-header { padding-inline: 12px; }
  .japan-service-shell { grid-template-columns: 78px minmax(0,1fr); }
  .japan-service-tab { display: grid; gap: 5px; padding: 15px 8px; min-height: 78px; font-size: 12px; }
  .japan-service-content { padding: 18px 12px; }
  .service-navigation .japan-service-title { font-size: 25px; line-height: 1.4; }
  .japan-service-hint { font-size: 12px; margin-bottom: 18px; }
  .japan-service-choice { padding: 15px 12px; }
  .japan-service-choice strong { font-size: 15px; }
  .japan-service-choice > span { font-size: 12px; }
  .japan-service-actionbar { display: block; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .japan-service-brief { margin-bottom: 9px; }
  .japan-service-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .japan-service-primary { grid-column: 2; }
  .japan-service-back[hidden] + .japan-service-primary { grid-column: 1 / -1; }
  .japan-service-primary,.japan-service-back { min-width: 0; max-width: none; padding: 9px 7px; min-height: 46px; font-size: 12px; }
  .japan-service-content #request .formGrid { grid-template-columns: 1fr; }
  .japan-service-content .public-member-rules { padding: 14px; }
  .japan-service-content .public-member-benefits h2 { font-size: 25px; }
  .japan-service-content .yoru-entry-destination-card,.japan-service-content #yoru-contact-japan { padding: 14px; }
  .japan-service-content .yoru-entry-destination-title { font-size: 25px; }
  .japan-service-content .yoru-tools-form { padding: 12px; }
  .japan-service-content .yoru-tools-controls { display: grid; grid-template-columns: 1fr; }
  .japan-service-content .hero h1 { font-size: 29px; }
}

/* About opens as a photographic brand homepage. The service workspace returns
   to its sidebar layout when the guest starts a request. */
.japan-brand-view .japan-service-shell {
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto minmax(0,1fr) auto;
  background: #101510;
}
.service-navigation.japan-brand-view .japan-service-categories {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  border-inline-end: 0;
  border-block-end: 1px solid #645338;
  background: transparent;
}
.japan-brand-view .japan-service-tab {
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
.japan-brand-view .japan-service-tab.is-current { border-bottom-color: #d3b574; color: #efd5a1; }
.japan-brand-view .japan-service-number { display: none; }
.japan-brand-view .japan-service-content {
  grid-column: 1;
  grid-row: 2;
  padding: 28px 34px;
}
.japan-brand-view .japan-service-pane { max-width: 1220px; }
.japan-brand-view .japan-about-intro {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
}
.japan-brand-visual {
  position: relative;
  min-width: 0;
  height: 450px;
  margin: 0;
  overflow: hidden;
  background: #25241b;
}
.japan-brand-visual::after {
  position: absolute;
  inset: 42% 0 0;
  content: '';
  background: linear-gradient(transparent,#090e0bda);
  pointer-events: none;
}
.japan-brand-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 48%;
}
.japan-brand-wordmark {
  position: absolute;
  inset-inline-start: 30px;
  bottom: 29px;
  z-index: 1;
  display: grid;
  gap: 13px;
  color: #fff1d2;
}
.japan-brand-wordmark strong {
  font: 400 84px/.95 var(--display,Georgia,serif);
  letter-spacing: .08em;
}
.japan-brand-wordmark span { font-size: 10px; line-height: 1.6; letter-spacing: .28em; }
.japan-brand-caption {
  position: absolute;
  inset-inline-end: 15px;
  top: 13px;
  z-index: 1;
  max-width: min(280px,calc(100% - 30px));
  padding: 0;
  background: transparent;
  color: #e0d2b9;
  font-size: 10px;
  line-height: 1.5;
  text-align: end;
  text-shadow: 0 1px 5px #000;
}
.japan-brand-copy { min-width: 0; }
.japan-brand-view .japan-service-title { margin-bottom: 18px; font-size: 37px; font-weight: 400; }
.japan-brand-view .japan-about-brand { color: #bca16b; letter-spacing: .25em; margin-bottom: 20px; }
.japan-brand-view .japan-about-lead { color: #cfc3ad; font-size: 18px; line-height: 1.9; }
.japan-brand-view .japan-about-promise { display: none; }
.japan-brand-view .japan-about-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 0; }
.japan-brand-view .japan-about-actions button { min-width: 0; max-width: none; min-height: 50px; font-size: 14px; padding: 12px; }
.japan-brand-view .japan-about-actions > button { grid-column: auto; }
.japan-brand-view .japan-about-story { margin-top: 24px; border-color: #50452f; }
.japan-brand-view .japan-service-actionbar {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-end;
  padding: 12px 34px calc(12px + env(safe-area-inset-bottom));
  background: #151c14;
}
.japan-brand-view .japan-service-brief[hidden] { display: none; }
.japan-brand-view .japan-service-actions { display: block; min-width: 220px; }
.japan-brand-view .japan-service-primary { width: 100%; max-width: none; }
.japan-brand-view .japan-service-countries { justify-content: center; }
.japan-brand-view .japan-service-countries a { flex: 0 1 170px; border-color: transparent; color: #bfb499; }
.japan-brand-view .japan-service-countries [aria-current] { color: #ecd29a; background: transparent; }
@media (max-width: 700px) {
  .japan-brand-view .japan-service-tab { min-height: 48px; padding: 10px 6px; font-size: 12px; }
  .japan-brand-view .japan-service-content { padding: 14px 18px; }
  .japan-brand-view .japan-about-intro { display: block; }
  .japan-brand-visual { height: clamp(225px,31vh,275px); }
  .japan-brand-wordmark { inset-inline-start: 22px; bottom: 21px; gap: 10px; }
  .japan-brand-wordmark strong { font-size: 57px; }
  .japan-brand-wordmark span { font-size: 9px; }
  .japan-brand-view .japan-about-brand { display: none; }
  .japan-brand-view .japan-service-title { margin: 18px 0 9px; font-size: 22px; }
  .japan-brand-view .japan-about-lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
  }
  .japan-brand-view .japan-about-actions { margin-top: 15px; }
  .japan-brand-view .japan-about-actions button { min-height: 46px; font-size: 13px; padding: 10px; }
  .japan-brand-view .japan-about-story { margin-top: 16px; }
  .japan-brand-view .japan-service-actionbar { display: flex; gap: 12px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); }
  .japan-brand-view .japan-service-actions { flex: 1; min-width: 0; }
  .japan-brand-view .has-service-selection .japan-service-actions { flex: 0 0 130px; }
  .japan-brand-view .japan-service-primary { min-height: 46px; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .japan-brand-view .japan-service-content { padding-block: 10px; }
  .japan-brand-visual { height: clamp(150px,27vh,190px); }
  .japan-brand-view .japan-service-title { margin-block: 12px 6px; font-size: 21px; }
  .japan-brand-view .japan-about-lead { -webkit-line-clamp: 2; }
  .japan-brand-view .japan-about-actions { margin-top: 10px; }
}

/* Both contact choices stay available when returning to the brand homepage. */
.japan-service-actionbar.has-direct-contact { display: block; }
.japan-service-actionbar [hidden] { display: none !important; }
.japan-service-direct-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; width: 100%; min-width: 0; }
.japan-service-direct-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #ab915b;
  border-radius: 4px;
  background: #d4ba7f;
  color: #161c13;
  font: 600 14px/1.4 Arial,sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.japan-service-direct-human { background: transparent; color: #e0c994; }
.japan-service-direct-button:disabled { opacity: .45; cursor: default; }
@media (max-width: 700px) {
  .japan-service-direct-pair { gap: 8px; }
  .japan-service-direct-button { min-height: 48px; padding: 10px 7px; font-size: 13px; }
}

/* Keep the existing Japan contact copy action legible on the dark card. */
#japan-service-contact .yoru-entry-copy{min-height:48px;color:#f0dfb4;border:1px solid #b79d63;padding:10px 14px}#japan-service-contact .yoru-entry-copy:focus-visible{outline:2px solid #d4ba7f;outline-offset:3px}

#japan-service-contact .yoru-entry-copy:hover:not(:disabled){background:#322d21}

/* 2026-11-17: 首屏注册入口 */
.japan-about-actions .japan-about-register { grid-column: 1 / -1; max-width: none; flex: 1 1 100%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; text-align: center; text-decoration: none; background: transparent; color: #d4ba7f; }
.japan-about-actions .japan-about-register[hidden] { display: none; }

/* NOCTURNE: the existing workspace, in Japan's ink and vermilion palette. */
body.service-navigation { background:#111012; color:#f3ece6; --service-line:#493637; --service-gold:#e5c8b6; }
.service-navigation .site-header,.service-navigation .site-header select,
.service-navigation .japan-service-categories,.japan-brand-view .japan-service-actionbar { background:#171315; }
.service-navigation .japan-service-shell { background:#111012; }
.japan-brand-view .japan-service-tab.is-current { border-bottom-color:#d46c60; color:#f3c7bc; }
.service-navigation .site-header { border-color:#493637; }
.service-navigation .site-header .brand,.service-navigation .site-header .brand span { color:#f3e7dd; }
.service-navigation .site-header .brand { min-width:0; gap:10px; }
.service-navigation .site-header .brand > span { display:block; min-width:0; }
.service-navigation .site-header .brand .nocturne-brand-label { display:block; font:400 clamp(15px,1.4vw,22px)/1.15 Georgia,'Times New Roman',serif; letter-spacing:.05em; }
.service-navigation .site-header .brand small { display:block; margin-top:6px; font-size:8px; letter-spacing:.17em; }
.nocturne-mark { display:block; flex:none; width:34px; height:34px; }
.japan-brand-wordmark strong { font-size:clamp(38px,4.2vw,66px); letter-spacing:.045em; }
.japan-brand-wordmark { max-width:calc(100% - 55px); }
.japan-brand-wordmark span { letter-spacing:.19em; }
.japan-brand-view .japan-service-title { font-size:clamp(25px,2.7vw,37px); line-height:1.35; }
.japan-brand-view .japan-about-lead { color:#d9cbc4; }
.japan-service-tab[aria-current="page"] { color:#fff0e6; background:#2d1c1e; border-inline-start-color:#d46c60; }
.service-navigation .japan-service-countries [aria-current] { color:#edb5a8; }
.japan-service-primary,.japan-service-direct-online { background:#973e39; color:#fff5ec; border-color:#be645c; }
.japan-service-primary:hover:not(:disabled),.japan-service-direct-online:hover:not(:disabled) { background:#ad4d45; color:#fff; }
.japan-service-direct-human,.japan-about-actions .japan-about-register { color:#f0c3b6; border-color:#9f655c; }
.japan-service-direct-human:hover:not(:disabled) { color:#fff0e6; background:#2d1c1e; }
.japan-service-choice.is-selected { border-color:#c77669; }
.nocturne-atlas { margin:40px 0 0; padding:32px 0 4px; border-top:1px solid #593b3b; text-align:start; }
.nocturne-kicker { margin:0 0 10px; color:#dca697; font:500 10px/1.5 Arial,sans-serif; letter-spacing:.19em; }
.nocturne-atlas h2 { margin:0 0 12px; font:400 clamp(25px,2.6vw,35px)/1.3 var(--display,Georgia,serif); color:#f6eee8; }
.nocturne-atlas-intro { color:#c9bdb7; font-size:14px; line-height:1.8; margin:0 0 22px; }
.nocturne-movements { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.nocturne-movement { min-width:0; position:relative; padding:24px 20px; border:1px solid #583b3c; background:#1a1417; }
.nocturne-index { display:block; color:#b68075; font:400 26px/1.2 Georgia,serif; margin-bottom:24px; }
.nocturne-movement h3 { margin:0 0 12px; color:#f4e8e1; font:400 23px/1.4 var(--display,Georgia,serif); }
.nocturne-movement > p:last-child { margin:0; color:#cfc0b9; font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
.nocturne-note { color:#b9aaa4; font-size:12px; line-height:1.8; margin:16px 0 0; }
.nocturne-party { margin-top:29px; padding-top:25px; border-top:1px solid #493435; }
.nocturne-party h3 { font:400 22px/1.4 var(--display,Georgia,serif); margin:0 0 16px; color:#f2e8e0; }
.nocturne-party-sizes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.nocturne-party-size { display:flex; flex-direction:column; gap:5px; padding:12px 0; min-width:0; }
.nocturne-party-size .nocturne-kicker { margin:0; font-size:9px; }
.nocturne-party-size strong { color:#ecddd4; font-size:16px; font-weight:500; overflow-wrap:anywhere; }
.nocturne-party-size > span:last-child { color:#bfb0aa; font-size:12px; }
.nocturne-adviser { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:10px 20px; margin-top:21px; border:1px solid #ad6d60; color:#f6d0c4; text-decoration:none; font-size:13px; }
.nocturne-adviser:hover { background:#302023; color:#fff; }
.nocturne-adviser:focus-visible { outline:2px solid #ecb8a6; outline-offset:4px; }
@media(max-width:700px) {
  .japan-brand-view .japan-service-tab { flex:1 0 auto; min-width:65px; padding-inline:12px; white-space:nowrap; overflow-wrap:normal; }
  .service-navigation .site-header .brand .nocturne-brand-label { font-size:15px; letter-spacing:.025em; }
  .service-navigation .site-header .brand { gap:7px; }
  .nocturne-mark { width:29px; height:29px; }
  .japan-brand-wordmark strong { font-size:clamp(32px,9.7vw,44px); }
  .japan-brand-wordmark { inset-inline-start:19px; max-width:calc(100% - 38px); }
  .japan-brand-view .japan-about-lead { display:block; -webkit-line-clamp:unset; overflow:visible; }
  .nocturne-atlas { margin-top:27px; padding-top:24px; }
  .nocturne-movements { grid-template-columns:1fr; gap:10px; }
  .nocturne-movement { padding:20px; }
  .nocturne-index { float:inline-end; margin:0 0 0 12px; font-size:23px; }
  .nocturne-movement h3 { font-size:21px; }
  .nocturne-party-sizes { gap:8px; }
  .nocturne-party-size strong { font-size:14px; }
  .nocturne-adviser { width:100%; box-sizing:border-box; }
}

/* R2: website, language and account are separate controls, not three destinations disguised as tabs. */
.service-navigation .site-header {
  flex:0 0 auto; height:auto; min-height:76px; grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto; align-items:center; padding:12px 22px; overflow:visible; z-index:40;
}
.nocturne-header-controls { display:flex; align-items:center; justify-content:flex-end; gap:16px; min-width:0; }
.service-navigation .site-header .nocturne-header-controls .navright { width:auto; min-width:0; margin:0; grid-column:auto; grid-row:auto; }
.service-navigation .site-header .language-control { width:auto; min-width:60px; max-width:112px; }
#languageCode { display:block; max-width:85px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nocturne-site-switch { position:relative; min-width:0; color:#ead6cb; }
.nocturne-site-switch > summary { display:flex; gap:8px; align-items:center; min-height:42px; padding:7px 9px; cursor:pointer; list-style:none; border:1px solid #72504a; font-size:12px; white-space:nowrap; }
.nocturne-site-switch > summary::-webkit-details-marker { display:none; }
.nocturne-site-switch > summary:focus-visible,.nocturne-header-account:focus-visible { outline:2px solid #edb5a8; outline-offset:3px; }
.nocturne-site-arrow { color:#cda093; font-size:12px; }
.nocturne-site-switch[open] .nocturne-site-arrow { transform:rotate(180deg); }
.nocturne-site-panel { position:absolute; inset-block-start:calc(100% + 8px); inset-inline-end:0; z-index:60; display:block; width:max-content; min-width:190px; max-width:min(260px,calc(100vw - 32px)); padding:10px; border:1px solid #78534d; background:#211719; box-shadow:0 14px 35px #0008; }
.nocturne-site-hint { margin:3px 9px 7px; color:#baa69e; font-size:11px; line-height:1.5; }
.nocturne-site-panel > a,.nocturne-site-panel > [aria-current] { display:block; padding:12px 10px; min-height:42px; box-sizing:border-box; color:#f5e7de; font:13px/1.4 Arial,sans-serif; text-align:start; text-decoration:none; white-space:normal; }
.nocturne-site-panel > a:hover,.nocturne-site-panel > a:focus-visible { background:#3b2426; outline:1px solid #b16d61; }
.nocturne-site-panel > [aria-current] { border-top:1px solid #573b3b; color:#c39386; }
.nocturne-header-account { display:inline-flex; align-items:center; justify-content:center; padding:8px 0; min-height:42px; color:#edc7b9; font-size:12px; line-height:1.4; text-decoration:none; white-space:nowrap; }
.nocturne-header-account:hover { text-decoration:underline; text-underline-offset:4px; }
.nocturne-header-account[hidden] { display:none; }
.service-navigation.japan-brand-view .japan-service-categories { justify-content:flex-start; gap:20px; padding:0 4px; border-bottom:1px solid #453034; }
.japan-brand-view .japan-service-tab { flex:0 0 auto; min-width:0; min-height:42px; padding:10px 2px; color:#c8b9b2; background:transparent; font-size:13px; white-space:nowrap; }
.japan-brand-view .japan-service-tab.is-current { background:transparent; color:#f6d3c8; border-bottom-color:#c46b60; }
.japan-brand-view .japan-about-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:24px; }
.japan-brand-view .japan-service-content { padding-bottom:34px; scroll-padding-bottom:26px; }
@media(max-width:700px) {
  .service-navigation .site-header { grid-template-columns:minmax(0,1fr); gap:7px; padding:10px 14px 8px; min-height:0; }
  .service-navigation .site-header .brand { grid-column:1; grid-row:1; }
  .nocturne-header-controls { grid-column:1; grid-row:2; width:100%; gap:9px; justify-content:space-between; }
  .nocturne-site-switch > summary { min-height:40px; font-size:12px; padding:6px 9px; gap:6px; }
  .service-navigation .site-header .language-control { min-width:58px; max-width:100px; }
  #languageCode { max-width:76px; font-size:12px; }
  .nocturne-header-account { min-height:40px; font-size:12px; }
  .nocturne-site-panel { inset-inline-start:0; inset-inline-end:auto; }
  .service-navigation.japan-brand-view .japan-service-categories { gap:0; padding:0 14px; box-sizing:border-box; justify-content:space-between; }
  .japan-brand-view .japan-service-tab { min-width:0; min-height:40px; flex:0 0 auto; padding:9px 7px; font-size:12px; }
  .japan-brand-view .japan-about-actions { margin-top:18px; }
  .japan-brand-view .japan-about-actions button { min-height:46px; padding:10px 8px; }
  .japan-brand-view .japan-service-content { padding-bottom:28px; }
}

/* R2 cross-view completion: every service view uses the same five compact tabs. */
.service-navigation .japan-service-shell { grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) auto; }
.service-navigation .japan-service-categories {
  display:flex; flex-wrap:nowrap; align-items:stretch; gap:20px; grid-column:1; grid-row:1;
  width:100%; max-width:1220px; margin-inline:auto; padding:0 4px; overflow-x:auto; overflow-y:hidden;
  border-inline-end:0; border-block-end:1px solid #453034; background:transparent; box-sizing:border-box;
}
.service-navigation .japan-service-tab {
  display:block; flex:0 0 auto; width:auto; min-width:0; min-height:42px; padding:10px 2px;
  border:0; border-bottom:2px solid transparent; background:transparent; color:#c8b9b2;
  font-size:13px; line-height:1.5; white-space:nowrap; overflow-wrap:normal; text-align:center;
}
.service-navigation .japan-service-tab.is-current { background:transparent; color:#f6d3c8; border-inline-start:0; border-bottom-color:#c46b60; }
.service-navigation .japan-service-number { display:none; }
.service-navigation .japan-service-content { grid-column:1; grid-row:2; padding:26px 28px 34px; scroll-padding-bottom:26px; }
.service-navigation .japan-service-pane { width:100%; max-width:1220px; }
.service-navigation .japan-service-actionbar { grid-column:1; grid-row:3; background:#171315; border-color:#583b3d; }
.japan-service-content .public-member-rules,
.japan-service-content .public-member-success,
.japan-service-content .public-front-rules,
.japan-service-content .yoru-entry-destination-card,
.japan-service-content #yoru-contact-japan,
.japan-service-content .yoru-entry-account,
.japan-service-content .yoru-entry-wechat,
.japan-service-content .yoru-request-send,
.japan-service-content .yoru-life-card,
.japan-service-content .yoru-partner-card,
.japan-service-content .yoru-life-availability,
.japan-service-content .japan-service-choice,
.japan-service-content .yoru-tools-card { background:#21171a; color:#e7d8d0; border-color:#6c4847; }
.japan-service-content .japan-service-choice.is-selected { background:#342024; border-color:#c1776a; box-shadow:inset 3px 0 #c1776a; }
.japan-service-content input,.japan-service-content select,.japan-service-content textarea { background:#171214; color:#f4e9e2; border-color:#78534e; }
.japan-service-content input[type=checkbox] { accent-color:#c66c60; }
.japan-service-content .yoru-entry-card-title,
.japan-service-content .yoru-entry-destination-title,
.japan-service-content .public-member-benefits h2,
.japan-service-content .public-member-rules h3,
.japan-service-content .yoru-request-send h3 { color:#f4dfd5; }
.japan-service-content .yoru-entry-card-body,
.japan-service-content .yoru-entry-contact-note,
.japan-service-content .yoru-entry-destination-intro,
.japan-service-content .public-member-benefits p,
.japan-service-content .public-member-rules p,
.japan-service-content .yoru-request-send p { color:#d1bfb7; }
.japan-service-content .yoru-entry-text-link,
.japan-service-content .public-member-login,
.japan-service-content .public-member-china-rules { color:#f0b8a9; }
.japan-service-content .yoru-entry-text-link:hover { color:#fff1e9; }
.japan-service-content .yoru-entry-wechat-label,.japan-service-content .yoru-entry-copy-status { color:#cfb6aa; }
.japan-service-content .yoru-entry-wechat-value { color:#f8e7df; }
.japan-service-content .yoru-tools { --tools-ink:#f1e5df; --tools-muted:#c9b7ae; --tools-line:#704c48; --tools-gold:#e0aa98; }
.japan-service-content .yoru-tools .yoru-tools-tab { background:#261a1d; color:#d6c2b8; }
.japan-service-content .yoru-tools .yoru-tools-tab:hover:not(:disabled) { background:#3c2528; }
.japan-service-content .yoru-tools .yoru-tools-tab.is-selected { background:#68312f; color:#fff0e7; }
.japan-service-content .yoru-tools .yoru-tools-hint,
.japan-service-content .yoru-tools .yoru-tools-label,
.japan-service-content .yoru-tools .yoru-tools-counter,
.japan-service-content .yoru-tools .yoru-tools-status,
.japan-service-content .yoru-tools .yoru-tools-note { color:#d0bdb2; }
.japan-service-content .yoru-tools .yoru-tools-status.is-error { color:#ffb4a7; }
.japan-service-content .yoru-tools .yoru-tools-select,
.japan-service-content .yoru-tools .yoru-tools-input,
.japan-service-content .yoru-tools .yoru-tools-result-text { background:#161113; color:#f4e9e2; border-color:#78534e; color-scheme:dark; }
.japan-service-content .yoru-tools .yoru-tools-input::placeholder { color:#bdaaa0; }
.japan-service-content .yoru-tools .yoru-tools-generate { background:#973e39; color:#fff5ec; border-color:#be645c; }
.japan-service-content .yoru-tools .yoru-tools-copy,
.japan-service-content .yoru-tools .yoru-tools-human,
.japan-service-content .yoru-tools .yoru-tools-chat,
.japan-service-content .yoru-tools .yoru-tools-result h3 { color:#efb8a8; border-color:#9c655c; }
.japan-service-content .yoru-tools .yoru-tools-copy:hover:not(:disabled) { background:#3c2528; }
@media(max-width:700px) {
  .service-navigation .japan-service-categories,
  .service-navigation.japan-brand-view .japan-service-categories { gap:0; padding:0 10px; }
  .service-navigation .japan-service-tab,
  .japan-brand-view .japan-service-tab { flex:1 1 0; width:auto; min-width:0; min-height:40px; padding:9px 4px; font-size:11.5px; }
  .japan-nav-label { display:block; white-space:nowrap; }
  .service-navigation .japan-service-content { padding:18px 14px 28px; }
  .service-navigation .japan-service-actionbar { padding:10px 14px calc(10px + env(safe-area-inset-bottom)); }
}

/* The legacy ivory mobile theme hides all nav elements. Scope this exception
   to the open website selector; the closed selector remains out of layout. */
body.service-navigation .site-header .nocturne-header-controls { overflow:visible; }
body.service-navigation .site-header details.nocturne-site-switch { overflow:visible; z-index:65; }
body.service-navigation .site-header details.nocturne-site-switch[open] > nav.nocturne-site-panel {
  display:block; visibility:visible; opacity:1; z-index:66; box-sizing:border-box;
}
body.service-navigation .site-header details.nocturne-site-switch:not([open]) > nav.nocturne-site-panel { display:none; }
#japan-service-countries .nocturne-site-panel > a {
  color:#f7e9e1; background:transparent; opacity:1; text-decoration:none;
}
#japan-service-countries .nocturne-site-panel > a:hover,
#japan-service-countries .nocturne-site-panel > a:focus-visible {
  color:#ffffff; background:#59302e; outline:2px solid #e7b1a0; outline-offset:-2px;
}
#japan-service-countries .nocturne-site-panel > [aria-current="page"] { color:#edb6a7; }
@media(max-width:700px) {
  body.service-navigation .site-header details.nocturne-site-switch > nav.nocturne-site-panel {
    inset-inline-start:0; inset-inline-end:auto; max-width:calc(100vw - 32px);
  }
}
