/* ========================================
   WORLD 002 // STUCK ON YOU
======================================== */




/* ========================================
   WORLD002 // V1.1 LOCAL HANDWRITING FONTS
======================================== */

@font-face {
  font-family: "Iansui";
  src:
    url("/fonts/Iansui-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jason Handwriting 8";
  src:
    url("/fonts/JasonHandwriting8.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LXGW WenKai TC";
  src:
    url("/fonts/LXGWWenKaiTC-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ----------------------------------------
   WORLD COLORS
---------------------------------------- */

.soy-world {

  --soy-paper: #eee9df;
  --soy-ink: #171717;
  --soy-muted: #77736d;

  --soy-line: rgba(238, 233, 223, 0.18);

  --soy-blue: #9eb6c8;
  --soy-sage: #899c91;
  --soy-beige: #d8c8b3;

}



/* ========================================
   HERO
======================================== */

.soy-hero {

  position: relative;

}


.soy-hero h1 {

  max-width: 900px;

}


.soy-tagline {

  max-width: 760px;

  margin-top: 32px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(
      18px,
      2vw,
      28px
    );

  font-style: italic;

  line-height: 1.55;

  color: var(--soy-paper);

}



/* ========================================
   SERIES OVERVIEW
======================================== */

.soy-overview-layout {

  display: grid;

  grid-template-columns:
    minmax(0, 1.6fr)
    minmax(260px, 0.8fr);

  gap: 64px;

  margin-top: 48px;

}



.soy-overview-intro {

  max-width: 760px;

}



.soy-overview-intro p {

  margin:
    0
    0
    22px;

  line-height: 1.9;

}



.soy-overview-intro .soy-lead {

  margin-bottom: 34px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(
      22px,
      2.5vw,
      34px
    );

  line-height: 1.45;

  color: var(--soy-paper);

}



/* ========================================
   PAPER NOTE
======================================== */

.soy-overview-note {

  align-self: start;

  padding: 30px;

  color: var(--soy-ink);

  background:
    var(--soy-paper);

  transform:
    rotate(0.6deg);

}



.soy-note-label {

  margin:
    0
    0
    22px;

  font-size: 10px;

  letter-spacing: 0.2em;

  font-weight: bold;

}



.soy-overview-note
> p:not(.soy-note-label) {

  margin:
    0
    0
    28px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size: 18px;

  line-height: 1.6;

}



.soy-overview-note span {

  display: block;

  padding-top: 18px;

  border-top:
    1px solid
    rgba(0, 0, 0, 0.2);

  font-size: 9px;

  line-height: 1.7;

  letter-spacing: 0.12em;

}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 800px) {


  .soy-overview-layout {

    grid-template-columns: 1fr;

    gap: 36px;

  }


  .soy-overview-note {

    max-width: 520px;

  }


}

/* ========================================
   HERO POLISH
======================================== */

.soy-hero {
  padding-top: 56px;
}


.soy-hero-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(280px, 0.65fr);

  gap: 70px;

  align-items: start;
}


.soy-hero-main {
  min-width: 0;
}


.soy-hero-main h1 {
  margin:
    20px 0 0;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(
      68px,
      10vw,
      150px
    );

  font-weight: normal;
  line-height: 0.92;

  letter-spacing: -0.035em;
}


.soy-tagline {
  max-width: 760px;

  margin-top: 44px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(
      21px,
      2.4vw,
      34px
    );

  font-style: italic;

  line-height: 1.55;

  color: var(--soy-paper);
}


/* ----------------------------------------
   HERO NOTE
---------------------------------------- */

.soy-hero-note {
  position: relative;

  margin-top: 34px;

  padding:
    30px 32px 28px;

  color: var(--soy-ink);

  background:
    var(--soy-paper);

  transform:
    rotate(-1deg);

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.28);
}


.soy-hero-note::before {
  content: "";

  position: absolute;

  top: -9px;
  left: 50%;

  width: 88px;
  height: 20px;

  transform:
    translateX(-50%)
    rotate(1deg);

  background:
    rgba(216, 200, 179, 0.78);

  opacity: 0.9;
}


.soy-hero-note-label {
  margin:
    0 0 24px;

  font-size: 9px;

  font-weight: bold;

  letter-spacing: 0.2em;
}


.soy-hero-note-main {
  margin:
    0 0 30px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size: 23px;

  line-height: 1.5;
}


.soy-hero-note-list {
  display: grid;

  gap: 7px;

  padding:
    18px 0;

  border-top:
    1px solid
    rgba(0, 0, 0, 0.18);

  border-bottom:
    1px solid
    rgba(0, 0, 0, 0.18);
}


.soy-hero-note-list span {
  font-size: 10px;

  letter-spacing: 0.14em;
}


.soy-hero-note small {
  display: block;

  margin-top: 18px;

  font-size: 8px;

  line-height: 1.6;

  letter-spacing: 0.12em;

  opacity: 0.62;
}


/* ----------------------------------------
   META GRID
---------------------------------------- */

.soy-meta-grid {
  margin-top: 70px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid var(--soy-line);

  border-bottom:
    1px solid var(--soy-line);
}


.soy-meta-grid .world-meta-item {
  padding:
    18px 20px;

  border-right:
    1px solid var(--soy-line);
}


.soy-meta-grid .world-meta-item:last-child {
  border-right: none;
}


.soy-meta-grid span {
  display: block;

  margin-bottom: 6px;

  font-size: 9px;

  letter-spacing: 0.17em;

  color: var(--soy-muted);
}


.soy-meta-grid strong {
  font-size: 11px;

  letter-spacing: 0.06em;
}


/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */

@media (max-width: 900px) {

  .soy-hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }


  .soy-hero-note {
    max-width: 520px;

    margin-top: 10px;
  }


  .soy-meta-grid {
    grid-template-columns: 1fr 1fr;
  }


  .soy-meta-grid
  .world-meta-item:nth-child(2) {
    border-right: none;
  }


  .soy-meta-grid
  .world-meta-item:nth-child(-n + 2) {
    border-bottom:
      1px solid var(--soy-line);
  }

}

/* ========================================
   HERO POSITION ADJUSTMENT
======================================== */

.soy-hero-layout {
  padding-left: 3vw;
  padding-right: 3vw;
}

.soy-hero-note {
  margin-right: 2vw;
}

/* ========================================
   RESTORE PAGE SCROLL
======================================== */

html,
body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  position: relative;
}

.soy-world {
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

/* ========================================
   SECTION CONTENT INSET
======================================== */

.soy-world .world-section {
  padding-left: 3vw;
  padding-right: 3vw;
  box-sizing: border-box;
}

/* ========================================
   OVERVIEW NOTE CLUSTER
======================================== */

.soy-overview-notes {
  align-self: start;

  /* 把整組紙張往上提 */
  margin-top: -18px;
}


/* MAIN NOTE */

.soy-overview-notes .soy-overview-note {
  margin: 0;
}


/* ========================================
   SMALL LIFE NOTES
======================================== */

.soy-life-notes {
  display: flex;

  align-items: flex-start;

  gap: 24px;

  margin-top: 34px;

  padding:
    0 16px;
}


.soy-life-note {
  position: relative;

  box-sizing: border-box;

  color: var(--soy-ink);

  background:
    var(--soy-paper);

  box-shadow:
    0 12px 30px
    rgba(0, 0, 0, 0.24);
}


/* LEFT NOTE */

.soy-grocery-note {
  width: 46%;

  padding:
    24px 24px 21px;

  transform:
    rotate(-2.2deg);
}


/* RIGHT NOTE */

.soy-reminder-note {
  width: 43%;

  margin-top: 20px;

  padding:
    22px 22px 20px;

  transform:
    rotate(1.8deg);
}


/* TAPE */

.soy-life-note::before {
  content: "";

  position: absolute;

  top: -8px;
  left: 50%;

  width: 62px;
  height: 17px;

  transform:
    translateX(-50%);

  background:
    rgba(216, 200, 179, 0.72);
}


/* LABEL */

.soy-life-note-label {
  margin:
    0 0 17px;

  font-size: 8px;

  font-weight: bold;

  letter-spacing: 0.18em;
}


/* CONTENT */

.soy-life-note > p:not(.soy-life-note-label) {
  margin: 0;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 11px;

  line-height: 1.9;

  letter-spacing: 0.04em;
}


/* LITTLE MESSAGE */

.soy-life-note small {
  display: block;

  margin-top: 17px;

  padding-top: 13px;

  border-top:
    1px solid
    rgba(0, 0, 0, 0.16);

  font-size: 7px;

  line-height: 1.7;

  letter-spacing: 0.1em;

  opacity: 0.6;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {

  .soy-overview-notes {
    margin-top: 20px;
  }


  .soy-life-notes {
    max-width: 560px;

    padding: 0;

    gap: 18px;
  }

}

/* ========================================
   02 // WORLD GUIDE
======================================== */

.soy-world-guide {
  padding-top: 90px;
  padding-bottom: 110px;

  border-top:
    1px solid var(--soy-line);
}


/* INTRO */

.soy-guide-intro {
  display: flex;

  align-items: baseline;

  gap: 18px;

  margin:
    65px 0 35px;
}


.soy-guide-intro p {
  margin: 0;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(22px, 2.2vw, 34px);

  line-height: 1.45;
}


.soy-guide-intro span {
  font-size: 9px;

  letter-spacing: 0.16em;

  color: var(--soy-muted);
}


/* ========================================
   A / B / O CARDS
======================================== */

.soy-guide-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  border-top:
    1px solid var(--soy-line);

  border-bottom:
    1px solid var(--soy-line);
}


.soy-guide-card {
  position: relative;

  min-height: 330px;

  padding:
    34px 34px 30px;

  border-right:
    1px solid var(--soy-line);
}


.soy-guide-card:last-child {
  border-right: none;
}


.soy-guide-number {
  position: absolute;

  top: 22px;
  right: 27px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size: 72px;

  font-style: italic;

  color:
    rgba(255, 255, 255, 0.07);
}


.soy-guide-label {
  margin:
    0 0 18px;

  font-size: 8px;

  letter-spacing: 0.18em;

  color: var(--soy-muted);
}


.soy-guide-card h3 {
  margin:
    0 0 34px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(35px, 3.2vw, 52px);

  font-weight: normal;
}


.soy-guide-card > p:not(.soy-guide-label) {
  max-width: 360px;

  margin: 0;

  font-size: 12px;

  line-height: 2;

  color: #c4c1ba;
}


.soy-guide-card small {
  position: absolute;

  left: 34px;
  bottom: 28px;

  font-size: 7px;

  letter-spacing: 0.14em;

  color: var(--soy-muted);
}


/* ========================================
   BOTTOM GUIDE
======================================== */

.soy-guide-bottom {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(260px, 0.42fr);

  gap: 80px;

  align-items: center;

  margin-top: 65px;
}


.soy-guide-text {
  max-width: 760px;
}


.soy-guide-small-label {
  margin-bottom: 24px;

  font-size: 8px !important;

  letter-spacing: 0.18em;

  color: var(--soy-muted) !important;
}


.soy-guide-text p:not(.soy-guide-small-label) {
  font-size: 12px;

  line-height: 2;

  color: #c4c1ba;
}


/* ========================================
   CELLO NOTE
======================================== */

.soy-guide-note {
  position: relative;

  padding:
    28px 30px 25px;

  background:
    var(--soy-paper);

  color:
    var(--soy-ink);

  transform:
    rotate(1.4deg);

  box-shadow:
    0 14px 35px
    rgba(0, 0, 0, 0.25);
}


.soy-guide-note::before {
  content: "";

  position: absolute;

  top: -8px;
  left: 50%;

  width: 70px;
  height: 17px;

  transform:
    translateX(-50%)
    rotate(-1deg);

  background:
    rgba(216, 200, 179, 0.76);
}


.soy-guide-note p {
  margin:
    0 0 20px;

  font-size: 8px;

  letter-spacing: 0.18em;
}


.soy-guide-note strong {
  display: block;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 15px;

  font-weight: normal;

  line-height: 1.7;
}


.soy-guide-note small {
  display: block;

  margin-top: 22px;

  text-align: right;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size: 11px;

  font-style: italic;

  opacity: 0.6;
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .soy-guide-intro {
    display: block;
  }


  .soy-guide-intro span {
    display: block;
    margin-top: 14px;
  }


  .soy-guide-grid {
    grid-template-columns: 1fr;
  }


  .soy-guide-card {
    border-right: none;

    border-bottom:
      1px solid var(--soy-line);
  }


  .soy-guide-card:last-child {
    border-bottom: none;
  }


  .soy-guide-bottom {
    grid-template-columns: 1fr;

    gap: 40px;
  }


  .soy-guide-note {
    max-width: 380px;
  }

}

/* ========================================
   03 // HOUSEHOLD MEMBERS
======================================== */

.soy-household {
  padding-top: 100px;
  padding-bottom: 120px;

  border-top:
    1px solid var(--soy-line);
}


/* INTRO */

.soy-household-intro {
  display: flex;

  justify-content: space-between;
  align-items: baseline;

  gap: 30px;

  margin:
    60px 0 45px;
}


.soy-household-intro p {
  margin: 0;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(22px, 2.2vw, 34px);

  line-height: 1.45;
}


.soy-household-intro span {
  font-size: 8px;

  letter-spacing: 0.16em;

  color: var(--soy-muted);
}


/* ========================================
   MEMBER LIST
======================================== */

.soy-member-list {
  display: grid;

  gap: 70px;
}


/* ========================================
   MEMBER CARD
======================================== */

.soy-member-card {
  display: grid;

  grid-template-columns:
    minmax(190px, 0.55fr)
    minmax(320px, 1fr)
    minmax(260px, 0.65fr);

  gap: 50px;

  align-items: center;

  padding:
    42px 0;

  border-top:
    1px solid var(--soy-line);

  border-bottom:
    1px solid var(--soy-line);
}


/* ========================================
   PORTRAIT
======================================== */

.soy-member-portrait {
  position: relative;

  min-height: 340px;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.035);
}


.soy-member-portrait img {
  display: block;

  width: 100%;
  height: 340px;

  object-fit: contain;

  object-position:
    center bottom;
}


.soy-member-portrait > span {
  position: absolute;

  left: 15px;
  bottom: 13px;

  padding:
    5px 7px;

  background:
    rgba(0, 0, 0, 0.72);

  font-size: 8px;

  letter-spacing: 0.14em;
}


/* ========================================
   MEMBER INFO
======================================== */

.soy-member-label {
  margin:
    0 0 15px;

  font-size: 8px;

  letter-spacing: 0.18em;

  color: var(--soy-muted);
}


.soy-member-info h3 {
  margin:
    0 0 30px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(38px, 4vw, 62px);

  font-weight: normal;

  line-height: 1;
}


.soy-member-meta {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  margin-bottom: 30px;

  border-top:
    1px solid var(--soy-line);

  border-bottom:
    1px solid var(--soy-line);
}


.soy-member-meta div {
  padding:
    15px 12px;

  border-right:
    1px solid var(--soy-line);
}


.soy-member-meta div:last-child {
  border-right: none;
}


.soy-member-meta span {
  display: block;

  margin-bottom: 6px;

  font-size: 7px;

  letter-spacing: 0.15em;

  color: var(--soy-muted);
}


.soy-member-meta strong {
  font-size: 9px;

  letter-spacing: 0.08em;
}


.soy-member-summary {
  max-width: 570px;

  margin:
    0 0 30px;

  font-size: 11px;

  line-height: 2;

  color: #c4c1ba;
}


/* CHARACTER LINK */

.soy-member-link {
  display: inline-block;

  padding-bottom: 5px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.35);

  color: var(--soy-paper);

  font-size: 8px;

  letter-spacing: 0.15em;

  text-decoration: none;
}


.soy-member-link:hover {
  border-color:
    var(--soy-paper);
}


/* ========================================
   ROOMMATE NOTES
======================================== */

.soy-member-notes {
  position: relative;

  min-height: 310px;
}


.soy-person-note {
  position: absolute;

  box-sizing: border-box;

  width: 210px;

  padding:
    24px 24px 21px;

  color: var(--soy-ink);

  background:
    var(--soy-paper);

  box-shadow:
    0 14px 34px
    rgba(0, 0, 0, 0.25);
}


.soy-person-note::before {
  content: "";

  position: absolute;

  top: -8px;
  left: 50%;

  width: 58px;
  height: 16px;

  transform:
    translateX(-50%);

  background:
    rgba(216, 200, 179, 0.72);
}


.soy-person-note p {
  margin:
    0 0 18px;

  font-size: 7px;

  letter-spacing: 0.17em;

  opacity: 0.55;
}


.soy-person-note strong {
  display: block;

  min-height: 50px;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 13px;

  font-weight: normal;

  line-height: 1.6;
}


.soy-person-note small {
  display: block;

  margin-top: 17px;

  text-align: right;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size: 10px;

  font-style: italic;

  opacity: 0.5;
}


/* FIRST NOTE */

.soy-member-notes > .soy-person-note:nth-child(1) {
  top: 15px;
  left: 0;

  transform: rotate(-2deg);
}

.soy-member-notes > .soy-person-note:nth-child(2) {
  right: 0;
  bottom: 10px;

  transform: rotate(1.7deg);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 1000px) {

  .soy-member-card {
    grid-template-columns:
      minmax(170px, 0.5fr)
      1fr;
  }


  .soy-member-notes {
    grid-column:
      1 / -1;

    min-height: 240px;

    max-width: 520px;
  }

}


@media (max-width: 700px) {

  .soy-household-intro {
    display: block;
  }


  .soy-household-intro span {
    display: block;

    margin-top: 15px;
  }


  .soy-member-card {
    grid-template-columns: 1fr;

    gap: 32px;
  }


  .soy-member-portrait {
    max-width: 360px;
  }


  .soy-member-meta {
    grid-template-columns: 1fr;
  }


  .soy-member-meta div {
    border-right: none;

    border-bottom:
      1px solid var(--soy-line);
  }


  .soy-member-meta div:last-child {
    border-bottom: none;
  }


  .soy-member-notes {
    grid-column: auto;

    min-height: 430px;
  }

}

/* ========================================
   SOY // CHARACTER HANDWRITING
======================================== */


/* CONTON ZHENG */

.handwriting-conton {
  font-family:
    "Patrick Hand",
    cursive !important;

  font-style: normal;
  letter-spacing: 0.02em;
}


/* CHASEL BAI */

.handwriting-chasel {
  font-family:
    "Caveat",
    cursive !important;

  font-style: normal;
  letter-spacing: 0.02em;
}


/* CELLO JIANG */

.handwriting-cello {
  font-family:
    "Kalam",
    cursive !important;

  font-style: normal;
  letter-spacing: 0.01em;
}

/* ========================================
   HOUSEHOLD NOTE REPLIES
======================================== */

.soy-note-reply {
  margin-top: 18px;
  padding-top: 12px;

  border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.soy-note-reply-sign {
  display: block;
  margin-top: 6px;
}


/* ========================================
   CELLO'S VERY IMPORTANT DECISION
======================================== */

.soy-person-note.soy-member-note-rejection {
  position: absolute;

  width: 150px;
  min-height: 95px;

  right: 120px;
  bottom: -35px;

  padding: 20px 22px;

  background: #eee8dc;

  transform: rotate(-2deg);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22);

  z-index: 3;
}

.soy-person-note.soy-member-note-rejection p {
  margin: 14px 0 8px;

  font-size: 22px;
  line-height: 1.25;
}

/* ========================================
   ROOMMATE NOTE // TEXT SIZE
======================================== */

.soy-person-note p {
  font-size: 16px;
  line-height: 1.5;
}

.soy-person-note small {
  font-size: 14px;
  line-height: 1.4;
}

/* Chasel's handwriting can be slightly larger */
.soy-person-note .handwriting-chasel {
  font-size: 17px;
}

/* Conton's handwriting */
.soy-person-note .handwriting-conton {
  font-size: 16px;
}

/* Cello's handwriting */
.soy-person-note .handwriting-cello {
  font-size: 16px;
}


/* Replies written underneath another note */

.soy-note-reply {
  margin-top: 18px !important;
  padding-top: 14px;

  border-top: 1px solid rgba(0, 0, 0, 0.12);

  font-size: 16px !important;
}

.soy-note-reply-sign {
  font-size: 14px !important;
}

/* ========================================
   CELLO // FINAL NOTE POSITIONING
======================================== */

/* Conton → Cello */

.soy-member-card:nth-child(3)
.soy-member-note-one {
  top: 5px;
  left: 0;

  transform: rotate(-2deg);

  z-index: 2;
}


/* Chasel → Cello */

.soy-member-card:nth-child(3)
.soy-member-note-two {
  top: 150px;
  right: -8px;
  bottom: auto;

  transform: rotate(2deg);

  z-index: 2;
}


/* Cello → both */

.soy-member-card:nth-child(3)
.soy-member-note-rejection {
  right: 185px;
  bottom: -58px;

  transform: rotate(-3deg);

  z-index: 3;
}

/* ========================================
   04 // EVERYDAY RECORDS
======================================== */

.soy-everyday-records {
  padding-top: 100px;
  padding-bottom: 120px;

  border-top:
    1px solid var(--soy-line);
}


/* ----------------------------------------
   INTRO
---------------------------------------- */

.soy-records-intro {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(260px, 0.65fr);

  gap: 70px;

  align-items: end;

  margin:
    60px 0 70px;
}


.soy-records-intro > p {
  margin: 0;

  max-width: 680px;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(25px, 2.6vw, 40px);

  line-height: 1.45;
}


.soy-records-intro > span {
  max-width: 430px;

  font-size: 9px;

  line-height: 1.9;

  letter-spacing: 0.11em;

  color:
    var(--soy-muted);
}


/* ========================================
   RECORD NOTE GRID
======================================== */

.soy-record-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap:
    62px
    50px;

  max-width: 1180px;

  margin:
    0 auto;

  padding:
    35px
    15px
    45px;
}


/* ----------------------------------------
   NOTE
---------------------------------------- */

.soy-record-note {
  position: relative;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  min-height: 260px;

  padding:
    32px
    30px
    27px;

  border: 0;

  color:
    var(--soy-ink);

  background:
    var(--soy-paper);

  box-shadow:
    0 17px 38px
    rgba(0, 0, 0, 0.28);

  text-align: left;

  cursor: pointer;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}


/* TAPE */

.soy-record-note::before {
  content: "";

  position: absolute;

  top: -10px;
  left: 50%;

  width: 76px;
  height: 19px;

  transform:
    translateX(-50%)
    rotate(0.5deg);

  background:
    rgba(216, 200, 179, 0.74);
}


/* ----------------------------------------
   INDIVIDUAL CROOKED POSITIONS
---------------------------------------- */

.soy-record-note-01 {
  transform:
    rotate(-1.5deg)
    translateY(8px);
}


.soy-record-note-02 {
  transform:
    rotate(1.1deg)
    translateY(-8px);
}


.soy-record-note-03 {
  transform:
    rotate(-0.7deg)
    translateY(14px);
}


.soy-record-note-04 {
  transform:
    rotate(1.4deg)
    translateY(-4px);
}


.soy-record-note-05 {
  transform:
    rotate(-1.2deg)
    translateY(11px);
}


.soy-record-note-06 {
  transform:
    rotate(0.8deg)
    translateY(-10px);
}


/* HOVER // PICK THE NOTE UP */

.soy-record-note:hover,
.soy-record-note:focus-visible {
  transform:
    rotate(0deg)
    translateY(-8px);

  box-shadow:
    0 25px 50px
    rgba(0, 0, 0, 0.36);

  outline: none;
}


/* ----------------------------------------
   NOTE COPY
---------------------------------------- */

.soy-record-type {
  display: block;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 8px;

  letter-spacing: 0.15em;

  opacity: 0.53;
}


.soy-record-note strong {
  display: block;

  margin:
    35px 0;

  font-weight: normal;

  font-size: 32px;

  line-height: 1.12;

  color:
    var(--soy-ink);
}


.soy-record-note
.handwriting-chasel {
  font-size: 36px;
}


.soy-record-note
.handwriting-conton {
  font-size: 34px;
}


.soy-record-note
.handwriting-cello {
  font-size: 30px;
}


.soy-record-note small {
  display: block;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 8px;

  letter-spacing: 0.14em;

  opacity: 0.48;
}


/* ========================================
   RECORD MODAL
======================================== */

.soy-record-modal {
  position: fixed;

  inset: 0;

  z-index: 1000;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 38px;
}


.soy-record-modal.is-open {
  display: flex;
}


.soy-record-backdrop {
  position: absolute;

  inset: 0;

  background:
    rgba(0, 0, 0, 0.84);

  backdrop-filter:
    blur(4px);
}


/* ----------------------------------------
   WINDOW
---------------------------------------- */

.soy-record-window {
  position: relative;

  z-index: 1;

  width:
    min(980px, 94vw);

  max-height:
    88vh;

  overflow-y: auto;

  padding:
    38px
    42px
    34px;

  border:
    1px solid
    rgba(255, 255, 255, 0.16);

  background:
    #101010;

  box-shadow:
    0 30px 90px
    rgba(0, 0, 0, 0.55);
}


.soy-record-close-x {
  position: absolute;

  top: 18px;
  right: 22px;

  padding: 0;

  border: 0;

  color:
    var(--soy-paper);

  background: none;

  font-family:
    Georgia,
    "Noto Serif TC",
    serif;

  font-size: 28px;

  cursor: pointer;
}


/* ----------------------------------------
   WINDOW HEADING
---------------------------------------- */

.soy-record-window-heading {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 35px;

  padding:
    0
    55px
    26px
    0;

  border-bottom:
    1px solid var(--soy-line);
}


.soy-record-window-heading p {
  margin:
    0 0 8px;

  font-size: 8px;

  letter-spacing: 0.17em;

  color:
    var(--soy-muted);
}


.soy-record-window-heading h2 {
  margin: 0;

  font-family:
    Georgia,
    "Noto Serif TC",
    "Times New Roman",
    serif;

  font-size:
    clamp(32px, 4vw, 52px);

  font-weight: normal;
}


.soy-record-window-heading > span {
  padding-bottom: 6px;

  font-size: 8px;

  letter-spacing: 0.14em;

  color:
    var(--soy-muted);
}


/* ----------------------------------------
   CONTENT
---------------------------------------- */

.soy-record-content {
  padding:
    42px 0
    35px;
}


.soy-record-return {
  padding:
    11px 0
    5px;

  border:
    0;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.35);

  color:
    var(--soy-paper);

  background: none;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 8px;

  letter-spacing: 0.14em;

  cursor: pointer;
}


/* ========================================
   CHAT LOG
======================================== */

.soy-chat-log {
  width:
    min(680px, 100%);

  margin:
    0 auto;

  padding:
    32px;

  color:
    var(--soy-ink);

  background:
    #a9bfdc;
}


.soy-chat-header {
  margin-bottom: 32px;

  padding-bottom: 15px;

  border-bottom:
    1px solid
    rgba(0, 0, 0, 0.15);

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 10px;

  font-weight: bold;

  letter-spacing: 0.09em;
}


.soy-message {
  display: flex;

  flex-direction: column;

  max-width: 78%;

  margin-bottom: 18px;
}


.soy-message.left {
  align-items: flex-start;
}


.soy-message.right {
  align-items: flex-end;

  margin-left: auto;
}


.soy-message-name {
  margin-bottom: 5px;

  font-size: 9px;

  letter-spacing: 0.07em;

  opacity: 0.66;
}


.soy-message-bubble {
  padding:
    11px
    15px;

  border-radius: 15px;

  background:
    #f4f2ee;

  font-family:
    Arial,
    "Noto Sans TC",
    sans-serif;

  font-size: 14px;

  line-height: 1.55;
}


.soy-message.right
.soy-message-bubble {
  background:
    #9ae991;
}


.soy-system-message {
  width: fit-content;

  margin:
    25px auto;

  padding:
    9px
    16px;

  border-radius: 13px;

  color:
    rgba(255, 255, 255, 0.9);

  background:
    rgba(70, 94, 128, 0.48);

  font-family:
    Arial,
    "Noto Sans TC",
    sans-serif;

  font-size: 11px;

  text-align: center;
}


/* ========================================
   RECEIPT
======================================== */

.soy-receipt-layout {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.7fr)
    minmax(240px, 0.45fr);

  gap: 48px;

  align-items: start;

  max-width: 760px;

  margin:
    0 auto;
}


.soy-receipt {
  padding:
    30px
    26px;

  color:
    #202020;

  background:
    #f0ede4;

  box-shadow:
    0 16px 35px
    rgba(0, 0, 0, 0.28);

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 11px;

  line-height: 1.7;
}


.soy-receipt h3 {
  margin:
    0 0 24px;

  text-align: center;

  font-size: 17px;

  letter-spacing: 0.12em;
}


.soy-receipt-line {
  display: flex;

  justify-content: space-between;

  gap: 15px;
}


.soy-receipt-divider {
  margin:
    17px 0;

  border-top:
    1px dashed
    rgba(0, 0, 0, 0.35);
}


.soy-receipt-note {
  position: relative;

  margin-top: 60px;

  padding:
    28px;

  color:
    var(--soy-ink);

  background:
    var(--soy-paper);

  transform:
    rotate(1.7deg);

  box-shadow:
    0 15px 34px
    rgba(0, 0, 0, 0.25);
}


.soy-receipt-note p {
  margin:
    0 0 17px;

  font-size: 17px;

  line-height: 1.4;
}


/* ========================================
   RECIPE
======================================== */

.soy-recipe-paper {
  position: relative;

  width:
    min(760px, 100%);

  min-height: 900px;

  margin:
    0 auto;

  padding:
    48px
    58px;

  color:
    var(--soy-ink);

  background:
    #eee9df;

  box-shadow:
    0 18px 45px
    rgba(0, 0, 0, 0.3);

  transform:
    rotate(-0.3deg);
}


.soy-recipe-paper h3 {
  margin:
    0 0 35px;

  font-size: 40px;

  font-weight: normal;
}


.soy-recipe-section {
  max-width: 470px;

  margin-bottom: 30px;
}


.soy-recipe-section h4 {
  margin:
    0 0 12px;

  font-family:
    "Courier New",
    "Noto Serif TC",
    monospace;

  font-size: 9px;

  letter-spacing: 0.15em;
}


.soy-recipe-section p,
.soy-recipe-section li {
  font-size: 15px;

  line-height: 1.65;
}


.soy-recipe-section ol {
  padding-left: 22px;
}


/* annotations */

.soy-recipe-note {
  position: absolute;

  max-width: 190px;

  font-size: 17px;

  line-height: 1.35;
}


/* ========================================
   RECIPE ANNOTATION POSITION FIX
======================================== */

.soy-recipe-note.cello-one {
  top: 365px;
  left: 300px;

  transform: rotate(-2deg);
}

.soy-recipe-note.cello-two {
  top: 450px;
  left: 200px;
  right: auto;

  transform: rotate(2deg);
}

.soy-recipe-note.chasel-one {
  top: 410px;
  left: 305px;

  transform: rotate(-4deg);
}

.soy-recipe-note.chasel-two {
  top: 336px;
  left: 150px;
  right: auto;

  transform: rotate(3deg);
}

.soy-recipe-note.conton-one {
  left: 78px;
  bottom: 68px;

  transform: rotate(-2deg);
}

.soy-recipe-note.chasel-three {
  left: 115px;
  bottom: 42px;

  transform: rotate(2deg);
}

.soy-recipe-note.cello-three {
  right: 52px;
  bottom: 96px;

  transform: rotate(-1deg);
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .soy-records-intro {
    grid-template-columns: 1fr;

    gap: 24px;
  }


  .soy-record-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .soy-receipt-layout {
    grid-template-columns: 1fr;
  }


  .soy-receipt-note {
    max-width: 420px;

    margin-top: 0;
  }

}


@media (max-width: 620px) {

  .soy-record-grid {
    grid-template-columns: 1fr;

    gap: 38px;
  }


  .soy-record-note {
    min-height: 220px;
  }


  .soy-record-modal {
    padding: 12px;
  }


  .soy-record-window {
    width: 100%;
    max-height: 94vh;

    padding:
      30px
      20px;
  }


  .soy-record-window-heading {
    display: block;
  }


  .soy-record-window-heading > span {
    display: block;

    margin-top: 12px;
  }


  .soy-chat-log {
    padding:
      24px
      15px;
  }


  .soy-message {
    max-width: 88%;
  }


  .soy-recipe-paper {
    min-height: auto;

    padding:
      35px
      28px;
  }


  /*
    On mobile, annotations return to normal flow
    so they cannot overlap important recipe text.
  */

  .soy-recipe-note {
    position: relative;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: block;

    max-width: none;

    margin:
      16px 0;
  }

}

/* ========================================
   EVERYDAY RECORDS // CONTENT TEXT COLOR FIX
======================================== */


/* ----------------------------------------
   CHAT LOG
---------------------------------------- */

.soy-chat-log {
  color: #171717;
}


.soy-chat-header,
.soy-message-name {
  color: #171717;
}


.soy-message-bubble {
  color: #171717;
}


/* Right-side green messages should also use dark text */

.soy-message.right
.soy-message-bubble {
  color: #171717;
}


/* System messages stay light because their background is dark */

.soy-system-message {
  color: rgba(255, 255, 255, 0.92);
}


/* ----------------------------------------
   RECIPE
---------------------------------------- */

.soy-recipe-paper,
.soy-recipe-paper h3,
.soy-recipe-paper h4,
.soy-recipe-paper p,
.soy-recipe-paper li,
.soy-recipe-note {
  color: #171717;
}

/* =========================================
   05 // PLACES
========================================= */

.soy-places {
  margin-top: 120px;
}

.soy-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.soy-section-number {
  font-size: 12px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.4);
}

.soy-section-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.45);
}

.soy-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: .03em;
}

.soy-section-intro {
  max-width: 620px;
  margin: 14px 0 0;
  line-height: 1.7;
  color: rgba(255,255,255,.58);
}


/* =========================================
   HOME HUB
========================================= */

.soy-place-home {
  position: relative;
  padding: 28px;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.012)
    );
}

.soy-place-home::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  width: 72px;
  height: 2px;
  background: rgba(255,255,255,.72);
}

.soy-place-id {
  margin-bottom: 22px;
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.38);
}

.soy-place-home-main {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 56px;
  align-items: start;
}

.soy-place-type {
  margin: 0 0 10px;
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.42);
}

.soy-place-home h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: .02em;
}

.soy-place-home-copy {
  line-height: 1.8;
  color: rgba(255,255,255,.72);
}

.soy-place-home-copy p {
  margin: 0 0 16px;
}

.soy-place-home-copy p:last-child {
  margin-bottom: 0;
}

.soy-place-residents {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.soy-place-residents span {
  font-size: 9px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.38);
}

.soy-place-residents strong {
  font-size: 10px;
  font-weight: normal;
  letter-spacing: .12em;
  color: rgba(255,255,255,.82);
}


/* =========================================
   LOCATION GRID
========================================= */

.soy-place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.soy-place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.018);
}

.soy-place-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20px;
  width: 42px;
  height: 2px;
  background: rgba(255,255,255,.5);
}

.soy-place-card .soy-place-id {
  margin-bottom: 18px;
}

.soy-place-card h3 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .03em;
}

.soy-place-description {
  line-height: 1.7;
  color: rgba(255,255,255,.64);
}

.soy-place-description p {
  margin: 0 0 14px;
}

.soy-place-description p:last-child {
  margin-bottom: 0;
}

.soy-place-associated {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {
  .soy-place-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soy-place-home-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .soy-place-grid {
    grid-template-columns: 1fr;
  }

  .soy-place-home {
    padding: 22px;
  }

  .soy-place-card {
    min-height: unset;
  }

  .soy-place-residents {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================
   05 // PLACES — TEXT DENSITY TUNING
========================================= */

.soy-place-description {
  max-width: 92%;
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255,255,255,.64);
}

.soy-place-description p {
  margin: 0 0 18px;
}

.soy-place-card h3 {
  margin-bottom: 26px;
}

.soy-place-card {
  padding: 24px 26px 26px;
}

.soy-place-associated {
  margin-top: 28px;
  padding-top: 18px;
}

.soy-place-home-copy {
  max-width: 92%;
  font-size: 0.95rem;
  line-height: 1.95;
}

.soy-place-home-copy p {
  margin-bottom: 18px;
}

.soy-place-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}

.soy-place-home::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
}

.soy-place-id,
.soy-place-type,
.soy-place-associated,
.soy-place-residents span {
  font-size: 7px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.soy-place-residents strong {
  letter-spacing: .16em;
}

.soy-place-residents strong::before {
  content: "●";
  margin-right: 10px;
  opacity: .45;
}

/* =========================================
   05 // PLACES — NAVIGATION DETAILS
========================================= */

/* metadata 更像介面標籤 */

.soy-place-id,
.soy-place-type,
.soy-place-associated,
.soy-place-residents span {
  font-size: 7px;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* 小型 route / station marker */

.soy-place-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
}

.soy-place-home::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
}


/* HOME = hub */

.soy-place-home {
  overflow: hidden;
}

.soy-place-home::before {
  width: 96px;
}

.soy-place-residents strong {
  letter-spacing: .16em;
}

.soy-place-residents strong::before {
  content: "●";
  margin-right: 10px;
  opacity: .45;
}


/* 六張卡稍微拉出 station-panel 感 */

.soy-place-card {
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.soy-place-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.028);
}

.soy-place-card:hover::after {
  border-color: rgba(255,255,255,.65);
}


/* 地名稍微更有 index title 感 */

.soy-place-card h3 {
  letter-spacing: .05em;
}

.soy-place-home h3 {
  letter-spacing: .04em;
}

/* =========================================
   05 // PLACE EXPAND / COLLAPSE
========================================= */

.soy-place-description {
  display: none;
  margin-top: 24px;
}

.soy-place-card.is-open .soy-place-description {
  display: block;
}

.soy-place-toggle {
  width: fit-content;
  margin: 16px 0 24px;
  padding: 0 0 5px;

  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  background: none;

  color: rgba(255,255,255,.68);
  font: inherit;
  font-size: 8px;
  letter-spacing: .16em;

  cursor: pointer;
}

.soy-place-toggle:hover {
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.7);
}

.soy-place-card:not(.is-open) {
  min-height: 230px;
}

.soy-place-card.is-open {
  min-height: 340px;
}

/* =========================================
   05 // PLACES — FINAL ROUTE DETAILS
========================================= */

/* HOME 底部像 hub route bar */

.soy-place-home {
  isolation: isolate;
}

.soy-place-home::after {
  box-shadow:
    0 0 0 4px rgba(255,255,255,.025);
}


/* HOME → 外部地點的視覺出口 */

.soy-place-grid {
  position: relative;
  padding-top: 34px;
}

.soy-place-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,.16);
}

.soy-place-grid::after {
  content: "";
  position: absolute;
  top: 33px;
  left: 8%;
  right: 8%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.13) 12%,
      rgba(255,255,255,.13) 88%,
      transparent
    );
}


/* 每張 station card 上的小連接點 */

.soy-place-card {
  overflow: visible;
}

.soy-place-card > * {
  position: relative;
  z-index: 1;
}

.soy-place-card::after {
  width: 7px;
  height: 7px;
  background: #111;
}


/* 第一排三張卡接到 route bar */

.soy-place-card:nth-child(-n+3)::before {
  top: -1px;
}

.soy-place-card:nth-child(-n+3) {
  position: relative;
}

.soy-place-card:nth-child(-n+3) > .soy-place-id::before {
  content: "";
  position: absolute;
  top: -59px;
  left: 50%;
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,.12);
}


/* VIEW LOCATION 更像 navigation command */

.soy-place-toggle {
  position: relative;
  border-bottom: 0;
  padding: 7px 0;
}

.soy-place-toggle::before {
  content: "[";
  margin-right: 6px;
  opacity: .35;
}

.soy-place-toggle::after {
  content: "]";
  margin-left: 6px;
  opacity: .35;
}

.soy-place-toggle:hover::before,
.soy-place-toggle:hover::after {
  opacity: .7;
}


/* 展開時 station marker 變亮 */

.soy-place-card.is-open::after {
  background: rgba(255,255,255,.75);
  border-color: rgba(255,255,255,.8);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.035);
}


/* 展開內容淡淡進場 */

.soy-place-card.is-open .soy-place-description {
  animation: soy-place-reveal .22s ease;
}

@keyframes soy-place-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.soy-place-residents strong::before {
  content: none;
}


/* ========================================
   WORLD002 // V1.1 LANGUAGE TYPOGRAPHY
======================================== */

/* EN keeps the original three handwriting fonts. */
html[lang="en"] .handwriting-conton {
  font-family:
    "Patrick Hand",
    cursive !important;
}

html[lang="en"] .handwriting-chasel {
  font-family:
    "Caveat",
    cursive !important;
}

html[lang="en"] .handwriting-cello {
  font-family:
    "Kalam",
    cursive !important;
}

/* Traditional Chinese handwriting identities. */
html[lang="zh-TW"] .handwriting-conton {
  font-family:
    "Iansui",
    "Noto Serif TC",
    serif !important;

  letter-spacing: 0.02em;
}

html[lang="zh-TW"] .handwriting-chasel {
  font-family:
    "Jason Handwriting 8",
    "Noto Serif TC",
    serif !important;

  letter-spacing: 0.02em;
}

html[lang="zh-TW"] .handwriting-cello {
  font-family:
    "LXGW WenKai TC",
    "Noto Serif TC",
    serif !important;

  letter-spacing: 0.01em;
}


/* ========================================
   WORLD002 // V1.1 ZH-TW LAYOUT FIX
======================================== */

/* ----------------------------------------
   HOUSEHOLD NOTES // CHINESE DESKTOP
---------------------------------------- */

@media (min-width: 1001px) {

  html[lang="zh-TW"] .soy-member-notes {
    min-height: 390px;
  }

  html[lang="zh-TW"] .soy-person-note {
    width: 240px;
  }

  /*
    Chinese notes are usually a little taller than the English ones.
    Keeping the second note anchored near the bottom gives the first
    note enough breathing room for its signature/reply block.
  */
  html[lang="zh-TW"]
  .soy-member-notes > .soy-person-note:nth-child(2) {
    bottom: 0;
  }

  /* Cello's three-note cluster needs a little more vertical room too. */
  html[lang="zh-TW"]
  .soy-member-card:nth-child(3)
  .soy-member-note-two {
    top: 178px;
  }

  html[lang="zh-TW"]
  .soy-member-card:nth-child(3)
  .soy-member-note-rejection {
    bottom: -48px;
  }

}


/* ----------------------------------------
   RECEIPT // CHINESE DESKTOP
---------------------------------------- */

@media (min-width: 901px) {

  html[lang="zh-TW"] .soy-receipt-layout {
    grid-template-columns:
      minmax(380px, 0.82fr)
      minmax(340px, 0.58fr);

    gap: 56px;
    max-width: 940px;
  }

  html[lang="zh-TW"] .soy-receipt-note {
    padding: 28px 32px;
  }

  html[lang="zh-TW"] .soy-receipt-note p {
    white-space: nowrap;
  }

}


/* ----------------------------------------
   CHINESE HANDWRITING // MOBILE SAFETY
---------------------------------------- */

@media (max-width: 700px) {

  html[lang="zh-TW"] .soy-person-note {
    width: min(250px, calc(100vw - 72px));
  }

  html[lang="zh-TW"] .soy-receipt-note p {
    white-space: normal;
  }

}


/* V1.1 // Keep Cello's three notes inside the mobile card */
@media (max-width: 700px) {
  .soy-member-card:nth-child(3) .soy-member-notes {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-height: 0;
    min-width: 0;
    padding: 12px 8px 20px;
    box-sizing: border-box;
  }
  .soy-member-card:nth-child(3) .soy-member-notes > .soy-person-note {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(250px, calc(100% - 12px));
    max-width: calc(100% - 12px);
    margin: 0;
    overflow-wrap: anywhere;
  }
  .soy-member-card:nth-child(3) .soy-member-notes > .soy-member-note-two {
    align-self: flex-end;
  }
  .soy-member-card:nth-child(3) .soy-member-notes > .soy-member-note-rejection {
    width: min(150px, calc(100% - 12px));
    align-self: center;
  }
}