:root {
  --app-height: 100dvh;
  --keyboard-inset: 0px;
  --visual-offset-top: 0px;
  --mobile-search-extra: 24px;
  --site-topbar-height: 52px;
}

html {
  height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  overflow: hidden;
  background-color: black;
  height: 100%;
  overscroll-behavior: none;
}

body > canvas {
  touch-action: none;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  gap: 18px;
  width: 100%;
  height: var(--site-topbar-height);
  padding: 8px clamp(10px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 15, 30, 0.68);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.topbar__brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.site-brand-logo {
  display: block;
  width: min(245px, 38vw);
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
}

.topbar__actions,
.topbar__nav {
  display: flex;
  align-items: center;
}

.topbar__actions {
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.topbar__nav {
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.topbar__nav::-webkit-scrollbar {
  display: none;
}

.topbar__nav a,
.topbar__cart {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  font: inherit;
  line-height: 1;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible,
.topbar__nav a.is-active,
.topbar__cart.is-active,
.topbar__cart:hover,
.topbar__cart:focus-visible {
  border-color: rgba(255, 232, 176, 0.22);
  color: #ffe8b0;
  outline: none;
}

.topbar__cart {
  appearance: none;
  -webkit-appearance: none;
}

.topbar-account {
  position: relative;
  flex: 0 0 auto;
}

.topbar-account__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(0,0,0,.38);
  color: rgba(255,255,255,0.82);
  font: inherit;
  line-height: 1;
}

.topbar-account__button:hover,
.topbar-account__button:focus-visible,
.topbar-account__button[aria-expanded="true"] {
  border-color: rgba(255, 232, 176, 0.32);
  color: #ffe8b0;
  outline: none;
}

.topbar-account__icon {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1.6px solid currentColor;
  border-radius: 999px;
  opacity: 0.9;
}

.topbar-account__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 4px;
  height: 4px;
  border: 1.4px solid currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
}

.topbar-account__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 8px;
  height: 4px;
  border: 1.4px solid currentColor;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  border-bottom: 0;
  transform: translateX(-50%);
}

.topbar-account__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  z-index: 10001;
  display: grid;
  min-width: 160px;
  padding: 6px;
  border: 1px solid rgba(255, 232, 176, 0.22);
  border-radius: 8px;
  background: rgba(5, 14, 28, 0.96);
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}

.topbar-account__menu[hidden] {
  display: none;
}

.topbar-account__menu a,
.topbar-account__menu button {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.topbar-account__menu a:hover,
.topbar-account__menu button:hover,
.topbar-account__menu a:focus-visible,
.topbar-account__menu button:focus-visible {
  background: rgba(255, 232, 176, 0.10);
  color: #ffe8b0;
  outline: none;
}

.sky-render-canvas {
  opacity: 0;
  transition: opacity 1700ms ease;
}

body.is-sky-ready .sky-render-canvas {
  opacity: 1;
}

.sky-catalog-loading[hidden] {
  display: none;
}

.sky-catalog-loading {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 360ms ease;
}

body.is-catalog-sky-focus-loading .sky-catalog-loading {
  opacity: 1;
}

.sky-catalog-loading__text {
  padding: 10px 18px;
  border: 1px solid rgba(255, 232, 176, 0.22);
  border-radius: 7px;
  background: rgba(6, 15, 30, 0.56);
  color: #ffe8b0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.28rem);
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 232, 176, 0.34);
  backdrop-filter: blur(5px);
}

#star-label {
  position: absolute;
  padding: 6px 10px;
  text-align: center;
  /*background: rgba(0, 0, 0, 0);*/
  color: white;
  font-family: sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em; /* Aumenta lo spazio tra i caratteri */
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000; /* simula un bordo nero di 1px */
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 24px));
  white-space: nowrap;
  display: none;
  z-index: 9996;
}

@media (pointer: coarse) {
  #star-label {
    transform: translate(-50%, calc(-100% - 14px));
  }
}

.sky-label__title {
  font-size: 16px;
  line-height: 1.15;
}

.sky-label__subtitle {
  font-size: 14px;
  font-style: italic;
  line-height: 1.15;
  opacity: 0.86;
  margin-top: 2px;
}

.adoption-sky-preview {
  --adoption-preview-beam-height: 64px;
  --adoption-preview-beam-duration: 1700ms;
  --adoption-preview-reveal-delay: 700ms;
  --adoption-preview-reveal-duration: 1400ms;
  position: absolute;
  z-index: 9997;
  display: none;
  width: fit-content;
  max-width: min(520px, 72vw);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) scale(0.96);
  transform-origin: 50% calc(100% + var(--adoption-preview-beam-height));
  transition: opacity 260ms ease, transform 260ms ease;
  isolation: isolate;
}

.adoption-sky-preview.is-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.adoption-sky-preview::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--adoption-preview-beam-height));
  height: var(--adoption-preview-beam-height);
  z-index: -1;
  width: 100%;
  background-image: url("./assets/beam-v.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transform: scaleY(0.08);
  transform-origin: 50% 100%;
  transition:
    opacity calc(var(--adoption-preview-beam-duration) * 0.55) ease,
    transform var(--adoption-preview-beam-duration) cubic-bezier(0.18, 0.72, 0.18, 1);
  pointer-events: none;
}

.adoption-sky-preview.is-visible::after {
  opacity: 0.6;
  transform: scaleY(1);
}

.adoption-sky-preview__card {
  position: relative;
  display: grid;
  gap: 9px;
  justify-items: center;
  max-width: min(520px, 72vw);
  padding: 16px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff5dc;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
  backdrop-filter: none;
  isolation: isolate;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transform: translateY(10px);
  transition:
    opacity var(--adoption-preview-reveal-duration) ease,
    clip-path var(--adoption-preview-reveal-duration) cubic-bezier(0.18, 0.72, 0.18, 1),
    transform var(--adoption-preview-reveal-duration) cubic-bezier(0.18, 0.72, 0.18, 1);
}

.adoption-sky-preview.is-visible .adoption-sky-preview__card {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition-delay: var(--adoption-preview-reveal-delay);
}

.adoption-sky-preview__card::before {
  content: "";
  position: absolute;
  inset: -9px -9px 0 -9px;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(255, 232, 176, 0.17), rgba(5, 13, 27, 0.78) 56%, rgba(4, 10, 20, 0.82));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(4px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 12%, #000 100%);
  mask-composite: intersect;
}

.adoption-sky-preview__photo {
  display: block;
  width: auto;
  max-width: min(420px, 62vw);
  max-height: min(360px, 48vh);
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 0 18px rgba(255, 232, 176, 0.18));
  transition: opacity 120ms ease;
}

:lang(ja) {
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", sans-serif;
}

:lang(zh-Hans) {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

.adoption-sky-preview__photo.is-zoom-source {
  opacity: 0;
}

.adoption-sky-photo-zoom {
  position: fixed;
  z-index: 9997;
  display: block;
  margin: 0;
  object-fit: contain;
  border-radius: 0;
  pointer-events: none;
  opacity: 0.72;
  filter: drop-shadow(0 0 18px rgba(255, 232, 176, 0.18));
  transition:
    left 280ms cubic-bezier(0.22, 0.72, 0.2, 1),
    top 280ms cubic-bezier(0.22, 0.72, 0.2, 1),
    width 280ms cubic-bezier(0.22, 0.72, 0.2, 1),
    height 280ms cubic-bezier(0.22, 0.72, 0.2, 1),
    opacity 180ms ease,
    filter 280ms ease;
  will-change: left, top, width, height, opacity;
}

.adoption-sky-photo-zoom.is-visible {
  opacity: 1;
  filter: drop-shadow(0 0 28px rgba(255, 232, 176, 0.28));
}

.adoption-sky-preview__name {
  max-width: 100%;
  color: #ffe8b0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.adoption-sky-preview__message {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.24;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.adoption-sky-preview__privacy {
  max-width: 100%;
  color: rgba(255, 232, 176, 0.78);
  font-size: 1.36rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.is-sky-capture-mode .topbar,
body.is-sky-capture-mode .panel-toggle,
body.is-sky-capture-mode .panel-close,
body.is-sky-capture-mode .star-panel__search,
body.is-sky-capture-mode .mobile-fov-control {
  display: none !important;
}

body.is-sky-capture-mode .sky-render-canvas {
  cursor: default;
}

body.is-sky-capture-mode .star-panel {
  top: 0;
  height: 100vh;
  height: var(--app-height, 100dvh);
  max-height: var(--app-height, 100dvh);
}

@media (pointer: coarse) and (orientation: landscape), (max-width: 900px) and (orientation: landscape) {
  .adoption-sky-preview {
    max-width: min(380px, 48vw);
  }

  .adoption-sky-preview__card {
    gap: 6px;
    max-width: min(380px, 48vw);
    padding: 10px 12px;
  }

  .adoption-sky-preview__photo {
    max-width: min(320px, 42vw);
    max-height: min(180px, 38vh);
  }

  .adoption-sky-preview__name {
    font-size: 1.06rem;
  }

  .adoption-sky-preview__message {
    font-size: 0.94rem;
    line-height: 1.16;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adoption-sky-photo-zoom {
    transition-duration: 1ms;
  }
}

#constellation-label-layer {
  position: fixed;
  inset: 0;
  z-index: 9995;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1700ms ease;
}

body.is-sky-ready #constellation-label-layer {
  opacity: 1;
}

.constellation-sky-label {
  position: absolute;
  display: none;
  transform: translate(-50%, -50%);
  padding: 2px 4px;
  border: 0;
  background: transparent;
  color: rgba(150, 195, 211, 0.859);
  font: 600 20px/1.1 Roboto, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, 0.95),
     1px -1px 0 rgba(0, 0, 0, 0.95),
    -1px  1px 0 rgba(0, 0, 0, 0.95),
     1px  1px 0 rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.constellation-sky-label:hover,
.constellation-sky-label:focus-visible {
  color: rgba(255, 255, 255, 0.96);
  outline: none;
}

@media (pointer: coarse) {
  .constellation-sky-label {
    pointer-events: none;
  }
}

.panel-toggle{
  position: fixed;
  top: calc(var(--site-topbar-height) + 12px);
  right: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.panel-toggle::before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(2px) rotate(45deg);
}

.panel-toggle.is-open::before {
  transform: translateX(-2px) rotate(225deg);
}

.star-panel{
  --star-panel-scroll-gutter: 44px;
  position: fixed;
  right: 0;
  z-index: 9998;
  width: min(360px, 92vw);
  top: var(--site-topbar-height);
  height: calc(100vh - var(--site-topbar-height));
  height: calc(var(--app-height, 100dvh) - var(--site-topbar-height));
  max-height: calc(var(--app-height, 100dvh) - var(--site-topbar-height));
  box-sizing: border-box;
  border-left: 1px solid rgba(255,255,255,0.15);
  transform: translateX(0);
  transition: transform 180ms ease-out, padding-bottom 160ms ease;
  color: #fff;
  opacity: 1;
  background: rgba(58, 117, 160, 0.348);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

.star-panel.has-scrollable {
  padding-bottom: var(--star-panel-scroll-gutter);
}

.star-panel.is-hidden{
  transform: translateX(110%);
}

.star-panel__scroll-hint {
  position: absolute;
  right: 10px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 232, 176, 0.36);
  border-radius: 7px;
  background: rgba(4, 12, 25, 0.32);
  appearance: none;
  -webkit-appearance: none;
  color: rgba(255, 232, 176, 0.90);
  font: inherit;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.star-panel__scroll-hint:hover,
.star-panel__scroll-hint:focus-visible {
  border-color: rgba(255, 232, 176, 0.42);
  background: rgba(4, 12, 25, 0.42);
  color: rgba(255, 244, 210, 0.96);
}

.star-panel__scroll-hint::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.star-panel__scroll-hint--top {
  top: calc(var(--star-panel-header-height, 0px) + 8px);
}

.star-panel__scroll-hint--bottom {
  bottom: 9px;
}

.star-panel__scroll-hint--top::before {
  transform: translateY(2px) rotate(135deg);
}

.star-panel__scroll-hint--bottom::before {
  transform: translateY(-2px) rotate(-45deg);
}

.star-panel.has-scroll-up .star-panel__scroll-hint--top,
.star-panel.has-scroll-down .star-panel__scroll-hint--bottom {
  opacity: 1;
  pointer-events: auto;
}

.star-panel__header{
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction:column;
  padding: 9px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  opacity: 1;
}

.star-panel__title{
  text-align: center;
  font-size: 1.25rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.2;
  letter-spacing: .03em !important;
  text-decoration:inherit;
  clear: both;
}

.panel-close{
  visibility: hidden;
  width: 34px;
  height: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
}

.star-panel__body{
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;

  padding: 12px;
  font-size: 1rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.5rem;
  letter-spacing: .035em !important;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.star-panel__body::-webkit-scrollbar{
  display: none;
}

@media (max-width: 900px) and (orientation: landscape) {
  .star-panel {
    width: min(320px, 50vw);
  }

  .star-panel__header {
    padding: 4px;
  }

  .starPreviewWrap,
  #starPreview {
    width: 104px;
    height: 104px;
  }

  .star-panel__title {
    font-size: 1rem !important;
    line-height: 1.05;
  }

  .star-panel__body {
    padding: 8px;
    font-size: 0.92rem !important;
    line-height: 1.25rem;
  }
}

.row { display:flex; gap:0; }
.row .k { margin-right:6px; font-weight: 400; }    /* spazio più “naturale” */
.row .v { opacity: 1; font-weight: 700; }
.row.indent { padding-left: 20px; font-size: 0.95rem; line-height: 1.3em;}
.row.section { margin-top: 0px; font-weight: 400; }

.adoption-panel {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 232, 176, 0.34);
  border-radius: 8px;
  background: rgba(4, 12, 25, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.adoption-panel__title {
  color: #ffe8b0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.adoption-panel__text {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.25rem;
  letter-spacing: 0.02em;
}

.adoption-panel__examples {
  color: #ffe8b0;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 232, 176, 0.58);
  text-underline-offset: 2px;
  white-space: nowrap;
}

.adoption-panel__examples:hover,
.adoption-panel__examples:focus-visible {
  color: #fff3cf;
  text-decoration-color: currentColor;
}

.adoption-panel__options {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));*/
  grid-template-columns: 1fr 1fr 1.12fr;
  gap: 7px;
  margin-top: 10px;
}

.adoption-panel--adopted {
  border-color: rgba(255, 155, 50, 0.42);
  background: rgba(34, 16, 4, 0.38);
}

.adoption-panel--adopted .adoption-panel__title {
  color: #ffbd78;
}

.adoption-panel__adopted-until {
  margin-top: 5px;
  color: rgba(255, 232, 176, 0.82);
  font-size: 0.78rem;
  line-height: 1.1rem;
  text-align: center;
}

.adoption-panel__text--center {
  text-align: center;
}

.adoption-panel__option:only-child {
  grid-column: 1 / -1;
}

.adoption-panel__option {
  display: flex;
  min-height: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(255, 232, 176, 0.25);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.adoption-panel__option.is-selected {
  color: #ffe8b0;
  background: rgba(255, 216, 143, 0.14);
  border-color: rgba(255, 232, 176, 0.52);
}

.adoption-panel__option-duration {
  font-size: 0.72rem;
  line-height: 1rem;
  text-transform: uppercase;
}

.adoption-panel__option-price {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.1rem;
}

.adoption-panel__details {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.adoption-panel__details[hidden] {
  display: none;
}

.adoption-panel__field {
  display: grid;
  gap: 4px;
}

.adoption-panel__field-label {
  color: rgba(255, 232, 176, 0.86);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adoption-panel__field-limit {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.adoption-panel__field-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 232, 176, 0.2);
  border-radius: 7px;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.18);
  font: inherit;
  font-size: 0.84rem;
  outline: none;
}

.adoption-panel__field-control:focus {
  border-color: rgba(255, 232, 176, 0.56);
  box-shadow: 0 0 0 2px rgba(255, 232, 176, 0.08);
}

.adoption-panel__field-control--file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.adoption-panel__file-picker {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 232, 176, 0.2);
  border-radius: 7px;
  padding: 5px 7px;
  background: rgba(0, 0, 0, 0.18);
}

.adoption-panel__file-button {
  min-height: 24px;
  border: 1px solid rgba(255, 232, 176, 0.24);
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(255, 232, 176, 0.10);
  color: rgba(255, 232, 176, 0.88);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.adoption-panel__file-button:hover,
.adoption-panel__file-button:focus-visible {
  border-color: rgba(255, 232, 176, 0.54);
  background: rgba(255, 232, 176, 0.18);
  outline: none;
}

.adoption-panel__file-name {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

textarea.adoption-panel__field-control {
  min-height: 72px;
  resize: vertical;
}

.adoption-panel__hint {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  line-height: 1.05rem;
}

.adoption-panel__photo-preview {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  min-height: 76px;
  padding: 6px;
  border: 1px solid rgba(255, 232, 176, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.adoption-panel__photo-preview[hidden] {
  display: none;
}

.adoption-panel__photo-preview img {
  display: block;
  width: auto;
  max-width: 116px;
  max-height: 86px;
  object-fit: contain;
  border-radius: 0;
}

.adoption-panel__requirement {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  line-height: 1.05rem;
}

.adoption-panel__button {
  min-height: 34px;
  border: 1px solid rgba(255, 232, 176, 0.52);
  border-radius: 7px;
  padding: 0 13px;
  color: rgba(6, 15, 30, 0.86);
  background: rgba(255, 232, 176, 0.82);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  justify-self: center;
  width: 50%;
  min-width: 112px;
}

.adoption-panel__preview-button {
  justify-self: center;
  width: 72%;
  min-width: 168px;
  min-height: 34px;
  border: 1px solid rgba(255, 232, 176, 0.34);
  border-radius: 7px;
  padding: 0 13px;
  color: rgba(255, 232, 176, 0.92);
  background: rgba(255, 232, 176, 0.08);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.adoption-panel__preview-button:hover,
.adoption-panel__preview-button:focus-visible {
  border-color: rgba(255, 232, 176, 0.56);
  background: rgba(255, 232, 176, 0.14);
}

.adoption-panel__button[hidden] {
  display: none;
}

.adoption-panel__preview-button[hidden] {
  display: none;
}

.adoption-panel__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.adoption-panel__status {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  line-height: 1.1rem;
  text-align: center;
}

#starIconImg{
  width:128px; height:128px; display:block;
  filter:
    brightness(var(--bright, 1))
    drop-shadow(0 0 12px var(--glow1, rgba(255,255,255,.35)))
    drop-shadow(0 0 18px var(--glow2, rgba(255,255,255,.18)))
    drop-shadow(0 0 28px var(--glow3, rgba(255,255,255,.10)));
}

#starIconImg.fx-named-minimal{
  filter: none !important;
  opacity: 1 !important;
}

@keyframes starPulse{
  0%,100% { transform: scale(1.00); filter: brightness(1.00) drop-shadow(0 0 10px rgba(255,255,255,.25)); }
  50%     { transform: scale(1.05); filter: brightness(1.1) drop-shadow(0 0 16px rgba(255,255,255,.35)); }
}

@keyframes starFloat{
  0%,100% { transform: translateZ(0) scale(1.00); }
  50%     { transform: translateZ(0) scale(1.08); } /* da 1.03 → 1.06/1.10 */
}

@keyframes starGlow{
  0%,100% { opacity: 0.88; }
  50%     { opacity: 1.00; }
}

@keyframes haloPulse{
  0%,100% { opacity: 0.45; transform: translate(-50%,-50%) scale(0.98); }
  50%     { opacity: 0.95; transform: translate(-50%,-50%) scale(1.10); }
}

.langSel { display:flex; align-items:center; gap:8px; }
.langSel select { padding:4px 8px; border-radius:8px; }

/* blocco lingua in alto a destra */
.topbar__right{
  display:flex;
  align-items:center;
  gap:10px;
}

/* label + select */
.langSel{
  display:flex;
  align-items:center;
  gap:8px;

  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 14px;
}

.langSel__label{
  opacity: .9;
  font-weight: 600;
  letter-spacing: .03em;
}

#langSelect{
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  min-width: 54px;
  font-size: 14px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.15;
  padding: 4px 22px 4px 9px;
  border-radius: 8px;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background-color: rgba(4,12,28,.82);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.86) 50%),
    linear-gradient(135deg, rgba(255,255,255,.86) 50%, transparent 50%);
  background-position:
    calc(100% - 10px) 52%,
    calc(100% - 6px) 52%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,.18);
  outline: none;
}

#langSelect option{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #fff;
  background: #071426;
}

/* PER RICERCHE DAL PANNELLO */
.star-panel__search {
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.star-panel__search-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.star-panel__search-row + .star-panel__search-row {
  margin-top: 8px;
}
.star-panel__search-label {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 1rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.2rem;
  letter-spacing: .035em !important;
  opacity: 0.95;
}
.star-panel__search-label--ghost {
  visibility: hidden;
  pointer-events: none;
}
.star-panel__search-input {
  flex: 1;
  min-width: 0;
  font-size: 1rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.2rem;
  letter-spacing: .035em !important;
  opacity: 0.95;
}
.star-panel__search-results {
  flex: 1;
  min-width: 0;
  margin-top: 8px;
  max-height: 270px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important;   /* Firefox */
  -ms-overflow-style: none !important; /* vecchio Edge/IE */
}
.star-panel__search-results::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none !important; /* Chrome/Safari/Edge */
}
.star-search-result {
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.383);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.star-search-result:last-child {
  border-bottom: none;
}
.star-search-result:hover {
  background: rgba(255,255,255,0.2);
}
.star-search-result__title {
  font-size: 0.9rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.2rem;
  letter-spacing: .03em !important;
  opacity: 0.95;
}
.star-search-result__sub {
  font-size: 0.8rem !important;
  font-family: Roboto,sans-serif !important;
  line-height: 1.2rem;
  letter-spacing: .03em !important;
  opacity: 0.7;
  margin-left: 5px;
}

.star-search-result__line {
  line-height: 1.3;
  display: flex;
  align-items: center;
}

.star-search-empty {
  padding: 6px 8px;
  color: yellow;
  font-size: 1rem !important;
  font-family: Roboto,sans-serif !important;
  font-style: italic;
  text-align: center;
  line-height: 1.2rem;
  letter-spacing: .03em !important;
  opacity: 1.0;
}

.search-badge {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 999px;
  vertical-align: middle;
  flex: 0 0 auto;
}

.search-badge--star {
  background: #f5f7ff;
  box-shadow: 0 0 6px rgba(255,255,255,.45);
}

.search-badge--galaxy {
  width: 14px;
  height: 8px;
  border-radius: 999px;
  background: #cdd7ff;
}

.search-badge--nebula {
  background: #8fe0d0;
  box-shadow: 0 0 8px rgba(143,224,208,.35);
}

.search-badge--cluster {
  width: 12px;
  height: 12px;
  background:
    radial-gradient(circle at 35% 40%, #f0e0b6 0 35%, transparent 36%),
    radial-gradient(circle at 65% 60%, #f0e0b6 0 35%, transparent 36%);
}

.search-badge--constellation {
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
}

.search-badge--unknown {
  background: rgba(255,255,255,.35);
}


.search-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.search-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* STAR */
.search-icon--star {
  fill: #f6f8ff;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.35));
}

/* GALAXY */
.search-icon--galaxy ellipse {
  fill: none;
  stroke: #cfd8ff;
  stroke-width: 1.7;
}
.search-icon--galaxy circle {
  fill: #e8eeff;
}

/* NEBULA */
.search-icon--nebula circle:nth-child(1) {
  fill: rgba(106, 214, 196, 0.55);
}
.search-icon--nebula circle:nth-child(2) {
  fill: rgba(146, 231, 219, 0.48);
}
.search-icon--nebula circle:nth-child(3) {
  fill: rgba(92, 191, 177, 0.42);
}

/* CLUSTER */
.search-icon--cluster circle {
  fill: #f0e0b6;
  filter: drop-shadow(0 0 2px rgba(240,224,182,.25));
}

/* CONSTELLATION */
.search-icon--constellation line {
  stroke: rgba(255,255,255,.58);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.search-icon--constellation circle {
  fill: #ffffff;
}

/* UNKNOWN */
.search-icon--unknown circle {
  fill: rgba(255,255,255,.38);
}

/* ==========================================================
   PREVIEW PANEL MODES: STAR / DSO / EMPTY
   ========================================================== */

/* Stato base: usato dalle stelle */
.starPreviewWrap {
  width: 192px;
  height: 192px;
  border-radius: 12px;
  overflow: hidden;
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  animation: starPulse 3.4s ease-in-out infinite;
  transform-origin: 50% 50%;
}

#starPreview {
  width: 192px;
  height: 192px;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 14px rgba(64, 90, 206, 0.807))
    drop-shadow(0 0 17px rgba(255, 255, 255, 0.902));
}

/* DSO: niente effetti stellari, cornice attiva */
.starPreviewWrap.is-dso-preview {
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 9px;
  padding: 0;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.035);
  cursor: zoom-in;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  transform-origin: top center;
}

#starPreview.is-dso-preview {
  filter: none !important;
  box-shadow: none !important;
}

/* DSO zoom temporaneo */
.starPreviewWrap.is-dso-preview.is-dso-preview-zoomed {
  cursor: zoom-out;
  transform: scale(1.79) !important;
  z-index: 999;
  position: relative;
}

/* Empty: niente preview, niente cornice, niente animazioni */
.starPreviewWrap.is-empty-preview {
  animation: none !important;
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  cursor: default !important;
}

#starPreview.is-empty-preview {
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  cursor: default !important;
}

/* Sicurezza se in futuro aggiungiamo pseudo-elementi */
.starPreviewWrap.is-dso-preview::before,
.starPreviewWrap.is-dso-preview::after,
.starPreviewWrap.is-empty-preview::before,
.starPreviewWrap.is-empty-preview::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
}

/* ----------- PER TENDINA SU GRUPPO DI OGGETTI SOVRAPPOSTI ---------- */
.nearby-picker {
  position: fixed;
  z-index: 10020;
  min-width: 240px;
  max-width: 340px;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  color: #fff;
  font-family: Roboto, sans-serif;
}

.nearby-picker__title {
  padding: 4px 8px 7px;
  font-size: 0.78rem;
  opacity: 0.75;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 4px;
}

.nearby-picker .star-search-result {
  margin-bottom: 3px;
}

.nearby-picker .star-search-result:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------- */


/* -------- PARTE AGGIUNTA PER MOBILE ---------- */

.mobile-fov-control {
  display: none;
}

.mobile-panel-edge-swipe {
  display: none;
}

@media (pointer: coarse), (max-width: 700px) {
  .star-panel {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .star-panel__body {
    min-height: auto;
    overflow: visible;
  }

  .star-panel__search-results {
    max-height: none;
    overflow: visible;
  }

  .mobile-panel-edge-swipe {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9994;
    display: block;
    width: 30px;
    touch-action: none;
    background: transparent;
  }

  .mobile-panel-edge-swipe::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    width: 3px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255,255,255,0.34);
    box-shadow: 0 0 12px rgba(120,190,235,0.32);
    transform: translateY(-50%);
  }

  body.is-star-panel-open .mobile-panel-edge-swipe,
  body.is-mobile-searching .mobile-panel-edge-swipe {
    display: none;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    pointer-events: none;
    z-index: 10000;
  }

/*   .topbar__left {
    display: none !important;
  }

  .topbar__right {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    pointer-events: auto;
  } */

  .langSel {
    padding: 4px 6px;
    gap: 0;
    border-radius: 8px;
    background: rgba(0,0,0,.50);
  }

  .langSel__label {
    display: none;
  }

  #langSelect {
    min-width: 52px;
    font-size: 13px;
    padding: 3px 21px 3px 8px;
    border-radius: 7px;
    background-position:
      calc(100% - 10px) 52%,
      calc(100% - 6px) 52%;
    background-size: 4px 4px, 4px 4px;
  }

  .topbar {
    gap: 10px;
    padding: max(7px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 7px max(8px, env(safe-area-inset-left));
  }

  .site-brand-logo {
    width: min(210px, 46vw);
    max-height: 30px;
  }

  .topbar__actions {
    gap: 5px;
    overflow: hidden;
  }

  .topbar__nav {
    max-width: 42vw;
  }

  .topbar__nav a,
  .topbar__cart {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.84rem;
  }

  .mobile-fov-control {
    position: fixed;
    left: max(10px, env(safe-area-inset-left));
    top: 50%;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(-50%);
    padding: 8px 6px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(6px);
    touch-action: none;
  }

  .mobile-fov-button {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 10px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 20px;
    line-height: 1;
  }

  .mobile-fov-slider-shell {
    --mobile-fov-fill: 50%;
    position: relative;
    width: 30px;
    height: 150px;
  }

  .mobile-fov-slider {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 30px;
    height: 150px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    writing-mode: vertical-lr;
    direction: rtl;
    background: transparent;
    accent-color: auto;
    opacity: 0;
    touch-action: none;
  }

  .mobile-fov-slider::-webkit-slider-runnable-track {
    width: 30px;
    height: 150px;
    background: transparent;
  }

  .mobile-fov-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    background: transparent;
    -webkit-appearance: none;
  }

  .mobile-fov-slider::-moz-range-track {
    width: 30px;
    height: 150px;
    background: transparent;
  }

  .mobile-fov-slider::-moz-range-progress {
    background: transparent;
  }

  .mobile-fov-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 0;
    background: transparent;
  }

  .mobile-fov-slider-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  .mobile-fov-slider-visual::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    border-radius: 999px;
    background:
      linear-gradient(
        to top,
        rgba(160, 215, 255, 0.90) 0%,
        rgba(160, 215, 255, 0.90) var(--mobile-fov-fill),
        rgba(255, 255, 255, 0.18) var(--mobile-fov-fill),
        rgba(255, 255, 255, 0.18) 100%
      );
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 10px rgba(120, 190, 235, 0.20);
    transform: translateX(-50%);
  }

  .mobile-fov-slider-visual::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: var(--mobile-fov-fill);
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: #a8dcff;
    box-shadow: 0 0 12px rgba(110, 190, 255, 0.72);
    transform: translate(-50%, 50%);
  }
}

@media (pointer: coarse) and (orientation: landscape), (max-width: 900px) and (orientation: landscape) {
  .mobile-fov-control {
    top: calc(50% + 28px);
  }

  .star-panel__body {
    display: flex;
    flex-direction: column;
  }

  .star-panel__search {
    flex: 0 0 auto;
    margin-top: 0;
    margin-bottom: 8px;
    padding-top: 0;
    padding-bottom: 8px;
    border-top: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .star-panel__search-results {
    max-height: 112px;
  }
}

@media (pointer: coarse), (max-width: 700px) {
  .star-panel.is-mobile-searching {
    top: var(--visual-offset-top, 0px);
    height: calc(var(--app-height, 100dvh) + var(--keyboard-inset, 0px) + var(--mobile-search-extra, 0px));
    max-height: calc(var(--app-height, 100dvh) + var(--keyboard-inset, 0px) + var(--mobile-search-extra, 0px));
    overflow-anchor: none;
  }

  .star-panel.is-mobile-searching .star-panel__header {
    flex: 0 0 auto;
  }

  .star-panel.is-mobile-searching .star-panel__body {
    padding-top: 10px;
    padding-bottom: calc(var(--keyboard-inset, 0px) + max(16px, env(safe-area-inset-bottom)));
  }

  .star-panel.is-mobile-searching .star-panel__search {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 8px;
    border-top: 0;
	  overflow-anchor: none;
  }

  .star-panel.is-mobile-searching .star-panel__search-results {
    overflow-anchor: none;
  }

  .star-panel.is-mobile-searching .star-panel__search-label {
    display: none;
  }

  .star-panel.is-mobile-searching .star-panel__search-input {
    min-height: 38px;
    font-size: 16px !important;
  }

  .star-panel.is-mobile-searching .star-panel__search-row + .star-panel__search-row {
    margin-top: 6px;
  }

  body.is-mobile-searching .mobile-fov-control {
    opacity: 0.35;
    pointer-events: none;
  }
}

@media (pointer: coarse) and (orientation: landscape), (max-width: 900px) and (orientation: landscape) {
  .star-panel.is-mobile-searching {
    left: 0;
    right: 0;
    width: 100vw;
    border-left: 0;
    background: rgba(18, 33, 45, 0.88);
  }

  .star-panel.is-mobile-searching .star-panel__body {
    padding: max(6px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(8px, env(safe-area-inset-left));
  }

  .star-panel.is-mobile-searching .star-panel__search {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding-bottom: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .star-panel.is-mobile-searching .star-panel__search-row {
    gap: 0;
  }

  .star-panel.is-mobile-searching .star-panel__search-row:first-child {
    order: 2;
  }

  .star-panel.is-mobile-searching .star-panel__search-row:last-child {
    order: 1;
  }

  .star-panel.is-mobile-searching .star-panel__search-input {
    min-height: 32px;
    padding: 4px 8px;
  }

  .star-panel.is-mobile-searching .star-panel__search-results {
    max-height: calc(var(--app-height, 100dvh) - 46px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 0;
    overflow-y: auto;
  }

  .star-panel.is-mobile-searching .star-search-result {
    min-width: 0;
    padding: 3px 6px;
  }

  .star-panel.is-mobile-searching .star-search-result__line {
    min-width: 0;
  }

  .star-panel.is-mobile-searching .star-search-result__title,
  .star-panel.is-mobile-searching .star-search-result__sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.mobile-landscape-search-prompt {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(5px);
}

.mobile-landscape-search-prompt.is-visible {
  display: flex;
}

.mobile-landscape-search-prompt__box {
  width: min(430px, 86vw);
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  background: rgba(18, 33, 45, 0.92);
  color: #fff;
  font-family: Roboto, sans-serif;
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}

.mobile-landscape-search-prompt__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.mobile-landscape-search-prompt__text {
  font-size: 0.9rem;
  line-height: 1.35;
  opacity: 0.88;
}

.mobile-landscape-search-prompt__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.mobile-landscape-search-prompt__button {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font: 600 0.88rem/1 Roboto, sans-serif;
  background: rgba(255,255,255,0.10);
}

.mobile-landscape-search-prompt__button--primary {
  background: rgba(126, 187, 225, 0.34);
}

/* --------------------------------------------- */
