/* world — «Найди свою группу» (release 8). Solid content on --bg (glass stays on the floating layer); touch targets
 * ≥ 44 pt; logical properties (RTL ready, spec §10). */

.world { display: flex; flex-direction: column; gap: 12px; padding-block-end: 24px; }

.world-head { display: flex; align-items: center; gap: 8px; }

/* who opens it: «Выбери другую группу — она заменит текущую» / «Расписание группы заменили …» (model.findState) */
.world-lead { margin: 0; padding-inline: 4px; font-size: 15px; line-height: 1.4; color: var(--subtitle); }

.world-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%;
  padding-block: 6px; padding-inline: 12px 10px; border: 0; border-radius: 22px;
  background: var(--bg2); color: var(--text); font: inherit; font-size: 15px; cursor: pointer;
}
.world-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.world-chip svg { width: 18px; height: 18px; color: var(--hint); flex: none; }
.world-chip-mark { font-size: 18px; line-height: 1; flex: none; }
.world-chip-mark.code {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 3px 6px; border-radius: 6px;
  background: rgb(var(--text-rgb) / 0.08); color: var(--subtitle);
}
.world-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.world-field-wrap {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding-inline: 14px;
  border-radius: 12px; background: var(--bg2);
}
.world-field-wrap svg { width: 20px; height: 20px; color: var(--hint); flex: none; }
.world-field {
  flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: var(--text);
  font: inherit; font-size: 17px; outline: none;
}
.world-field::placeholder { color: var(--hint); }
.world-field:disabled { opacity: 0.5; }

.world-list { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--bg2); }
.world-list:empty { display: none; }
.world-list > .row-item { min-height: 52px; }
.world-list > .world-hint { margin: 0; padding: 14px 16px; }
.world-create .row-title { color: var(--accent); font-weight: 600; }

.world-hint { color: var(--hint); font-size: 14px; line-height: 1.4; margin: 0; padding-inline: 4px; }

.world-soon { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.world-soon-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.world-soon-body { margin: 0; color: var(--subtitle); line-height: 1.45; }

.world-skip { display: flex; justify-content: center; }
.world-skip .btn { min-height: 44px; }

.world-foot { display: flex; flex-direction: column; gap: 6px; }
.world-foot:empty { display: none; }
.world-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--hint); padding-inline: 4px; }

/* the live region: read by screen readers, not shown */
.world-live {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.world-country-body { display: flex; flex-direction: column; gap: 10px; }
.world-countries { display: flex; flex-direction: column; max-height: 52vh; overflow-y: auto; border-radius: 12px;
                   background: var(--bg2); }
.world-countries .row-item { min-height: 48px; }

@media (prefers-contrast: more) {
  .world-chip, .world-field-wrap, .world-list { border: 1px solid var(--sep); }
  .world-lead { color: var(--text); }
}
