/*
 * UPSKINS HOMEPAGE FRAMES v12 — 2026-11-25
 * Single approved asset: straight CHAMFERED corners. No rounded variant.
 * Scope this stylesheet through a root belonging ONLY to the homepage.
 * Do not assign these classes to catalog case cards.
 */

.up-home-v12 .up-home-frame-v12 {
  position: relative;
  isolation: isolate;
}

.up-home-v12 .up-home-frame-v12 > .up-home-frame-v12__edge {
  position: absolute;
  /* 25.11.2026 (выравнивание рамок главной): слой рамки ровно в габаритах блока (inset 0), видимая бронзовая линия начинается
     у самого края. home-bronze-chamfer-v12-trim.png — копия исходника без прозрачных полей 14 px; срез 96−14 = 82,
     ширина 82 × 18/96 = 15.375px — масштаб и толщина линии те же, что были (18px из 96). */
  inset: 0;
  display: block;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 15.375px solid transparent;
  border-image-source: url("../assets/home-bronze-chamfer-v12-trim.png");
  border-image-slice: 82;
  border-image-width: 15.375px;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0.92;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.up-home-v12 .up-home-frame-v12--compact > .up-home-frame-v12__edge {
  border-width: 10.25px;          /* 82 × 12/96 — прежний масштаб компактной линии */
  border-image-width: 10.25px;
  opacity: 0.9;
}

/*
 * Intentionally no selectors for existing .case-card, ::before/::after,
 * global buttons, existing game frames, or non-homepage components.
 * Remove old decorative layers at the actual integration points.
 */

