/* ステータスの窓 (10-20・中身は status_ui.js・見本 = C:\Projects\nao_town_assets\status_mock_20261020\) */
.stDlg { position: fixed; inset: 0; z-index: 58; display: grid; place-items: center; padding: 8px; background: rgba(10, 18, 30, 0.45);
  --stInk: #3b2a1a; --stSub: #7a6248; --stLine: #e3d3b5; --stCard: #fffaf0; --stNavy: #1f4e6e; --stGold: #c9952b; }
.stDlg.hidden { display: none; }
.stWin { width: min(560px, calc(100vw - 16px)); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain; background: var(--stCard); color: var(--stInk);
  border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); font-size: 14px; }
.stLoading { padding: 28px 18px; text-align: center; color: var(--stSub); }
.stTop { position: sticky; top: 0; z-index: 2; background: linear-gradient(135deg, #1f4e6e, #2f7193); color: #fff; padding: 12px 54px 12px 14px; display: flex; gap: 12px; align-items: center; }
.stTopSmall { padding: 10px 44px 10px 10px; }
.stFace { width: 56px; height: 56px; border-radius: 50%; background: #f3dcc0; border: 3px solid #f5d27a; flex: none; image-rendering: pixelated; object-fit: contain; }
.stNameBox { min-width: 0; }
.stName { font-size: 20px; font-weight: bold; line-height: 1.25; word-break: break-all; }
.stTopSmall .stName { font-size: 16px; }
.stChips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.stRank { display: inline-block; font-size: 12.5px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.4); padding: 1px 9px; border-radius: 999px; white-space: nowrap; }
.stLv { margin-left: auto; text-align: right; flex: none; }
.stLv b { display: block; font-size: 30px; line-height: 1.05; }
.stLv small { display: block; font-size: 11.5px; opacity: 0.88; }
.stClose { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 16px; cursor: pointer; }
.stClose:hover { background: rgba(255, 255, 255, 0.28); }
.stBack { flex: none; font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; }
.stBar { margin: 0 16px; height: 8px; background: #d9cdb5; border-radius: 0 0 6px 6px; overflow: hidden; }
.stBar i { display: block; height: 100%; background: linear-gradient(90deg, #f5c84a, #e89a2c); }
.stLvBook { display: block; margin: 8px 16px 2px; width: calc(100% - 32px); font-size: 13.5px; min-height: 36px; padding: 6px 12px; }   /* 自分の窓 → 航海手帳の「レベル」(10-26) */
.stBody { padding: 4px 0 2px; }
.stSec { padding: 8px 16px; }
.stSec h5 { margin: 0 0 6px; font-size: 13px; color: var(--stNavy); }
.stSubHead { margin: 8px 0 4px; font-size: 12px; color: var(--stSub); }
.stTitleCard { text-align: center; background: #fff; border: 1px solid var(--stLine); border-radius: 12px; padding: 10px 8px 8px; }
.stTitle { font-size: 22px; font-weight: bold; letter-spacing: 0.04em; }
.stTitle.star4 { text-shadow: 0 0 8px rgba(138, 69, 192, 0.25); }
.stTitle.star5 { text-shadow: 0 0 10px rgba(240, 190, 60, 0.6); }
.stStars { font-size: 15px; color: #e0a92a; letter-spacing: 2px; }
.stStars.star1 { color: #b9a58a; } .stStars.star2 { color: #6cbf87; } .stStars.star3 { color: #5d9be0; } .stStars.star4 { color: #a873d6; } .stStars.star5 { color: #e0a92a; }
.stTitleNone { font-size: 15px; color: var(--stSub); padding: 6px 0; }
.stSub { font-size: 12px; color: var(--stSub); margin-top: 3px; }
.stGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 16px; }
.stBox { background: #fff; border: 1px solid var(--stLine); border-radius: 10px; padding: 7px 10px; min-width: 0; }
.stBox .k { font-size: 12px; color: var(--stSub); }
.stBox .v { font-size: 18px; font-weight: bold; }
.stBox .v small { font-size: 12px; font-weight: normal; color: var(--stSub); }
.stMon { display: flex; gap: 8px; align-items: center; }
.stMonPic { flex: none; background: #132634; border-radius: 10px; image-rendering: pixelated; }
.stMonText { min-width: 0; }
.stMonName { font-size: 15px; font-weight: bold; line-height: 1.3; }
.stProg { height: 6px; background: #eee3cf; border-radius: 4px; margin-top: 4px; overflow: hidden; }
.stProg i { display: block; height: 100%; background: #4aa37a; }
.stRow { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.stChip { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; background: #fff; border: 1px solid var(--stLine); border-radius: 999px; padding: 3px 10px 3px 6px; }
.stChip canvas { border-radius: 4px; }
.stGold { border-color: #e0b84a !important; background: #fff7dc !important; box-shadow: 0 0 8px rgba(240, 190, 60, 0.55); }
.stNone { font-size: 13px; color: var(--stSub); }
.stPets { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.stPet { width: 76px; text-align: center; }
.stPetPic { background: #f4ead6; border-radius: 10px; }
.stPetName { font-size: 12.5px; font-weight: bold; line-height: 1.3; word-break: break-all; }
.stPetSub { font-size: 11px; color: var(--stSub); }
.stMore { font-size: 12.5px; color: var(--stSub); padding: 0 6px; align-self: center; }
.stCounts { margin-top: 8px; font-size: 12.5px; color: var(--stSub); }
.stBtn { font: inherit; font-size: 14px; padding: 8px 14px; min-height: 40px; border-radius: 10px; border: 1px solid var(--stLine); background: #fff; color: var(--stInk); cursor: pointer; }
.stBtn:hover { background: #fff6e6; }
.stBtn.main { background: var(--stNavy); color: #fff; border-color: var(--stNavy); }
.stAll { margin-top: 8px; width: 100%; }
.stNote { font-size: 11.5px; color: var(--stSub); padding: 4px 16px 6px; }
.stBtns { display: flex; gap: 8px; padding: 6px 16px 14px; flex-wrap: wrap; align-items: center; }
.stBtns .stBtn { flex: 1 1 120px; }
.stMine { background: #f6efe0; border-top: 1px dashed var(--stLine); margin-top: 6px; }
.stMineList { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 8px; font-size: 13px; }
.stMineList dt { color: var(--stSub); white-space: nowrap; }
.stMineList dd { margin: 0; }
.stCheck { display: flex; gap: 6px; align-items: center; font-size: 13.5px; margin: 6px 0 2px; cursor: pointer; }
.stHint { font-size: 11.5px; color: var(--stSub); margin: 2px 0 8px; flex: 1 1 100%; }
.stScroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.stCard { flex: none; width: 92px; scroll-snap-align: start; background: #fff; border: 1px solid var(--stLine); border-radius: 10px; padding: 6px 4px; text-align: center; font: inherit; color: inherit; }
button.stCard { cursor: pointer; }
.stCard.on { border: 2px solid var(--stGold); background: #fff4d2; }
.stCardName { font-size: 12px; font-weight: bold; line-height: 1.3; margin-top: 2px; word-break: break-all; }
.stCardSub { font-size: 11px; color: var(--stSub); }
/* スマホの横 (背が低い): 上の帯を小さく */
@media (max-height: 420px) {
  .stTop { padding: 6px 50px 6px 10px; gap: 8px; }
  .stFace { width: 40px !important; height: 40px !important; border-width: 2px; }   /* (canvas の style の大きさより強く) */
  .stName { font-size: 16px; }
  .stLv b { font-size: 22px; }
  .stTitle { font-size: 18px; }
  .stSec { padding: 6px 12px; }
  .stGrid { padding: 6px 12px; gap: 6px; }
}
@media (max-width: 460px) {
  .stGrid { grid-template-columns: 1fr; }
}
/* 人のメニューの一番上「ステータスを見る」(見本と同じ: 薄い黄色・左に金の線) */
#pmenu button.pmStatus { background: #fff1c9; font-weight: bold; border-left: 4px solid #c9952b; }
/* 運営の札 (名前の横の運営の札と同じ色 = 紺に金の錨・10-21 nao「見本となるような感じに」) */
.stRank.stStaff { background: #1d3a5c; border-color: #ffd27a; color: #ffffff; font-weight: 700; }
