.mobi-device-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  flex: 1;
  padding: 20px 24px 90px;
  margin: 0 auto;
}

.mobi-device-page *,
.mobi-device-page *::before,
.mobi-device-page *::after {
  box-sizing: border-box;
}

.mobi-device-page .mobi-device-back {
  gap: 10px;
  min-height: 0;
  padding: 8px 0;
  margin: 0;
  color: #666;
  font-size: 15px;
}

.mobi-device-header {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 32px);
  padding: clamp(20px, 3vw, 28px);
  margin-top: 26px;
  border-radius: 22px;
  background: #f4f4f4;
}

.mobi-device-thumb {
  position: relative;
  width: 118px;
  min-height: 172px;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 16px;
  background: #111;
}

.mobi-device-thumb--apple { background: #14171c; }
.mobi-device-thumb--samsung { background: #101c3a; }
.mobi-device-thumb--google { background: #1e3328; }
.mobi-device-thumb--oneplus { background: #3a0f0f; }
.mobi-device-thumb--xiaomi { background: #4a2c0e; }
.mobi-device-thumb--nothing { background: #1a1a1a; }
.mobi-device-thumb--motorola { background: #221540; }
.mobi-device-thumb--default { background: #111; }

.mobi-device-thumb > span {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: #111;
}

.mobi-device-thumb > span + span { top: 40px; }

.mobi-device-thumb small {
  position: absolute;
  bottom: 12px;
  left: 50%;
  color: rgb(255 255 255 / 85%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.mobi-device-thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 172px;
  border-radius: inherit;
  object-fit: contain;
}

.mobi-device-header__content {
  display: flex;
  min-width: 260px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

.mobi-device-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.mobi-device-title-row h1 {
  margin: 0;
  color: #1a1a1a;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1.15;
}

.mobi-device-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}

.mobi-device-price > strong {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 600;
}

.mobi-device-price > small {
  max-width: 230px;
  margin-top: 3px;
  color: #888;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.mobi-key-stats {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px 0;
  padding: 0;
  margin: 0;
}

.mobi-key-stats > div {
  position: relative;
  display: flex;
  width: 0;
  min-width: 140px;
  flex: 1;
  flex-direction: column;
}

.mobi-key-stats > div + div > svg,
.mobi-key-stats > div + div > dd,
.mobi-key-stats > div + div > dt { margin-left: clamp(14px, 2.5vw, 24px); }

.mobi-key-stats > div + div::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgb(0 0 0 / 14%), transparent);
  content: "";
}

.mobi-key-stats svg {
  order: 1;
  margin-bottom: 4px;
  color: #d81c22;
}

.mobi-key-stats dd {
  order: 2;
  margin: 8px 0 0;
  color: #1a1a1a;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
}

.mobi-key-stats dt {
  order: 3;
  margin-top: 2px;
  color: #8a8a8a;
  font-size: 12px;
}

.mobi-float,
.mobi-spin,
.mobi-soft { transform-origin: center; }

@keyframes mobi-detail-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

@keyframes mobi-detail-spin { to { transform: rotate(360deg); } }
@keyframes mobi-detail-soft { 50% { opacity: .55; } }

.mobi-device-tabs {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
  margin-top: 44px;
  border-bottom: 1px solid #ececec;
  white-space: nowrap;
}

.mobi-device-tabs__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 34px);
}

.mobi-device-tabs__links button {
  padding: 14px 2px;
  margin: 0 0 -1px;
  border: 0;
  border-bottom: 2.5px solid transparent;
  background: transparent;
  color: #8a8a8a;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.mobi-device-tabs__links button:hover,
.mobi-device-tabs__links button:focus-visible { color: #1a1a1a; }

.mobi-device-tabs__links button.is-current {
  border-bottom-color: #d81c22;
  color: #1a1a1a;
  font-weight: 600;
}

.mobi-device-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 0 6px auto;
}

.mobi-device-actions a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.mobi-device-actions a:hover,
.mobi-device-actions a:focus-visible { border-color: #d81c22; color: #d81c22; }

.mobi-device-actions a.is-primary {
  padding-top: 9px;
  padding-bottom: 9px;
  border-color: #d81c22;
  background: #d81c22;
  color: #fff;
}

.mobi-buy-options { margin-top: 36px; }

.mobi-buy-options > h2,
.mobi-similar > h2,
.mobi-color-options > h2,
.mobi-size-comparison > h2 {
  margin: 0;
  color: #999;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: normal;
  text-transform: uppercase;
}

.mobi-buy-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.mobi-buy-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  color: #1a1a1a;
  text-decoration: none;
}

.mobi-buy-pill:hover,
.mobi-buy-pill:focus-visible { border-color: #d81c22; }
.mobi-buy-pill > span { font-size: 15px; font-weight: 500; }
.mobi-buy-pill > strong { color: #d81c22; font-size: 15px; font-weight: 600; }
.mobi-buy-pill > svg { color: #999; }
.mobi-buy-pill.is-placeholder { color: #8a8a8a; }
.mobi-buy-pill.is-placeholder > strong { color: #b0b0b0; }

.mobi-detail-panel { outline: none; }
.mobi-device-page.is-enhanced .mobi-detail-panel:not(.is-current) { display: none; }

.mobi-device-specs { margin-top: 8px; }

.mobi-spec-group {
  display: grid;
  grid-template-columns: minmax(105px, 170px) 1fr;
  margin-top: 14px;
  border: 1px solid #ececec;
  border-radius: 14px;
}

.mobi-spec-group > h2 {
  padding: 18px 20px;
  margin: 0;
  border-radius: 13px 0 0 13px;
  background: #f4f4f4;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: normal;
  text-transform: uppercase;
}

.mobi-spec-group dl { padding: 0; margin: 0; background: #fff; }

.mobi-spec-group dl > div {
  position: relative;
  display: flex;
  box-sizing: content-box;
  min-height: 34px;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid #f4f4f4;
}

.mobi-spec-group dt {
  width: clamp(90px, 18%, 150px);
  flex-shrink: 0;
  color: #999;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.mobi-spec-group dd {
  min-width: 0;
  flex: 1;
  margin: 0;
  color: #333;
  font-size: 16px;
}

.mobi-spec-add {
  display: flex;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px dashed #dcdcdc;
  border-radius: 50%;
  background: #fff;
  color: #c9c9c9;
  cursor: pointer;
}

.mobi-spec-add:hover,
.mobi-spec-add:focus-visible { border-color: #d81c22; color: #d81c22; }

.mobi-spec-picker {
  position: relative;
  min-width: 170px;
  max-width: 260px;
  flex: 1;
}

.mobi-spec-picker > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #f4f4f4;
}

.mobi-spec-picker input {
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 13px;
}

.mobi-spec-picker > div button {
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
}

.mobi-spec-picker ul {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  width: 240px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

.mobi-spec-picker li[hidden] { display: none; }
.mobi-spec-picker li a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; color: #1a1a1a; font-size: 13px; text-decoration: none; }
.mobi-spec-picker li a:hover,
.mobi-spec-picker li a:focus-visible { background: #f7f7f7; }
.mobi-spec-picker li span { font-weight: 500; }
.mobi-spec-picker li small { color: #999; }

.mobi-detail-ad {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px;
  margin-top: 44px;
  border: 1px dashed #dcdcdc;
  border-radius: 14px;
}

.mobi-detail-ad--inline { min-height: 70px; padding: 22px; margin-top: 14px; }
.mobi-detail-ad > span { padding: 2px 6px; border: 1px solid #e6e6e6; border-radius: 4px; color: #b0b0b0; font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.mobi-detail-ad > p { margin: 0; color: #b0b0b0; font-size: 14px; }

.mobi-similar { margin-top: 48px; }
.mobi-similar > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.mobi-similar > div > a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid #ececec; border-radius: 16px; background: #fff; color: #1a1a1a; text-decoration: none; }
.mobi-similar > div > a:hover,
.mobi-similar > div > a:focus-visible { border-color: #c9c9c9; }
.mobi-similar__thumb { position: relative; display: block; width: 40px; min-height: 60px; flex-shrink: 0; border-radius: 9px; }
.mobi-similar__thumb i { position: absolute; top: 5px; left: 5px; width: 9px; height: 9px; border: 1.5px solid rgb(255 255 255 / 45%); border-radius: 50%; background: #111; }
.mobi-similar a > span:last-child { min-width: 0; }
.mobi-similar a strong { display: block; overflow: hidden; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mobi-similar a small { display: block; margin-top: 3px; color: #999; font-size: 13px; }

.mobi-device-evidence {
  padding: clamp(20px, 4vw, 30px);
  margin-top: 32px;
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  background: #fafafa;
}

.mobi-device-evidence__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.mobi-device-evidence__heading p {
  margin: 0 0 5px;
  color: #a0a0a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.mobi-device-evidence__heading h2 { margin: 0; color: #222; font-size: 20px; font-weight: 600; }
.mobi-device-evidence__heading time { color: #666; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mobi-device-evidence__scope { max-width: 720px; margin: 14px 0 0; color: #666; font-size: 14px; line-height: 1.55; }

.mobi-device-source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.mobi-device-source-list li { min-width: 0; padding: 14px; border: 1px solid #e8e8e8; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.mobi-device-source-list a { display: block; color: #222; text-decoration: none; }
.mobi-device-source-list a:hover strong,
.mobi-device-source-list a:focus-visible strong { color: #d81c22; }
.mobi-device-source-list strong { display: block; font-size: 14px; line-height: 1.35; }
.mobi-device-source-list span { display: block; margin-top: 4px; color: #777; font-size: 12px; }
.mobi-device-source-list li > small { display: block; margin-top: 9px; color: #999; font-size: 11px; line-height: 1.45; }

.mobi-device-unknowns { margin-top: 18px; border-top: 1px solid #e7e7e7; }
.mobi-device-unknowns summary { padding-top: 16px; color: #555; font-size: 13px; font-weight: 600; cursor: pointer; }
.mobi-device-unknowns ul { padding-left: 20px; margin: 12px 0 0; color: #666; font-size: 13px; line-height: 1.55; }
.mobi-device-unknowns li + li { margin-top: 7px; }

.mobi-images-panel { margin-top: 30px; }
.mobi-color-options { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mobi-color-options > div { display: flex; gap: 10px; flex-wrap: wrap; }
.mobi-color-options button { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid #e6e6e6; border-radius: 999px; background: #fff; color: #555; font: inherit; font-size: 13px; font-weight: 400; cursor: pointer; }
.mobi-color-options button.is-current { border-color: #d81c22; color: #d81c22; font-weight: 600; }
.mobi-color-option { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1.5px solid #e6e6e6; border-radius: 999px; background: #fff; color: #555; font-size: 13px; }
.mobi-color-dot { width: 18px; height: 18px; border-radius: 50%; background: #d81c22; }
.mobi-color-dot--midnight { background: #2a2f38; }
.mobi-color-dot--ocean { background: #2a5fdb; }
.mobi-color-dot--silver { background: #d8d8d8; }
.mobi-color-dot--black { background: #27282a; }
.mobi-color-dot--glacier { border: 1px solid #d1dbe1; background: #dbe8ee; }
.mobi-color-dot--burgundy { background: #643345; }
.mobi-color-dot--pacific-blue { background: #405d6a; }
.mobi-color-dot--graphite { background: #525351; }
.mobi-color-dot--gold { border: 1px solid #d8c4a6; background: #e7d4b5; }
.mobi-color-dot--black-titanium { background: #2f3030; }
.mobi-color-dot--white-titanium { border: 1px solid #d7d5ce; background: #f2f1ec; }
.mobi-color-dot--natural-titanium { background: #aaa59a; }
.mobi-color-dot--desert-titanium { background: #c8a98e; }

.mobi-device-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin-top: 22px; }
.mobi-device-gallery figure { min-width: 0; margin: 0; }
.mobi-device-gallery figure > button { width: 100%; padding: 0; border: 0; border-radius: 16px; background: transparent; cursor: zoom-in; }
.mobi-device-gallery img { display: block; width: 100%; height: 340px; border-radius: 16px; object-fit: contain; }
.mobi-device-external-view { margin: 18px 0 0; font-size: 14px; }
.mobi-device-external-view a { color: inherit; text-underline-offset: 3px; }
.mobi-device-gallery figcaption { margin-top: 8px; color: #999; font-size: 10px; line-height: 1.4; }
.mobi-device-gallery figcaption a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.mobi-device-gallery img.is-midnight,
.mobi-lightbox img.is-midnight { filter: grayscale(.85) brightness(.75); }
.mobi-device-gallery img.is-ocean,
.mobi-lightbox img.is-ocean { filter: hue-rotate(215deg); }
.mobi-device-gallery img.is-silver,
.mobi-lightbox img.is-silver { filter: grayscale(.9) brightness(1.18); }

.mobi-size-comparison { margin-top: 40px; }
.mobi-size-comparison > div { display: flex; align-items: flex-end; gap: 40px; flex-wrap: wrap; padding: 26px; margin-top: 18px; border: 1px solid #ececec; border-radius: 16px; }
.mobi-size-comparison figure { display: flex; align-items: center; flex-direction: column; gap: 10px; margin: 0; }
.mobi-size-phone { display: block; width: 123px; height: 264px; border: 2.5px solid #d81c22; border-radius: 14px; }
.mobi-size-phone--tablet { width: 224px; height: 312px; }
.mobi-size-card { display: block; width: 137px; height: 86px; border: 2.5px solid #c9c9c9; border-radius: 8px; }
.mobi-size-comparison figcaption { color: #555; font-size: 13px; text-align: center; }
.mobi-size-comparison figcaption small { display: block; margin-top: 4px; color: #b0b0b0; font-size: 12px; }
.mobi-size-comparison > p { margin: 10px 0 0; color: #b0b0b0; font-size: 12px; }

.mobi-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(10 10 10 / 88%);
  cursor: zoom-out;
}

body.mobi-lightbox-open { overflow: hidden; }

.mobi-lightbox[hidden] { display: none; }
.mobi-lightbox > img { max-width: 78vw; max-height: 80vh; border-radius: 18px; }
.mobi-lightbox__previous,
.mobi-lightbox__next { position: absolute; top: 50%; display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; cursor: pointer; transform: translateY(-50%); }
.mobi-lightbox__previous { left: 20px; }
.mobi-lightbox__next { right: 20px; }
.mobi-lightbox > p { position: absolute; bottom: 28px; left: 50%; margin: 0; color: rgb(255 255 255 / 75%); font-size: 14px; transform: translateX(-50%); }

.mobi-detail-news { margin-top: 10px; }
.mobi-detail-news > a { display: flex; align-items: center; gap: 18px 22px; flex-wrap: wrap; padding: 22px 4px; border-bottom: 1px solid #f4f4f4; color: #1a1a1a; text-decoration: none; }
.mobi-detail-news > a:hover,
.mobi-detail-news > a:focus-visible { background: #fafafa; }
.mobi-detail-news img { width: 150px; height: 100px; border-radius: 12px; object-fit: cover; }
.mobi-detail-news a > span { min-width: 200px; flex: 1; }
.mobi-detail-news span > small { display: block; color: #d81c22; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; }
.mobi-detail-news span > strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 500; }
.mobi-detail-news span > time { display: block; margin-top: 6px; color: #999; font-size: 14px; }
.mobi-detail-news a > svg { color: #c9c9c9; }

.mobi-opinions { margin-top: 30px; }
.mobi-opinion-gate { padding: 22px 24px; border: 1px solid #ececec; border-radius: 16px; }
.mobi-opinion-gate h2 { margin: 0; font-size: 15px; font-weight: 600; }
.mobi-opinion-gate p { margin: 6px 0 0; color: #8a8a8a; font-size: 13px; }
.mobi-opinion-gate > a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; margin-top: 16px; border-radius: 999px; background: #d81c22; color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
.mobi-opinions__empty { padding: 34px 0; margin: 0; color: #8a8a8a; font-size: 15px; font-weight: 300; text-align: center; }
.mobi-opinions__count { margin: 30px 0 0; color: #8a8a8a; font-size: 14px; }
.mobi-opinion-list { margin-top: 6px; }
.mobi-opinion { display: flex; gap: 16px; padding: 20px 4px; border-bottom: 1px solid #f4f4f4; }
.mobi-opinion__avatar { display: flex; width: 38px; height: 38px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #f4f4f4; color: #555; font-size: 15px; font-weight: 600; }
.mobi-opinion > div:last-child { min-width: 0; flex: 1; }
.mobi-opinion header { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.mobi-opinion header strong { font-size: 15px; font-weight: 600; }
.mobi-opinion header a,
.mobi-opinion header time { color: #b0b0b0; font-size: 13px; text-decoration: none; }
.mobi-opinion h3 { margin: 8px 0 0; font-size: 15px; }
.mobi-opinion > div > p { margin: 6px 0 0; color: #333; font-size: 15px; line-height: 1.55; overflow-wrap: break-word; }
.mobi-opinion footer { margin-top: 12px; }
.mobi-opinion footer a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border: 1px solid #e6e6e6; border-radius: 999px; color: #8a8a8a; font-size: 13px; font-weight: 500; text-decoration: none; }
.mobi-opinion footer a:hover,
.mobi-opinion footer a:focus-visible { border-color: #d81c22; color: #d81c22; }
.mobi-opinions__archive { margin: 22px 0 0; text-align: center; }
.mobi-opinions__archive a { color: #d81c22; font-size: 14px; font-weight: 500; text-decoration: none; }

.mobi-detail-empty { padding: 34px 0; color: #8a8a8a; font-size: 15px; text-align: center; }
.mobi-detail-empty p { margin: 0; }

@media (max-width: 640px) {
  .mobi-device-price { align-items: flex-start; text-align: left; }
  .mobi-device-source-list { grid-template-columns: 1fr; }
  .mobi-device-evidence__heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .mobi-float,
  .mobi-spin,
  .mobi-soft { animation: none; }
}
