/* World-native shared components. No dependency on the retired root or FuturisticV1 themes. */
[hidden] { display: none !important; }

/* Buttons and small controls */
.vlado-world .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--paper);
  background: transparent;
  font: 500 9px/1 var(--mono);
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.vlado-world .btn:hover, .vlado-world .btn--primary { border-color: var(--cyan); color: #071012; background: var(--cyan); }
.vlado-world .btn--primary:hover { color: var(--paper); background: transparent; }
.vlado-world .eyebrow, .vlado-world .breadcrumb { color: var(--cyan); font: 500 9px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.vlado-world .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vlado-world .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.vlado-world .top-nav a { min-height: 44px; }
.vlado-world .page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.vlado-world .empty-state { margin: 28px 0; padding: 34px; border: 1px solid var(--line); color: var(--muted); background: #101419; }
.vlado-world .collection-state{display:grid;place-items:center;max-width:760px;min-height:360px;margin:48px auto 72px!important;padding:54px;border:1px solid var(--line);background:radial-gradient(circle at 70% 20%,#172126,#090b0f 58%);text-align:center}
.vlado-world .collection-state__mark{display:grid;place-items:center;width:76px;height:76px;margin-bottom:22px;border:1px solid var(--accent,var(--cyan));color:var(--accent,var(--cyan));font:24px var(--mono)}
.vlado-world .collection-state__code{color:var(--accent,var(--cyan));font:9px var(--mono);letter-spacing:.12em}
.vlado-world .collection-state h2{margin:18px 0 0;color:#fff;font:500 clamp(34px,5vw,62px)/.95 var(--display);letter-spacing:-.055em}
.vlado-world .collection-state p{max-width:560px;margin:18px 0 26px;color:#aeb6b1;font-size:14px;line-height:1.7}

/* Mobile world index */
.vlado-world .fv1-menu-backdrop { position: fixed; z-index: 92; inset: 0; background: rgb(0 0 0 / 72%); }
.vlado-world .fv1-menu-sheet { position: fixed; z-index: 95; top: var(--header); right: 0; bottom: 0; width: min(460px, 100%); padding: 24px; overflow: auto; color: #fff; background: #0b0e12; }
.vlado-world .fv1-menu-sheet__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line2); }
.vlado-world .fv1-menu-sheet__title { font: 500 24px/1 var(--display); letter-spacing: -.05em; }
.vlado-world .fv1-menu-sheet__close { min-height: 44px; border: 1px solid var(--line); padding: 9px 12px; color: #fff; background: transparent; font: 9px var(--mono); text-transform: uppercase; }
.vlado-world .fv1-menu-sheet__nav { display: grid; margin-top: 18px; }
.vlado-world .fv1-menu-sheet__link { display: flex; align-items: center; min-height: 58px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line2); color: #fff; background: transparent; font: 500 17px/1 var(--display); text-align: left; text-decoration: none; }
.vlado-world .fv1-menu-sheet__link:hover, .vlado-world .fv1-menu-sheet__link.is-active { color: var(--cyan); }
.vlado-world .fv1-menu-sheet__channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.vlado-world .fv1-menu-sheet__channels a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); text-decoration: none; text-transform: uppercase; }
.vlado-world .fv1-menu-sheet__foot { margin-top: 28px; color: var(--muted); font: 8px var(--mono); }

/* Command palette, available through Cmd/Ctrl+K and the mobile menu */
.vlado-world .cmd-backdrop { position: fixed; z-index: 110; inset: 0; display: grid; place-items: start center; padding: max(90px, 12vh) 20px 20px; background: rgb(0 0 0 / 78%); backdrop-filter: blur(10px); }
.vlado-world .cmd-palette { width: min(720px, 100%); max-height: min(680px, 76vh); overflow: hidden; border: 1px solid var(--line); color: var(--paper); background: #0b0e12; box-shadow: 0 30px 100px rgb(0 0 0 / 65%); }
.vlado-world .cmd-input-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 70px; padding: 0 18px; border-bottom: 1px solid var(--line2); }
.vlado-world .public-search-dialog__icon { color: var(--cyan); }
.vlado-world .public-search-dialog__input { min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; font: 16px var(--sans); }
.vlado-world .public-search-dialog__input::placeholder { color: #7f8782; }
.vlado-world .cmd-hint, .vlado-world .cmd-key { padding: 5px 7px; border: 1px solid var(--line); color: var(--muted); font: 8px var(--mono); }
.vlado-world .cmd-close { min-width: 44px; min-height: 44px; border: 0; color: var(--muted); background: transparent; font-size: 17px; }
.vlado-world .cmd-results { max-height: 500px; overflow: auto; padding: 10px; }
.vlado-world .cmd-group-label { padding: 12px 10px 7px; color: var(--muted); font: 8px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.vlado-world .cmd-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; min-height: 50px; padding: 10px 12px; border: 0; color: #fff; background: transparent; text-align: left; }
.vlado-world .cmd-item:hover, .vlado-world .cmd-item.is-active { color: #091012; background: var(--cyan); }
.vlado-world .cmd-item-title { font: 500 13px var(--sans); }
.vlado-world .cmd-item-meta { color: inherit; opacity: .72; font: 8px var(--mono); text-transform: uppercase; }
.vlado-world .cmd-foot { display: flex; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--line2); color: var(--muted); font: 8px var(--mono); }

/* Preview state for authenticated draft and scheduled routes. */
.vlado-world .fv1-preview-banner { margin: 0 0 16px; padding: 11px 14px; border: 1px solid rgb(255 186 91 / 48%); color: #ffd08d; background: rgb(255 186 91 / 10%); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.world-detail .fv1-preview-banner.v6-state { border-color: #f2c078; color: #f2c078; background: #101419; }

/* Live status banner remains legible without the retired root theme. */
.vlado-world .root-live-promo { position: fixed; z-index: 75; top: var(--header); right: 0; left: var(--rail); }
.vlado-world .root-live-promo__banner { border-bottom: 1px solid rgb(195 238 98 / 34%); background: rgb(9 11 15 / 94%); backdrop-filter: blur(16px); }
.vlado-world .root-live-promo__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-width: 1500px; margin: 0 auto; padding: 12px 24px; }
.vlado-world .root-live-promo__badge { display: inline-flex; align-items: center; padding: 4px 9px; border: 1px solid rgb(195 238 98 / 55%); border-radius: 999px; color: var(--lime); background: rgb(195 238 98 / 10%); font: 500 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vlado-world .root-live-promo__title { flex: 1 1 12rem; color: #fff; font-size: 13px; font-weight: 600; }
.vlado-world .root-live-promo__link { color: var(--lime); font: 10px var(--mono); letter-spacing: .08em; text-decoration: none; }
.vlado-world .root-live-promo__link:hover { text-decoration: underline; }

/* Footer */
.vlado-world .fv1-footer { margin-left: var(--rail); border-top: 1px solid var(--line); color: #b8c0bb; background: #07090c; }
.vlado-world .fv1-footer__inner { padding: 56px 5vw 24px; }
.vlado-world .fv1-footer__grid { display: grid; grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(130px, .7fr)); gap: 44px; }
.vlado-world .fv1-footer__display { color: #fff; font: 500 34px/1 var(--display); letter-spacing: -.07em; }
.vlado-world .fv1-footer__brand p { max-width: 38ch; color: #b8c0bb; font-size: 13px; line-height: 1.7; }
.vlado-world .fv1-footer__heading { color: #fff; font: 500 8px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.vlado-world .fv1-footer ul { margin: 16px 0 0; padding: 0; list-style: none; }
.vlado-world .fv1-footer li { margin: 10px 0; }
.vlado-world .fv1-footer a { color: #b8c0bb; font: 9px var(--mono); text-decoration: none; }
.vlado-world .fv1-footer a:hover { color: var(--cyan); }
.vlado-world .fv1-footer__bottom { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line2); color: #8f9692; font: 8px var(--mono); letter-spacing: .08em; }

/* Search and pagination */
.vlado-world .search-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 48px 5vw 18px !important; padding: 14px 16px; border: 1px solid var(--line); background: #101419; }
.vlado-world .search-box input { min-width: 0; border: 0; outline: 0; color: #fff; background: transparent; font: 15px var(--sans); }
.vlado-world .search-results { margin: 22px 5vw 0 !important; border-top: 1px solid var(--line); }
.vlado-world .search-hit { display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); color: #fff; text-decoration: none; }
.vlado-world .search-hit__kind { color: var(--cyan); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vlado-world .pagination, .vlado-world .pg-controls, .vlado-world .pg-pages { display: flex; align-items: center; justify-content: center; gap: 6px; }
.vlado-world .pagination a, .vlado-world .pagination .current, .vlado-world .pagination .gap { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); text-decoration: none; }
.vlado-world .pagination .current, .vlado-world .pagination a:hover { border-color: var(--cyan); color: #071012; background: var(--cyan); }

/* Comments and forms */
.vlado-world .comments { padding-top: 48px; border-top: 1px solid var(--line); }
.vlado-world .comments h2 { margin: 10px 0 28px; color: #fff; font: 500 clamp(28px, 4vw, 48px)/1 var(--display); letter-spacing: -.05em; }
.vlado-world .fv1-comment-shell { display: grid; gap: 34px; }
.vlado-world .fv1-comment-shell .comment-section__empty p { margin: 0; color: #b6bdb8; font-size: 15px; }
.vlado-world .comment-section__list { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.vlado-world .fv1-comment-shell div[id^="comment-"] { padding: 16px; border: 1px solid var(--line); border-left: 3px solid var(--cyan); color: #fff; background: #101419; }
.vlado-world .fv1-comment-shell div[id^="comment-"] img { border: 1px solid var(--line); background: #151a20; }
.vlado-world .fv1-comment-shell .comment-body,
.vlado-world .fv1-comment-shell .text-gray-700,
.vlado-world .fv1-comment-shell .text-gray-600,
.vlado-world .fv1-comment-shell .text-gray-500 { color: #b6bdb8; }
.vlado-world .fv1-comment-shell .comment-body a { color: var(--cyan); }
.vlado-world .fv1-comment-shell .comment-form { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); background: #101419; }
.vlado-world .comment-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vlado-world .comment-form__field { display: grid; gap: 8px; margin-bottom: 16px; }
.vlado-world .comment-form__label, .vlado-world .comment-form__identity { color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vlado-world .comment-form__input, .vlado-world .comment-rich-text { width: 100%; min-height: 44px; border: 1px solid var(--line); color: #fff; background: #101419; }
.vlado-world .comment-form__submit { min-height: 44px; padding: 0 18px; border: 1px solid var(--cyan); color: #071012; background: var(--cyan); font: 500 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.vlado-world .comment-form-honeypot { position: absolute; left: -9999px; }

@media (max-width: 760px) {
  .vlado-world .root-live-promo { left: 0; }
  .vlado-world .root-live-promo__inner { padding: 10px 16px; }
  .vlado-world .fv1-menu-sheet { inset: var(--header) 0 0; width: auto; max-width: none; padding: 0; background: #090b0ff8; backdrop-filter: blur(20px); }
  .vlado-world .fv1-menu-sheet__channels, .vlado-world .fv1-menu-sheet__foot { display: none; }
  .vlado-world .fv1-menu-sheet__head { min-height: 64px; padding: 0 18px; }
  .vlado-world .fv1-menu-sheet__nav { display: grid; grid-template-columns: 1fr 1fr; height: calc(100% - 64px); margin: 0; }
  .vlado-world .fv1-menu-sheet__link { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; min-height: 0; padding: 24px; border: 0; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); font: 500 18px var(--display); letter-spacing: -.04em; }
  .vlado-world .fv1-menu-sheet__link:last-child { grid-column: 1 / -1; }
  .vlado-world .fv1-menu-sheet__link::before { content: "WORLD INDEX"; display: block; margin-bottom: 10px; color: var(--muted); font: 8px var(--mono); letter-spacing: .1em; }
  .vlado-world .fv1-footer { margin-left: 0; }
  .vlado-world .fv1-footer__grid { grid-template-columns: 1fr 1fr; }
  .vlado-world .fv1-footer__brand { grid-column: 1 / -1; }
  .vlado-world .comment-form__fields { grid-template-columns: 1fr; }
  .vlado-world .cmd-backdrop { padding: var(--header) 0 0; }
  .vlado-world .cmd-palette { width: 100%; max-height: 100%; min-height: 100%; border: 0; }
}
