/* Composer's Circle — world map, zone placement, house interior (web/js/circle.js) */
#circle-screen .panel.wide { width: min(96vw, 1120px); max-width: 1120px; }
#circle-root { position: relative; }

.cc-map { position: relative; width: 100%; aspect-ratio: 3 / 2; margin: 12px 0 6px;
  border-radius: 14px; overflow: hidden; background: #0b2a5a;
  border: 1px solid rgba(255, 255, 255, .14); container-type: inline-size; user-select: none; }
.cc-map .wm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-bar { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.cc-coins { display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: #ffd75e;
  background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 215, 94, .35); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.cc-note { font-size: 12.5px; line-height: 1.5; opacity: .7; margin: 4px 0 8px; text-align: left; }
.cc-h3 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .6; margin: 0 0 6px; text-align: left; font-weight: 800; }

/* --- world pins: the maps.json-style hit target + label, like .wm-zone --- */
.cc-pin .cc-pin-dot { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .5); margin-bottom: 4px; transition: transform .15s; }
.cc-pin:hover .cc-pin-dot { transform: scale(1.15); box-shadow: 0 0 0 3px rgba(52, 211, 255, .9), 0 0 22px rgba(52, 211, 255, .55); }
.cc-pin-snow { background: #bfe8ff; } .cc-pin-forest { background: #4fc46a; } .cc-pin-island { background: #ffd75e; }
.cc-pin-desert { background: #f0a050; } .cc-pin-mountain { background: #b9a7d8; }
.cc-pin .wm-name { font-size: 13px; }
.cc-pin-sub { display: block; font-size: 10.5px; font-weight: 600; opacity: .7; }

/* --- zone --- */
.cc-zhead { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.cc-ztitle { font-size: 22px; font-weight: 900; margin: 0; }
.cc-zwrap { display: grid; grid-template-columns: 1fr 250px; gap: 14px; align-items: start; margin-top: 6px; }
@media (max-width: 820px) { .cc-zwrap { grid-template-columns: 1fr; } }
.cc-zmap { margin: 0; }
.cc-grid { position: absolute; inset: 0; display: grid; }
.cc-cell { position: relative; border: 1px solid transparent; }
.cc-cell.ok { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); cursor: pointer; }
.cc-cell.ok:hover { background: rgba(255, 255, 255, .15); }
.cc-cell.taken { background: rgba(0, 0, 0, .16) !important; }
.cc-cell.halo { background: rgba(255, 60, 90, .22) !important; box-shadow: inset 0 0 0 1px rgba(255, 60, 90, .35); }
.cc-cell.halo.friend { background: rgba(94, 226, 122, .16) !important; box-shadow: inset 0 0 0 1px rgba(94, 226, 122, .35); }
.cc-layer { position: absolute; inset: 0; pointer-events: none; }
.cc-house { position: absolute; pointer-events: auto; display: flex; align-items: flex-end; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer; transition: opacity .15s, filter .15s; }
.cc-house img { max-width: none; height: auto; margin-bottom: -4%; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); pointer-events: none; }
.cc-house:hover img { filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)) brightness(1.12); }
.cc-house.xray { opacity: .3; }
.cc-house-blk { width: 90%; height: 90%; border-radius: 6px; background: linear-gradient(180deg, #ffd75e, #e09a1a); border: 2px solid #fff; }
.cc-tag { position: absolute; z-index: 40; transform: translate(-50%, -100%); background: rgba(10, 10, 30, .85); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .25); pointer-events: none; }
.cc-tag.mine { border-color: #34d3ff; } .cc-tag.friend { border-color: #5ee27a; }
.cc-ghost { position: absolute; z-index: 30; border-radius: 4px; border: 2px dashed #fff; background: rgba(94, 226, 122, .35); pointer-events: none; }
.cc-ghost.bad { background: rgba(255, 59, 92, .4); border-color: #ffb3c0; }
.cc-ghost.pinned { box-shadow: 0 0 0 3px rgba(52, 211, 255, .6); }
.cc-ghost-tag { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); background: rgba(10, 10, 30, .9); color: #fff;
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.cc-confirm { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 50; max-width: 92%;
  background: rgba(10, 10, 30, .94); border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 10px 14px;
  display: flex; gap: 10px; align-items: center; font-size: 13px; }
.cc-confirm.busy { opacity: .6; pointer-events: none; }
.cc-confirm-txt { text-align: left; line-height: 1.35; }
.cc-zload { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 60; background: rgba(10, 10, 30, .8);
  border-radius: 10px; padding: 8px 14px; font-size: 13px; pointer-events: none; }
.cc-side { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px; text-align: left; }
.cc-tiers { display: flex; flex-direction: column; gap: 6px; }
.cc-tier { display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 10px; width: 100%;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; cursor: pointer; text-align: left; }
.cc-tier.on { border-color: #34d3ff; background: rgba(52, 211, 255, .12); }
.cc-fp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; width: 30px; flex: 0 0 auto; }
.cc-fp i { display: block; background: #ffd75e; border-radius: 2px; aspect-ratio: 1; }
.cc-fp i.off { background: rgba(255, 255, 255, .08); }
.cc-tier-txt { flex: 1; min-width: 0; }
.cc-tier-txt b { display: block; font-size: 13px; }
.cc-tier-txt small { display: block; font-size: 10.5px; opacity: .6; }
.cc-tier-price { font-size: 12px; font-weight: 900; color: #ffd75e; white-space: nowrap; }
.cc-tier-price .coin, .cc-coins .coin, .cc-confirm .coin { margin-right: 3px; }
.cc-tier-price.paid { color: #5ee27a; }
.cc-fam { display: flex; gap: 6px; margin: 10px 0 4px; }
.cc-fam-btn { flex: 1; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px;
  color: #fff; padding: 6px 4px; cursor: pointer; font-size: 11px; font-weight: 700; }
.cc-fam-btn img { display: block; height: 44px; margin: 0 auto 3px; object-fit: contain; }
.cc-fam-btn.on { border-color: #34d3ff; background: rgba(52, 211, 255, .12); }
.cc-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 11px; opacity: .7; }
.cc-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; }
.cc-legend .l-ok { background: rgba(255, 255, 255, .35); border: 1px solid #fff; }
.cc-legend .l-halo { background: rgba(255, 60, 90, .55); }
.cc-legend .l-friend { background: rgba(94, 226, 122, .55); }
#cc-enter-mine { margin-top: 10px; width: 100%; }

/* --- room --- */
.cc-room { position: relative; width: 100%; aspect-ratio: 3 / 2; margin: 10px 0 0; border-radius: 14px; overflow: hidden;
  background: #222; border: 1px solid rgba(255, 255, 255, .14); container-type: inline-size; }
.cc-room-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-wall { position: absolute; }
.cc-frame { position: absolute; cursor: pointer; padding: 0; background: #d9a93a; color: #fff;
  border: 1.1cqw solid #d9a93a; box-shadow: 0 .6cqw 1.4cqw rgba(0, 0, 0, .45), inset 0 0 0 2px #8a6417; outline: 2px solid #f3d98a; outline-offset: -4px;
  transition: transform .15s; transform-origin: center; }
.cc-frame:hover { transform: scale(1.03); z-index: 3; }
.cc-frame-in { position: absolute; inset: 0; overflow: hidden; background: #1b1b25; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 2.2cqw; }
.cc-frame-in small { display: block; font-size: 1.1cqw; font-weight: 700; opacity: .85; }
.cc-frame-in .cc-page { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cc-frame.empty { background: transparent; border-color: rgba(217, 169, 58, .75); outline-color: rgba(243, 217, 138, .5); }
.cc-frame.empty .cc-frame-in { background: rgba(255, 255, 255, .14); border: 2px dashed rgba(255, 255, 255, .6); }
.cc-frame.featured::before { content: "★ FEATURED"; position: absolute; left: 50%; top: -2.2cqw; transform: translateX(-50%);
  font-size: .95cqw; font-weight: 900; color: #ffd75e; letter-spacing: 1px; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.cc-plate { position: absolute; left: 50%; top: 100%; transform: translate(-50%, .6cqw); background: linear-gradient(180deg, #f6dc8a, #caa24a);
  color: #3a2b05; font-size: 1cqw; font-weight: 800; padding: .15cqw .8cqw; border-radius: .4cqw; white-space: nowrap; max-width: 150%;
  overflow: hidden; text-overflow: ellipsis; border: 1px solid #8a6417; box-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.cc-rhud { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.cc-rhud > * { pointer-events: auto; position: absolute; }
.cc-owner { left: 10px; top: 10px; display: flex; align-items: center; gap: 9px; background: rgba(10, 10, 30, .85);
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 5px 12px 5px 6px; text-align: left; }
.cc-owner b { display: block; font-size: 13.5px; }
.cc-owner small { font-size: 11px; opacity: .65; }
.cc-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); font-size: 20px; }
.cc-av-img { width: 100%; height: 100%; object-fit: cover; }
.cc-rbtns { right: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cc-rbtns .mode-btn.sm, .cc-rbtns .small-btn { background: rgba(10, 10, 30, .8); }
.cc-rbtns .cc-like.on { color: #ff8ca3; }
.cc-pieces-btn { right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: linear-gradient(180deg, #ffe07a, #e0a820); color: #3a2b05; border: 0; font-weight: 900; box-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
.cc-pieces-btn .n { background: rgba(0, 0, 0, .18); border-radius: 999px; padding: 1px 8px; font-size: 12px; }

/* drawers + card */
.cc-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88%); z-index: 8; display: flex; flex-direction: column;
  background: rgba(12, 12, 26, .97); border-left: 1px solid rgba(255, 255, 255, .15); text-align: left; }
.cc-drawer.floating { position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: min(400px, 92vw); }
.cc-drawer header { padding: 12px 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-drawer header b { font-size: 15px; }
.cc-drawer header small { display: block; opacity: .6; font-size: 11.5px; margin-top: 2px; }
.cc-dr-tabs { display: flex; gap: 6px; padding: 10px 14px 0; flex-wrap: wrap; }
.cc-dr-list { overflow: auto; padding: 10px 14px 80px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cc-drawer footer { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; display: flex; gap: 8px;
  background: linear-gradient(180deg, rgba(12, 12, 26, 0), rgba(12, 12, 26, 1) 40%); }
.cc-drawer footer .mode-btn { flex: 1; }
.cc-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .3px;
  background: rgba(255, 255, 255, .1); color: #ddd; border: 1px solid rgba(255, 255, 255, .15); white-space: nowrap; }
.cc-chip.gr { background: rgba(94, 226, 122, .18); color: #5ee27a; border-color: rgba(94, 226, 122, .4); }
.cc-chip.go { background: rgba(255, 215, 94, .18); color: #ffd75e; border-color: rgba(255, 215, 94, .4); }
.cc-chip.rd { background: rgba(255, 59, 92, .18); color: #ff6b85; border-color: rgba(255, 59, 92, .4); }
.cc-chip.cy { background: rgba(52, 211, 255, .18); color: #34d3ff; border-color: rgba(52, 211, 255, .4); }
.cc-chip.pu { background: rgba(199, 155, 255, .18); color: #c79bff; border-color: rgba(199, 155, 255, .4); }
.cc-pc { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; width: 100%; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; text-align: left; }
button.cc-pc:hover { background: rgba(255, 255, 255, .1); }
.cc-pc.dis { opacity: .55; cursor: default; }
.cc-pc-th { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: #fff; flex: 0 0 auto; display: block; }
.cc-pc-th .cc-page { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cc-pc-txt { flex: 1; min-width: 0; }
.cc-pc-txt b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-pc-txt small { display: block; font-size: 11px; opacity: .6; margin-top: 2px; }
.cc-req-btns { display: flex; gap: 6px; }
.cc-req-btns .ok { border-color: #5ee27a; color: #5ee27a; }
.cc-lbl { display: block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .55; margin: 6px 0 2px; font-weight: 800; }
.cc-name-row { display: flex; gap: 6px; }
.cc-input { flex: 1; font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; }
.cc-rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cc-rp { aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; position: relative; background: #222; padding: 0; color: #fff; }
.cc-rp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-rp.on { border-color: #34d3ff; }
.cc-rp span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9.5px; font-weight: 800; text-align: center; background: rgba(0, 0, 0, .55); padding: 2px; }
.cc-layouts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cc-lp { position: relative; aspect-ratio: 3 / 2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; cursor: pointer; padding: 0; }
.cc-lp i { position: absolute; background: rgba(255, 255, 255, .7); border-radius: 1px; }
.cc-lp.on { border-color: #34d3ff; background: rgba(52, 211, 255, .15); }
.cc-lp.on i { background: #34d3ff; }
.cc-lp.locked { opacity: .35; cursor: not-allowed; }
.cc-lp span { position: absolute; left: 3px; bottom: 1px; font-size: 9px; font-weight: 900; color: rgba(255, 255, 255, .7); }
.cc-modal { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; z-index: 9; }
.cc-modal.floating { position: fixed; z-index: 31; }
.cc-card { width: min(540px, 94%); background: rgba(14, 14, 30, .98); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); text-align: left; }
.cc-card-top { display: flex; gap: 14px; padding: 14px; }
.cc-card-cov { width: 120px; height: 120px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #fff; border: 4px solid #d9a93a; display: block; }
.cc-card-cov .cc-page { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cc-card h4 { font-size: 19px; font-weight: 900; margin: 0; }
.cc-by { opacity: .7; font-size: 13px; margin: 2px 0 8px; }
.cc-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.cc-card-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 12px; }
.cc-card-acts .mode-btn { padding: 11px 8px; font-size: 14px; }
.cc-card-acts .mode-btn small { display: block; font-weight: 700; font-size: 10.5px; opacity: .75; margin-top: 2px; }
.cc-card-acts .mode-btn.gold { background: linear-gradient(180deg, #ffe07a, #e0a820); color: #3a2b05; }
.cc-card-foot { display: flex; gap: 8px; padding: 0 14px 14px; justify-content: flex-end; }
@media (max-width: 560px) { .cc-card-acts { grid-template-columns: 1fr; } .cc-card-cov { width: 80px; height: 80px; } }

/* .small-btn is display:block + auto margins in the base sheet (it's the lone
   "Back" under most panels); inside our bars it sits inline */
.cc-bar .small-btn, .cc-zhead .small-btn, .cc-rbtns .small-btn, .cc-drawer .small-btn,
.cc-card .small-btn, .cc-confirm .small-btn, .cc-req-btns .small-btn, .cc-name-row .small-btn { display: inline-block; margin: 0; }
.cc-drawer header .small-btn, .cc-card-foot .small-btn { padding: 6px 12px; font-size: 13px; }
/* keep the maps inside the viewport so the bar under them stays reachable */
.cc-world { max-width: calc(66vh * 1.5); margin-left: auto; margin-right: auto; }
.cc-room { max-width: calc(80vh * 1.5); margin-left: auto; margin-right: auto; }
.cc-zmap { max-width: calc(74vh * 1.5); }
.cc-zhead { margin-top: 4px; }
.cc-pc-wrap { display: flex; flex-direction: column; gap: 4px; }
.cc-cover-row { display: flex; align-items: center; gap: 8px; padding: 0 4px 4px 62px; flex-wrap: wrap; }
.cc-cover-row .small-btn { padding: 4px 10px; font-size: 12px; }
.cc-cover-hint { font-size: 11px; opacity: .55; }
.cc-page.cc-cover { object-fit: cover; object-position: center; }

/* ---- Composers' Alley: the street of galleries (circle.js showAlley) ---- */
.cc-alley { display: flex; flex-direction: column; gap: 14px; min-height: 60vh; }
.cc-alley-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; text-align: left; }
.cc-alley-head .title { text-align: left; margin: 0; }
.cc-alley-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-street { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 6px 2px 10px;
  background: linear-gradient(to bottom, rgba(255,255,255,.02), rgba(255,255,255,.05)); border-radius: 12px; }
.cc-street .cc-zload { grid-column: 1 / -1; }
.cc-street .cc-note { grid-column: 1 / -1; padding: 24px; text-align: center; opacity: .8; }
.cc-shop { display: flex; flex-direction: column; background: #1a1a26; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden;
  padding: 0; cursor: pointer; color: inherit; text-align: left; transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease; }
.cc-shop:hover, .cc-shop:focus-visible { transform: translateY(-3px); border-color: rgba(52,211,255,.55); box-shadow: 0 10px 28px rgba(0,0,0,.45); outline: none; }
.cc-shop.mine { border-color: rgba(247,215,116,.55); }
.cc-shop-front { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d16; }
.cc-shop-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(.85); }
.cc-shop-frames { position: absolute; left: 14%; right: 14%; top: 16%; bottom: 30%; display: flex; gap: 8%; align-items: stretch; justify-content: center; }
.cc-shop-th { flex: 1 1 0; background: #fff; border: 3px solid #5a3b1c; box-shadow: 0 4px 14px rgba(0,0,0,.6); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cc-shop-th .cc-page { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cc-shop-you { position: absolute; top: 8px; left: 8px; background: #f7d774; color: #2a1d05; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 2px 8px; border-radius: 999px; }
.cc-shop-plate { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.cc-shop-plate b { display: block; font-size: 14px; line-height: 1.2; }
.cc-shop-plate small { display: block; font-size: 11.5px; opacity: .65; margin-top: 2px; }
/* the visitors' book (gallery feedback, 2026-08-30; rebuilt for a phone 2026-09-27) */
.cc-fb-note { margin: 0; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.cc-fb-note.mine { background: rgba(94, 226, 122, .12); box-shadow: inset 0 0 0 1px rgba(94, 226, 122, .45); }
.cc-fb-note.mine b { color: #5ee27a; }
.cc-fb-list { display: flex; flex-direction: column; gap: 8px; }
.cc-fb-list > p { margin: 0; }
/* the writing field comes FIRST and never shrinks: the phone's keyboard
   rises from the bottom, and the list is the part that can give way */
.cc-fb-write { flex: none; padding: 10px 14px 10px; border-bottom: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; }
.cc-fb-text { display: block; width: 100%; box-sizing: border-box; min-height: 84px; resize: vertical;
  font: inherit; font-size: 16px; line-height: 1.4; /* 16px: a phone does not zoom the page to type */
  padding: 9px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .07); color: #fff; }
.cc-fb-text:focus { outline: 2px solid rgba(52, 211, 255, .7); outline-offset: 1px; }
.cc-fb-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-fb-count { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: #d9c98f; }
.cc-fb-count.ok { color: #5ee27a; }
.cc-fb-row .mode-btn { margin: 0; min-height: 40px; }
.cc-fb-row .mode-btn:disabled { opacity: .45; cursor: default; }
.cc-fb-msg { margin: 0; min-height: 1.3em; font-size: 13px; line-height: 1.3; color: #d9c98f; }
.cc-fb-msg.ok { color: #5ee27a; font-weight: 700; }
.cc-fb-msg.no { color: #ff9aa9; font-weight: 700; }
.cc-drawer.cc-book .cc-dr-list { padding-bottom: 16px; }
/* a small screen: the book is a sheet of its own, not a sliver of the room
   (the room is 300 by 200 px on a phone held upright) */
.cc-drawer.cc-sheet { position: fixed; inset: 0; width: auto; z-index: 90; border-left: 0; color: #fff; background: #0c0c1a;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cc-drawer.cc-sheet header .small-btn { min-width: 44px; min-height: 44px; }
/* …and on that same screen the room's buttons stand UNDER the picture, its
   plate above it: over it they covered the owner's name and the featured
   frame, and a tap on the frame went back to the Alley */
@media (max-width: 720px) {
  .cc-room { overflow: visible; margin-top: 62px; margin-bottom: 118px; }
  .cc-room-bg { border-radius: inherit; }
  .cc-rhud .cc-owner { top: auto; bottom: calc(100% + 8px); left: 0; right: 0; }
  .cc-rhud .cc-rbtns { top: calc(100% + 8px); left: 0; right: 0; justify-content: center; }
  .cc-rhud .cc-rbtns .mode-btn.sm, .cc-rhud .cc-rbtns .small-btn { min-height: 44px; flex: 1 1 auto; }
  .cc-rhud .cc-pieces-btn { right: 0; bottom: auto; top: calc(100% + 64px); left: 0; justify-content: center; }
}
