/* ============================================================
   OS ROOM — DEEP / CLEAR UI theme + 色味・8 Compass
   ============================================================ */

.roomScreen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--room-bg);
  color: var(--room-text);
  font-family: "Noto Serif JP", serif;
  overflow: hidden;
  padding: 0 !important;
}

.roomScreen[data-ui-theme="deep"],
.roomScreen:not([data-ui-theme]) {
  --room-bg: #020306;
  --room-card: #040609;
  --room-card-inner: rgba(2, 3, 5, 0.82);
  --room-border: rgba(156, 138, 99, 0.11);
  --room-gold: #9c8a63;
  --room-gold-dim: rgba(156, 138, 99, 0.38);
  --room-text: #cfc9be;
  --room-muted: #686d75;
  --room-energy: #6e3838;
  --room-surface-veil: rgba(2, 3, 5, 0.82);
  /* HOME地図カード背景 — 差し替えは url のみ変更可 */
  --room-map-card-bg: url("../assets/room/room-map-precision-deep.png");
  --room-map-card-bg-position: 96% 40%;
  --room-map-card-bg-size: 118% auto;
  --room-map-card-overlay:
    linear-gradient(
      90deg,
      rgba(1, 2, 4, 0.98) 0%,
      rgba(1, 2, 4, 0.95) 20%,
      rgba(2, 3, 5, 0.86) 34%,
      rgba(2, 3, 5, 0.48) 48%,
      rgba(2, 3, 5, 0.14) 62%,
      transparent 80%
    ),
    radial-gradient(
      ellipse 72% 88% at 90% 46%,
      rgba(196, 176, 128, 0.07) 0%,
      transparent 58%
    );
  --room-home-card-bg: #020304;
  --room-btn-frame-outer: rgba(48, 36, 20, 0.68);
  --room-btn-frame-in: rgba(156, 138, 99, 0.22);
}

.roomScreen[data-ui-theme="clear"] {
  --room-bg: #f4f1ea;
  --room-card: #faf8f3;
  --room-card-inner: rgba(255, 252, 247, 0.9);
  --room-border: rgba(28, 36, 48, 0.12);
  --room-gold: #a68b4b;
  --room-gold-dim: rgba(166, 139, 75, 0.42);
  --room-text: #1c2430;
  --room-muted: #5c6570;
  --room-energy: #8b4040;
  --room-surface-veil: rgba(255, 252, 247, 0.88);
  --room-map-card-bg: url("../assets/room-chapter-path-bg.png");
  --room-map-card-bg-position: 72% 44%;
  --room-map-card-bg-size: cover;
  --room-map-card-overlay: linear-gradient(
    90deg,
    rgba(244, 241, 234, 0.94) 0%,
    rgba(244, 241, 234, 0.78) 32%,
    rgba(244, 241, 234, 0.42) 54%,
    rgba(244, 241, 234, 0.12) 68%,
    transparent 100%
  );
  --room-home-card-bg: #faf8f3;
  --room-btn-frame-outer: rgba(28, 36, 48, 0.14);
  --room-btn-frame-in: rgba(166, 139, 75, 0.28);
}

#screen-room.screen.is-active {
  display: flex !important;
  flex-direction: column;
}

.roomBg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.roomWorldBg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.58;
  filter: brightness(0.72) saturate(0.82);
}

.roomBg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 3, 5, 0.52) 0%,
    rgba(2, 3, 5, 0.78) 38%,
    rgba(2, 3, 5, 0.92) 100%
  );
  pointer-events: none;
}

.roomScroll {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  padding: 0.46rem 0.62rem calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ヘッダー */
.roomHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.42rem;
  padding-bottom: 0.42rem;
  border-bottom: 1px solid var(--room-border);
}

.roomHeaderMain {
  flex: 1;
  min-width: 0;
}

.roomHeaderEyebrow {
  font-family: "Cinzel", serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--room-gold);
  margin: 0 0 0.15rem;
  line-height: 1.15;
}

.roomHeader h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--room-muted);
}

.roomBellBtn {
  position: relative;
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(168, 148, 106, 0.16);
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--room-gold);
  padding: 0;
  cursor: pointer;
}

.roomBellIcon {
  width: 1.17rem;
  height: 1.17rem;
}

.roomBellBadge {
  position: absolute;
  top: -0.12rem;
  right: -0.1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #d4b87a 0%, #a8946a 100%);
  color: #1a1208;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(10, 8, 4, 0.65);
}

.roomBellNotice {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3.6rem 0.72rem 1.2rem;
  pointer-events: none;
}

.roomBellNotice[hidden] {
  display: none !important;
}

.roomBellNoticeBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 8, 0.62);
  pointer-events: auto;
}

.roomBellNoticeCard {
  position: relative;
  width: min(100%, 18.5rem);
  margin: 0 auto;
  padding: 0.82rem 0.78rem 0.72rem;
  border: 1px solid rgba(168, 148, 106, 0.28);
  border-radius: 4px;
  background: linear-gradient(
    168deg,
    rgba(12, 14, 18, 0.98) 0%,
    rgba(6, 8, 12, 0.96) 100%
  );
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(168, 148, 106, 0.08);
  pointer-events: auto;
}

.roomBellNoticeTitle {
  margin: 0 0 0.48rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f4e8c8;
}

.roomBellNoticeBody {
  margin: 0 0 0.62rem;
  font-size: 0.62rem;
  line-height: 1.72;
  letter-spacing: 0.03em;
  color: rgba(207, 201, 190, 0.9);
}

.roomBellNoticeClose {
  width: 100%;
  min-height: 2.5rem;
  justify-content: center;
}

/* カード共通 — 奥行き・地図線・淡い光 */
.roomCard {
  position: relative;
  background:
    linear-gradient(168deg, rgba(10, 12, 16, 0.55) 0%, transparent 42%),
    linear-gradient(180deg, #05070b 0%, #030508 100%);
  border: 1px solid var(--room-border);
  border-radius: 3px;
  padding: 0.56rem 0.65rem;
  margin-bottom: 0.4rem;
  box-shadow:
    inset 0 1px 0 rgba(156, 138, 99, 0.05),
    inset 0 -12px 24px rgba(0, 0, 0, 0.35),
    0 3px 18px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.roomCard::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(156, 138, 99, 0.055) 0%, transparent 58%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(156, 138, 99, 0.02) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.roomCard::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(156, 138, 99, 0.018) 18px,
      rgba(156, 138, 99, 0.018) 19px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      rgba(156, 138, 99, 0.018) 18px,
      rgba(156, 138, 99, 0.018) 19px
    );
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.roomCard > * {
  position: relative;
  z-index: 1;
}

.roomCard h2 {
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 0.22rem;
  color: var(--room-gold);
}

.roomCardSub {
  font-size: 0.72rem;
  color: var(--room-muted);
  margin: 0 0 0.48rem;
  line-height: 1.5;
}

.roomCardHeadRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}

.roomCardHeadRow h2 {
  margin: 0;
  font-size: 0.72rem;
}

.roomDetailLink {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  font-size: 0.58rem;
  color: var(--room-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.roomArrow {
  color: var(--room-gold-dim);
  margin-left: 0.08em;
}

/* 画像素材レイヤー */
.roomAsset {
  pointer-events: none;
  user-select: none;
}

.roomLocMedia {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.roomAsset--mountain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.roomAsset--light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.26;
  mix-blend-mode: screen;
}

.roomAsset--fog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 58%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.58;
}

.roomAsset--compassBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0.14;
  z-index: 0;
  filter: saturate(0.9) brightness(0.92);
}

.roomAsset--fogBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.38;
  z-index: 0;
}

.roomAsset--shoe {
  display: block;
  pointer-events: none;
  user-select: none;
}

/* GOLD — 上位導線カード（左：靴ビジュアル / 中：コピー / 右：CTA） */
.roomCard.roomCard--gold {
  padding: 0;
  border-color: rgba(156, 138, 99, 0.22);
  background: linear-gradient(128deg, #060810 0%, #030508 52%, #04060a 100%);
  min-height: 6.5rem;
  overflow: hidden;
  opacity: 0.97;
}

.roomCard--gold::before,
.roomCard--gold::after {
  display: none;
}

.roomGoldInner {
  display: grid;
  grid-template-columns: 25% minmax(0, 1fr) 28%;
  align-items: center;
  column-gap: 0.38rem;
  min-height: 6.5rem;
  padding: 0.46rem 0.52rem 0.46rem 0.2rem;
}

.roomGoldShoeCol {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.1rem 0.06rem 0.1rem 0.02rem;
  overflow: visible;
  background: linear-gradient(
    108deg,
    rgba(8, 12, 20, 0.16) 0%,
    rgba(8, 12, 20, 0.05) 62%,
    transparent 100%
  );
}

.roomGoldShoeStage {
  position: relative;
  width: 5.75rem;
  height: 5.75rem;
  max-width: 100px;
  max-height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  background: radial-gradient(
    ellipse 85% 80% at 46% 54%,
    rgba(208, 177, 96, 0.08) 0%,
    rgba(8, 12, 20, 0.1) 38%,
    transparent 68%
  );
}

.roomGoldShoeStage::before {
  content: "";
  position: absolute;
  left: 42%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(208, 177, 96, 0.12) 0%,
    rgba(208, 177, 96, 0.04) 45%,
    transparent 72%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.roomCard--gold .roomAsset--shoe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: unset;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: screen;
  filter: brightness(0.9) saturate(0.82)
    drop-shadow(0 1px 10px rgba(168, 148, 106, 0.16));
}

.roomGoldCopyCol {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  align-self: stretch;
  padding: 0 0.1rem;
}

.roomGoldBody {
  margin: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
  padding: 0;
  font-size: 0.6rem;
  line-height: 1.56;
  color: #a8aeb8;
  letter-spacing: 0.02em;
  text-align: center;
}

.roomGoldCtaCol {
  flex-shrink: 0;
  align-self: center;
  padding-left: 0.06rem;
}

.roomBtn--goldLead {
  font-size: 0.56rem;
  padding: 0.36rem 0.48rem;
  line-height: 1.35;
  border-color: rgba(168, 148, 106, 0.32);
  background: rgba(168, 148, 106, 0.06);
}

/* 現在地カード — 画像4+5+6レイヤー */
.roomCard--location {
  padding: 0;
  border-color: rgba(156, 138, 99, 0.12);
  background: #020304;
  min-height: 15.5rem;
  margin-bottom: 0.28rem;
}

.roomCard--location::before,
.roomCard--location::after {
  display: none;
}

.roomLocationTop {
  position: relative;
  z-index: 2;
  padding: 0.42rem 0.58rem 0.28rem;
  background: linear-gradient(
    180deg,
    rgba(2, 3, 5, 0.9) 0%,
    rgba(2, 3, 5, 0.45) 70%,
    transparent 100%
  );
}

.roomLocationBottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.46rem 0.58rem 0.48rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(2, 3, 5, 0.55) 35%,
    rgba(2, 3, 5, 0.82) 100%
  );
}

.roomLocationContent {
  display: none;
}

.roomLocBtnWrap {
  display: none;
}

.roomLocationMain {
  margin-bottom: 0.28rem;
}

.roomCardEyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--room-muted);
  margin: 0 0 0.18rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.roomPrimaryCompass {
  margin: 0 0 0.14rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: rgba(232, 212, 160, 0.96);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.roomStagePill {
  display: inline-block;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: var(--room-muted);
  border: 1px solid rgba(156, 138, 99, 0.18);
  border-radius: 999px;
  padding: 0.08rem 0.38rem;
  margin-bottom: 0.1rem;
  background: rgba(2, 3, 5, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.roomResolutionBlock {
  margin-bottom: 0.36rem;
  padding: 0.34rem 0.4rem 0.36rem;
  border-radius: 2px;
  background: rgba(2, 3, 5, 0.62);
  border: 1px solid rgba(156, 138, 99, 0.16);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.roomLocationBottom .roomBtn--map {
  margin-top: 0;
  background: rgba(2, 3, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.roomResolutionRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.68rem;
  margin-bottom: 0.22rem;
}

.roomResolutionLabel {
  color: rgba(207, 201, 190, 0.82);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.roomResolutionValue {
  font-family: "Cinzel", serif;
  color: rgba(232, 200, 120, 0.96);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.roomResolutionBar {
  position: relative;
  height: 3px;
  background: rgba(156, 138, 99, 0.18);
  border-radius: 2px;
  overflow: visible;
}

.roomResolutionBar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(156, 138, 99, 0.25), rgba(232, 200, 120, 0.75));
  box-shadow: 0 0 10px rgba(232, 200, 120, 0.35);
  position: relative;
}

.roomResolutionBar span::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e8c878;
  box-shadow: 0 0 8px rgba(232, 200, 120, 0.65);
}

.roomBtn--map {
  margin-top: 0.15rem;
  background: rgba(2, 3, 5, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 8 Compass — 専用見せ場 */
.roomCard--balance {
  padding: 0;
  border-color: rgba(156, 138, 99, 0.24);
  background: radial-gradient(
    ellipse 94% 86% at 36% 44%,
    rgba(8, 10, 16, 0.98) 0%,
    #020304 100%
  );
  min-height: 15.1rem;
  margin-bottom: 0.32rem;
  margin-top: 0;
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.07),
    0 4px 22px rgba(0, 0, 0, 0.52);
}

.roomCard--balance::before,
.roomCard--balance::after {
  display: none;
}

.roomBalanceContent {
  position: relative;
  z-index: 1;
  padding: 0.06rem 0.38rem 0 0.42rem;
}

.roomCard--balance .roomCardHeadRow {
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 0.32rem;
  margin-bottom: -0.1rem;
  padding: 0.06rem 0.06rem 0;
}

.roomCard--balance .roomCardHeadRow h2,
.roomCard--balance .roomDetailLink {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.roomCard--balance .roomCardHeadRow h2 {
  flex: 0 1 auto;
  text-align: left;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.roomCard--balance .roomDetailLink {
  position: static;
  transform: none;
  margin-left: auto;
  flex-shrink: 0;
}

.roomRadarBlock {
  position: relative;
  margin: -0.52rem 0 -0.16rem;
  padding: 0;
  line-height: 0;
  width: 100%;
  max-width: 100%;
  transform: translateY(-0.58rem);
}

.roomOctRadar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.roomRadarBg,
.roomRadarColorWash {
  pointer-events: none;
}

.roomRadarLabels,
.roomRadarIcons,
.roomRadarAxes {
  pointer-events: none;
}

.roomRadarMiniIcon {
  overflow: visible;
}

.roomRadarGridOverlay {
  pointer-events: none;
}

.roomRadarAxis .roomRadarDomain {
  font-family: "Noto Serif JP", serif;
  font-size: 13.5px;
  fill: #ccd2da;
  letter-spacing: 0.03em;
}

.roomRadarAxis .roomRadarScore {
  font-family: "Cinzel", serif;
  font-size: 17px;
  fill: #ecd498;
  font-weight: 600;
}

.roomRadarDomain {
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  fill: #b0b6be;
}

.roomRadarScore {
  font-family: "Cinzel", serif;
  font-size: 14.5px;
  fill: #d8bc7e;
  font-weight: 500;
}

.roomRadarYou {
  font-family: "Cinzel", serif;
  font-size: 5.2px;
  fill: #c9a86e;
  letter-spacing: 0.14em;
}

.roomCompassLegend {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.2rem 0.44rem;
  margin-top: -0.34rem;
  padding: 0.06rem 0.04rem 0.02rem;
  border-top: 1px solid rgba(196, 176, 130, 0.08);
  line-height: normal;
}

/* 下部2カラム（画像3基準） */
.roomLowerGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0.38rem;
  margin-bottom: 0.44rem;
}

.roomLowerCol {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
  align-self: start;
}

.roomLowerCol:first-child {
  align-self: stretch;
}

.roomLowerCol:first-child .roomCard--fog {
  flex: 1 1 auto;
}

.roomLowerGrid .roomCard {
  margin-bottom: 0;
  background: linear-gradient(180deg, #05070b 0%, #030508 100%);
}

.roomLowerGrid .roomCard::before,
.roomLowerGrid .roomCard::after {
  display: none;
}

.roomLowerCol--primary .roomCard--todayStep,
.roomLowerCol--primary .roomCard--fog {
  border-color: rgba(168, 148, 106, 0.2);
}

.roomLowerCol--secondary .roomCard {
  border-color: rgba(156, 138, 99, 0.08);
}

.roomLowerCol--secondary .roomCard--status {
  opacity: 0.94;
}

.roomCard--contents {
  opacity: 0.93;
  border-color: rgba(156, 138, 99, 0.15);
}

.roomCard--contents h2 {
  color: rgba(196, 176, 130, 0.86);
  letter-spacing: 0.1em;
}

.roomLowerCol--secondary .roomCard--contents .roomContentTile {
  border-color: rgba(156, 138, 99, 0.14);
  background: rgba(5, 7, 11, 0.82);
}

.roomLowerCol--secondary .roomCard--contents .roomContentTile:hover,
.roomLowerCol--secondary .roomCard--contents .roomContentTile:focus-visible {
  border-color: rgba(168, 148, 106, 0.24);
}

.roomLowerCol--secondary .roomCard--contents .roomContentsTitle {
  color: rgba(215, 210, 200, 0.84);
}

.roomCard--booking {
  margin-top: 0.16rem;
  padding: 0.54rem 0.58rem;
  border-color: rgba(156, 138, 99, 0.14);
  opacity: 0.96;
  background: linear-gradient(180deg, #05070b 0%, #030508 100%);
}

.roomCard--booking h2 {
  font-size: 0.72rem;
}

.roomCard--booking .roomCardSub {
  font-size: 0.68rem;
  line-height: 1.52;
  margin-bottom: 0.52rem;
}

.roomCard--booking::before,
.roomCard--booking::after,
.roomCard--gold::before,
.roomCard--gold::after {
  display: none;
}

.roomLowerCol--secondary .roomCard--contents h2 {
  font-size: 0.58rem;
  margin-bottom: 0.12rem;
  color: rgba(212, 192, 148, 0.9);
}

.roomLowerGrid .roomCard h2 {
  font-size: 0.62rem;
  margin-bottom: 0.15rem;
}

.roomLowerGrid .roomStepItem {
  padding: 0.22rem 0;
  gap: 0.32rem;
}

.roomLowerGrid .roomStepIcon {
  width: 1.22rem;
  height: 1.22rem;
}

.roomLowerGrid .roomStepText {
  font-size: 0.62rem;
  line-height: 1.32;
}

.roomLowerGrid .roomStepLabel {
  font-size: 0.52rem;
}

.roomLowerGrid .roomEnergyLabel {
  font-size: 0.62rem;
}

.roomLowerGrid .roomStatusCol {
  padding: 0.22rem 0.28rem;
}

.roomLowerGrid .roomStatValue {
  font-size: 0.78rem;
}

.roomLowerGrid .roomContentTile {
  padding: 0.28rem 0.18rem;
}

.roomLowerGrid .roomContentsTitle {
  font-size: 0.5rem;
}

.roomLowerGrid .roomPlanTag {
  font-size: 0.46rem;
  padding: 0.06rem 0.22rem;
}

.roomLowerGrid .roomContentIcon .roomIconSvg {
  width: 0.95rem;
  height: 0.95rem;
}

.roomLowerGrid .roomCard--todayStep .roomTodayStepTitle,
.roomLowerGrid .roomCard--status h2,
.roomLowerGrid .roomCard--fog .roomFogInner h2,
.roomLowerGrid .roomCard--contents h2 {
  text-align: center;
}

.roomLowerGrid .roomCard--todayStep .roomStepThreeBtn {
  text-align: center;
}

.roomLowerGrid .roomCard--status .roomEnergyRow {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.22rem;
}

.roomLowerGrid .roomCard--status .roomEnergyBar {
  width: 100%;
  height: 2.04px;
  background: rgba(110, 56, 56, 0.14);
}

.roomLowerGrid .roomCard--status .roomEnergyBar span {
  background: linear-gradient(90deg, rgba(122, 58, 58, 0.45), var(--room-energy));
}

.roomLowerGrid .roomCard--status .roomStatusCol {
  align-items: center;
  text-align: center;
}

.roomLowerGrid .roomCard--status .roomStatIcon {
  display: flex;
  justify-content: center;
  width: 100%;
}

.roomLowerGrid .roomFogBoostNote {
  text-align: center;
}

.roomLegendItem {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.62rem;
  color: rgba(207, 201, 190, 0.78);
  letter-spacing: 0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

.roomCard--balance .roomLegendDot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.roomLegendDot {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 今日のSTEP */
.roomStepList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roomStepItem {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.32rem 0;
  border-top: 1px solid rgba(156, 138, 99, 0.05);
}

.roomStepItem:first-child {
  border-top: none;
  padding-top: 0.05rem;
}

.roomStepIcon {
  flex-shrink: 0;
  width: 1.42rem;
  height: 1.42rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 148, 106, 0.1);
  border-radius: 2px;
  background: var(--room-card-inner);
}

.roomStepIcon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.roomStepBody {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.roomStepLabel {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--room-gold-dim);
}

.roomStepText {
  font-size: 0.76rem;
  color: var(--room-text);
  line-height: 1.38;
}

.roomChevron {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--room-muted);
  flex-shrink: 0;
  opacity: 0.5;
}

.roomStepThreeEntry {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.roomCard--stepEntry .roomStepThreeEntry {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.roomStepThreeMeta {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.38rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.roomStepThreeLabel {
  color: var(--room-gold);
  font-weight: 600;
}

.roomStepThreeSep {
  color: rgba(201, 169, 98, 0.45);
}

.roomStepThreeProgress {
  color: var(--room-text);
  font-weight: 600;
}

.roomStepThreeEntry--done .roomStepThreeProgress {
  color: rgba(180, 220, 200, 0.92);
}

.roomStepThreeStatus {
  margin: 0 0 0.38rem;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.roomStepThreeStatus--updated {
  color: rgba(201, 169, 98, 0.72);
}

.roomStepThreeStatus--boosted {
  color: rgba(180, 220, 200, 0.78);
}

.roomCard--stepEntryDone {
  border-color: rgba(201, 169, 98, 0.32);
}

.roomCard--stepEntryBoosted {
  box-shadow:
    0 0 0 1px rgba(106, 171, 142, 0.12),
    inset 0 1px 0 rgba(106, 171, 142, 0.08);
}

.roomCard--homeRoutineBoosted {
  border-color: rgba(106, 171, 142, 0.22);
}

.roomStepThreeBtn {
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
  width: 100%;
  padding: 0.54rem 0.58rem;
  border: 1px solid rgba(201, 169, 98, 0.44);
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    rgba(32, 40, 58, 0.96) 0%,
    rgba(16, 22, 34, 0.98) 100%
  );
  color: rgba(232, 212, 160, 0.96);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.48;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 2px 12px rgba(0, 0, 0, 0.26);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.roomCard--todayStep .roomStepThreeBtn:hover {
  border-color: rgba(201, 169, 98, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 3px 14px rgba(0, 0, 0, 0.3);
}

.roomCard--step .roomStepList {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.roomStepThreeBtn:active {
  border-color: rgba(201, 169, 98, 0.55);
  background: linear-gradient(
    180deg,
    rgba(36, 46, 64, 0.95) 0%,
    rgba(20, 28, 40, 0.98) 100%
  );
}

/* 今日の3問パネル */
.roomDailyQuestionsPanel {
  display: none;
  margin-top: 0.3rem;
  margin-bottom: 0.12rem;
}

.roomDailyQuestionsPanel.is-visible {
  display: block;
  animation: roomDailyQuestionsIn 0.28s ease;
}

@keyframes roomDailyQuestionsIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.roomDailyQuestionsCard {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  padding: 0.62rem 0.65rem 0.68rem;
  border-color: rgba(201, 169, 98, 0.28);
  background: linear-gradient(168deg, rgba(18, 24, 36, 0.95) 0%, rgba(6, 8, 12, 0.98) 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(201, 169, 98, 0.08);
}

.roomDailyQuestionsCard--done {
  border-color: rgba(201, 169, 98, 0.36);
}

.roomDailyQuestionsHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.48rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
}

.roomDailyQuestionsHead h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--room-gold);
}

.roomDailyQuestionsProgress {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--room-text);
}

.roomDailyQuestionsCompass {
  margin: 0 0 0.38rem;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--room-muted);
}

.roomDailyQuestionsQ {
  margin: 0 0 0.42rem;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--room-text);
  font-weight: 600;
}

.roomDailyQuestionsOptions {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.roomDailyQuestionsOption {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.58rem 0.62rem;
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: 3px;
  background: linear-gradient(
    168deg,
    rgba(12, 16, 24, 0.96) 0%,
    rgba(4, 6, 10, 0.98) 100%
  );
  color: var(--room-text);
  font-family: "Noto Serif JP", serif;
  font-size: 0.74rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    transform 0.12s ease;
  box-shadow: inset 0 1px 0 rgba(201, 169, 98, 0.05);
}

.roomDailyQuestionsOption:active,
.roomDailyQuestionsOption.is-selected {
  border-color: rgba(201, 169, 98, 0.72);
  background: linear-gradient(
    168deg,
    rgba(24, 30, 42, 0.98) 0%,
    rgba(10, 14, 22, 0.99) 100%
  );
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.22),
    0 0 14px rgba(201, 169, 98, 0.16),
    inset 0 1px 0 rgba(201, 169, 98, 0.12);
  transform: scale(0.992);
}

.roomDailyQuestionsCompleteTitle {
  margin: 0 0 0.48rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(232, 212, 160, 0.95);
  letter-spacing: 0.04em;
}

.roomDailyQuestionsSummary p {
  margin: 0 0 0.38rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--room-text);
}

.roomDailyQuestionsSummary p:last-child {
  margin-bottom: 0;
}

.roomDailyQuestionsSummaryLabel {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--room-gold-dim);
  margin-bottom: 0.08rem;
}

/* 状態 */
.roomEnergyRow {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.22rem;
}

.roomEnergyIcon .roomIconSvg {
  width: 0.9rem;
  height: 0.9rem;
}

.roomEnergyLabel {
  font-size: 0.74rem;
  color: var(--room-text);
}

.roomEnergyBar {
  height: 2px;
  background: rgba(138, 104, 104, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.32rem;
}

.roomEnergyBar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(148, 112, 112, 0.4), var(--room-energy));
}

.roomStatusCols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32rem;
}

.roomStatusCol {
  padding: 0.32rem 0.4rem;
  background: var(--room-card-inner);
  border: 1px solid rgba(168, 148, 106, 0.08);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.roomStatIcon svg,
.roomStatIcon .roomIconSvg {
  width: 0.85rem;
  height: 0.85rem;
  margin-bottom: 0.08rem;
}

.roomStatLabel {
  font-size: 0.56rem;
  color: var(--room-muted);
  letter-spacing: 0.05em;
}

.roomStatValue {
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  color: var(--room-gold);
}

/* 霧 — 黒紺ベース（光素材は使わない） */
.roomCard--fog {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: auto;
  background:
    radial-gradient(ellipse 120% 90% at 15% 0%, rgba(106, 136, 120, 0.07) 0%, transparent 58%),
    #030508;
  border-color: rgba(156, 138, 99, 0.18);
}

.roomCard--fog::before,
.roomCard--fog::after {
  display: none;
}

.roomFogInner {
  position: relative;
  z-index: 1;
  padding: 0.52rem 0.48rem 0.44rem;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.92) 0%, #030508 100%);
}

.roomFogInner h2 {
  margin-bottom: 0.14rem;
  font-size: 0.68rem;
  line-height: 1.3;
  letter-spacing: 0.07em;
}

.roomFogSubtitle {
  font-family: "Noto Serif JP", serif;
  font-size: 0.52rem;
  font-weight: 400;
  color: var(--room-muted);
  letter-spacing: 0.02em;
}

.roomFogPanel {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.roomFogMain {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.roomFogLegend {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.roomFogLegendItem {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.52rem;
  line-height: 1.4;
  color: rgba(207, 201, 190, 0.72);
}

.roomFogLegendDot {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.roomFogLegendLabel {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.02em;
}

.roomFogLegendPct {
  font-family: "Cinzel", serif;
  color: rgba(232, 200, 120, 0.92);
  font-size: 0.54rem;
  font-weight: 600;
  flex-shrink: 0;
}

.roomFogNext {
  margin: 0.14rem 0 0;
  font-size: 0.54rem;
  color: rgba(207, 201, 190, 0.78);
  letter-spacing: 0.04em;
  line-height: 1.45;
  padding-top: 0.28rem;
  border-top: 1px solid rgba(156, 138, 99, 0.1);
}

.roomFogBoostNote {
  margin: 0.32rem 0 0;
  padding: 0.3rem 0.34rem;
  border-radius: 2px;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: rgba(190, 228, 210, 0.9);
  background: rgba(106, 171, 142, 0.08);
  border: 1px solid rgba(106, 171, 142, 0.14);
}

.roomLowerGrid .roomCard--fog {
  align-self: stretch;
}

.roomLowerGrid .roomFogDonutWrap {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.roomLowerGrid .roomFogPercent {
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(232, 200, 120, 0.98);
  text-shadow: 0 0 14px rgba(232, 200, 120, 0.22);
}

.roomLowerGrid .roomFogDonutLabel {
  font-size: 0.5rem;
  letter-spacing: 0.06em;
}

.roomFogDonutWrap {
  position: relative;
  width: 5.35rem;
  height: 5.35rem;
  flex-shrink: 0;
}

.roomFogDonut {
  width: 100%;
  height: 100%;
}

.roomFogDonutCenter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
}

.roomFogPercent {
  font-family: "Cinzel", serif;
  font-size: 1.05rem;
  color: var(--room-gold);
  line-height: 1;
}

.roomFogDonutLabel {
  font-size: 0.58rem;
  color: var(--room-muted);
  letter-spacing: 0.08em;
}

/* MINATO CONTENTS */
.roomContentsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.32rem;
}

.roomContentTile,
.roomBtn,
.roomNavItem {
  position: relative;
  z-index: 2;
}

a.roomContentTile,
a.roomBtn {
  text-decoration: none;
  box-sizing: border-box;
}

.roomContentTile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0.4rem 0.28rem;
  background: linear-gradient(
    165deg,
    rgba(6, 8, 12, 0.65) 0%,
    var(--room-card-inner) 100%
  );
  border: 1px solid rgba(156, 138, 99, 0.07);
  border-radius: 2px;
  text-align: center;
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.roomContentTile:focus-visible {
  outline: 1px solid rgba(196, 176, 130, 0.35);
  outline-offset: 1px;
}

.roomContentTile--note {
  background: linear-gradient(165deg, rgba(18, 28, 42, 0.72) 0%, rgba(6, 8, 12, 0.88) 100%);
}

.roomContentTile--voice {
  background: linear-gradient(165deg, rgba(14, 32, 36, 0.72) 0%, rgba(6, 8, 12, 0.88) 100%);
}

.roomContentTile--post {
  background: linear-gradient(165deg, rgba(24, 18, 36, 0.72) 0%, rgba(6, 8, 12, 0.88) 100%);
}

.roomContentTile--session {
  background: linear-gradient(165deg, rgba(12, 10, 8, 0.82) 0%, rgba(4, 4, 6, 0.92) 100%);
  border-color: rgba(156, 138, 99, 0.14);
}

.roomContentTile--session .roomContentIcon {
  color: var(--room-gold);
}

.roomContentIcon {
  color: var(--room-gold);
}

.roomContentIcon .roomIconSvg {
  width: 1.15rem;
  height: 1.15rem;
}

.roomContentsTitle {
  font-size: 0.58rem;
  color: var(--room-text);
  letter-spacing: 0.03em;
  line-height: 1.28;
}

.roomPlanTag {
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  padding: 0.1rem 0.32rem;
  border-radius: 2px;
}

.roomPlanTag--free {
  color: var(--room-muted);
  border: 1px solid rgba(110, 115, 124, 0.28);
}

.roomPlanTag--premium {
  color: var(--room-gold);
  border: 1px solid rgba(168, 148, 106, 0.28);
  background: rgba(168, 148, 106, 0.06);
}

/* セッション予約 */
.roomBookingLayout {
  display: flex;
  gap: 0.48rem;
  align-items: center;
}

.roomBookingText {
  flex: 1;
  min-width: 0;
}

.roomBookingText h2 {
  margin-bottom: 0.22rem;
}

.roomSessionIllust {
  flex-shrink: 0;
  width: 3.75rem;
  height: auto;
  border: 1px solid rgba(168, 148, 106, 0.08);
  border-radius: 2px;
}

/* ボタン */
.roomBtn {
  display: block;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  font-size: 0.74rem;
  padding: 0.48rem 0.72rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid var(--room-border);
  background: transparent;
  color: var(--room-text);
  letter-spacing: 0.04em;
}

.roomBtn--outline {
  color: var(--room-gold);
  border-color: rgba(168, 148, 106, 0.28);
  background: rgba(168, 148, 106, 0.03);
}

.roomBtn--inline {
  width: auto;
  display: inline-block;
  font-size: 0.68rem;
  padding: 0.35rem 0.6rem;
}

.roomBtn--gold,
.roomBtn--compact {
  width: auto;
  flex-shrink: 0;
  font-size: 0.58rem;
  padding: 0.32rem 0.45rem;
  white-space: nowrap;
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
  color: var(--room-gold);
  border-color: rgba(168, 148, 106, 0.28);
  background: rgba(168, 148, 106, 0.05);
}

.roomBtn:active {
  opacity: 0.85;
}

/* 下部タブ */
.roomBottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  max-width: 430px;
  margin: 0 auto;
  padding: 0.28rem 0.38rem calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(2, 3, 6, 0.98);
  border-top: 1px solid var(--room-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.roomNavItem {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.18rem 0.15rem;
  background: none;
  border: none;
  color: var(--room-muted);
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  cursor: default;
  min-width: 0;
}

.roomNavItem.is-active {
  color: var(--room-gold);
}

.roomNavIcon {
  width: 1.2rem;
  height: 1.2rem;
}

.roomNavItem span {
  white-space: nowrap;
}

body[data-screen="room"] {
  background: var(--room-bg, #030508);
}

@media (min-width: 431px) {
  .roomScroll,
  .roomBottomNav {
    box-shadow: 0 0 56px rgba(0, 0, 0, 0.5);
  }
}

.roomMypagePlanList {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  margin-top: 0.1rem;
}

.roomMypagePlanBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.5rem 0.56rem;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  border-color: rgba(168, 148, 106, 0.32);
  background: rgba(8, 12, 18, 0.42);
  color: rgba(232, 212, 160, 0.94);
}

.roomMypagePlanBtnText {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.roomMypagePlanUpgradeGuard {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.roomMypagePlanBtn--proRow {
  flex-shrink: 0;
}

.roomMypagePlanBtn--proLine {
  margin-top: 0.04rem;
}

.roomMypagePlanUpgradeGuard.is-highlighted .roomMypagePlanUpgradeMsg,
.roomMypagePlanUpgradeGuard.is-highlighted .roomMypagePlanBtn--proLine {
  border-color: rgba(196, 168, 110, 0.42);
  box-shadow: 0 0 0 1px rgba(196, 168, 110, 0.1);
}

.roomMypagePlanUpgradeMsg {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.78;
  letter-spacing: 0.03em;
  color: #f4e8c8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  padding: 0 0.04rem;
}

.roomBtn--briefingCopy {
  width: 100%;
  margin-top: 0.08rem;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: rgba(232, 212, 160, 0.94);
  border-color: rgba(168, 148, 106, 0.3);
  background: rgba(168, 148, 106, 0.05);
}

.roomBriefingCopyStatus {
  min-height: 1rem;
  margin: 0.36rem 0 0;
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  color: rgba(196, 168, 110, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roomBriefingCopyStatus.is-visible {
  opacity: 1;
}

/* テーマ棚・習慣リズム66 */
.roomMapDetailScreen {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomMapDetailHeader {
  margin-bottom: 0.12rem;
}

.roomMapDetailBack {
  margin: 0 0 0.36rem;
  padding: 0.2rem 0;
  border: none;
  background: none;
  font-family: "Noto Serif JP", serif;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: rgba(168, 148, 106, 0.82);
  cursor: pointer;
}

.roomMapDetailHeader h1 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #f4e8c8;
}

.roomCard--mapDetail {
  padding: 0.72rem 0.76rem;
}

.roomCard--mapDetailBalance {
  padding: 0.72rem 0.76rem 0.64rem;
}

.roomCard--mapDetailBalance h2 {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #f4e8c8;
}

.roomMapDetailBalanceList {
  margin: 0 0 0.48rem;
  font-size: 0.56rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: rgba(168, 148, 106, 0.78);
}

.roomMapDetailRow {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(156, 138, 99, 0.1);
}

.roomMapDetailRow:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roomMapDetailRow:first-child {
  padding-top: 0;
}

.roomMapDetailLabel {
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(168, 148, 106, 0.82);
}

.roomMapDetailHint {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: rgba(168, 148, 106, 0.62);
}

.roomMapDetailValue {
  font-size: 0.64rem;
  line-height: 1.62;
  letter-spacing: 0.03em;
  color: rgba(207, 201, 190, 0.92);
}

.roomMapDetailValue--emphasis {
  font-size: 0.7rem;
  color: #f4e8c8;
}

.roomMapDetailNext {
  margin-top: 0.2rem;
  padding: 0.56rem 0 0.24rem;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  align-items: stretch;
}

.roomMapDetailNextLabel {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(168, 148, 106, 0.82);
  text-align: center;
}

.roomBtn--mapDetailStep {
  width: 100%;
  justify-content: center;
}

.roomCard--themeRhythm {
  padding: 0.72rem 0.78rem 0.68rem;
  border-color: rgba(168, 148, 106, 0.18);
  background: linear-gradient(
    165deg,
    rgba(10, 12, 16, 0.92) 0%,
    rgba(6, 8, 12, 0.88) 100%
  );
}

.roomCard--themeRhythm h2 {
  margin: 0 0 0.52rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--room-gold);
}

.roomThemeRhythmRows {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.roomThemeRhythmRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.roomThemeRhythmLabel {
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--room-muted);
  flex-shrink: 0;
}

.roomThemeRhythmValue {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(207, 201, 190, 0.94);
  text-align: right;
}

.roomThemeRhythmValue--theme {
  color: #f4e8c8;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.roomThemeRhythmValue--rhythm {
  font-family: "Cinzel", serif;
  color: rgba(232, 212, 160, 0.96);
}

.roomThemeRhythmNote {
  margin: 0.36rem 0 0;
  font-size: 0.52rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: rgba(168, 158, 140, 0.82);
}

.roomThemeRhythmStage {
  margin: 0.4rem 0 0;
  padding-top: 0.38rem;
  border-top: 1px solid rgba(156, 138, 99, 0.12);
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(196, 168, 110, 0.88);
}

.roomCard--rhythmProNudge {
  padding: 0.62rem 0.72rem;
  border-color: rgba(168, 148, 106, 0.14);
  background: rgba(8, 10, 14, 0.72);
}

.roomRhythmProNudgeBody {
  margin: 0 0 0.48rem;
  font-size: 0.6rem;
  line-height: 1.72;
  letter-spacing: 0.03em;
  color: rgba(207, 201, 190, 0.88);
}

.roomBtn--rhythmProNudge {
  width: 100%;
  font-size: 0.56rem;
  padding: 0.38rem 0.5rem;
  color: rgba(232, 212, 160, 0.92);
  border-color: rgba(168, 148, 106, 0.26);
  background: rgba(168, 148, 106, 0.05);
}

.roomThemeShelfHint {
  margin: 0 0 0.42rem;
  font-size: 0.56rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: rgba(104, 109, 117, 0.92);
}

.roomThemeShelf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.34rem;
}

.roomThemePlate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.32rem 0.22rem;
  border-radius: 0.22rem;
  border: 1px solid rgba(72, 76, 84, 0.42);
  background: rgba(6, 8, 12, 0.72);
  color: rgba(136, 140, 148, 0.88);
  font-family: "Noto Serif JP", serif;
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.roomThemePlateLabel {
  position: relative;
  z-index: 1;
}

.roomThemePlateMark {
  position: absolute;
  top: 0.18rem;
  right: 0.2rem;
  font-size: 0.46rem;
  line-height: 1;
  color: rgba(232, 212, 160, 0.92);
}

.roomThemePlate--pending {
  border-color: rgba(72, 76, 84, 0.42);
  background: rgba(6, 8, 12, 0.72);
  color: rgba(136, 140, 148, 0.88);
}

.roomThemePlate--active {
  border-color: rgba(196, 168, 110, 0.62);
  background: rgba(168, 148, 106, 0.08);
  color: #f4e8c8;
  box-shadow: inset 0 0 0 1px rgba(196, 168, 110, 0.12);
}

.roomThemePlate--done {
  border-color: rgba(196, 168, 110, 0.48);
  background: linear-gradient(
    160deg,
    rgba(168, 148, 106, 0.22) 0%,
    rgba(120, 104, 74, 0.14) 100%
  );
  color: rgba(244, 232, 200, 0.96);
}

.roomThemePlate:active {
  opacity: 0.88;
}

/* STEP 専用画面 */
.roomStepScreen {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding-bottom: 0.35rem;
}

.roomStepHeader {
  margin-bottom: 0.1rem;
}

.roomStepHeader h2 {
  margin: 0 0 0.35rem;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--room-gold);
}

.roomStepDescription {
  margin: 0 0 0.48rem;
  font-size: 0.66rem;
  line-height: 1.55;
  color: rgba(232, 228, 220, 0.78);
  letter-spacing: 0.03em;
}

.roomStepFlowNav {
  margin-top: 0.15rem;
}

.roomStepFlowNavInner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.28rem;
}

.roomStepFlowItem {
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  color: rgba(201, 169, 98, 0.45);
  padding: 0.12rem 0.28rem;
  border-radius: 2px;
}

.roomStepFlowItem.is-active {
  color: rgba(232, 212, 160, 0.98);
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.28);
}

.roomStepFlowItem.is-done {
  color: rgba(180, 220, 200, 0.78);
}

.roomStepFlowSep {
  font-size: 0.52rem;
  color: rgba(201, 169, 98, 0.28);
}

.roomStepBlock {
  display: flex;
  gap: 0.48rem;
  align-items: flex-start;
}

.roomStepBlockMeta {
  flex: 0 0 auto;
  padding-top: 0.18rem;
}

.roomStepBlockNum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: 50%;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--room-gold);
  letter-spacing: 0.02em;
  background: rgba(8, 12, 18, 0.55);
}

.roomStepBlockBody {
  flex: 1;
  min-width: 0;
}

.roomStepBlock--hero .roomStepBlockNum {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.1);
}

.roomCard--todayStep {
  padding: 0.72rem 0.68rem 0.76rem;
  border-color: rgba(168, 148, 106, 0.24);
  background: linear-gradient(
    168deg,
    rgba(12, 14, 20, 0.94) 0%,
    rgba(5, 7, 11, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(201, 169, 98, 0.09),
    0 2px 16px rgba(0, 0, 0, 0.32);
}

.roomTodayStepTitle {
  margin: 0 0 0.36rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(232, 212, 160, 0.96);
}

.roomTodayStepMeta {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.34rem;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.roomTodayStepLabel {
  color: rgba(232, 228, 220, 0.82);
  font-weight: 500;
}

.roomTodayStepNote {
  margin: 0 0 0.46rem;
  font-size: 0.62rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(207, 201, 190, 0.72);
}

.roomCard--todayStepBoosted {
  border-color: rgba(106, 171, 142, 0.3);
  box-shadow:
    0 0 0 1px rgba(106, 171, 142, 0.16),
    inset 0 1px 0 rgba(106, 171, 142, 0.1),
    0 0 22px rgba(106, 171, 142, 0.07);
}

.roomCard--todayStepBoosted .roomStepThreeProgress {
  color: rgba(190, 228, 210, 0.94);
}

.roomCard--todayStepBoosted .roomTodayStepNote {
  color: rgba(190, 228, 210, 0.82);
}

.roomCard--stepEntry {
  padding: 0.62rem 0.65rem 0.68rem;
}

/* HOME — ルーティーン要約 */
.roomCard--homeRoutine {
  padding: 0.58rem 0.62rem 0.64rem;
}

.roomHomeRoutineHead {
  margin-bottom: 0.4rem;
}

.roomHomeRoutineHead h2 {
  margin: 0 0 0.18rem;
  font-size: 0.76rem;
}

.roomHomeRoutineSubtitle {
  margin: 0;
  font-size: 0.58rem;
  color: rgba(201, 169, 98, 0.68);
  letter-spacing: 0.04em;
}

.roomHomeRoutineList {
  list-style: none;
  margin: 0 0 0.42rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.roomHomeRoutineItem {
  display: flex;
  align-items: flex-start;
  gap: 0.42rem;
  padding: 0.34rem 0.4rem;
  border: 1px solid rgba(201, 169, 98, 0.12);
  border-radius: 3px;
  background: rgba(8, 12, 18, 0.38);
}

.roomHomeRoutineTime {
  flex: 0 0 1.4rem;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--room-gold);
  letter-spacing: 0.06em;
}

.roomHomeRoutineText {
  font-size: 0.62rem;
  line-height: 1.5;
  color: rgba(232, 228, 220, 0.82);
  letter-spacing: 0.03em;
}

.roomHomeRoutineCta {
  margin-top: 0.08rem;
}

.roomStepQuestionsDone {
  padding: 0.62rem 0.65rem 0.68rem;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 4px;
  background: linear-gradient(
    168deg,
    rgba(18, 24, 36, 0.95) 0%,
    rgba(6, 8, 12, 0.98) 100%
  );
}

.roomStepQuestionsDoneText {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: rgba(232, 212, 160, 0.82);
  letter-spacing: 0.04em;
}

.roomCard--stepSummary {
  padding: 0.62rem 0.65rem 0.68rem;
}

.roomStepSummaryHead {
  margin-bottom: 0.48rem;
  padding-bottom: 0.38rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.14);
}

.roomStepSummaryHead h2 {
  margin: 0 0 0.22rem;
}

.roomStepSummarySubtitle {
  margin: 0;
  font-size: 0.62rem;
  color: rgba(180, 220, 200, 0.82);
  letter-spacing: 0.04em;
}

.roomStepSummaryGrid {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomStepSummaryCard {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.48rem 0.52rem;
  border: 1px solid rgba(201, 169, 98, 0.2);
  border-radius: 4px;
  background: rgba(8, 12, 18, 0.55);
  box-shadow: inset 0 1px 0 rgba(201, 169, 98, 0.06);
}

.roomStepSummaryCard--reduce {
  border-color: rgba(184, 120, 120, 0.28);
}

.roomStepSummaryCard--increase {
  border-color: rgba(106, 171, 142, 0.28);
}

.roomStepSummaryCard--protect {
  border-color: rgba(201, 169, 98, 0.32);
}

.roomStepSummaryCard .roomStepLabel {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--room-gold);
}

.roomStepSummaryCard .roomStepText {
  display: block;
  font-size: 0.68rem;
  line-height: 1.5;
  color: rgba(232, 228, 220, 0.92);
  letter-spacing: 0.03em;
}

.roomCard--oneActionHero {
  padding: 0.68rem 0.72rem 0.74rem;
  border-color: rgba(201, 169, 98, 0.38);
  background: linear-gradient(
    168deg,
    rgba(22, 30, 44, 0.96) 0%,
    rgba(10, 14, 22, 0.98) 100%
  );
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(201, 169, 98, 0.1);
}

.roomCard--oneActionHero h2 {
  margin-bottom: 0.42rem;
}

.roomOneActionLead {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(232, 212, 160, 0.96);
  letter-spacing: 0.03em;
}

.roomOneActionNote {
  margin: 0.42rem 0 0;
  font-size: 0.58rem;
  line-height: 1.45;
  color: rgba(232, 228, 220, 0.58);
  letter-spacing: 0.04em;
}

.roomCard--oneAction .roomOneActionBody {
  margin: 0.42rem 0 0;
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(232, 228, 220, 0.82);
  letter-spacing: 0.03em;
}

.roomCard--routine {
  padding: 0.62rem 0.65rem 0.68rem;
}

.roomRoutineHead {
  margin-bottom: 0.45rem;
}

.roomRoutineHead h2 {
  margin: 0 0 0.2rem;
}

.roomRoutineSubtitle {
  margin: 0;
  font-size: 0.62rem;
  color: rgba(201, 169, 98, 0.72);
  letter-spacing: 0.04em;
}

.roomRoutineList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomRoutineItem {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.48rem 0.52rem;
  border: 1px solid rgba(201, 169, 98, 0.16);
  border-radius: 4px;
  background: rgba(8, 12, 18, 0.45);
}

.roomRoutineItemTop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.12rem;
}

.roomRoutineTime {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--room-gold);
  letter-spacing: 0.06em;
}

.roomRoutineRole {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(201, 169, 98, 0.72);
  letter-spacing: 0.04em;
}

.roomRoutineText {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.55;
  color: rgba(232, 228, 220, 0.88);
  letter-spacing: 0.03em;
}

.roomStepCompleteArea {
  margin-top: 0.1rem;
  margin-bottom: 0.2rem;
}

.roomStepCompleteArea--done {
  padding: 0.15rem 0;
}

.roomCard--oneActionHero .roomStepCompleteArea {
  margin-top: 0.55rem;
}

.roomBtn--oneActionComplete {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.roomOneActionCompleteMsg {
  margin: 0;
  padding: 0.62rem 0.72rem;
  border: 1px solid rgba(106, 171, 142, 0.42);
  border-radius: 4px;
  background: linear-gradient(
    168deg,
    rgba(106, 171, 142, 0.14) 0%,
    rgba(8, 12, 18, 0.55) 100%
  );
  color: rgba(196, 230, 210, 0.98);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(180, 220, 200, 0.12);
}

.roomOneActionCompleteMsg::before {
  content: "✓ ";
  color: rgba(180, 220, 200, 0.95);
}

/* JOURNAL 専用画面 */
.roomJournalScreen {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.roomJournalHeader {
  margin-bottom: 0.12rem;
}

.roomJournalHeader h2 {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(212, 192, 148, 0.96);
}

.roomJournalDescription {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.62;
  color: rgba(232, 228, 220, 0.82);
  letter-spacing: 0.04em;
}

.roomCard--journalDraft {
  padding: 0.58rem 0.62rem 0.62rem;
  border-color: rgba(156, 138, 99, 0.18);
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.05) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.96) 0%, rgba(3, 5, 8, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.36);
}

.roomJournalDraftMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.32rem;
  margin-bottom: 0.38rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(156, 138, 99, 0.1);
}

.roomJournalDraftDate {
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: rgba(207, 201, 190, 0.62);
}

.roomJournalDraftStatus {
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: rgba(207, 201, 190, 0.45);
}

.roomJournalDraftStatus.is-empty {
  visibility: hidden;
}

.roomJournalDraftStatus.is-editing {
  color: rgba(212, 192, 148, 0.82);
}

.roomJournalDraftStatus.is-saved {
  color: rgba(180, 220, 200, 0.82);
}

.roomJournalFieldList {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.roomJournalField {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.roomJournalFieldLabel {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: rgba(212, 192, 148, 0.9);
}

.roomJournalFieldInput {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.42rem 0.46rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 3px;
  background: rgba(4, 6, 9, 0.62);
  color: rgba(232, 228, 220, 0.92);
  font-family: "Noto Serif JP", serif;
  font-size: 0.64rem;
  line-height: 1.58;
  letter-spacing: 0.03em;
  resize: vertical;
  min-height: 2.4rem;
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.roomJournalFieldInput::placeholder {
  color: rgba(207, 201, 190, 0.38);
}

.roomJournalFieldInput:focus {
  outline: none;
  border-color: rgba(168, 148, 106, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 0 0 1px rgba(168, 148, 106, 0.08);
}

.roomJournalCard {
  padding: 0.58rem 0.62rem 0.62rem;
  border-color: rgba(156, 138, 99, 0.18);
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.05) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.96) 0%, rgba(3, 5, 8, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.36);
}

.roomJournalCardTitle {
  margin: 0 0 0.22rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(212, 192, 148, 0.96);
}

.roomJournalCardBody {
  margin: 0 0 0.32rem;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.86);
}

.roomJournalCard .roomJournalFieldInput {
  margin-top: 0.08rem;
}

.roomJournalCardStatus {
  display: block;
  margin-top: 0.22rem;
  min-height: 0.72rem;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(207, 201, 190, 0.45);
}

.roomJournalCardStatus.is-editing {
  color: rgba(212, 192, 148, 0.82);
}

.roomJournalCardStatus.is-saved {
  color: rgba(180, 220, 200, 0.82);
}

.roomJournalCardStatus.is-empty {
  visibility: hidden;
}

.roomJournalReflectionActions {
  margin-top: 0.34rem;
  display: flex;
  justify-content: center;
}

.roomJournalReflectionCompleteBtn {
  min-width: 42%;
  min-height: 2rem;
  border-color: rgba(168, 148, 106, 0.48);
  color: rgba(236, 230, 220, 0.96);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.roomJournalSaveComplete {
  margin-top: 0.72rem;
  padding: 0.82rem 0.62rem 0.92rem;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 0.42rem;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(168, 148, 106, 0.06) 0%, transparent 58%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.94) 0%, rgba(3, 5, 8, 0.98) 100%);
  text-align: center;
}

.roomJournalSaveCompleteTitle {
  margin: 0 0 0.38rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(228, 214, 180, 0.96);
}

.roomJournalSaveCompleteBody {
  margin: 0 0 0.62rem;
  font-size: 0.58rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.72);
  letter-spacing: 0.03em;
}

.roomJournalSaveCompleteActions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.34rem;
}

.roomJournalSaveCompleteVisionBtn,
.roomJournalSaveCompleteRoomBtn {
  min-width: 68%;
  min-height: 2rem;
  border-color: rgba(168, 148, 106, 0.42);
  color: rgba(236, 230, 220, 0.94);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.roomJournalHabitRows {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.roomJournalHabitRow {
  display: flex;
  align-items: center;
  gap: 0.24rem;
}

.roomJournalHabitRowInput {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.roomJournalHabitRemoveBtn {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 1px solid rgba(196, 176, 130, 0.35);
  border-radius: 50%;
  background: transparent;
  color: rgba(196, 176, 130, 0.88);
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
}

.roomJournalHabitAddBtn {
  margin-top: 0.24rem;
  padding: 0.12rem 0;
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  color: rgba(196, 176, 130, 0.88);
}

.roomJournalVisionSeedActions {
  margin-top: 0.28rem;
  display: flex;
  justify-content: flex-end;
}

.roomJournalVisionSeedSendBtn {
  min-height: 1.88rem;
  padding: 0.28rem 0.52rem;
  border-color: rgba(168, 148, 106, 0.42);
  color: rgba(236, 230, 220, 0.94);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
}

.roomJournalOpenVisionBoard {
  margin-top: 0.52rem;
  display: flex;
  justify-content: center;
}

.roomJournalOpenVisionBoardBtn {
  min-width: 52%;
  min-height: 2rem;
  border-color: rgba(156, 138, 99, 0.28);
  color: rgba(236, 230, 220, 0.92);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* PAST LOG — 過去ログ専用画面 */
.roomPastLogScreen {
  padding: 0.18rem 0.1rem 1.1rem;
}

.roomPastLogHeader {
  margin-bottom: 0.46rem;
  text-align: center;
}

.roomPastLogEyebrow {
  margin: 0 0 0.18rem;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  color: rgba(196, 176, 130, 0.78);
}

.roomPastLogHeader h2 {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: rgba(212, 192, 148, 0.96);
}

.roomPastLogDescription {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.82);
}

.roomPastLogListSection {
  padding: 0.52rem 0.58rem;
  border: 1px solid rgba(156, 138, 99, 0.2);
  border-radius: 0.42rem;
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.94) 0%, rgba(3, 5, 8, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.28);
}

.roomPastLogList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomPastLogDayGroup + .roomPastLogDayGroup {
  margin-top: 0.52rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(156, 138, 99, 0.14);
}

.roomPastLogDayTitle {
  margin: 0 0 0.32rem;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.94);
}

.roomPastLogDayEntries {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.roomPastLogEntry {
  padding: 0.32rem 0.38rem;
  border: 1px solid rgba(156, 138, 99, 0.12);
  border-radius: 0.32rem;
  background: rgba(4, 6, 9, 0.55);
}

.roomPastLogEntryTime {
  margin: 0 0 0.14rem;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
  color: rgba(196, 176, 130, 0.78);
}

.roomPastLogEntryText {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.92);
  white-space: pre-wrap;
}

.roomPastLogItem {
  padding: 0.36rem 0.4rem;
  border: 1px solid rgba(156, 138, 99, 0.12);
  border-radius: 0.32rem;
  background: rgba(4, 6, 9, 0.55);
}

.roomPastLogDate {
  margin: 0 0 0.18rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(196, 176, 130, 0.9);
}

.roomPastLogText {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.92);
  white-space: pre-wrap;
}

.roomPastLogEmpty {
  margin: 0;
  padding: 0.2rem 0.08rem;
  font-size: 0.54rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.58);
  text-align: center;
}

.roomReturnToHub {
  margin-top: 0.58rem;
  padding-top: 0.42rem;
  display: flex;
  justify-content: center;
}

.roomJournalScreen .roomReturnToHub {
  margin-top: 0.72rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(156, 138, 99, 0.1);
}

.roomPastLogScreen .roomReturnToHub {
  margin-top: 0.52rem;
}

.roomVisionBoardScreen {
  padding: 0.08rem 0 0.72rem;
}

.roomVisionBoardHeader {
  margin-bottom: 0.52rem;
  text-align: center;
}

.roomVisionBoardHeader h2 {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: rgba(228, 214, 180, 0.96);
}

.roomVisionBoardDescription {
  margin: 0.28rem 0 0;
  font-size: 0.56rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.68);
  letter-spacing: 0.03em;
}

.roomVisionBoardSection {
  margin-top: 0.48rem;
  padding: 0.52rem 0.58rem 0.56rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 0.42rem;
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.94) 0%, rgba(3, 5, 8, 0.98) 100%);
}

.roomVisionBoardSectionTitle {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.88);
  text-align: center;
}

.roomVisionBoardCards {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-top: 0.32rem;
}

.roomVisionBoardCard {
  padding: 0.42rem 0.48rem;
  border: 1px solid rgba(156, 138, 99, 0.12);
  border-radius: 0.32rem;
  background: rgba(4, 6, 10, 0.72);
}

.roomVisionBoardCard--placeholder {
  opacity: 0.88;
}

.roomVisionBoardCardDate {
  margin: 0 0 0.18rem;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.72);
}

.roomVisionBoardCardText {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.62);
  letter-spacing: 0.03em;
}

.roomVisionBoardOrganizeActions {
  margin-top: 0.42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roomVisionBoardOrganizeBtn {
  min-width: 68%;
  min-height: 2rem;
  border-color: rgba(168, 148, 106, 0.42);
  color: rgba(236, 230, 220, 0.94);
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.roomVisionBoardOrganizeStatus {
  min-height: 1rem;
  margin: 0.34rem 0 0;
  font-size: 0.52rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(196, 168, 110, 0.9);
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roomVisionBoardOrganizeStatus.is-visible {
  opacity: 1;
}

.roomVisionBoardReturn {
  margin-top: 0.72rem;
  padding-top: 0.48rem;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(156, 138, 99, 0.1);
}

.roomVisionBoardReturnBtn {
  min-width: 52%;
  min-height: 2rem;
  border-color: rgba(156, 138, 99, 0.28);
  color: rgba(236, 230, 220, 0.92);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.roomReturnToHubBtn {
  min-width: 52%;
  min-height: 2rem;
  border-color: rgba(156, 138, 99, 0.28);
  color: rgba(236, 230, 220, 0.92);
  font-size: 0.54rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.roomJournalReflectionLogs {
  margin-top: 0.62rem;
  scroll-margin-top: 0.5rem;
  padding: 0.58rem 0.62rem 0.62rem;
  border: 1px solid rgba(156, 138, 99, 0.2);
  border-radius: 0.42rem;
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.94) 0%, rgba(3, 5, 8, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.28);
}

.roomJournalReflectionLogsTitle {
  margin: 0 0 0.38rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid rgba(156, 138, 99, 0.12);
  font-family: "Cinzel", serif;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: rgba(212, 192, 148, 0.94);
}

.roomJournalReflectionLogList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomJournalReflectionLogItem {
  padding: 0.36rem 0.4rem;
  border: 1px solid rgba(156, 138, 99, 0.12);
  border-radius: 0.32rem;
  background: rgba(4, 6, 9, 0.55);
}

.roomJournalReflectionLogDate {
  margin: 0 0 0.18rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(196, 176, 130, 0.9);
}

.roomJournalReflectionLogText {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.92);
  white-space: pre-wrap;
}

.roomJournalReflectionLogEmpty {
  margin: 0;
  padding: 0.28rem 0.08rem 0.08rem;
  font-size: 0.54rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.58);
}

.roomCard--journalPlaceholder,
.roomCard--journalPrep {
  padding: 0.52rem 0.58rem 0.56rem;
  border-color: rgba(156, 138, 99, 0.1);
  opacity: 0.88;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.92) 0%, rgba(3, 5, 8, 0.98) 100%);
}

.roomCard--journalPrep h2 {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: rgba(196, 176, 130, 0.78);
}

.roomJournalPlaceholderBody {
  margin: 0.28rem 0 0;
  font-size: 0.62rem;
  line-height: 1.58;
  color: rgba(207, 201, 190, 0.62);
  letter-spacing: 0.03em;
}

.roomJournalPlaceholderNote {
  margin: 0.36rem 0 0;
  font-size: 0.58rem;
  line-height: 1.62;
  color: rgba(168, 148, 106, 0.72);
  letter-spacing: 0.03em;
}

.roomJournalPrepLabel {
  margin: 0.32rem 0 0;
  padding-top: 0.28rem;
  border-top: 1px solid rgba(156, 138, 99, 0.08);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  color: rgba(168, 148, 106, 0.62);
}

/* プラン制限ロックカード */
.roomCard--planLock {
  padding: 0;
  border-color: rgba(156, 138, 99, 0.2);
  background:
    radial-gradient(ellipse 110% 80% at 12% 0%, rgba(168, 148, 106, 0.05) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.96) 0%, rgba(3, 5, 8, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.34);
}

.roomPlanLockInner {
  display: flex;
  gap: 0.46rem;
  align-items: flex-start;
  padding: 0.58rem 0.62rem 0.62rem;
}

.roomPlanLockIcon {
  flex-shrink: 0;
  width: 2.05rem;
  height: 2.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 148, 106, 0.22);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(168, 148, 106, 0.08) 0%,
    rgba(4, 6, 9, 0.72) 100%
  );
  color: rgba(196, 176, 130, 0.82);
}

.roomPlanLockIcon svg {
  width: 0.92rem;
  height: 0.92rem;
}

.roomPlanLockContent {
  flex: 1;
  min-width: 0;
}

.roomPlanLockHeading {
  margin: 0 0 0.2rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: rgba(212, 192, 148, 0.9);
}

.roomPlanLockLead {
  margin: 0 0 0.24rem;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: rgba(232, 228, 220, 0.9);
}

.roomPlanLockBody {
  margin: 0 0 0.42rem;
  font-size: 0.62rem;
  line-height: 1.62;
  letter-spacing: 0.03em;
  color: rgba(207, 201, 190, 0.72);
}

.roomBtn--planLock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  width: 100%;
  text-align: center;
  padding: 0.46rem 0.52rem;
  border-color: rgba(168, 148, 106, 0.3);
  background: rgba(8, 12, 18, 0.42);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: rgba(232, 212, 160, 0.94);
}

.roomCard--planLockCompact .roomPlanLockInner {
  padding: 0.52rem 0.56rem 0.56rem;
}

.roomCard--planLockCompact .roomPlanLockLead {
  font-size: 0.64rem;
}

.roomMypageCreditPrepLead {
  margin: 0.2rem 0 0;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(168, 148, 106, 0.72);
}

.roomMypageCardSub--muted {
  margin-top: 0.28rem;
  color: rgba(207, 201, 190, 0.58);
}

/* MY PAGE 専用画面 */
.roomMypageScreen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  padding-bottom: 0.28rem;
}

.roomMypageScreen::before {
  content: "";
  position: absolute;
  inset: -0.4rem -0.2rem auto;
  height: 8rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(168, 148, 106, 0.05) 0%, transparent 42%),
    radial-gradient(circle at 12% 18%, rgba(168, 148, 106, 0.03) 0%, transparent 36%);
  pointer-events: none;
  z-index: 0;
}

.roomMypageScreen > * {
  position: relative;
  z-index: 1;
}

.roomMypageHeader {
  margin-bottom: 0.2rem;
}

.roomMypageHeader h2 {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(212, 192, 148, 0.96);
}

.roomMypageDescription {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.62;
  color: rgba(232, 228, 220, 0.82);
  letter-spacing: 0.04em;
}

.roomCard--mypage {
  padding: 0;
  margin-bottom: 0;
  border-color: rgba(156, 138, 99, 0.16);
  background:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 52%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.96) 0%, rgba(3, 5, 8, 0.99) 100%);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.06),
    0 2px 14px rgba(0, 0, 0, 0.38);
}

.roomMypageCardInner {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.64rem 0.66rem 0.66rem;
}

.roomMypageCardIcon {
  flex-shrink: 0;
  width: 2.05rem;
  height: 2.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(168, 148, 106, 0.22);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(168, 148, 106, 0.1) 0%,
    rgba(4, 6, 9, 0.72) 100%
  );
  color: rgba(196, 176, 130, 0.88);
}

.roomMypageCardIcon svg {
  width: 1rem;
  height: 1rem;
}

.roomMypageCardBody {
  flex: 1;
  min-width: 0;
}

.roomMypageCardBody h2 {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin: 0 0 0.24rem;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(212, 192, 148, 0.94);
}

.roomMypageTitleLock {
  display: inline-flex;
  align-items: center;
  opacity: 0.55;
}

.roomMypageLockIcon {
  width: 0.72rem;
  height: 0.72rem;
}

.roomMypageCardSub {
  margin: 0 0 0.38rem;
  font-size: 0.64rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.78);
  letter-spacing: 0.03em;
}

.roomMypageMapStats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.34rem;
  margin-bottom: 0.36rem;
}

.roomMypageStatCol {
  min-width: 0;
}

.roomMypageStatLabel {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  color: rgba(207, 201, 190, 0.62);
}

.roomMypageStatValue {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(232, 228, 220, 0.94);
}

.roomMypageStatValue--gold {
  font-family: "Cinzel", serif;
  color: rgba(232, 200, 120, 0.96);
}

.roomMypageMapBar {
  height: 3px;
  background: rgba(156, 138, 99, 0.16);
  border-radius: 3px;
  overflow: hidden;
}

.roomMypageMapBar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(156, 138, 99, 0.28), rgba(232, 200, 120, 0.78));
  box-shadow: 0 0 8px rgba(232, 200, 120, 0.28);
}

.roomMypageShareStatus {
  margin: 0 0 0.32rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(212, 192, 148, 0.9);
  letter-spacing: 0.05em;
}

.roomBtn--mypageToggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
  min-height: 2.65rem;
  margin-top: 0.08rem;
  padding: 0.5rem 0.56rem;
  border-color: rgba(168, 148, 106, 0.3);
  background: rgba(8, 12, 18, 0.38);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.roomMypageNotesBody {
  margin-top: 0.38rem;
  padding: 0.42rem 0.46rem;
  border: 1px solid rgba(168, 148, 106, 0.12);
  border-radius: 3px;
  background: rgba(4, 6, 9, 0.55);
}

.roomMypageNotesEmptyLead {
  margin: 0 0 0.22rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(232, 228, 220, 0.88);
  letter-spacing: 0.04em;
}

.roomMypageNotesEmptyBody {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.58;
  color: rgba(207, 201, 190, 0.72);
  letter-spacing: 0.03em;
}

.roomMypageLinkList {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  margin-top: 0.1rem;
}

.roomMypageLinkBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
  min-height: 2.55rem;
  padding: 0.48rem 0.56rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  border-color: rgba(156, 138, 99, 0.22);
  background: rgba(4, 6, 9, 0.52);
  color: rgba(207, 201, 190, 0.86);
}

.roomMypageLinkBtnText {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.roomMypageLinkBtn:hover,
.roomMypagePlanBtn:hover,
.roomBtn--mypageToggle:hover {
  border-color: rgba(168, 148, 106, 0.38);
  background: rgba(168, 148, 106, 0.06);
}

#screen-room.is-share-mode .roomMypageNotesBody,
#screen-room.is-share-mode [data-mypage-notes-toggle] {
  /* 将来: 共有モードON時に隠す対象の拡張ポイント */
}

.roomMapDebug {
  margin-top: 0.45rem;
  padding: 0.42rem 0.48rem;
  border: 1px dashed rgba(106, 171, 142, 0.35);
  border-radius: 3px;
  background: rgba(8, 16, 12, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.52rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(180, 220, 200, 0.82);
}

.roomMapDebugTitle {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: rgba(106, 171, 142, 0.95);
}

.roomMapDebug p {
  margin: 0;
}

.roomDevResetBtn {
  display: block;
  width: 100%;
  margin-top: 0.42rem;
  padding: 0.38rem 0.45rem;
  border: 1px dashed rgba(201, 169, 98, 0.42);
  border-radius: 3px;
  background: rgba(24, 20, 12, 0.72);
  color: rgba(232, 212, 160, 0.88);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: center;
  cursor: pointer;
}

.roomDevResetBtn:active {
  border-color: rgba(201, 169, 98, 0.62);
  background: rgba(36, 30, 18, 0.82);
}

/* MINATO ページ */
.roomMinatoScreen {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding-bottom: 0.35rem;
}

.roomMinatoScreen > .roomMinatoSection:first-child {
  margin-top: 10px;
  gap: 0.7rem;
}

.roomMinatoSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
}

.roomMinatoSectionTitle {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(201, 184, 138, 0.72);
}

.roomMinatoSectionTitle--lead {
  font-size: 0.57rem;
}

.roomMinatoSectionTitle--contents {
  font-size: calc(0.57rem * 1.3 * 1.3 * 1.05);
}

.roomMinatoTileGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
  width: 100%;
}

.roomMinatoMiniTile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 4rem;
  padding: 0.42rem 0.24rem 0.38rem;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 58%),
    rgba(5, 8, 12, 0.9);
  color: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.roomMinatoMiniTileLabel {
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  color: rgba(236, 230, 220, 0.92);
}

.roomMinatoMiniTileDesc {
  width: 100%;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.48rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(207, 201, 190, 0.62);
}

.roomMinatoMiniTileTagline {
  width: 100%;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.42rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(207, 201, 190, 0.48);
}

.roomMinatoMiniTile--plan {
  min-height: 4.35rem;
  padding-bottom: 0.34rem;
}

.roomMinatoMiniTile--plan.roomMinatoMiniTile--active {
  border-color: rgba(168, 148, 106, 0.42);
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(168, 148, 106, 0.08) 0%, transparent 58%),
    rgba(8, 10, 14, 0.94);
}

.roomMinatoPlanDetailSlot {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.28rem;
}

.roomMinatoPlanDetailSlot:empty {
  display: none;
}

.roomMinatoPlanDetail[hidden] {
  display: none !important;
}

.roomMinatoPlanDetail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  width: 100%;
  padding: 0.48rem 0.52rem 0.44rem;
  border: 1px solid rgba(156, 138, 99, 0.24);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(168, 148, 106, 0.06) 0%, transparent 55%),
    rgba(5, 8, 12, 0.92);
  text-align: center;
}

.roomMinatoPlanDetailTitle {
  margin: 0;
  width: 100%;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: rgba(212, 192, 148, 0.92);
}

.roomMinatoPlanDetailPrice {
  margin: 0;
  width: 100%;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: rgba(201, 184, 138, 0.72);
}

.roomMinatoPlanDetailBody {
  margin: 0;
  width: 100%;
  font-family: "Noto Serif JP", serif;
  font-size: 0.5rem;
  line-height: 1.62;
  letter-spacing: 0.02em;
  color: rgba(207, 201, 190, 0.72);
}

.roomMinatoPlanDetailCta {
  align-self: center;
  margin-top: 0.1rem;
  min-height: 1.88rem;
  padding: 0.34rem 0.52rem;
  border-color: rgba(156, 138, 99, 0.28);
  color: rgba(212, 192, 148, 0.88);
  font-size: 0.54rem;
  text-align: center;
}

a.roomMinatoPlanDetailCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.roomMinatoBriefingCopy {
  width: 100%;
  margin-top: -0.12rem;
  margin-bottom: 0.24rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roomMinatoBriefingCopyBtn {
  min-height: 1.62rem;
  padding: 0.2rem 0.46rem;
  border-color: rgba(156, 138, 99, 0.18);
  color: rgba(207, 201, 190, 0.62);
  font-size: 0.46rem;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.roomMinatoBriefingCopy .roomBriefingCopyStatus {
  margin-top: 0.24rem;
  font-size: 0.48rem;
}

.roomMinatoSessionDetailSlot {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.28rem;
}

.roomMinatoSessionDetailSlot:empty {
  display: none;
}

.roomMinatoWideCardBtn[data-minato-session-toggle].roomMinatoWideCardBtn--active {
  border-color: rgba(168, 148, 106, 0.42);
  color: rgba(212, 192, 148, 0.92);
}

.roomMinatoWideCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  width: 100%;
  padding: 0.52rem 0.56rem 0.48rem;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(168, 148, 106, 0.05) 0%, transparent 55%),
    rgba(5, 8, 12, 0.88);
  text-align: center;
}

.roomMinatoWideCard--tier {
  border-color: rgba(168, 148, 106, 0.28);
}

.roomMinatoWideCardTitle {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(212, 192, 148, 0.92);
}

.roomMinatoWideCardBody {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.78);
}

.roomMinatoWideCardBtn {
  align-self: center;
  margin-top: 0.08rem;
  min-height: 1.88rem;
  padding: 0.34rem 0.52rem;
  border-color: rgba(156, 138, 99, 0.28);
  color: rgba(212, 192, 148, 0.88);
  font-size: 0.54rem;
  text-align: center;
}

a.roomMinatoWideCardBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.roomMinatoLineBtn {
  width: 100%;
  margin: 0.08rem 0 0;
  min-height: 2.05rem;
  padding: 0.42rem 0.56rem;
  border: 1px solid rgba(156, 138, 99, 0.26);
  border-radius: 4px;
  background: rgba(5, 8, 12, 0.82);
  color: rgba(236, 230, 220, 0.9);
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
}

.roomMinatoHeader h2 {
  margin: 0 0 0.28rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.roomMinatoIntro {
  margin: 0;
  font-size: 0.58rem;
  line-height: 1.75;
  color: rgba(207, 201, 190, 0.82);
}

.roomMinatoCards {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.roomMinatoCard {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  width: 100%;
  padding: 0.48rem 0.52rem;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 4px;
  background: rgba(5, 8, 12, 0.88);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.roomMinatoCardHead {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.roomMinatoCardTitles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.35rem;
  flex: 1;
}

.roomMinatoCardTitle {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
}

.roomMinatoCardDesc {
  margin: 0;
  padding-left: 1.65rem;
  font-size: 0.54rem;
  line-height: 1.6;
  color: rgba(207, 201, 190, 0.72);
}

.roomMinatoCard .roomArrow {
  align-self: flex-end;
  margin-top: 0.1rem;
}

/* 思考道場 */
.roomThinkingDojoScreen {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.roomThinkingDojoHeader h2 {
  margin: 0 0 0.28rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.roomThinkingDojoDescription {
  margin: 0;
  font-size: 0.58rem;
  line-height: 1.75;
  color: rgba(207, 201, 190, 0.82);
}

.roomThinkingDojoQuestionCard {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.55rem 0.58rem 0.62rem;
  border: 1px solid rgba(156, 138, 99, 0.18);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 120% 70% at 0% 0%, rgba(168, 148, 106, 0.05) 0%, transparent 55%),
    linear-gradient(168deg, rgba(8, 10, 16, 0.96) 0%, rgba(3, 5, 8, 0.99) 100%);
}

.roomThinkingDojoQuestion {
  margin: 0;
  font-size: 0.64rem;
  line-height: 1.72;
  color: rgba(232, 228, 220, 0.92);
}

.roomThinkingDojoField {
  display: block;
}

.roomThinkingDojoInput {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.46rem 0.5rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 3px;
  background: rgba(4, 6, 9, 0.62);
  color: rgba(232, 228, 220, 0.92);
  font-family: "Noto Serif JP", serif;
  font-size: 0.64rem;
  line-height: 1.58;
  letter-spacing: 0.03em;
  resize: vertical;
  min-height: 5.2rem;
}

.roomThinkingDojoInput::placeholder {
  color: rgba(207, 201, 190, 0.38);
}

.roomThinkingDojoInput:focus {
  outline: none;
  border-color: rgba(168, 148, 106, 0.32);
}

.roomThinkingDojoInput[readonly] {
  opacity: 0.92;
}

.roomThinkingDojoHint {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.6;
  color: rgba(207, 201, 190, 0.62);
}

.roomThinkingDojoHint.is-hidden {
  display: none;
}

.roomThinkingDojoRevealBtn {
  align-self: flex-start;
}

.roomThinkingDojoRevealBtn.is-hidden {
  display: none;
}

.roomThinkingDojoAnswerWrap.is-hidden {
  display: none;
}

.roomThinkingDojoAnswerCard {
  position: relative;
  padding: 0.5rem 0.52rem 0.55rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 3px;
  background: rgba(4, 6, 9, 0.5);
}

.roomThinkingDojoAnswerCardActions {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.roomThinkingDojoActionBtn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(201, 169, 98, 0.78);
  font-family: "Noto Serif JP", serif;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.roomThinkingDojoActionBtn--delete {
  color: rgba(207, 201, 190, 0.55);
}

.roomThinkingDojoAnswerLabel {
  margin: 0 0 0.18rem;
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: rgba(212, 192, 148, 0.9);
}

.roomThinkingDojoMinatoAnswer {
  margin: 0;
  font-size: 0.58rem;
  line-height: 1.72;
  color: rgba(232, 228, 220, 0.9);
  white-space: pre-wrap;
}

.roomThinkingDojoCopyStatus {
  margin: 0.28rem 0 0;
  min-height: 0.8rem;
  font-size: 0.52rem;
  color: rgba(201, 169, 98, 0.82);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.roomThinkingDojoCopyStatus.is-visible {
  opacity: 1;
}

.roomMinatoCard--static {
  cursor: default;
}

.roomMinatoCard--goldPlan {
  border-color: rgba(168, 148, 106, 0.32);
}

.roomMinatoGoldPlanBtn {
  width: 100%;
  margin-top: 0.18rem;
  min-height: 1.92rem;
  border-color: rgba(168, 148, 106, 0.38);
  color: rgba(236, 230, 220, 0.94);
}

a.roomMinatoGoldPlanBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* STEP — 記録導線 */
.roomStepJournalLinks {
  margin-top: 0.55rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgba(156, 138, 99, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.roomStepJournalLinksTitle {
  margin: 0 0 0.12rem;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  color: var(--room-muted);
}

.roomBtn--stepJournal {
  width: 100%;
  justify-content: center;
}

.roomBtn--text {
  border: none;
  background: transparent;
  color: rgba(201, 169, 98, 0.82);
  font-size: 0.54rem;
  padding: 0.28rem 0.35rem;
}

/* ============================================================
   HOME — レイアウト骨格（比率ベース・画像差し込み前提）
   参考比率: 現在地23% / STEP16% / Compass21% / 第1章17% / GOLD9%
   ============================================================ */

#screen-room:has(.roomHomeStack) .roomHeader,
#screen-room.roomScreen--mainNav .roomHeader {
  margin-bottom: clamp(0.22rem, 1.2vh, 0.32rem);
  padding-bottom: clamp(0.22rem, 1.2vh, 0.32rem);
}

#screen-room:has(.roomHomeStack) .roomScroll {
  padding-top: 0.38rem;
}

.roomHomeStack {
  display: flex;
  flex-direction: column;
  gap: clamp(0.26rem, 0.9vh, 0.36rem);
  --home-r-btn: 4px;
  --home-btn-frame-outer: var(--room-btn-frame-outer);
  --home-btn-frame-in: var(--room-btn-frame-in);
}

/* HOME共通 — カード枠（背景画像差し込みは維持） */
.roomHomeStack > .roomHomeCard.roomCard {
  border-color: color-mix(in srgb, var(--room-gold) 24%, transparent);
  background: var(--room-home-card-bg);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.07),
    0 4px 22px rgba(0, 0, 0, 0.52);
}

.roomHomeStack--threeCards {
  gap: clamp(0.34rem, 1vh, 0.48rem);
}

.roomHomeLowerGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.3rem, 0.9vh, 0.42rem);
  align-items: stretch;
}

.roomHomeLowerCol {
  min-width: 0;
  display: flex;
}

.roomHomeLowerCol > .roomHomeCard {
  flex: 1 1 auto;
  width: 100%;
}

.roomHomeLowerGrid .roomCard {
  margin-bottom: 0;
  background: var(--room-home-card-bg);
}

.roomHomeLowerGrid .roomCard::before,
.roomHomeLowerGrid .roomCard::after {
  display: none;
}

/* 現在の地図 — 3カードHOME主役 */
.roomHomeCard.roomCard--mapHero {
  min-height: clamp(11.8rem, 33vh, 14.4rem);
  padding: 0;
  background-color: #010204;
}

.roomMapSkinControl {
  position: absolute;
  top: clamp(0.45rem, 1.2vh, 0.62rem);
  right: clamp(0.45rem, 1.2vh, 0.62rem);
  z-index: 4;
}

.roomMapSkinBtn {
  margin: 0;
  padding: 0.2rem 0.34rem;
  border: 1px solid rgba(156, 138, 99, 0.24);
  border-radius: 999px;
  background: rgba(2, 3, 5, 0.5);
  color: rgba(201, 184, 138, 0.62);
  font-family: "Cinzel", serif;
  font-size: 0.38rem;
  letter-spacing: 0.1em;
  line-height: 1.15;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}

.roomMapSkinBtn:hover,
.roomMapSkinBtn[aria-expanded="true"] {
  border-color: rgba(201, 184, 138, 0.36);
  color: rgba(236, 230, 220, 0.82);
  background: rgba(2, 3, 5, 0.72);
}

.roomMapSkinPanel {
  position: absolute;
  top: calc(100% + 0.28rem);
  right: 0;
  min-width: 5.4rem;
  padding: 0.28rem;
  border: 1px solid rgba(156, 138, 99, 0.2);
  border-radius: 6px;
  background: rgba(2, 3, 5, 0.94);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.roomMapSkinPanel[hidden] {
  display: none !important;
}

.roomMapSkinOption {
  margin: 0;
  padding: 0.24rem 0.38rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: rgba(201, 184, 138, 0.58);
  font-family: "Cinzel", serif;
  font-size: 0.4rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease;
}

.roomMapSkinOption:hover {
  border-color: rgba(201, 184, 138, 0.18);
  color: rgba(236, 230, 220, 0.78);
  background: rgba(201, 184, 138, 0.06);
}

.roomMapSkinOption.is-active {
  border-color: rgba(201, 184, 138, 0.28);
  background: rgba(201, 184, 138, 0.1);
  color: rgba(236, 230, 220, 0.92);
}

.roomMapUpdateBtn {
  position: absolute;
  top: clamp(0.45rem, 1.2vh, 0.62rem);
  right: clamp(0.45rem, 1.2vh, 0.62rem);
  z-index: 3;
  border: 1px solid color-mix(in srgb, var(--room-gold) 48%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--room-card-inner) 94%, transparent);
  color: var(--room-gold);
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.42rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
}

.roomMapHeroContent {
  position: relative;
  z-index: 2;
  padding: clamp(0.95rem, 2.7vh, 1.18rem) clamp(0.78rem, 2.1vw, 0.98rem)
    clamp(0.82rem, 2.2vh, 1rem);
  max-width: 76%;
}

.roomMapHeroCodeLine {
  margin: 0 0 0.34rem;
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: var(--room-muted);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.roomMapHeroOs,
.roomMapHeroCode {
  color: var(--room-muted);
}

.roomMapHeroStage {
  margin: 0 0 0.36rem;
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  color: var(--room-gold-dim);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.88);
}

.roomMapHeroFocus {
  margin: 0 0 0.52rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 3.9vw, 1.46rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.08;
  color: var(--room-text);
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.92),
    0 1px 14px color-mix(in srgb, var(--room-gold) 18%, transparent);
}

.roomMapHeroMeter {
  position: relative;
  width: 100%;
  height: clamp(0.82rem, 2.35vh, 1rem);
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--room-border) 82%, #000);
  border: 1px solid color-mix(in srgb, var(--room-gold) 30%, transparent);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.38);
}

.roomMapHeroMeterFill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--room-gold) 55%, transparent),
    var(--room-gold)
  );
}

/* 今日のSTEP — コンパクト */
.roomHomeCard--stepCompact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.34rem;
  min-height: clamp(8rem, 23vh, 9.5rem);
  padding: clamp(0.68rem, 1.9vh, 0.84rem) clamp(0.62rem, 1.7vw, 0.76rem);
}

.roomHomeStepTitle {
  margin: 0 0 0.08rem;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--room-gold);
}

.roomHomeStepDay {
  margin: 0 0 0.22rem;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--room-text);
}

.roomHomeStepBody {
  margin: 0.06rem 0 0.28rem;
  flex: 1 1 auto;
  font-size: 0.6rem;
  line-height: 1.62;
  color: var(--room-muted);
}

.roomHomeStepStory {
  margin: 0.1rem 0 0.16rem;
  flex: 0 0 auto;
  font-size: 0.52rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--room-muted);
}

.roomHomeStepFocus {
  margin: 0 0 0.2rem;
  flex: 1 1 auto;
  font-family: "Noto Serif JP", serif;
  font-size: 0.58rem;
  line-height: 1.48;
  letter-spacing: 0.03em;
  color: var(--room-text);
}

.roomHomeStepBody--idle {
  margin: 0.14rem 0 0.24rem;
  text-align: center;
}

.roomHomeStepGo,
.roomHomeChartDetail {
  align-self: stretch;
  margin-top: auto;
  min-height: 2.15rem;
  border: 1px solid color-mix(in srgb, var(--room-gold) 42%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--room-gold) 6%, transparent);
  color: var(--room-gold);
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 0.42rem 0.62rem;
  cursor: pointer;
  touch-action: manipulation;
}

/* OS CHART — コンパクト */
.roomHomeCard--chart {
  --room-home-chart-visual-h: clamp(4.8rem, 13.5vh, 5.8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.24rem;
  min-height: clamp(8.2rem, 23.5vh, 9.8rem);
  padding: clamp(0.54rem, 1.65vh, 0.7rem) clamp(0.38rem, 1.1vw, 0.5rem)
    clamp(0.5rem, 1.45vh, 0.64rem);
}

.roomHomeChartTitle {
  margin: 0;
  width: 100%;
  text-align: left;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--room-gold);
}

.roomHomeChartVisual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 var(--room-home-chart-visual-h);
  height: var(--room-home-chart-visual-h);
  min-height: var(--room-home-chart-visual-h);
  max-height: var(--room-home-chart-visual-h);
  overflow: hidden;
}

.roomHomeChartVisual[data-room-os-chart-toggle] {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  flex: 0 0 var(--room-home-chart-visual-h);
}

.roomHomeChartVisual[data-room-os-chart-toggle] .roomHomeChartArt,
.roomHomeChartVisual[data-room-os-chart-toggle] .roomRadarBlock {
  pointer-events: none;
}

.roomHomeChartVisual--art,
.roomHomeChartVisual--radar {
  align-self: stretch;
  overflow: hidden;
}

.roomHomeChartArt {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.roomHomeChartVisual .roomRadarBlock {
  margin: 0;
  padding: 0;
  transform: none;
  line-height: normal;
}

.roomRadarBlock--compact {
  width: 100%;
  max-width: 11rem;
  margin: 0 auto;
}

.roomHomeChartVisual .roomRadarBlock--compact,
.roomHomeChartVisual .roomRadarBlock--trickChart {
  width: 100%;
  height: 100%;
  max-width: 11rem;
  max-height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roomHomeChartVisual .roomRadarBlock--compact .roomOctRadar,
.roomHomeChartVisual .roomRadarBlock--trickChart .roomOctRadar {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0;
  display: block;
}

.roomHomeChartVisual--radar .roomRadarBlock--trickChart {
  transform: scale(1.38);
  transform-origin: center center;
}

.roomHomeChartVisual .roomRadarBlock--trickChart .roomRadarTrickScore {
  font-family: "Cinzel", serif;
  font-size: 5.5px;
  fill: rgba(236, 228, 212, 0.8);
  font-weight: 500;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.roomHomeCard--chart .roomHomeChartDetail {
  margin-top: 0.12rem;
  align-self: stretch;
  min-height: 2rem;
  padding: 0.36rem 0.52rem;
}

.roomHomeStack > .roomHomeCard.roomCard:not(.roomCard--todayStep):not(.roomCard--todayDayEntry):not(.roomCard--chapter):not(.roomCard--goldPlan):not(.roomCard--location):not(.roomCard--balance):not(.roomCard--chart)::before,
.roomHomeStack > .roomHomeCard.roomCard:not(.roomCard--todayStep):not(.roomCard--todayDayEntry):not(.roomCard--chapter):not(.roomCard--location):not(.roomCard--balance):not(.roomCard--goldPlan):not(.roomCard--chart)::after {
  display: none;
}

.roomHomeCard {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roomHomeCard__content {
  position: relative;
  z-index: 2;
}

.roomHomeCard__visual {
  position: relative;
  overflow: hidden;
}

.roomHomeCard__actions {
  position: relative;
  z-index: 2;
}

/* 1. 現在地 — カード全面に地図背景 */
.roomHomeCard.roomCard--location {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(9.8rem, 27vh, 11.8rem);
  gap: 0;
}

.roomHomeCard.roomCard--mapHero .roomLocMedia,
.roomHomeCard.roomCard--mapHero .roomLocationActions,
.roomHomeCard.roomCard--mapHero .roomLocationLead,
.roomHomeCard.roomCard--mapHero .roomPrimaryCompass,
.roomHomeCard.roomCard--mapHero .roomCardEyebrow {
  display: none;
}

.roomHomeStack .roomHomeCard.roomCard--location::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--room-map-card-bg) var(--room-map-card-bg-position, 72% 44%) /
    var(--room-map-card-bg-size, cover) no-repeat;
  pointer-events: none;
}

.roomHomeStack .roomHomeCard.roomCard--mapHero::before {
  filter: saturate(1.12) contrast(1.12) brightness(1.05);
}

.roomScreen:not([data-ui-theme="clear"]) .roomHomeCard.roomCard--mapHero {
  border-color: color-mix(in srgb, var(--room-gold) 16%, transparent);
  box-shadow:
    inset 0 0 0 1px rgba(156, 138, 99, 0.08),
    0 6px 22px rgba(0, 0, 0, 0.38);
}

.roomScreen:not([data-ui-theme="clear"]) .roomMapHeroMeterFill {
  background: linear-gradient(90deg, #3d3424 0%, #7a6640 38%, #9c8a63 68%, #c4b082 100%);
}

.roomHomeStack .roomHomeCard.roomCard--location::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--room-map-card-overlay);
}

.roomHomeCard.roomCard--location .roomHomeCard__content,
.roomHomeCard.roomCard--location .roomHomeCard__actions {
  position: relative;
  z-index: 2;
}

.roomScreen[data-ui-theme="clear"] .roomHomeCard.roomCard--mapHero {
  background-color: #f4f1ea;
}

.roomScreen[data-ui-theme="clear"] .roomMapHeroCodeLine,
.roomScreen[data-ui-theme="clear"] .roomMapHeroStage,
.roomScreen[data-ui-theme="clear"] .roomMapHeroFocus {
  text-shadow: none;
}

.roomScreen[data-ui-theme="clear"] .roomMapHeroMeter {
  background: color-mix(in srgb, var(--room-border) 70%, transparent);
  border-color: color-mix(in srgb, var(--room-gold) 22%, transparent);
  box-shadow: none;
}

.roomScreen[data-ui-theme="clear"] .roomMapUpdateBtn {
  box-shadow: none;
}

.roomScreen[data-ui-theme="clear"] .roomHomeStack .roomHomeCard.roomCard--mapHero::before {
  filter: none;
}

.roomHomeCard.roomCard--location .roomLocationContent {
  display: block;
  padding: clamp(0.32rem, 1.4vh, 0.4rem) 0.52rem clamp(0.2rem, 0.9vh, 0.26rem);
}

.roomHomeCard.roomCard--location .roomLocationLead {
  margin: clamp(0.12rem, 0.6vh, 0.18rem) 0 0;
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.03em;
  color: rgba(207, 201, 190, 0.78);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.roomHomeCard.roomCard--location .roomLocationVisual {
  display: none;
}

.roomLocationActions {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(0.18rem, 0.85vh, 0.24rem) 0.52rem clamp(0.3rem, 1.15vh, 0.38rem);
}

.roomHomeCard.roomCard--location .roomBtn--map {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: clamp(6.8rem, 42vw, 8rem);
  max-width: 72%;
  box-sizing: border-box;
  margin: 0 auto;
  min-height: 1.65rem;
  padding: 0.28rem 0.42rem;
  font-size: 0.58rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(168, 148, 106, 0.34);
  border-radius: 3px;
  overflow: visible;
  background: rgba(8, 10, 14, 0.55);
  background-image: none;
  color: rgba(236, 212, 152, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  filter: none;
  text-shadow: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.roomHomeCard.roomCard--location .roomBtn--map:hover {
  border: 1px solid rgba(168, 148, 106, 0.48);
  background: rgba(12, 14, 18, 0.72);
  background-image: none;
  box-shadow: none;
  filter: none;
}

.roomHomeCard.roomCard--location .roomBtn--map:active {
  background: rgba(6, 8, 12, 0.82);
  filter: none;
}

.roomHomeCard.roomCard--location .roomLocationTop,
.roomHomeCard.roomCard--location .roomLocationBottom {
  display: none;
}

/* 2. 今日のSTEP — 横長2カラム / 黒×金×古地図トーン */
.roomHomeCard.roomCard--todayStep {
  padding: 0;
  overflow: hidden;
  background: #020304;
}

.roomHomeCard.roomCard--todayStep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background: url("../assets/room-step-card-bg.png") 96% 50% / cover no-repeat;
  pointer-events: none;
  mask-image: none;
  -webkit-mask-image: none;
}

.roomHomeCard.roomCard--todayStep::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 3, 5, 0.78) 0%,
    rgba(2, 3, 5, 0.52) 36%,
    rgba(2, 3, 5, 0.14) 58%,
    transparent 100%
  );
  mask-image: none;
  -webkit-mask-image: none;
}

.roomHomeCard.roomCard--todayStep.roomCard--todayStepBoosted {
  border-color: rgba(168, 148, 106, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(196, 176, 130, 0.1),
    0 0 0 1px rgba(196, 176, 130, 0.08),
    0 4px 22px rgba(0, 0, 0, 0.52);
}

.roomTodayStepLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(0.28rem, 1.2vh, 0.4rem) clamp(0.32rem, 1.4vh, 0.44rem);
  align-items: center;
  padding: clamp(0.46rem, 1.8vh, 0.54rem) 0.52rem;
  min-height: clamp(4.2rem, 15vh, 5.2rem);
  position: relative;
  z-index: 2;
}

.roomHomeCard.roomCard--todayStep .roomTodayStepTitle {
  margin-bottom: clamp(0.16rem, 0.7vh, 0.22rem);
  color: rgba(236, 212, 152, 0.96);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.roomHomeCard.roomCard--todayStep .roomTodayStepFactLabel {
  color: rgba(168, 148, 106, 0.74);
}

.roomHomeCard.roomCard--todayStep .roomTodayStepFactValue,
.roomHomeCard.roomCard--todayStep .roomTodayStepNote {
  color: rgba(232, 228, 220, 0.9);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
}

.roomHomeCard.roomCard--todayStep .roomStepThreeProgress {
  color: rgba(236, 212, 152, 0.92);
}

.roomHomeCard.roomCard--todayStep.roomCard--todayStepBoosted .roomStepThreeProgress,
.roomHomeCard.roomCard--todayStep .roomStepThreeStatus--boosted {
  color: rgba(232, 200, 120, 0.88);
}

.roomTodayStepFacts {
  list-style: none;
  margin: clamp(0.12rem, 0.6vh, 0.18rem) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.55vh, 0.16rem);
}

.roomTodayStepFact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.18rem 0.32rem;
  font-size: 0.58rem;
  line-height: 1.5;
}

.roomTodayStepFactLabel {
  color: var(--room-muted);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.roomTodayStepFactValue {
  color: rgba(232, 228, 220, 0.88);
  letter-spacing: 0.03em;
}

.roomTodayStepFact--status {
  display: block;
}

.roomTodayStepFact--status .roomStepThreeStatus {
  margin: 0;
}

.roomHomeCard.roomCard--todayStep .roomHomeCard__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(7.2rem, 42vw, 8.8rem);
}

.roomHomeCard.roomCard--todayStep .roomStepThreeBtn {
  width: clamp(7.2rem, 42vw, 8.8rem);
  min-width: clamp(7.2rem, 42vw, 8.8rem);
  max-width: 8.8rem;
  aspect-ratio: 1024 / 341;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0 0.42rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.6rem, 2.5vw, 0.66rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: none;
  border-radius: var(--home-r-btn);
  overflow: hidden;
  background-color: transparent;
  background-image: url("../assets/room-step-btn-parchment-bg.png");
  background-repeat: no-repeat;
  background-position: center 50%;
  background-size: 102% 148%;
  color: rgba(26, 18, 8, 0.92);
  box-shadow:
    inset 0 0 0 1px var(--home-btn-frame-outer),
    inset 0 0 0 2px var(--home-btn-frame-in);
  filter: brightness(0.92) saturate(0.94);
  text-shadow: 0 1px 0 rgba(252, 244, 220, 0.22);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.roomHomeCard.roomCard--todayStep .roomStepThreeBtn:hover {
  border: none;
  background-image: url("../assets/room-step-btn-parchment-bg.png");
  background-size: 102% 148%;
  box-shadow:
    inset 0 0 0 1px rgba(52, 38, 20, 0.76),
    inset 0 0 0 2px rgba(168, 148, 106, 0.26);
  filter: brightness(0.95) saturate(0.96);
}

.roomTurtleStepLead {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--room-muted);
}

.roomTurtleStepBody {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--room-text);
  white-space: pre-line;
}

.roomTurtleStepJournal {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(201, 169, 98, 0.14);
}

.roomTurtleJournalTitle {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--room-gold);
}

.roomTurtleJournalLead {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--room-muted);
}

.roomTurtleJournalInput {
  display: block;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--room-text);
  font-family: inherit;
  font-size: 0.76rem;
  line-height: 1.45;
  resize: vertical;
}

.roomTurtleStepSaved {
  margin: 0.65rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--room-gold);
}

.roomHomeCard.roomCard--todayStep .roomStepThreeBtn:active {
  border: none;
  background-image: url("../assets/room-step-btn-parchment-bg.png");
  background-size: 102% 148%;
  box-shadow:
    inset 0 0 0 1px var(--home-btn-frame-outer),
    inset 0 0 0 2px var(--home-btn-frame-in);
  filter: brightness(0.88) saturate(0.92);
}

/* HOME 今日のDAY — 入口カード */
.roomHomeCard.roomCard--todayDayEntry {
  padding: clamp(0.46rem, 1.8vh, 0.54rem) 0.52rem;
  background: #020304;
  gap: 0.36rem;
}

.roomHomeCard.roomCard--todayDayEntry::before,
.roomHomeCard.roomCard--todayDayEntry::after {
  display: none;
}

.roomTodayDayEntryTitle {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: clamp(0.82rem, 2.6vw, 0.92rem);
  letter-spacing: 0.06em;
  color: var(--room-gold);
  text-align: center;
}

.roomTodayDayEntrySeries,
.roomTodayDayEntryDayLine,
.roomTodayDayEntryThemeLabel,
.roomTodayDayEntryTheme,
.roomTodayDayEntryForces {
  margin: 0 0 0.22rem;
  font-size: clamp(0.58rem, 2vw, 0.64rem);
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.88);
  text-align: center;
}

.roomTodayDayEntryDayLine {
  color: rgba(236, 212, 152, 0.92);
}

.roomHomeCard.roomCard--todayDayEntry .roomHomeCard__actions {
  display: flex;
  justify-content: center;
  padding-top: 0.12rem;
}

.roomHomeCard.roomCard--todayDayEntry .roomTodayDayRoomBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 1.65rem;
  padding: 0.28rem 0.42rem;
  border-radius: 3px;
  background: rgba(8, 10, 14, 0.55);
  border: 1px solid rgba(168, 148, 106, 0.34);
  color: rgba(236, 212, 152, 0.92);
}

.roomHomeCard.roomCard--todayDayEntry .roomTodayDayRoomBtn:hover {
  border-color: rgba(168, 148, 106, 0.48);
  background: rgba(12, 14, 18, 0.72);
}

.roomStoryScreen {
  padding: 0.8rem 0.52rem 1.2rem;
}

.roomStoryScreenTitle {
  margin: 0 0 0.4rem;
  font-family: "Cinzel", serif;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--room-gold);
}

.roomStoryScreenLead {
  margin: 0 0 0.52rem;
  font-size: 0.62rem;
  line-height: 1.65;
  color: rgba(236, 230, 220, 0.88);
}

.roomStoryShelf {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
}

.roomStoryShelfSection {
  margin-bottom: 0.56rem;
}

.roomStoryShelfSectionTitle {
  margin: 0 0 0.32rem;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.82);
}

.roomStoryShelfSection + .roomStoryShelfSection {
  padding-top: 0.12rem;
  border-top: 1px solid rgba(168, 148, 106, 0.1);
}

.roomStoryCardRatings {
  margin: 0.22rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.roomStoryCardRatingRow {
  margin: 0;
  font-size: 0.52rem;
  line-height: 1.5;
  color: rgba(236, 230, 220, 0.82);
}

.roomStoryCardRatingLabel {
  margin-right: 0.12rem;
  color: rgba(196, 176, 130, 0.78);
}

.roomStoryStar {
  color: rgba(120, 128, 140, 0.55);
  font-size: 0.52rem;
}

.roomStoryStar--on {
  color: rgba(236, 212, 152, 0.92);
}

.roomStoryCardAfter30 {
  margin: 0.22rem 0 0;
  padding-top: 0.22rem;
  border-top: 1px solid rgba(168, 148, 106, 0.1);
  font-size: 0.54rem;
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.82);
}

.roomStoryCardAfter30Label {
  display: block;
  margin-bottom: 0.08rem;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.78);
}

.roomStoryCardPendingPanel {
  margin-top: 0.24rem;
  padding: 0.28rem 0.32rem;
  border: 1px dashed rgba(168, 148, 106, 0.22);
  border-radius: 4px;
  background: rgba(8, 10, 14, 0.42);
}

.roomStoryCardPendingText {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.82);
}

.roomStoryCard--locked .roomStoryCardStatus {
  color: rgba(236, 212, 152, 0.95);
  background: linear-gradient(90deg, rgba(168, 148, 106, 0.28), rgba(196, 176, 130, 0.14));
  border-color: rgba(196, 176, 130, 0.32);
}

.roomStoryCard--tier-gold,
.roomStoryCard--tier-platinum {
  border-color: rgba(196, 176, 130, 0.28);
}

.roomStoryCardDetailBtn {
  min-height: 1.65rem;
  padding: 0.28rem 0.42rem;
  border-radius: 3px;
}

.roomStoryCard {
  position: relative;
  padding: 0.52rem 0.48rem 0.56rem;
  border: 1px solid rgba(168, 148, 106, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.92) 0%, rgba(4, 5, 8, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.06);
}

.roomStoryCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 176, 130, 0.42), transparent);
}

.roomStoryCardStatus {
  display: inline-block;
  margin-bottom: 0.28rem;
  padding: 0.08rem 0.28rem;
  border-radius: 999px;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  color: rgba(236, 230, 220, 0.82);
  background: rgba(168, 148, 106, 0.1);
  border: 1px solid rgba(168, 148, 106, 0.18);
}

.roomStoryCard--member .roomStoryCardStatus {
  color: rgba(236, 212, 152, 0.95);
  background: linear-gradient(90deg, rgba(168, 148, 106, 0.22), rgba(196, 176, 130, 0.12));
  border-color: rgba(196, 176, 130, 0.28);
}

.roomStoryCard--soon .roomStoryCardStatus {
  color: rgba(180, 188, 198, 0.78);
  background: transparent;
  border: 1px dashed rgba(168, 148, 106, 0.22);
}

.roomStoryCardTitle {
  margin: 0 0 0.18rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--room-gold);
}

.roomStoryCardSubtitle,
.roomStoryCardBody {
  margin: 0 0 0.24rem;
  font-size: 0.58rem;
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.86);
}

.roomStoryCardBody {
  padding-top: 0.22rem;
  border-top: 1px solid rgba(168, 148, 106, 0.12);
}

.roomStoryCardCompass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  margin: 0.28rem 0;
  padding: 0.28rem 0.32rem;
  border: 1px solid rgba(168, 148, 106, 0.14);
  border-radius: 4px;
  background: rgba(8, 10, 14, 0.42);
}

.roomStoryCardCompassLabel {
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.78);
}

.roomStoryCompassTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.18rem;
}

.roomStoryCompassTag {
  padding: 0.12rem 0.28rem;
  border-radius: 999px;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(236, 212, 152, 0.9);
  background: rgba(168, 148, 106, 0.12);
  border: 1px solid rgba(168, 148, 106, 0.2);
}

.roomStoryCard--soon .roomStoryCompassTag {
  color: rgba(180, 188, 198, 0.72);
  background: rgba(120, 128, 140, 0.08);
  border-color: rgba(120, 128, 140, 0.16);
}

.roomStoryCardActions {
  display: flex;
  justify-content: center;
  margin-top: 0.28rem;
}

.roomStoryCardRoomBtn {
  min-height: 1.65rem;
  padding: 0.28rem 0.42rem;
  border-radius: 3px;
}

.roomStoryTabScreen {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.roomStoryTabSection {
  margin: 0;
}

.roomStoryTabSection + .roomStoryTabSection {
  padding-top: 0.56rem;
  border-top: 1px solid rgba(168, 148, 106, 0.12);
}

.roomStoryTabSectionTitle {
  margin: 0 0 0.4rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--room-gold);
}

.roomStoryTabActiveCard,
.roomStoryTabNearCard,
.roomStoryTabListCard,
.roomStoryTabReportCard {
  position: relative;
  padding: 0.56rem 0.52rem 0.6rem;
  border: 1px solid rgba(168, 148, 106, 0.22);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.92) 0%, rgba(4, 5, 8, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.06);
  text-align: center;
}

.roomStoryTabActiveCard::before,
.roomStoryTabNearCard::before,
.roomStoryTabListCard::before,
.roomStoryTabReportCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 176, 130, 0.42), transparent);
}

.roomStoryTabActiveTitle,
.roomStoryTabNearTitle,
.roomStoryTabListTitle,
.roomStoryTabReportTitle {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--room-gold);
}

.roomStoryTabActiveDay {
  margin: 0 0 0.36rem;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.86);
}

.roomStoryTabActiveCard--empty {
  text-align: center;
  padding: 0.84rem 0.64rem 0.92rem;
}

.roomStoryTabActiveEmptyTitle {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  color: var(--room-gold);
}

.roomStoryTabActiveEmptyBody {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.65;
  color: rgba(236, 230, 220, 0.78);
}

.roomStoryTabActiveStats,
.roomStoryTabReportStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
  margin-bottom: 0.36rem;
}

.roomStoryTabActiveStat,
.roomStoryTabReportStat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.28rem 0.24rem;
  border: 1px solid rgba(168, 148, 106, 0.14);
  border-radius: 4px;
  background: rgba(8, 10, 14, 0.42);
  text-align: center;
}

.roomStoryTabActiveStatLabel,
.roomStoryTabReportStatLabel {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.78);
}

.roomStoryTabActiveStatValue,
.roomStoryTabReportStatValue {
  font-size: 0.58rem;
  color: rgba(236, 230, 220, 0.92);
}

.roomStoryTabNearGrid,
.roomStoryTabCompletedGrid,
.roomStoryTabList {
  display: flex;
  flex-direction: column;
  gap: 0.44rem;
}

.roomStoryTabNearBody {
  margin: 0 0 0.28rem;
  font-size: 0.58rem;
  line-height: 1.6;
  color: rgba(236, 230, 220, 0.86);
}

.roomStoryTabChipGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
}

.roomStoryTabChip {
  min-height: 1.7rem;
  padding: 0.28rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(168, 148, 106, 0.22);
  background: rgba(8, 10, 14, 0.58);
  color: rgba(236, 230, 220, 0.9);
  font-size: 0.54rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: center;
}

.roomStoryTabListMeta {
  margin: 0 0 0.28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14rem;
}

.roomStoryTabListMetaInline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2rem 0.52rem;
  width: 100%;
}

.roomStoryTabListMetaRow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  width: 100%;
  text-align: center;
}

.roomStoryTabListMetaRow--inline {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.1rem;
  width: auto;
}

.roomStoryTabListMetaRow dt {
  margin: 0;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.78);
  text-align: center;
}

.roomStoryTabListMetaRow dd {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.5;
  color: rgba(236, 230, 220, 0.88);
  text-align: center;
}

.roomStoryTabCardActions {
  display: flex;
  justify-content: center;
  margin-top: 0.28rem;
}

.roomStoryTabScreen .roomStoryCardCompass {
  align-items: center;
  text-align: center;
}

.roomStoryTabScreen .roomStoryCardCompassLabel {
  text-align: center;
}

.roomStoryTabSkeletonBtn {
  min-height: 1.65rem;
  padding: 0.28rem 0.42rem;
  border-radius: 3px;
}

.roomStoryTabDetailOverlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.72rem 0.48rem calc(96px + env(safe-area-inset-bottom, 0px));
  background: rgba(2, 4, 8, 0.72);
  backdrop-filter: blur(4px);
}

.roomStoryTabDetailOverlay[hidden] {
  display: none;
}

.roomStoryTabDetailModal {
  width: min(100%, 24rem);
  max-height: min(82vh, 38rem);
  overflow: auto;
  scroll-padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border: 1px solid rgba(168, 148, 106, 0.28);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.98) 0%, rgba(4, 5, 8, 0.99) 100%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(196, 176, 130, 0.08);
}

.roomStoryTabDetailContent {
  padding: 0.72rem 0.6rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
}

.roomStoryTabDetailTitle {
  margin: 0 0 0.36rem;
  font-family: "Cinzel", serif;
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--room-gold);
}

.roomStoryTabDetailSubtitle {
  margin: 0 0 0.56rem;
  font-size: 0.58rem;
  line-height: 1.65;
  color: rgba(236, 230, 220, 0.88);
}

.roomStoryTabDetailBlock {
  margin-bottom: 0.56rem;
  padding-top: 0.44rem;
  border-top: 1px solid rgba(168, 148, 106, 0.12);
}

.roomStoryTabDetailBlockTitle {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.86);
}

.roomStoryTabDetailParagraph {
  margin: 0;
  font-size: 0.58rem;
  line-height: 1.65;
  color: rgba(236, 230, 220, 0.9);
}

.roomStoryTabDetailList {
  margin: 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.roomStoryTabDetailList li {
  font-size: 0.56rem;
  line-height: 1.6;
  color: rgba(236, 230, 220, 0.88);
}

.roomStoryTabDetailDays {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
}

.roomStoryTabDetailDayRow {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.28rem;
  align-items: start;
  padding: 0.28rem 0.32rem;
  border: 1px solid rgba(168, 148, 106, 0.12);
  border-radius: 4px;
  background: rgba(8, 10, 14, 0.42);
}

.roomStoryTabDetailDayLabel {
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.82);
}

.roomStoryTabDetailDayText {
  font-size: 0.56rem;
  line-height: 1.55;
  color: rgba(236, 230, 220, 0.9);
}

.roomStoryTabDetailActions {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-top: 0.64rem;
  padding-top: 0.48rem;
  padding-bottom: 0.32rem;
  border-top: 1px solid rgba(168, 148, 106, 0.14);
}

.roomStoryTabDetailStartBtn,
.roomStoryTabDetailCloseBtn {
  min-height: 1.8rem;
  width: 100%;
}

/* 3. 8 COMPASS — HOME: グラフ主役・余白整理（枠は横長コンパクト維持） */
.roomHomeCard.roomCard--balance {
  position: relative;
  padding: 0;
  min-height: clamp(9.6rem, 27vh, 11.4rem);
  max-height: none;
  overflow: hidden;
  background: #020304;
}

.roomHomeStack .roomHomeCard.roomCard--balance::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background: url("../assets/room-compass-home-bg.png?v=002") center 50% / cover no-repeat;
  pointer-events: none;
}

.roomHomeStack .roomHomeCard.roomCard--balance::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 74% 72% at 50% 46%,
      rgba(2, 3, 5, 0.5) 0%,
      rgba(2, 3, 5, 0.22) 50%,
      rgba(2, 3, 5, 0.08) 100%
    );
}

.roomHomeCard.roomCard--balance .roomHomeCard__content,
.roomHomeCard.roomCard--balance .roomHomeCard__visual {
  position: relative;
  z-index: 2;
}

.roomHomeStack .roomHomeCard.roomCard--balance .roomCardHeadRow .roomDetailLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0.18rem 0.34rem;
  border: 1px solid rgba(168, 148, 106, 0.34);
  border-radius: 3px;
  background: rgba(8, 10, 14, 0.55);
  color: rgba(236, 212, 152, 0.92);
  font-size: 0.54rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  cursor: pointer;
}

.roomHomeStack .roomHomeCard.roomCard--balance .roomCardHeadRow .roomDetailLink:hover {
  border-color: rgba(168, 148, 106, 0.48);
  background: rgba(12, 14, 18, 0.72);
}

.roomHomeCard.roomCard--balance .roomHomeCard__content {
  padding: clamp(0.2rem, 0.85vh, 0.26rem) 0.44rem 0;
}

.roomHomeStack .roomHomeCard.roomCard--balance .roomCardHeadRow {
  margin-bottom: -0.08rem;
}

.roomHomeCard.roomCard--balance .roomHomeCard__visual {
  overflow: visible;
}

.roomBalanceVisual {
  position: relative;
  flex: 1;
  min-height: clamp(4.8rem, 14vh, 6.2rem);
  max-height: 17vh;
  overflow: hidden;
}

.roomHomeStack .roomBalanceVisual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(8rem, 23.5vh, 10rem);
  max-height: none;
  overflow: visible;
}

.roomBalanceVisualBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.roomHomeStack .roomBalanceVisualBg::before,
.roomHomeStack .roomBalanceVisualBg::after {
  display: none;
}

.roomHomeCard.roomCard--balance .roomBalanceContent--home {
  position: relative;
  z-index: 1;
  padding: 0 0.1rem 0 0.14rem;
  width: 100%;
}

.roomHomeStack .roomBalanceVisual .roomRadarBlock {
  margin: -0.52rem 0 -0.18rem;
  transform: translateY(-0.52rem);
}

.roomHomeStack .roomBalanceVisual .roomOctRadar {
  max-height: none;
  width: 100%;
  transform: scale(0.94);
  transform-origin: center center;
}

.roomHomeStack .roomBalanceVisual .roomCompassLegend {
  margin-top: -0.48rem;
  padding: 0 0.02rem 0.04rem;
  gap: 0.06rem 0.16rem;
  font-size: 0.46rem;
  border-top: none;
}

.roomHomeStack .roomBalanceVisual .roomCompassLegend .roomLegendItem {
  font-size: 0.46rem;
}

/* 4. 第1章｜地図を育てる — 横長進捗（約17%相当） */
.roomCard--chapter {
  padding: 0;
  overflow: hidden;
}

.roomHomeCard.roomCard--chapter {
  position: relative;
  overflow: hidden;
}

.roomHomeCard.roomCard--chapter::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../assets/room-chapter-path-bg.png") 92% 50% / cover no-repeat;
  opacity: 0.68;
}

.roomHomeCard.roomCard--chapter::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 3, 5, 0.97) 0%,
    rgba(2, 3, 5, 0.9) 36%,
    rgba(2, 3, 5, 0.52) 58%,
    rgba(2, 3, 5, 0.18) 78%,
    rgba(2, 3, 5, 0.08) 100%
  );
}

.roomHomeCard.roomCard--chapter .roomChapterBody,
.roomHomeCard.roomCard--chapter .roomChapterStreak {
  position: relative;
  z-index: 1;
}

.roomChapterBody {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.55fr);
  align-items: stretch;
  min-height: clamp(5rem, 15vh, 6.4rem);
}

.roomChapterContent {
  padding: clamp(0.34rem, 1.3vh, 0.4rem) 0.48rem clamp(0.22rem, 0.9vh, 0.28rem);
}

.roomHomeCard.roomCard--chapter .roomChapterContent h2,
.roomHomeCard.roomCard--chapter .roomChapterResolutionLabel,
.roomHomeCard.roomCard--chapter .roomChapterResolutionValue,
.roomHomeCard.roomCard--chapter .roomChapterNote,
.roomHomeCard.roomCard--chapter .roomChapterMilestone {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.82);
}

.roomHomeCard.roomCard--chapter .roomChapterStreakLabel,
.roomHomeCard.roomCard--chapter .roomChapterStreakValue {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
}

.roomChapterContent h2 {
  margin: 0 0 clamp(0.14rem, 0.6vh, 0.2rem);
  font-size: 0.72rem;
}

.roomChapterResolution {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: clamp(0.12rem, 0.5vh, 0.16rem);
}

.roomChapterResolutionLabel {
  font-size: 0.56rem;
  color: var(--room-muted);
  letter-spacing: 0.04em;
}

.roomChapterResolutionValue {
  font-family: "Cinzel", serif;
  font-size: clamp(1.05rem, 3.2vh, 1.2rem);
  font-weight: 600;
  color: var(--room-gold);
  letter-spacing: 0.02em;
  line-height: 1;
}

.roomChapterProgress {
  margin-bottom: clamp(0.12rem, 0.5vh, 0.18rem);
}

.roomChapterProgressBar {
  position: relative;
  height: clamp(0.24rem, 0.9vh, 0.28rem);
  border-radius: 2px;
  background: rgba(156, 138, 99, 0.12);
  overflow: visible;
}

.roomChapterProgressFill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(156, 138, 99, 0.35),
    rgba(232, 200, 120, 0.72)
  );
}

.roomChapterProgressMarker {
  position: absolute;
  top: -0.12rem;
  width: 1px;
  height: calc(100% + 0.24rem);
  background: rgba(232, 200, 120, 0.45);
  transform: translateX(-50%);
}

.roomChapterMilestone {
  margin: clamp(0.1rem, 0.4vh, 0.14rem) 0 0;
  font-size: 0.52rem;
  color: rgba(207, 201, 190, 0.72);
  letter-spacing: 0.03em;
}

.roomChapterNote {
  margin: 0;
  font-size: 0.52rem;
  line-height: 1.48;
  color: rgba(207, 201, 190, 0.72);
  letter-spacing: 0.03em;
}

.roomChapterVisual {
  min-height: 100%;
  background: transparent;
}

.roomHomeCard.roomCard--chapter .roomChapterVisual {
  background: transparent;
}

.roomChapterStreak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: clamp(0.24rem, 0.9vh, 0.3rem) 0.5rem clamp(0.26rem, 1vh, 0.32rem);
  border-top: 1px solid rgba(156, 138, 99, 0.1);
}

.roomChapterStreakLabel {
  font-size: 0.54rem;
  color: var(--room-muted);
  letter-spacing: 0.04em;
}

.roomChapterStreakValue {
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  color: var(--room-gold);
  letter-spacing: 0.03em;
}

/* 5. MINATO GOLD PLAN */
.roomCard--goldPlan {
  padding: 0;
}

.roomGoldPlanHead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.32rem;
  margin-bottom: clamp(0.1rem, 0.4vh, 0.16rem);
}

.roomGoldPlanHead h2 {
  margin: 0;
  font-size: 0.72rem;
  text-align: left;
}

.roomGoldPlanBadge {
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  padding: 0.1rem 0.32rem;
  border: 1px solid rgba(168, 148, 106, 0.32);
  border-radius: 2px;
  color: var(--room-gold);
  background: rgba(168, 148, 106, 0.06);
}

.roomGoldPlanBody {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.48;
  color: rgba(207, 201, 190, 0.78);
}

.roomHomeCard.roomCard--goldPlan {
  display: block;
  padding: clamp(0.46rem, 1.8vh, 0.54rem) 0.52rem;
  min-height: clamp(4.2rem, 15vh, 5.2rem);
  max-height: none;
  position: relative;
  overflow: hidden;
  background: #020304;
}

.roomHomeStack .roomHomeCard.roomCard--goldPlan::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background: url("../assets/room-gold-plan-home-bg.png?v=001") 88% 50% / cover no-repeat;
  pointer-events: none;
}

.roomHomeStack .roomHomeCard.roomCard--goldPlan::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(2, 3, 5, 0.82) 0%,
    rgba(2, 3, 5, 0.58) 34%,
    rgba(2, 3, 5, 0.16) 54%,
    transparent 72%
  );
}

.roomHomeCard.roomCard--goldPlan .roomHomeCard__content,
.roomHomeCard.roomCard--goldPlan .roomHomeCard__actions {
  position: relative;
  z-index: 2;
}

.roomHomeCard.roomCard--goldPlan .roomHomeCard__content {
  max-width: 58%;
}

.roomHomeStack .roomHomeCard.roomCard--goldPlan .roomGoldPlanHead h2 {
  color: rgba(236, 212, 152, 0.96);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
  text-align: left;
}

.roomHomeStack .roomHomeCard.roomCard--goldPlan .roomGoldPlanBody {
  color: rgba(232, 228, 220, 0.88);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.78);
}

.roomGoldPlanVisual {
  width: clamp(2.6rem, 9vw, 3.1rem);
  height: clamp(2.6rem, 9vw, 3.1rem);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roomGoldPlanVisual .roomAsset--shoe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(0.9) saturate(0.82);
}

.roomHomeCard.roomCard--goldPlan .roomGoldPlanVisual {
  display: none;
}

.roomHomeCard.roomCard--goldPlan .roomGoldPlanVisual .roomAsset--shoe {
  display: none;
}

.roomHomeCard.roomCard--goldPlan .roomHomeCard__actions {
  display: none;
}

.roomHomeCard.roomCard--goldPlan .roomBtn--goldLead {
  width: auto;
  white-space: nowrap;
  font-size: 0.54rem;
  padding: 0.34rem 0.42rem;
}

a.roomBtn.roomBtn--goldLead {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   ROOM タブ — ハブ画面
   ============================================================ */

.roomRoomHubScreen {
  padding: 0.18rem 0.1rem 1.1rem;
}

.roomRoomHubScreenTitle {
  margin: 0 0 0.52rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  color: var(--room-gold);
}

.roomRoomHubStack {
  display: flex;
  flex-direction: column;
  gap: 0.46rem;
}

.roomRoomHubCard {
  position: relative;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 0.42rem;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.92) 0%,
    rgba(4, 6, 9, 0.96) 100%
  );
  padding: 0.52rem 0.58rem;
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.08);
}

.roomRoomHubCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0.58rem;
  right: 0.58rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(196, 176, 130, 0.42),
    transparent
  );
}

.roomRoomHubCard--map,
.roomRoomHubCard--story,
.roomRoomHubCard--oneAction {
  border-color: rgba(168, 148, 106, 0.34);
}

.roomRoomHubMapEyebrow,
.roomRoomHubStoryEyebrow,
.roomRoomHubDaysEyebrow {
  margin: 0 0 0.28rem;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.82);
}

.roomRoomHubMapCompass {
  margin: 0 0 0.36rem;
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(236, 230, 220, 0.96);
}

.roomRoomHubMapFooter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.28rem 0.52rem;
  padding-top: 0.34rem;
  border-top: 1px solid rgba(156, 138, 99, 0.14);
}

.roomRoomHubMapResolution {
  margin: 0;
  font-size: 0.54rem;
  color: rgba(207, 201, 190, 0.88);
}

.roomRoomHubMapResolutionLabel {
  color: rgba(207, 201, 190, 0.72);
}

.roomRoomHubMapResolutionValue {
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  color: var(--room-gold);
}

.roomRoomHubMapStage {
  margin: 0;
  font-size: 0.5rem;
  color: rgba(207, 201, 190, 0.72);
}

.roomRoomHubStoryTitle {
  margin: 0 0 0.24rem;
  font-family: "Cinzel", serif;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(236, 230, 220, 0.96);
}

.roomRoomHubCard--story {
  text-align: center;
}

.roomRoomHubCard--story .roomRoomHubStoryTitle {
  font-size: calc(0.76rem * 1.15);
}

.roomRoomHubStorySub {
  margin: 0 0 0.36rem;
  font-size: 0.56rem;
  line-height: 1.72;
  color: rgba(207, 201, 190, 0.78);
}

.roomRoomHubStoryCompass {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  padding: 0.36rem 0.42rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 0.34rem;
  background: rgba(2, 3, 5, 0.42);
}

.roomRoomHubStoryCompassLabel {
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.78);
}

.roomRoomHubStoryCompassTags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28rem;
}

.roomRoomHubStoryCompassTag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.32rem;
  border: 1px solid rgba(168, 148, 106, 0.34);
  border-radius: 999px;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(236, 230, 220, 0.9);
}

.roomRoomHubDayList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.roomRoomHubDayItem {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.34rem;
  padding: 0.4rem 0.42rem;
  border: 1px solid rgba(156, 138, 99, 0.1);
  border-radius: 0.32rem;
  background: rgba(2, 3, 5, 0.28);
  cursor: default;
}

.roomRoomHubDayItem--done {
  opacity: 0.88;
}

.roomRoomHubDayItem--locked {
  opacity: 0.58;
}

.roomRoomHubDayItem--today {
  position: relative;
  border-color: rgba(168, 148, 106, 0.42);
  background: linear-gradient(
    90deg,
    rgba(168, 148, 106, 0.12) 0%,
    rgba(8, 10, 14, 0.72) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(196, 176, 130, 0.08);
}

.roomRoomHubDayItem--today::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  bottom: 0.18rem;
  width: 2px;
  border-radius: 999px;
  background: rgba(196, 176, 130, 0.72);
}

.roomRoomHubDayNum {
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  color: rgba(196, 176, 130, 0.82);
}

.roomRoomHubDayTitle {
  font-size: 0.54rem;
  line-height: 1.45;
  color: rgba(236, 230, 220, 0.92);
}

.roomRoomHubDayItem--today .roomRoomHubDayNum,
.roomRoomHubDayItem--today .roomRoomHubDayTitle {
  color: rgba(244, 238, 228, 0.98);
}

.roomRoomHubDayStatus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.16rem 0.34rem;
  border-radius: 999px;
  font-size: 0.44rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.roomRoomHubDayStatus--done {
  border: 1px solid rgba(156, 138, 99, 0.24);
  background: rgba(8, 10, 14, 0.52);
  color: rgba(207, 201, 190, 0.78);
}

.roomRoomHubDayStatus--today {
  border: 1px solid rgba(168, 148, 106, 0.48);
  background: rgba(168, 148, 106, 0.18);
  color: rgba(244, 238, 228, 0.96);
}

.roomRoomHubDayStatus--locked {
  border: 1px solid rgba(156, 138, 99, 0.14);
  background: transparent;
  color: rgba(207, 201, 190, 0.52);
}

.roomRoomHubOneActionDay {
  margin: 0 0 0.18rem;
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.34rem;
  border: 1px solid rgba(168, 148, 106, 0.38);
  border-radius: 999px;
  font-size: 0.44rem;
  letter-spacing: 0.04em;
  color: rgba(196, 176, 130, 0.92);
}

.roomRoomHubActiveStoryHead {
  margin: 0 0 0.42rem;
  text-align: left;
}

.roomRoomHubActiveStoryEyebrow {
  margin: 0 0 0.12rem;
  font-size: 0.42rem;
  letter-spacing: 0.12em;
  color: rgba(196, 176, 130, 0.72);
}

.roomRoomHubActiveStoryTitle {
  margin: 0 0 0.28rem;
  font-size: 0.56rem;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: rgba(236, 230, 220, 0.94);
}

.roomRoomHubActiveStoryDayLine {
  margin: 0 0 0.18rem;
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.34rem;
  border: 1px solid rgba(168, 148, 106, 0.38);
  border-radius: 999px;
  font-size: 0.44rem;
  letter-spacing: 0.04em;
  color: rgba(196, 176, 130, 0.92);
}

.roomRoomHubActiveStoryDayTitle {
  margin: 0 0 0.32rem;
  font-size: calc(0.62rem * 1.15);
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(236, 230, 220, 0.96);
}

.roomRoomHubActiveStoryHead--stepOnly .roomRoomHubActiveStoryEyebrow {
  margin-bottom: 0.18rem;
}

.roomRoomHubActiveStoryHead--stepOnly .roomRoomHubActiveStoryDayTitle {
  margin-bottom: 0.36rem;
}

.roomRoomHubOneActionMaterialLink {
  display: inline-block;
  margin: 0 0 0.28rem;
  font-size: 0.46rem;
  line-height: 1.35;
  color: rgba(196, 176, 130, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.12rem;
}

.roomRoomHubOneActionTitle {
  margin: 0 0 0.32rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(236, 230, 220, 0.96);
}

.roomRoomHubCard--oneAction .roomRoomHubOneActionTitle {
  text-align: center;
  font-size: calc(0.62rem * 1.15);
}

.roomRoomHubCard--oneAction .roomRoomHubOneActionDay,
.roomRoomHubCard--oneAction .roomRoomHubOneActionMaterialLink {
  text-align: left;
}

.roomRoomHubSteps {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomRoomHubCard--oneAction .roomRoomHubStep {
  padding: 0.38rem 0.42rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 0.36rem;
  background: rgba(4, 6, 9, 0.42);
}

.roomRoomHubCard--oneAction .roomRoomHubStepLabel {
  margin: 0 0 0.22rem;
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(212, 192, 148, 0.94);
  text-align: center;
}

.roomRoomHubCard--oneAction .roomRoomHubStepBody {
  font-size: 0.54rem;
  line-height: 1.72;
  color: rgba(196, 190, 178, 0.78);
  text-align: center;
}

.roomRoomHubCard--oneAction .roomRoomHubStep--hard .roomRoomHubStepInput {
  text-align: left;
}

.roomRoomHubCard--oneAction .roomRoomHubCompletedStep {
  text-align: center;
}

.roomRoomHubCard--oneAction .roomRoomHubCompletedStepOptions {
  justify-content: center;
}

.roomRoomHubCard--oneAction .roomRoomHubStep--minato {
  margin-top: 0.06rem;
  padding: 0.44rem 0.46rem;
  border-color: rgba(201, 184, 138, 0.32);
  background: linear-gradient(
    180deg,
    rgba(201, 184, 138, 0.1) 0%,
    rgba(10, 9, 7, 0.62) 100%
  );
  box-shadow: inset 0 1px 0 rgba(228, 214, 180, 0.1);
}

.roomRoomHubCard--oneAction .roomRoomHubStep--minato .roomRoomHubStepLabel {
  color: rgba(228, 214, 180, 0.98);
  font-size: calc(0.5rem * 1.07);
}

.roomRoomHubCard--oneAction .roomRoomHubStep--minato .roomRoomHubStepBody {
  color: rgba(207, 201, 190, 0.86);
}

.roomRoomHubStep {
  padding: 0.34rem 0.38rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 0.32rem;
  background: rgba(4, 6, 9, 0.42);
}

.roomRoomHubStep--minato {
  border-color: rgba(168, 148, 106, 0.28);
  background: linear-gradient(
    180deg,
    rgba(168, 148, 106, 0.08) 0%,
    rgba(4, 6, 9, 0.5) 100%
  );
}

.roomRoomHubStepLabel {
  margin: 0 0 0.18rem;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.92);
}

.roomRoomHubStepBody {
  font-size: 0.54rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.9);
}

.roomRoomHubStepBody p {
  margin: 0 0 0.14rem;
}

.roomRoomHubStepBody p:last-child {
  margin-bottom: 0;
}

.roomRoomHubStep--hard .roomRoomHubStepBody p:last-of-type {
  margin-bottom: 0.22rem;
}

.roomRoomHubStepInput {
  display: block;
  width: 100%;
  min-height: 2.4rem;
  margin-top: 0.18rem;
  padding: 0.28rem 0.34rem;
  border: 1px solid rgba(156, 138, 99, 0.24);
  border-radius: 0.28rem;
  background: rgba(8, 10, 14, 0.82);
  color: rgba(236, 230, 220, 0.94);
  font-family: inherit;
  font-size: 0.52rem;
  line-height: 1.55;
  resize: vertical;
  box-sizing: border-box;
}

.roomRoomHubStepInput::placeholder {
  color: rgba(207, 201, 190, 0.42);
}

.roomRoomHubStepInput:focus {
  outline: none;
  border-color: rgba(168, 148, 106, 0.48);
}

.roomRoomHubCompletedStep {
  margin-top: 0.38rem;
  padding: 0.34rem 0.38rem;
  border: 1px solid rgba(156, 138, 99, 0.16);
  border-radius: 0.32rem;
  background: rgba(4, 6, 9, 0.42);
}

.roomRoomHubCompletedStepTitle {
  margin: 0 0 0.24rem;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.9);
}

.roomRoomHubCompletedStepOptions {
  display: flex;
  gap: 0.28rem;
}

.roomRoomHubCompletedStepOption {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  padding: 0.28rem 0.22rem;
  border: 1px solid rgba(156, 138, 99, 0.2);
  border-radius: 0.28rem;
  background: rgba(8, 10, 14, 0.62);
  cursor: pointer;
}

.roomRoomHubCompletedStepInput {
  margin: 0;
  accent-color: rgba(196, 176, 130, 0.88);
}

.roomRoomHubCompletedStepLabel {
  font-size: 0.46rem;
  letter-spacing: 0.05em;
  color: rgba(207, 201, 190, 0.9);
}

.roomRoomHubCompletedStepHint {
  margin: 0.22rem 0 0;
  min-height: 0.72rem;
  font-size: 0.46rem;
  line-height: 1.45;
  color: rgba(196, 176, 130, 0.82);
  visibility: hidden;
}

.roomRoomHubCompletedStepHint.is-visible {
  visibility: visible;
}

.roomRoomHubOneActionComplete {
  margin-top: 0.46rem;
  padding: 0.48rem 0 0.34rem;
  border-top: 1px solid rgba(156, 138, 99, 0.14);
  display: flex;
  justify-content: center;
}

.roomRoomHubCompleteBtn {
  min-width: 52%;
  min-height: 2.62rem;
  padding: 0.44rem 0.76rem;
  border-radius: 16px;
  border-color: rgba(201, 184, 138, 0.58);
  background:
    radial-gradient(
      ellipse 68% 95% at 50% 44%,
      rgba(201, 184, 138, 0.17) 0%,
      rgba(201, 184, 138, 0.05) 38%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(18, 16, 12, 0.9) 0%,
      rgba(8, 7, 6, 0.96) 52%,
      rgba(4, 4, 4, 0.98) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(228, 214, 180, 0.14),
    inset 0 10px 22px rgba(201, 184, 138, 0.05),
    0 2px 10px rgba(0, 0, 0, 0.4);
  color: rgba(236, 230, 220, 0.96);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.roomRoomHubCard--story .roomRoomHubShelfBtn {
  margin-top: 0.36rem;
}

.roomRoomHubCard--material {
  border-color: rgba(156, 138, 99, 0.16);
  background: rgba(4, 6, 9, 0.72);
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.04);
}

.roomRoomHubMaterialTitle {
  margin: 0 0 0.24rem;
  font-size: 0.56rem;
  color: rgba(236, 230, 220, 0.92);
}

.roomRoomHubMaterialKind {
  margin: 0 0 0.12rem;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.88);
}

.roomRoomHubMaterialTitleText {
  margin: 0 0 0.28rem;
  font-size: 0.54rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.86);
}

.roomRoomHubMaterialLink {
  display: inline-block;
  font-size: 0.5rem;
  color: rgba(196, 176, 130, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.12rem;
}

.roomRoomHubShelfTitle {
  margin: 0 0 0.24rem;
  font-size: 0.62rem;
  color: rgba(236, 230, 220, 0.94);
}

.roomRoomHubJournalTitle {
  margin: 0 0 0.24rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(236, 230, 220, 0.96);
}

.roomRoomHubJournalBody {
  margin: 0 0 0.36rem;
  font-size: 0.54rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.82);
}

.roomRoomHubJournalActions {
  display: flex;
  gap: 0.28rem;
}

.roomRoomHubJournalBtn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 1.92rem;
  padding: 0.28rem 0.34rem;
  border-color: rgba(156, 138, 99, 0.24);
  color: rgba(236, 230, 220, 0.92);
  font-size: 0.48rem;
  letter-spacing: 0.03em;
}

.roomRoomHubJournalBtn--room {
  border-color: rgba(168, 148, 106, 0.38);
}

.roomRoomHubCard--journal {
  border-color: rgba(168, 148, 106, 0.28);
  text-align: center;
}

.roomRoomHubCard--journal .roomRoomHubJournalActions {
  justify-content: center;
}

.roomRoomHubShelfBody {
  margin: 0 0 0.36rem;
  font-size: 0.54rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.82);
}

.roomRoomHubShelfBtn {
  width: 100%;
  min-height: 1.92rem;
  border-color: rgba(156, 138, 99, 0.24);
  color: rgba(236, 230, 220, 0.92);
}

.roomRoomHubCard--shelf {
  border-color: rgba(156, 138, 99, 0.16);
}

/* ============================================================
   MENU タブ — 案内画面
   ============================================================ */

.roomMenuScreen {
  padding: 0.18rem 0.1rem 1.1rem;
}

.roomMenuHubScreen {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  padding-bottom: 0.35rem;
}

.roomMenuHubSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
}

.roomMenuHubSectionTitle {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(201, 184, 138, 0.72);
}

.roomMenuHubTileGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.28rem;
  width: 100%;
}

.roomMenuHubTile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  min-height: 4.2rem;
  padding: 0.42rem 0.24rem 0.38rem;
  border: 1px solid rgba(156, 138, 99, 0.22);
  border-radius: 4px;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(168, 148, 106, 0.04) 0%, transparent 58%),
    rgba(5, 8, 12, 0.9);
  color: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.roomMenuHubTile--static {
  cursor: default;
}

.roomMenuHubTileLabel {
  width: 100%;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: rgba(236, 230, 220, 0.92);
}

.roomMenuHubTileDesc {
  width: 100%;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.46rem;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(207, 201, 190, 0.62);
}

.roomMenuHubTile--expandable {
  align-items: stretch;
  min-height: 4.2rem;
}

.roomMenuHubTile--expandable .roomMenuCardDetail {
  width: 100%;
  margin-top: 0.24rem;
  text-align: left;
}

.roomMenuHubTile--expandable .roomMenuCardToggleHint {
  margin-top: 0.18rem;
  font-size: 0.44rem;
  letter-spacing: 0.04em;
  color: rgba(196, 176, 130, 0.78);
}

.roomMenuScreenTitle {
  margin: 0 0 0.36rem;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 1.08rem;
  letter-spacing: 0.14em;
  color: var(--room-gold);
}

.roomMenuScreenLead {
  margin: 0 0 0.52rem;
  text-align: center;
  font-size: 0.56rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.86);
}

.roomMenuCardList {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.roomMenuCard {
  position: relative;
  border: 1px solid rgba(156, 138, 99, 0.2);
  border-radius: 0.42rem;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.92) 0%,
    rgba(4, 6, 9, 0.96) 100%
  );
  padding: 0.52rem 0.58rem 0.56rem;
  box-shadow: inset 0 1px 0 rgba(196, 176, 130, 0.06);
}

.roomMenuCardBadge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.28rem;
  padding: 0.12rem 0.34rem;
  border: 1px solid rgba(156, 138, 99, 0.18);
  border-radius: 999px;
  font-size: 0.42rem;
  letter-spacing: 0.04em;
  color: rgba(207, 201, 190, 0.62);
  background: rgba(2, 3, 5, 0.42);
}

.roomMenuCardTitle {
  margin: 0 0 0.22rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(236, 230, 220, 0.96);
}

.roomMenuCardBody {
  margin: 0;
  font-size: 0.54rem;
  line-height: 1.68;
  color: rgba(207, 201, 190, 0.82);
}

a.roomMenuCard {
  display: block;
  text-decoration: none;
  color: inherit;
}

button.roomMenuCard {
  display: block;
  width: 100%;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.roomMenuCard--expandable {
  cursor: pointer;
  text-align: left;
}

.roomMenuCard--expandable.is-open {
  border-color: rgba(168, 148, 106, 0.34);
}

.roomMenuCardDetail {
  margin-top: 0.32rem;
  padding-top: 0.32rem;
  border-top: 1px solid rgba(156, 138, 99, 0.14);
}

.roomMenuCardDetailPara {
  margin: 0 0 0.28rem;
  font-size: 0.52rem;
  line-height: 1.72;
  color: rgba(207, 201, 190, 0.78);
}

.roomMenuCardDetailPara:last-child {
  margin-bottom: 0;
}

.roomMenuCardToggleHint {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.5rem;
  color: rgba(196, 176, 130, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.1rem;
}

.roomMenuScreen .roomMenuCard {
  text-align: center;
}

.roomMenuScreen a.roomMenuCard,
.roomMenuScreen button.roomMenuCard {
  text-align: center;
}

.roomMenuScreen .roomMenuCard--expandable {
  text-align: center;
}

.roomMenuScreen .roomMenuCardBadge {
  display: inline-flex;
  justify-content: center;
}

.roomMenuScreen .roomMenuCardTitle,
.roomMenuScreen .roomMenuCardBody {
  text-align: center;
}

.roomMenuScreen .roomMenuCardToggleHint {
  text-align: center;
}

.roomMenuScreen .roomMenuCardDetail,
.roomMenuScreen .roomMenuCardDetailPara {
  text-align: left;
}

/* ROOMタブ — 現在の地図（今のフォーカス行） */
.roomRoomHubMapFocus {
  margin: 0 0 0.36rem;
  font-size: 0.58rem;
  line-height: 1.55;
  color: rgba(207, 201, 190, 0.9);
}

.roomRoomHubMapFocusLabel {
  font-family: "Cinzel", serif;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  color: rgba(196, 176, 130, 0.88);
}

.roomRoomHubMapFocusSep {
  margin: 0 0.12rem;
  color: rgba(156, 138, 99, 0.55);
}

.roomRoomHubMapFocusValue {
  color: rgba(236, 230, 220, 0.94);
}

/* ROOMタブ — STAGE一覧 */
.roomRoomHubCard--stageGuide {
  padding: 0.56rem 0.58rem 0.6rem;
}

.roomStageGuideTitle {
  margin: 0 0 0.28rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: rgba(236, 230, 220, 0.96);
}

.roomStageGuideLead,
.roomStageGuideRelation {
  margin: 0 0 0.32rem;
  font-size: 0.54rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.82);
}

.roomStageGuideRelation {
  margin-bottom: 0.38rem;
  font-size: 0.5rem;
  line-height: 1.55;
  color: rgba(168, 148, 106, 0.78);
}

.roomStageGuideList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.roomStageGuideItem {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  font-size: 0.52rem;
  line-height: 1.55;
}

.roomStageGuideStageId {
  flex-shrink: 0;
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(196, 176, 130, 0.9);
}

.roomStageGuideStageSep {
  flex-shrink: 0;
  color: rgba(156, 138, 99, 0.5);
}

.roomStageGuideStageLabel {
  color: rgba(207, 201, 190, 0.88);
}

/* MENU — ROOMの約束 */
.roomMenuPromiseCard {
  padding: 0.56rem 0.58rem 0.62rem;
}

.roomMenuPromiseTitle {
  margin: 0 0 0.32rem;
  font-family: "Cinzel", serif;
  font-size: 0.68rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(236, 230, 220, 0.96);
}

.roomMenuPromiseBody {
  font-size: 0.54rem;
  line-height: 1.62;
  color: rgba(207, 201, 190, 0.82);
}

.roomMenuPromisePara {
  margin: 0 0 0.24rem;
}

.roomMenuPromisePara:last-child {
  margin-bottom: 0;
}

/* ============================================================
   HOME — DEEP 黒金ラグジュアリー（完成イメージ寄せ）
   HOME画面のみ / CLEAR除外
   ============================================================ */

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) {
  --room-home-gold: #c9b88a;
  --room-home-gold-bright: #e4d6b4;
  --room-home-text: #ece8e0;
  --room-home-muted: #8a8478;
  --room-home-card-radius: 0.68rem;
  --room-home-card-surface: linear-gradient(168deg, #0a0a0a 0%, #030303 100%);
  --room-home-gold-btn: linear-gradient(
    135deg,
    #5c4e32 0%,
    #9c8860 42%,
    #c9b88a 78%,
    #dccfaa 100%
  );
  background: #000000;
}

html:has(#screen-room:not([data-ui-theme="clear"]) .roomHomeStack) body[data-screen="room"],
html:has(#screen-room:not([data-ui-theme="clear"]) .roomHomeStack) body[data-screen="room"] .app {
  background: #000000 !important;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomBg {
  background: #000000;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomBg::after {
  background: rgba(0, 0, 0, 0.98);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomWorldBg {
  opacity: 0;
  visibility: hidden;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomScroll {
  background: transparent;
  padding-left: 0.72rem;
  padding-right: 0.72rem;
  padding-top: 0.48rem;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeader,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeader {
  margin-bottom: clamp(0.32rem, 1.4vh, 0.48rem);
  padding-bottom: clamp(0.32rem, 1.4vh, 0.48rem);
  border-bottom-color: rgba(201, 184, 138, 0.18);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeaderEyebrow,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeaderEyebrow {
  color: var(--room-home-gold-bright);
  font-size: 1.28rem;
  letter-spacing: 0.16em;
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav:not(:has(.roomHomeStack)) .roomHeaderEyebrow {
  color: #e4d6b4;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeader h1,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeader h1 {
  color: rgba(236, 232, 224, 0.72);
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomBellBtn,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomBellBtn {
  flex-shrink: 0;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStack {
  gap: clamp(0.42rem, 1.2vh, 0.56rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStack > .roomHomeCard.roomCard,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeLowerGrid .roomCard {
  border-radius: var(--room-home-card-radius);
  border-color: rgba(201, 184, 138, 0.2);
  background: var(--room-home-card-surface);
  box-shadow:
    inset 0 1px 0 rgba(212, 192, 148, 0.1),
    0 10px 32px rgba(0, 0, 0, 0.62);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard.roomCard--mapHero {
  min-height: clamp(12.2rem, 34vh, 14.8rem);
  background-color: #000000;
  border-color: rgba(184, 160, 110, 0.22);
  border-radius: calc(var(--room-home-card-radius) + 0.04rem);
  box-shadow:
    inset 0 1px 0 rgba(212, 192, 148, 0.12),
    0 12px 36px rgba(0, 0, 0, 0.68);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeStack
  .roomHomeCard.roomCard--mapHero::after {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 22%,
      rgba(0, 0, 0, 0.72) 38%,
      rgba(0, 0, 0, 0.28) 58%,
      transparent 82%
    ),
    radial-gradient(
      ellipse 72% 88% at 90% 46%,
      rgba(201, 184, 138, 0.08) 0%,
      transparent 58%
    );
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapSkinControl {
  top: 4px;
  right: 8px;
  left: auto;
  transform: none;
  z-index: 4;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapSkinBtn {
  width: fit-content;
  min-height: 0;
  transform: none;
  padding: calc(0.16rem * 1.15 * 1.07) calc(0.3rem * 1.15 * 1.07);
  border-radius: 999px;
  border-color: rgba(201, 184, 138, 0.36);
  background: rgba(0, 0, 0, 0.58);
  color: rgba(201, 184, 138, 0.72);
  font-size: calc(0.4rem * 1.15 * 1.07);
  line-height: 1.15;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapUpdateBtn {
  position: absolute;
  top: auto;
  bottom: 8px;
  right: 8px;
  z-index: 3;
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 1.6rem);
  min-height: 0;
  padding: calc(0.16rem * 1.15 * 1.07) calc(0.3rem * 1.15 * 1.07);
  border-radius: 999px;
  border-color: rgba(201, 184, 138, 0.42);
  background: rgba(0, 0, 0, 0.58);
  color: var(--room-home-gold-bright);
  font-size: calc(0.4rem * 1.15 * 1.07);
  line-height: 1.15;
  letter-spacing: 0.1em;
  white-space: nowrap;
  cursor: default;
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroCodeLine,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroOs,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroCode {
  color: rgba(201, 184, 138, 0.78);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroStage {
  color: var(--room-home-gold);
  letter-spacing: 0.16em;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard.roomCard--mapHero {
  display: flex;
  flex-direction: column;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard.roomCard--mapHero .roomMapHeroContent {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: clamp(0.46rem, 1.1vh, 0.56rem);
  --room-map-focus-group-shift-down-add: calc(clamp(1.2rem, 3.9vw, 1.46rem) * 1.08 * 2.57);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroCodeLabel {
  margin: 0 0 calc(0.14rem * 1.04);
  font-family: "Cinzel", serif;
  font-size: calc(0.48rem * 1.04 * 1.05 * 1.03);
  letter-spacing: 0.14em;
  line-height: 1.45;
  color: rgba(201, 184, 138, 0.78);
  display: block;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeCard.roomCard--mapHero
  .roomMapHeroCodeLabel {
  position: absolute;
  top: 12px;
  left: 15px;
  margin: 0;
  z-index: 3;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroCodeValue {
  margin: 0 0 calc(0.28rem * 1.04);
  font-family: "Cinzel", serif;
  font-size: calc(0.48rem * 1.04 * 1.05 * 1.03);
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: rgba(201, 184, 138, 0.78);
  display: block;
  white-space: nowrap;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeCard.roomCard--mapHero
  .roomMapHeroCodeValue {
  position: absolute;
  top: calc(12px + 0.48rem * 1.04 * 1.05 * 1.45 + 0.14rem * 1.04);
  left: 15px;
  margin: 0;
  z-index: 3;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroFocusBlock .roomMapHeroStage {
  margin: 0 0 0.18rem;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroFocusBlock {
  margin-top: calc(
    clamp(1rem, 3vh, 1.45rem) + 0.14rem * 1.04 + 0.48rem * 1.04 * 1.45 + 0.28rem * 1.04 +
      0.48rem * 1.04 * 1.45
  );
  max-width: fit-content;
  transform: translateY(var(--room-map-focus-group-shift-down-add));
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroFocusHeadline {
  margin: 0 0 0.22rem;
  font-family: "Cinzel", serif;
  font-size: clamp(1.2rem, 3.9vw, 1.46rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.08;
  color: #f5f0e6;
  white-space: nowrap;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.92),
    0 1px 12px rgba(201, 184, 138, 0.14);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroMeter {
  width: 100%;
  max-width: 100%;
  background: rgba(18, 18, 18, 0.96);
  border-color: rgba(201, 184, 138, 0.28);
  margin: 0;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroTrack {
  margin: calc(0.16rem * 1.04) 0 0;
  font-family: "Cinzel", serif;
  font-size: calc(0.38rem * 1.04 * 1.04 * 1.03 * 1.02);
  letter-spacing: 0.08em;
  line-height: 1.45;
  color: rgba(201, 184, 138, 0.68);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroMeterFill {
  background: linear-gradient(90deg, #4a3f28 0%, #8a7448 36%, #c9b88a 72%, #e4d6b4 100%);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepTitle,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartTitle {
  color: var(--room-home-gold-bright);
  letter-spacing: 0.16em;
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepTitle {
  width: 100%;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid rgba(201, 184, 138, 0.34);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartTitle {
  padding-bottom: 0.18rem;
  border-bottom: 1px solid rgba(201, 184, 138, 0.34);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepDay {
  color: var(--room-home-gold);
  letter-spacing: 0.12em;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepBody {
  color: rgba(236, 232, 224, 0.82);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepStory {
  color: rgba(236, 232, 224, 0.58);
  font-size: 0.5rem;
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepFocus {
  color: rgba(236, 232, 224, 0.92);
  font-size: 0.56rem;
  line-height: 1.46;
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepBody--idle {
  color: rgba(236, 232, 224, 0.78);
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--stepCompact .roomHomeStepGo {
  margin-top: 0.12rem;
  min-height: 2rem;
  padding: 0.36rem 0.52rem;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStepGo {
  border: 1px solid rgba(201, 184, 138, 0.32);
  border-radius: 999px;
  background: rgba(201, 184, 138, 0.06);
  color: var(--room-home-gold-bright);
  font-weight: inherit;
  letter-spacing: 0.1em;
  box-shadow: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartDetail {
  border-color: rgba(201, 184, 138, 0.32);
  border-radius: 999px;
  background: rgba(201, 184, 138, 0.06);
  color: var(--room-home-gold-bright);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarAxis .roomRadarDomain,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarDomain {
  fill: rgba(236, 232, 224, 0.88);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarAxis .roomRadarScore,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarScore {
  fill: var(--room-home-gold);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomBottomNav {
  background: #000000;
  border-top-color: rgba(184, 160, 110, 0.2);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomNavItem {
  color: rgba(122, 116, 104, 0.92);
  position: relative;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomNavItem.is-active {
  color: var(--room-home-gold-bright);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomNavItem.is-active::before {
  content: "";
  position: absolute;
  top: 0.02rem;
  left: 50%;
  width: 0.18rem;
  height: 0.18rem;
  margin-left: -0.09rem;
  border-radius: 50%;
  background: var(--room-home-gold-bright);
  box-shadow: 0 0 8px rgba(201, 184, 138, 0.55);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomNavItem.is-active .roomNavIcon {
  color: var(--room-home-gold-bright);
  filter: drop-shadow(0 0 5px rgba(201, 184, 138, 0.28));
}

@media (min-width: 431px) {
  html:has(#screen-room:not([data-ui-theme="clear"]) .roomHomeStack) body[data-screen="room"] .roomScroll,
  html:has(#screen-room:not([data-ui-theme="clear"]) .roomHomeStack) body[data-screen="room"] .roomBottomNav {
    box-shadow: 0 0 72px rgba(0, 0, 0, 0.98);
  }
}

/* ============================================================
   HOME — 3カード背景画像（HOMEのみ / CLEAR除外）
   ============================================================ */

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard.roomCard--mapHero,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--stepCompact,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--chart {
  position: relative;
  overflow: hidden;
  background: #000000;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeStack
  .roomHomeCard.roomCard--mapHero::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-image: var(
    --room-map-skin-bg,
    url("../assets/room/room-home-map-focus-bg.png?v=home-bg-v001")
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: none;
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeStack
  .roomHomeCard.roomCard--mapHero::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeLowerGrid
  .roomHomeCard--stepCompact::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: url("../assets/room/room-home-daily-step-bg.png?v=home-daily-step-bg-v001") center / cover no-repeat;
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeLowerGrid
  .roomHomeCard--stepCompact::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeLowerGrid
  .roomHomeCard--chart::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: url("../assets/room/room-home-os-chart-bg.png?v=home-os-chart-bg-v001") center / cover no-repeat;
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack)
  .roomHomeLowerGrid
  .roomHomeCard--chart::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomMapHeroContent,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--stepCompact > *,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--chart > * {
  position: relative;
  z-index: 2;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarBlock,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomOctRadar,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomHomeChartArt {
  position: relative;
  z-index: 2;
}

/* ============================================================
   HOME — 3カード密度・比率（DEEP / HOME限定）
   ============================================================ */

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomScroll {
  padding-top: 0.18rem;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  padding-left: 0.66rem;
  padding-right: 0.66rem;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeader,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeader {
  position: relative;
  justify-content: center;
  margin-bottom: clamp(0.12rem, 0.6vh, 0.18rem);
  padding-bottom: clamp(0.12rem, 0.6vh, 0.18rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeaderMain,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeaderMain {
  width: 100%;
  text-align: center;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  box-sizing: border-box;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeaderEyebrow,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHeader h1,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeaderEyebrow,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomHeader h1 {
  text-align: center;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomBellBtn,
#screen-room:not([data-ui-theme="clear"]).roomScreen--mainNav .roomBellBtn {
  position: absolute;
  top: 0;
  right: 0;
  border-color: rgba(201, 184, 138, 0.34);
  color: var(--room-home-gold-bright);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStack.roomHomeStack--threeCards {
  gap: clamp(0.32rem, 0.92vh, 0.42rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeStack > .roomHomeCard.roomCard {
  margin-bottom: 0;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard.roomCard--mapHero {
  min-height: clamp(19.89rem, 63.648vh, 25.194rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeLowerGrid {
  column-gap: 2px;
  align-items: stretch;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeLowerCol > .roomHomeCard {
  min-height: 100%;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--stepCompact,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--chart {
  min-height: clamp(13.586rem, 41.171vh, 17.292rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--stepCompact {
  padding: clamp(0.74rem, 2vh, 0.9rem) clamp(0.56rem, 1.5vw, 0.68rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--chart {
  --room-home-chart-visual-h: clamp(5rem, 14vh, 6rem);
  padding: clamp(0.62rem, 1.75vh, 0.78rem) clamp(0.34rem, 1vw, 0.46rem)
    clamp(0.56rem, 1.55vh, 0.7rem);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarBlock--compact,
#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarBlock--trickChart {
  max-width: 12.4rem;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual .roomRadarBlock--trickChart .roomRadarTrickScore {
  font-size: 5.5px;
  fill: rgba(201, 184, 138, 0.76);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeChartVisual--art .roomHomeChartArt {
  max-width: 12.4rem;
}

/* HOME — SIGNALカード（4枚目） */
.roomHomeCard--signal {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0.28rem;
  margin-bottom: 0;
  padding: clamp(1.015rem, 2.867vh, 1.278rem) clamp(0.62rem, 1.6vw, 0.76rem);
  cursor: pointer;
}

.roomHomeSignalCta {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  color: rgba(212, 192, 148, 0.72);
  white-space: nowrap;
}

.roomHomeSignalHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
}

.roomHomeSignalTitle {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--room-gold);
}

.roomHomeSignalStatus {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  color: var(--room-gold-dim);
  white-space: nowrap;
}

.roomHomeSignalBody {
  margin: 0;
  font-size: 0.56rem;
  line-height: 1.62;
  color: var(--room-muted);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--signal {
  min-height: clamp(6.477rem, calc(5.733vh + 4.447rem), 7rem);
  position: relative;
  overflow: hidden;
  background: #000000;
  border-color: rgba(201, 184, 138, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(212, 192, 148, 0.08),
    0 6px 22px rgba(0, 0, 0, 0.5);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--signal::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: url("../assets/room/room-home-vision-board-bg.png?v=home-vision-board-bg-v003") center / cover no-repeat;
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--signal::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeCard--signal > * {
  position: relative;
  z-index: 2;
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeSignalTitle {
  color: var(--room-home-gold-bright);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeSignalStatus {
  color: var(--room-home-gold);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeSignalBody {
  color: rgba(236, 232, 224, 0.82);
}

#screen-room:not([data-ui-theme="clear"]):has(.roomHomeStack) .roomHomeSignalCta {
  color: rgba(212, 192, 148, 0.78);
}

/* 430px以下の微調整用（必要時のみ追記） */
@media (max-width: 430px) {
}
