/* Стартовая страница IE: пародия «новой вкладки» с игровыми ярлыками */

#browser-page-home.browser-start {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0 0 40px;
  background: #0c0d12;
  color: #e8eaed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  overflow: auto;
  box-sizing: border-box;
}

#browser-page-home.browser-start *,
#browser-page-home.browser-start *::before,
#browser-page-home.browser-start *::after {
  box-sizing: border-box;
}

.browser-start__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 35%, rgba(60, 90, 140, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255, 120, 40, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #0a0b10 0%, #12141c 50%, #0a0b10 100%);
  pointer-events: none;
}

.browser-start__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.2) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 60%, rgba(255, 255, 255, 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.25) 50%, transparent 51%);
  opacity: 0.7;
  pointer-events: none;
}

.browser-start__topbar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 10px 18px 0;
  min-height: 36px;
}

.browser-start__toplinks {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.browser-start__fake-link {
  color: rgba(255, 255, 255, 0.88);
  cursor: default;
  user-select: none;
}

.browser-start__fake-link:hover {
  text-decoration: underline;
}

.browser-start__fake-apps {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  cursor: default;
}

.browser-start__center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 32px;
  max-width: 720px;
  margin: 0 auto;
}

.browser-start__logo {
  margin: 0 0 28px;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
  user-select: none;
}

.browser-start__logo-c {
  display: inline-block;
  margin: 0 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.browser-start__logo-c--1 {
  color: #5ab0ff;
}

.browser-start__logo-c--2 {
  color: #ff6b6b;
}

.browser-start__logo-c--3 {
  color: #ffd43b;
}

.browser-start__logo-c--4 {
  color: #5ab0ff;
}

.browser-start__logo-c--5 {
  color: #69db7c;
}

.browser-start__logo-c--6 {
  color: #ff922b;
}

.browser-start__logo-c--7 {
  color: #5ab0ff;
}

.browser-start__search-row {
  width: 100%;
  max-width: 600px;
  margin-bottom: 32px;
}

.browser-start__search-box {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 6px 4px 16px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  gap: 8px;
}

.browser-start__search-icon {
  flex-shrink: 0;
  font-size: 16px;
  opacity: 0.5;
}

.browser-start__search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: #3c4043;
  outline: none;
  cursor: default;
}

.browser-start__search-input::placeholder {
  color: #9aa0a6;
}

.browser-start__search-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  padding-right: 6px;
}

.browser-start__icon-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 16px;
  cursor: not-allowed;
  opacity: 0.6;
}

.browser-start__ai-btn {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #4a8cff 0%, #2563eb 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: not-allowed;
  white-space: nowrap;
}

.browser-start__shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
  width: 100%;
  max-width: 560px;
}

.browser-start__tile {
  display: flex;
  width: 88px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.browser-start__tile:hover:not(:disabled) .browser-start__tile-circle {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.browser-start__tile:disabled {
  cursor: default;
  opacity: 0.55;
}

.browser-start__tile-circle {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  transition:
    transform 0.15s,
    background 0.15s;
}

.browser-start__tile-circle--vydra {
  background: rgba(43, 100, 168, 0.65);
}

.browser-start__tile-circle--ashot {
  background: rgba(128, 40, 40, 0.75);
}

.browser-start__tile-circle--hm {
  background: rgba(252, 180, 0, 0.85);
  color: #1a1a1a;
}

.browser-start__tile-circle--add {
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.browser-start__tile-label {
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  max-width: 96px;
}

.browser-start__tile--add .browser-start__tile-label {
  color: rgba(255, 255, 255, 0.65);
}

.browser-start__footer {
  position: relative;
  z-index: 1;
  margin: 16px 16px 0;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}

.browser-btn {
  padding: 3px 10px;
  border: 2px solid #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
  background: #c0c0c0;
  font-family: Tahoma, sans-serif;
  font-size: 12px;
  cursor: pointer;
}

.browser-btn:active {
  padding: 4px 9px 2px 11px;
  border: 2px solid #808080;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.browser-link-card:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.darknet-item {
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid #333;
  background: #0a0a0a;
}

.darknet-item:hover {
  border-color: #0f0;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.darknet-buy-btn {
  margin-top: auto;
  padding: 5px;
  border: 1px solid #0f0;
  background: #003300;
  color: #0f0;
  font-family: monospace;
  cursor: pointer;
  transition: 0.2s;
}

.darknet-buy-btn:hover:not(:disabled) {
  background: #0f0;
  color: #000;
}

.darknet-buy-btn:disabled {
  border-color: #333;
  background: transparent;
  color: #555;
  cursor: not-allowed;
}

.huyandex-market-buy {
  min-height: 44px;
  padding: 8px 12px;
  border: 2px solid #000;
  border-radius: 2px;
  background: #fc3;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.huyandex-market-buy:hover:not(:disabled) {
  background: #fd5;
}

.huyandex-market-buy:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#browser-page-huyandex-market .shop-item {
  display: flex;
  flex-direction: column;
  min-height: 180px;
  padding: 12px;
  border: 1px solid #ccc;
  background: #fff;
}

.legacy-shop-page {
  min-height: 100%;
  color: #000;
}

.legacy-shop-page--furniture {
  padding: 20px;
  background: #ffffe0;
  font-family: 'Comic Sans MS', cursive, sans-serif;
}

.legacy-shop-page--huyandex {
  padding: 16px;
  background: #f5f5f5;
  font-family: Tahoma, sans-serif;
}

.legacy-shop-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legacy-shop-page__header--furniture {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #800000;
}

.legacy-shop-page__header--huyandex {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fc3;
}

.legacy-shop-page__title {
  margin: 0;
}

.legacy-shop-page__title--furniture {
  color: #800000;
}

.legacy-shop-page__title--huyandex {
  font-size: 20px;
}

.legacy-shop-page__balance {
  background: #fff;
}

.legacy-shop-page__balance--furniture {
  padding: 5px 10px;
  border: 2px solid #800000;
  font-family: monospace;
}

.legacy-shop-page__balance--huyandex {
  padding: 6px 12px;
  border: 2px solid #ccc;
  font-size: 13px;
}

.legacy-shop-page__balance-value {
  font-weight: 700;
}

.legacy-shop-page--furniture .legacy-shop-page__balance-value {
  color: #008000;
}

.legacy-shop-page__intro--furniture {
  margin-bottom: 20px;
  color: #555;
  font-size: 14px;
}

.legacy-shop-page__intro--huyandex {
  margin: 0 0 12px;
  color: #444;
  font-size: 13px;
}

.legacy-shop-page__grid {
  display: grid;
}

.legacy-shop-page__grid--furniture {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.legacy-shop-page__grid--huyandex {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.shop-item__icon {
  margin-bottom: 10px;
  font-size: 30px;
  text-align: center;
}

.shop-item__title {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
  font-weight: 700;
}

.shop-item__desc {
  flex-grow: 1;
  margin-bottom: 15px;
  color: #888;
  font-size: 11px;
}

.furniture-shop-item__icon {
  margin-bottom: 10px;
  font-size: 40px;
  text-align: center;
}

.furniture-shop-item__title {
  margin-bottom: 5px;
  color: #000080;
  font-size: 16px;
  font-weight: 700;
}

.furniture-shop-item__desc {
  flex-grow: 1;
  margin-bottom: 15px;
  color: #555;
  font-size: 12px;
}

.furniture-shop-item__price {
  margin-bottom: 8px;
  font-size: 12px;
}

.huyandex-market-item__icon {
  margin-bottom: 8px;
  font-size: 28px;
  text-align: center;
}

.huyandex-market-item__title {
  margin-bottom: 4px;
  font-weight: 700;
}

.huyandex-market-item__desc {
  flex-grow: 1;
  margin-bottom: 12px;
  color: #555;
  font-size: 11px;
}

.huyandex-market-item__price {
  margin-bottom: 8px;
  font-size: 12px;
}

/* Временно: нефункциональный декор Сольнет */
#browser-page-home.browser-start .browser-start__topbar,
#browser-page-home.browser-start .browser-start__search-row,
#browser-page-home.browser-start .browser-start__tile--add,
#browser-page-home.browser-start .browser-start__footer {
  display: none !important;
}
