:root {
  --cream: #fffaf2;
  --card: #ffffff;
  --ink: #4b4038;
  --sub: #9b8d80;
  --line: #f1e7db;
  --soft: #fbf3e8;
  --coral: #ff7b6b; --coral-d: #e2604f;
  --mint: #45c9a0;  --mint-d: #2fa883;
  --sun: #ffc84a;   --sun-d: #e3a52a;
  --sky: #6aa8ff;   --sky-d: #4a88e3;
  --pink: #ff9fb7;
  --kimchi: #ff6b4a;
  --r: 22px;
  --shadow: 0 10px 30px rgba(110, 80, 50, .16), 0 2px 6px rgba(110, 80, 50, .08);
  --font: "M PLUS Rounded 1c", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #d9f0ff; color: var(--ink); font-family: var(--font); font-weight: 500; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
#stage { position: fixed; inset: 0; }
#stage canvas { display: block; touch-action: none; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---- ボタン(ぷっくり) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #fff; transition: transform .08s, box-shadow .08s; }
.btn-coral { background: var(--coral); box-shadow: 0 5px 0 var(--coral-d); }
.btn-mint { background: var(--mint); box-shadow: 0 5px 0 var(--mint-d); }
.btn-sun { background: var(--sun); box-shadow: 0 5px 0 var(--sun-d); color: #5a3d10; }
.btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.btn:disabled { background: #e3d9cd; box-shadow: 0 5px 0 #cfc3b5; color: #fff; cursor: default; }
.btn-block { width: 100%; margin-top: 14px; }
.btn-text { width: 100%; margin-top: 12px; padding: 10px; color: var(--sub); font-weight: 700; font-size: 14px; }

/* ---- 上部 ---- */
.hud { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: max(14px, env(safe-area-inset-top)) 16px 0; pointer-events: none; }
.hud > * { pointer-events: auto; }
.plate { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: var(--r); padding: 10px 16px 11px; box-shadow: var(--shadow); text-align: left; display: flex; flex-direction: column; gap: 5px; }
.plate-name { font-size: 20px; font-weight: 800; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.plate-name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(var(--coral) 0 50%, var(--sky) 0); }
.plate-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--sub); }
.chip-era { background: #fff1d6; color: #b07a12; }
.purse { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: var(--r); padding: 9px 16px 10px; box-shadow: var(--shadow); text-align: right; }
.purse-coins { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ic.coin { width: 22px; height: 22px; color: var(--sun-d); fill: #ffe08a; }
.purse-sub { font-size: 12px; color: var(--sub); font-weight: 700; margin-top: 1px; }
.purse-sub b { color: var(--ink); margin-left: 1px; }
.purse.bump .purse-coins { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.18); } }
.join-chip { min-height: 46px; font-size: 15px; }
.hud-right { display: flex; align-items: flex-start; gap: 8px; pointer-events: none; }
.hud-right > * { pointer-events: auto; }
.sound-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow); color: var(--ink); display: grid; place-items: center; transition: transform .15s; }
.sound-btn:active { transform: scale(.92); }
.sound-btn .ic { width: 22px; height: 22px; }
.sound-btn.off { color: var(--sub); }

/* ---- 名札 ---- */
.name-tags { position: fixed; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); white-space: nowrap; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 3px 8px rgba(80,60,40,.18); }
.tag::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.tag.mine { background: var(--sky); color: #fff; z-index: 2; }
.tag.name { left: 0; top: 0; font-size: 10px; font-weight: 700; line-height: 1.3; padding: 2px 7px; background: rgba(255,255,255,.85); color: #5b4636; box-shadow: 0 1px 4px rgba(60,40,20,.14); transform-origin: 50% 100%; transition: opacity .25s; pointer-events: none; }
.tag.name.off { opacity: 0; }
.tag.name::after { width: 5px; height: 5px; bottom: -2px; }
.tag.name.lv-high { background: rgba(255,244,214,.95); color: #8a5a16; }
.tag.walker { left: 0; top: 0; font-size: 10px; padding: 2px 7px; background: #ff8c6b; color: #fff; }
#nameTags { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
[data-sky="night"] .tag.name { background: rgba(40,34,60,.78); color: #ffe7b8; }

/* ---- 家の札 ---- */
.lot-card { position: fixed; left: 50%; bottom: calc(108px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(320px, calc(100% - 32px)); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; animation: pop .25s ease-out; }
.lot-card .lot-no { font-size: 12px; color: var(--sub); font-weight: 700; }
.lot-card .lot-close { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--sub); }
.lot-card .lot-close .ic { width: 16px; height: 16px; }
.lot-card .lot-name { grid-column: 1 / -1; font-size: 22px; font-weight: 800; line-height: 1.2; word-break: break-all; }
.lot-card .lot-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.lot-card .lot-chip { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--ink); }
.lot-card .lot-chip-title { background: #e6f7ef; color: #23885f; }
.lot-card .lot-meta { grid-column: 1 / -1; font-size: 12.5px; color: var(--sub); margin-top: 4px; }
.lot-card .lot-ig { grid-column: 1 / -1; margin-top: 8px; min-height: 42px; justify-content: center; padding: 10px; font-size: 13px; background: linear-gradient(90deg, #f58529, #dd2a7b 55%, #8134af); color: #fff; border-radius: 14px; }
@keyframes pop { from { transform: translateX(-50%) translateY(10px) scale(.96); opacity: 0; } }

/* ---- 下部ドック ---- */
.dock { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 2px; padding: 8px 8px 6px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: 26px; box-shadow: var(--shadow); max-width: calc(100% - 24px); }
.dock button { position: relative; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 0 2px; border-radius: 16px; }
.dock .bubble { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); transition: transform .15s, background .15s; position: relative; }
.dock .label { font-size: 10.5px; font-weight: 700; color: var(--sub); white-space: nowrap; }
.dock button:hover .bubble { transform: translateY(-2px); }
.dock button.on .bubble { background: var(--ink); color: #fff; }
.dock button.on .label { color: var(--ink); }
.dock-jar .bubble { background: conic-gradient(var(--kimchi) calc(var(--p, 0) * 1%), var(--soft) 0); }
.dock-jar .bubble::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--soft); }
.dock-jar.on .bubble::before { background: var(--ink); }
.dock-jar .bubble .ic { position: relative; }
.badge { position: absolute; top: -2px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--coral); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; display: grid; place-items: center; box-shadow: 0 2px 0 var(--coral-d); animation: wiggle 1.4s infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(14deg); } }

/* ---- シート ---- */
.sheet { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(420px, calc(100% - 24px)); max-height: min(68vh, 580px); display: flex; flex-direction: column; background: var(--cream); border-radius: 28px; box-shadow: var(--shadow); animation: rise .28s cubic-bezier(.2, .9, .3, 1.2); overflow: hidden; }
@keyframes rise { from { transform: translateX(-50%) translateY(24px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px 18px; }
.sheet-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.sheet-head h2 { margin: 0; font-size: 19px; font-weight: 800; flex: 1; }
.close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sub); box-shadow: 0 2px 6px rgba(80,60,40,.1); }
.sheet-body { padding: 4px 18px 20px; overflow: auto; }
.sheet-body p { margin: 0 0 12px; line-height: 1.75; font-size: 14px; }
.muted { color: var(--sub); font-size: 13px; }
.panel { background: #fff; border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(110,80,50,.06); }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 0; font-size: 14px; }
.kv + .kv { border-top: 2px dotted var(--line); }
.kv b { font-weight: 800; }
.big { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.big small { font-size: 14px; color: var(--sub); margin-left: 4px; }
.bar { height: 14px; border-radius: 999px; background: var(--soft); overflow: hidden; margin: 10px 0 4px; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--kimchi)); transition: width .4s; }

/* キムチ甕 */
.jar-view { display: flex; align-items: center; gap: 16px; }
.jar-art { width: 92px; height: 104px; flex: none; position: relative; }
.jar-art svg { width: 100%; height: 100%; }

/* 家づくり */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.roadmap li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; font-size: 13px; color: var(--sub); }
.roadmap li .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); flex: none; }
.roadmap li.done { color: var(--ink); }
.roadmap li.done .dot { background: var(--mint); }
.roadmap li.now { background: #fff; color: var(--ink); font-weight: 800; box-shadow: 0 2px 8px rgba(110,80,50,.08); }
.roadmap li.now .dot { background: var(--coral); box-shadow: 0 0 0 4px #ffe1dc; }
.roadmap li span:last-child { margin-left: auto; font-weight: 700; }

/* ランキング */
ol.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
ol.rank li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: #fff; cursor: pointer; font-size: 14px; transition: transform .1s; }
ol.rank li:active { transform: scale(.98); }
ol.rank li.me { outline: 2px solid var(--sky); }
ol.rank .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--soft); color: var(--sub); }
ol.rank li:nth-child(1) .n { background: #ffd54f; color: #7a5600; }
ol.rank li:nth-child(2) .n { background: #dfe6ef; color: #56657a; }
ol.rank li:nth-child(3) .n { background: #f2c39b; color: #7a4a20; }
ol.rank .nm { font-weight: 800; }
ol.rank .sub { font-size: 12px; color: var(--sub); }

/* 村だより */
.news-item { background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 8px; }
.news-item .d { display: inline-block; font-size: 11px; font-weight: 800; color: #fff; background: var(--mint); padding: 2px 8px; border-radius: 999px; }
.news-item p { white-space: pre-line; margin: 8px 0 0; font-size: 14px; line-height: 1.7; }

/* チヂミ焼き */
.pan-wrap { position: relative; display: grid; place-items: center; padding: 6px 0 4px; user-select: none; touch-action: manipulation; cursor: pointer; }
.pan { width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6b6560, #3e3935 70%); box-shadow: inset 0 -8px 0 rgba(0,0,0,.25), 0 10px 24px rgba(60,40,30,.25); display: grid; place-items: center; position: relative; }
.pan::after { content: ""; position: absolute; right: -78px; top: 50%; width: 86px; height: 18px; border-radius: 9px; background: #8a5a3c; transform: translateY(-50%); box-shadow: inset 0 -4px 0 rgba(0,0,0,.2); z-index: -1; }
.pancake { width: 150px; height: 150px; border-radius: 47% 53% 50% 50%; background: var(--c, #f7e7b0); box-shadow: inset 0 -6px 0 rgba(0,0,0,.08); position: relative; transition: transform .35s; }
.pancake::before, .pancake::after { content: ""; position: absolute; border-radius: 8px; background: #6fbf5a; width: 46px; height: 9px; }
.pancake::before { left: 30px; top: 50px; transform: rotate(-20deg); }
.pancake::after { right: 28px; top: 88px; transform: rotate(15deg); }
.pancake.flip { transform: rotateX(180deg) scale(1.05); }
.pan-say { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; box-shadow: var(--shadow); white-space: nowrap; }
.gauge { position: relative; height: 18px; border-radius: 999px; margin: 16px 4px 6px; background: linear-gradient(90deg, #f7e7b0 0 58%, #ffd25a 58% 80%, #8a4f2a 80%); }
.gauge::before { content: "★"; position: absolute; left: 69%; top: 50%; transform: translate(-50%, -50%); font-size: 11px; color: #a86c00; }
.needle { position: absolute; top: -5px; width: 6px; height: 28px; border-radius: 3px; background: var(--ink); transform: translateX(-50%); box-shadow: 0 0 0 2px #fff; }
.game-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--sub); font-weight: 700; margin-bottom: 4px; }
.result { text-align: center; padding: 8px 0 2px; }

/* ---- 引っ越しモーダル ---- */
.modal { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(70, 50, 30, .18); backdrop-filter: blur(2px); }
.modal-card { width: min(380px, 100%); background: var(--cream); border-radius: 30px; box-shadow: var(--shadow); padding: 26px 24px 18px; text-align: center; animation: rise2 .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes rise2 { from { transform: translateY(24px) scale(.97); opacity: 0; } }
.modal-hero { width: 76px; height: 76px; margin: -62px auto 10px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 0 var(--coral-d), var(--shadow); border: 5px solid var(--cream); }
.modal-hero .ic { width: 36px; height: 36px; }
.modal-card h1 { font-size: 32px; font-weight: 800; letter-spacing: .1em; margin: 2px 0 10px; }
.eyebrow { margin: 0; font-size: 12px; color: var(--coral); font-weight: 800; }
.lead { font-size: 14px; line-height: 1.8; color: var(--sub); margin: 0 0 18px; text-align: left; }
.modal-card label { display: block; text-align: left; font-size: 13px; font-weight: 800; margin: 0 0 6px 4px; }
.modal-card input { width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); outline: none; transition: border-color .15s; }
.modal-card input:focus { border-color: var(--coral); }

.toast { position: fixed; top: calc(92px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; animation: drop .3s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes drop { from { transform: translateX(-50%) translateY(-14px); opacity: 0; } }

.loading { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: linear-gradient(#cfeaff, var(--cream)); font-weight: 800; color: var(--sub); transition: opacity .6s; }
.loading p { margin: 0; }
.loading-house { width: 72px; height: 72px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 0 var(--coral-d); animation: hop .9s infinite; }
.loading-house .ic { width: 34px; height: 34px; }
@keyframes hop { 50% { transform: translateY(-12px); } }
.loading.done { opacity: 0; pointer-events: none; }


/* ---- スマホ(縦長・幅が狭い画面) ---- */
@media (max-width: 600px) {
  /* 上: 小さくまとめて村を広く見せる */
  .hud { padding: max(10px, env(safe-area-inset-top)) 10px 0; }
  .plate { padding: 7px 12px 8px; gap: 4px; border-radius: 18px; }
  .plate-name { font-size: 16px; }
  .chip { font-size: 11px; padding: 2px 8px; }
  .purse { padding: 7px 12px 8px; border-radius: 18px; }
  .purse-coins { font-size: 18px; }
  .ic.coin { width: 18px; height: 18px; }
  .purse-sub { font-size: 11px; }
  .hud-right { gap: 6px; }
  .sound-btn { width: 40px; height: 40px; }
  .sound-btn .ic { width: 19px; height: 19px; }
  .join-chip { min-height: 44px; padding: 0 16px; font-size: 14px; box-shadow: 0 4px 0 var(--coral-d); }

  /* 下: 画面いっぱいのタブバー(親指で押しやすい) */
  .dock { left: 0; right: 0; bottom: 0; transform: none; max-width: none; border-radius: 22px 22px 0 0; justify-content: space-around; gap: 0;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(110,80,50,.12); }
  .dock button { flex: 1; width: auto; min-width: 0; min-height: 56px; }
  .dock .bubble { width: 40px; height: 40px; }
  .dock .label { font-size: 10px; }
  .dock button:hover .bubble { transform: none; }
  .badge { right: calc(50% - 26px); }

  /* シート: 下から出る板。タブバーの上にぴったり */
  .sheet { left: 0; right: 0; width: auto; transform: none; bottom: calc(68px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(110,80,50,.18); animation: rise-m .26s cubic-bezier(.2, .9, .3, 1.1); }
  .sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; }
  @keyframes rise-m { from { transform: translateY(30px); opacity: 0; } }
  .sheet-head { padding: 8px 12px 8px 16px; }
  .sheet-head h2 { font-size: 17px; }
  .close { width: 44px; height: 44px; }
  .sheet-body { padding: 2px 14px calc(16px + 0px); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .big { font-size: 26px; }
  .pan { width: 170px; height: 170px; }
  .pancake { width: 128px; height: 128px; }
  .pan::after { right: -64px; width: 70px; }

  /* 家の札: タブバーのすぐ上 */
  .lot-card { bottom: calc(80px + env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 12px 14px; }
  body:has(.dock[hidden]) .lot-card { bottom: calc(16px + env(safe-area-inset-bottom)); }

  /* 引っ越し: 下からの板にして、キーボードが出ても隠れにくく */
  .modal { place-items: end stretch; padding: 0; }
  .modal-card { width: 100%; border-radius: 28px 28px 0 0; padding: 22px 20px calc(14px + env(safe-area-inset-bottom)); animation: rise-m .3s cubic-bezier(.2, .9, .3, 1.1); }
  .modal-hero { width: 64px; height: 64px; margin: -54px auto 8px; }
  .modal-hero .ic { width: 30px; height: 30px; }
  .modal-card h1 { font-size: 26px; margin: 2px 0 8px; }
  .lead { font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
  .modal-card .btn-block { margin-top: 12px; }

  .toast { top: calc(76px + env(safe-area-inset-top)); font-size: 13px; padding: 10px 16px; }
}
@media (max-width: 360px) {
  .dock .label { font-size: 9px; }
  .dock .bubble { width: 36px; height: 36px; }
  .plate-chips .chip:last-child { display: none; }
}

/* 入村の手順(Instagram の DM) */
.join-steps { text-align: left; margin: 0 0 16px; padding: 12px 14px 12px 34px; background: #fff7ec; border-radius: 16px; font-size: 13.5px; line-height: 1.7; color: var(--sub); }
.join-steps b { color: var(--ink, #4a3a30); }
a.btn { display: flex; text-decoration: none; }

/* ==== 色: 参考サイト寄りの「夜の木の板 × 金色」 (ここを消せば元の明るい色に戻る) ==== */
:root {
  --cream: #2b241e; --card: #3a3029; --ink: #f4e7cf; --sub: #b8a58a; --line: #4d4034; --soft: #40352c;
  --coral: #e7b94e; --coral-d: #b48a2c; --gold: #e7b94e;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .25);
}
.plate, .purse, .sound-btn, .dock { background: rgba(38, 31, 25, .9); border: 1px solid rgba(231, 185, 78, .35); }
.plate-name, #coins { color: var(--gold); }
.chip-era { background: rgba(231, 185, 78, .18); color: var(--gold); }
.btn-coral, .btn-coral:hover { color: #2b1f12; }
.tag { background: rgba(38, 31, 25, .88); color: var(--ink); border: 1px solid rgba(231, 185, 78, .4); box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.tag.mine { background: var(--gold); color: #2b1f12; }
.lot-card, .panel, .news-item, ol.rank li, .roadmap li.now, .pan-say, .close, .modal-card input { background: var(--card); color: var(--ink); }
.lot-card { border: 1px solid rgba(231, 185, 78, .35); }
.lot-card .lot-chip-title { background: rgba(110, 200, 140, .18); color: #9be0b2; }
.dock .bubble { background: var(--soft); color: var(--ink); }
.dock button.on .bubble { background: var(--gold); color: #2b1f12; }
.dock button.on .label { color: var(--gold); }
.toast { background: rgba(38, 31, 25, .95); color: var(--ink); border: 1px solid rgba(231, 185, 78, .4); }
.loading { background: radial-gradient(#3a3029, #1d1813); }
.modal-hero { color: #2b1f12; }
.btn:disabled { background: #5a4d40; box-shadow: 0 5px 0 #40352c; color: #a8977f; }
