/* My Virtual World — Copyright (c) 2026 My Virtual World. Licensed under the PolyForm Noncommercial License 1.0.0 (see LICENSE). */
/* Floor Themes and floor names (ui/floor-themes.js): the themes dialog, the name in the Furnish floor bar and on the
   floor control. The dialogs reuse the saved layouts' look (.libdlg, app.css). */
.ftdlg { width: min(720px, calc(100vw - 20px)); }
.ftdlg .ft-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; max-height: min(64vh, 560px); overflow-y: auto; padding: 2px; }
.ftdlg .ft-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 10px; row-gap: 3px; align-items: start; text-align: left;
  padding: 10px 11px; border-radius: 12px; border: 1px solid var(--line); background: var(--btn); color: inherit; font: inherit; cursor: pointer; min-height: 92px; }
.ftdlg .ft-card:hover:not(:disabled) { border-color: var(--accent); }
.ftdlg .ft-card:disabled { opacity: 0.5; cursor: default; }
.ftdlg .ft-card .ft-ic { grid-row: 1 / span 3; font-size: 28px; line-height: 1; }
.ftdlg .ft-card b { font-size: 14px; }
.ftdlg .ft-card small { color: var(--dim); font-size: 12px; line-height: 1.35; }
.ftdlg .ft-card .ft-tag { font-style: normal; font-size: 11px; color: var(--accent); }
.ftdlg .ft-card em { grid-column: 1 / -1; font-style: normal; font-weight: 700; font-size: 12px; color: var(--bad); margin-top: 3px; }
.ftdlg .ft-card.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ftdlg .ft-card.armed { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
@media (max-width: 760px) { .ftdlg .ft-grid { grid-template-columns: 1fr; max-height: 58vh; } .ftdlg .ft-card { min-height: auto; padding: 9px 10px; } .ftdlg .ft-card .ft-ic { font-size: 24px; } }

/* the floor's name: a chip in the Furnish floor bar, a small line on the floor control */
.floorbar .ft-name { font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--btn); border: 1px solid var(--line); white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
#floorw .fl .fln { display: block; font-style: normal; font-size: 9.5px; line-height: 1.15; max-width: 58px; margin: 1px auto 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); }
#floorw .fl .fln:empty { display: none; }
/* the café's style pull-down under its card (2026-10-26) */
.ftdlg .ft-wrap { display: flex; flex-direction: column; gap: 6px; }
.ftdlg .ft-wrap .ft-card { flex: 1; }
.ftdlg .ft-style-l { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted, #9aa0a6); padding: 0 4px; }
.ftdlg .ft-style { flex: 1; min-width: 0; padding: 6px 8px; border-radius: 8px; background: var(--bg-2, #1e2126); color: inherit; border: 1px solid var(--line, #2c3036); font: inherit; font-size: 12.5px; }
