:root{
  --px-ink:#17181c;
  --px-muted:#6b7280;
  --px-line:#e7e7ea;
  --px-surface:#ffffff;
  --px-yellow:#FFE100;
  --px-header-h:66px;
}

.gr-header{
  position:sticky;
  top:0;
  z-index:100;
  background:var(--px-surface);
  border-bottom:1px solid var(--px-line);
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
.gr-header__inner{
  max-width:1240px;
  margin:0 auto;
  padding:14px 20px;
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"logo search";
  align-items:center;
  gap:24px;
}

.gr-header__logo{
  grid-area:logo;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--px-ink);
}
.gr-header__mark{
  flex:0 0 auto;
  display:block;
  transition:transform .15s ease;
}
.gr-header__logo:hover .gr-header__mark{ transform:scale(1.06); }
.gr-header__wordmark{
  font-size:1.3rem;
  font-weight:800;
  letter-spacing:-.01em;
  line-height:1;
  white-space:nowrap;
}
.gr-header__logo:focus-visible{
  outline:2px solid var(--px-ink);
  outline-offset:4px;
  border-radius:6px;
}

.gr-header__search{
  grid-area:search;
  width:100%;
  max-width:520px;
  margin:0 auto 0 0;
  display:flex;
  align-items:center;
  background:var(--px-surface);
  border:1px solid var(--px-line);
  border-radius:999px;
  padding-left:16px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.gr-header__search:focus-within{
  border-color:var(--px-ink);
  box-shadow:0 0 0 3px rgba(255,225,0,.45);
}
.gr-header__search-input{
  flex:1 1 auto;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  font:inherit;
  font-size:.95rem;
  color:var(--px-ink);
  padding:11px 4px;
}
.gr-header__search-input::placeholder{ color:var(--px-muted); }
.gr-header__search-btn{
  flex:0 0 auto;
  appearance:none;
  -webkit-appearance:none;
  width:42px;
  height:42px;
  margin:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--px-ink);
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .15s ease;
}
.gr-header__search-btn:hover{ background:var(--px-yellow); }
.gr-header__search-btn:focus-visible{
  outline:2px solid var(--px-ink);
  outline-offset:2px;
}

.gr-visually-hidden{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width:640px){
  .gr-header__inner{
    grid-template-columns:1fr;
    grid-template-areas:"logo" "search";
    row-gap:10px;
    padding:12px 16px;
  }
  .gr-header__search{ max-width:none; margin:0; }
}

@media (prefers-reduced-motion:reduce){
  .gr-header *{ transition:none !important; }
}

.px-home-page,
.px-home-page *,
.px-home-page *::before,
.px-home-page *::after,
.px-search-page,
.px-search-page *,
.px-search-page *::before,
.px-search-page *::after,
.gr-product-page,
.gr-product-page *,
.gr-product-page *::before,
.gr-product-page *::after{ box-sizing:border-box; }

.px-home-page,
.px-search-page{
  max-width:1240px;
  margin:0 auto;
  padding:28px 20px 64px;
  color:var(--px-ink,#17181c);
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  line-height:1.4;
}
.px-home-page h1,
.px-home-page h2,
.px-home-page p,
.px-search-page h1,
.px-search-page p{ margin:0; }
.px-home-page img,
.px-search-page img{ display:block; max-width:100%; }

.px-home-intro{
  padding:8px 0 32px;
  margin-bottom:28px;
  border-bottom:1px solid var(--px-line,#e7e7ea);
}
.px-home-intro__title{
  font-size:clamp(1.6rem,3vw,2.3rem);
  font-weight:700;
  letter-spacing:-.01em;
  line-height:1.2;
  max-width:760px;
}
.px-home-intro__lead{
  margin-top:14px;
  max-width:720px;
  font-size:1.02rem;
  color:#33363d;
}
.px-home-intro__lead + .px-home-intro__lead{ margin-top:10px; }
.px-home-intro__badge{
  display:inline-block;
  margin-bottom:14px;
  padding:4px 12px;
  border-radius:999px;
  background:var(--px-yellow,#FFE100);
  color:var(--px-ink,#17181c);
  font-size:.8rem;
  font-weight:700;
}

.px-home-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.px-home-head__title{ font-size:1.1rem; font-weight:700; }
.px-home-head__count{ font-size:.85rem; color:var(--px-muted,#6b7280); white-space:nowrap; }

.px-home-empty{
  padding:48px 20px;
  text-align:center;
  color:var(--px-muted,#6b7280);
  border:1px dashed var(--px-line,#e7e7ea);
  border-radius:16px;
}

.px-search-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  padding-bottom:20px;
  margin-bottom:24px;
  border-bottom:1px solid var(--px-line,#e7e7ea);
}
.px-search-title{
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  font-weight:700;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
}
.px-search-count{ font-size:.9rem; color:var(--px-muted,#6b7280); white-space:nowrap; }

.px-search-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  padding:72px 20px;
  text-align:center;
  color:var(--px-muted,#6b7280);
  border:1px dashed var(--px-line,#e7e7ea);
  border-radius:16px;
}
.px-search-empty svg{ color:var(--px-ink,#17181c); opacity:.25; }
.px-search-empty p{ max-width:420px; }
.px-search-empty a{ color:var(--px-ink,#17181c); font-weight:700; text-decoration:underline; }

.px-home-grid,
.px-search-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:14px;
}
.px-scard{
  display:flex;
  flex-direction:column;
  background:var(--px-surface,#fff);
  border:1px solid var(--px-line,#e7e7ea);
  border-radius:14px;
  overflow:hidden;
  color:inherit;
  text-decoration:none;
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.px-scard:hover{
  border-color:var(--px-yellow,#FFE100);
  box-shadow:0 6px 20px -10px rgba(0,0,0,.25);
  transform:translateY(-2px);
}
a.px-scard:focus-visible{ outline:2px solid var(--px-ink,#17181c); outline-offset:2px; }
.px-scard__img{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f4f4f5;
  color:var(--px-muted,#6b7280);
  overflow:hidden;
}
.px-scard__img img{ width:100%; height:100%; object-fit:contain; padding:14px; }
.px-scard__body{ padding:12px 14px 14px; display:flex; flex-direction:column; gap:4px; }
.px-scard__brand{ font-size:.78rem; font-weight:600; color:var(--px-muted,#6b7280); }
.px-scard__name{
  font-size:.92rem;
  font-weight:600;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-wrap:anywhere;
}

.px-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin-top:32px;
}
.px-page-link,
.px-page-current,
.px-page-gap{
  min-width:40px;
  height:40px;
  padding:0 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font:inherit;
  font-size:.9rem;
  font-weight:600;
  border-radius:999px;
  border:1px solid var(--px-line,#e7e7ea);
  color:var(--px-ink,#17181c);
  text-decoration:none;
  background:var(--px-surface,#fff);
}
.px-page-link:hover{ border-color:var(--px-yellow,#FFE100); background:#fffbe0; }
.px-page-link:focus-visible{ outline:2px solid var(--px-ink,#17181c); outline-offset:2px; }
.px-page-current{ background:var(--px-yellow,#FFE100); border-color:var(--px-yellow,#FFE100); }
.px-page-gap{ border-color:transparent; background:transparent; color:var(--px-muted,#6b7280); cursor:default; }
.px-page-nav[aria-disabled="true"]{ opacity:.35; pointer-events:none; }

@media (max-width:480px){
  .px-home-page,
  .px-search-page{ padding:16px 16px 48px; }
  .px-home-grid,
  .px-search-grid{ grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
}

.gr-product-page{
  --gr-ink:#16181d;
  --gr-muted:#666d78;
  --gr-paper:#f4f4f5;
  --gr-surface:#fff;
  --gr-line:#e5e5e7;
  --gr-accent:#e4972e;
  --gr-accent-soft:#fff4e0;
  --gr-stage:#0d0e10;
  --gr-sticky-top:66px;
  max-width:1240px;
  margin:0 auto;
  padding:28px 20px 64px;
  color:var(--gr-ink);
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  line-height:1.4;
  -webkit-text-size-adjust:100%;
}
@media (max-width:720px){
  .gr-product-page{ --gr-sticky-top: 112px; }
}
.gr-product-page h1,
.gr-product-page h2,
.gr-product-page h3,
.gr-product-page p{ margin:0; }
.gr-product-page img{ display:block; max-width:100%; }
.gr-product-page [hidden]{ display:none !important; }
:root{ --plyr-color-main:#e4972e; }

.gr-hero{
  display:flex;
  align-items:center;
  gap:32px;
  padding-bottom:28px;
  margin-bottom:28px;
  border-bottom:1px solid var(--gr-line);
}
.gr-hero__image{
  flex:0 0 auto;
  width:220px;
  height:220px;
  border-radius:18px;
  overflow:hidden;
  background:var(--gr-surface);
  border:1px solid var(--gr-line);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gr-muted);
}
.gr-hero__image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
}
.gr-hero .gr-hero__brand{
  margin-bottom:6px;
  font-size:.9rem;
  font-weight:600;
  color:var(--gr-muted);
}
.gr-hero .gr-hero__price{
  margin-top:10px;
  font-size:1.2rem;
  font-weight:700;
}
.gr-hero .gr-hero__price span{
  margin-left:6px;
  font-size:.8rem;
  font-weight:400;
  color:var(--gr-muted);
}
.gr-hero__name{
  font-size:clamp(1.4rem,2.6vw,2.2rem);
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.01em;
  overflow-wrap:anywhere;
}
.gr-hero__count{
  display:inline-block;
  margin-top:12px;
  padding:4px 12px;
  border-radius:999px;
  background:var(--gr-paper);
  color:var(--gr-muted);
  font-size:.85rem;
  font-weight:500;
}

.gr-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
}

.gr-stage{ background:var(--gr-stage); border-radius:16px; overflow:hidden; }
.gr-stage video{ display:block; width:100%; aspect-ratio:16/9; background:#000; }
.gr-stage__error{
  aspect-ratio:16/9;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:24px;
  text-align:center;
  color:#d7d7d9;
}
.gr-stage__error svg{ color:var(--gr-accent); }

.gr-info{ padding:14px 2px 4px; }
.gr-info__title{
  font-size:1.2rem;
  font-weight:700;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.gr-info__duration{
  display:inline-block;
  margin-top:4px;
  font-size:.85rem;
  color:var(--gr-muted);
}

.gr-info__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
}
.gr-info__meta{ display:flex; align-items:baseline; gap:10px; min-width:0; }
.gr-info__meta .gr-info__duration{ margin:0; }
.gr-info__counter{
  font-size:.85rem;
  color:var(--gr-muted);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.gr-nav{ display:flex; gap:8px; flex:0 0 auto; }
.gr-nav__btn{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 16px;
  font:inherit;
  font-size:.88rem;
  font-weight:600;
  color:var(--gr-ink);
  background:var(--gr-surface);
  border:1px solid var(--gr-line);
  border-radius:999px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:border-color .15s ease, background-color .15s ease;
}
.gr-nav__btn:hover:not(:disabled){ border-color:var(--gr-accent); background:var(--gr-accent-soft); }
.gr-nav__btn:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:2px; }
.gr-nav__btn:disabled{ opacity:.4; cursor:not-allowed; }
@media (max-width:720px){
  .gr-nav__btn{ min-height:44px; }
  .gr-nav__btn span{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .gr-nav__btn{ width:44px; padding:0; justify-content:center; }
}

.gr-related{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--gr-line);
}
.gr-related__title{ font-size:1rem; font-weight:700; margin-bottom:12px; }
.gr-related__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
  gap:10px;
}
.gr-rcard{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px;
  min-height:64px;
  background:var(--gr-surface);
  border:1px solid var(--gr-line);
  border-radius:12px;
  color:var(--gr-ink);
  text-decoration:none;
}
a.gr-rcard{ transition:border-color .15s ease, background-color .15s ease; }
a.gr-rcard:hover{ border-color:var(--gr-accent); background:var(--gr-accent-soft); }
a.gr-rcard:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:2px; }
.gr-rcard__img{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:8px;
  background:var(--gr-paper);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gr-muted);
  overflow:hidden;
}
.gr-rcard__img img{ width:100%; height:100%; object-fit:contain; }
.gr-rcard__name{
  font-size:.88rem;
  font-weight:500;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-wrap:anywhere;
}

.gr-side{
  margin-top:24px;
  background:var(--gr-surface);
  border:1px solid var(--gr-line);
  border-radius:16px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.gr-side__head{
  flex:0 0 auto;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
  padding:14px 16px;
  border-bottom:1px solid var(--gr-line);
}
.gr-side__title{ font-size:1rem; font-weight:700; }
.gr-side__count{ font-size:.82rem; color:var(--gr-muted); white-space:nowrap; }
.gr-side__list{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  padding:8px;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:4px;
  align-content:start;
  scrollbar-width:thin;
  scrollbar-color:#c9c9cd transparent;
}

.gr-vcard{
  appearance:none;
  -webkit-appearance:none;
  display:flex;
  gap:12px;
  width:100%;
  margin:0;
  padding:8px;
  font:inherit;
  color:inherit;
  text-align:left;
  background:transparent;
  border:0;
  border-radius:10px;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background-color .15s ease;
}
.gr-vcard:hover{ background:var(--gr-paper); }
.gr-vcard:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:-2px; }
.gr-vcard.active{ background:var(--gr-accent-soft); box-shadow:inset 3px 0 0 var(--gr-accent); }

.gr-vcard__thumb{
  position:relative;
  flex:0 0 auto;
  width:148px;
  aspect-ratio:16/9;
  border-radius:8px;
  overflow:hidden;
  background:var(--gr-stage);
  color:#9a9aa0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gr-vcard__thumb img{ width:100%; height:100%; object-fit:cover; }
.gr-vcard__badge{
  position:absolute;
  right:5px;
  bottom:5px;
  padding:1px 6px;
  border-radius:4px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font-size:.72rem;
  font-weight:500;
  font-variant-numeric:tabular-nums;
}
.gr-vcard__body{ min-width:0; padding-top:1px; }
.gr-vcard__title{
  font-size:.88rem;
  font-weight:500;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.gr-vcard__now{
  display:none;
  margin-top:6px;
  font-size:.75rem;
  font-weight:700;
  color:var(--gr-accent);
}
.gr-vcard.active .gr-vcard__now{ display:block; }

.gr-empty{
  border:1px dashed var(--gr-line);
  border-radius:14px;
  padding:48px 20px;
  text-align:center;
  color:var(--gr-muted);
}

.gr-offers{ margin-top:40px; padding-top:24px; border-top:1px solid var(--gr-line); }
.gr-offers__title{ font-size:1rem; font-weight:700; margin-bottom:12px; }
.gr-offers__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:10px;
}
.gr-offer{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 10px 8px 8px;
  background:var(--gr-surface);
  border:1px solid var(--gr-line);
  border-radius:12px;
}
.gr-offer__img{
  flex:0 0 auto;
  width:56px;
  height:56px;
  border-radius:8px;
  background:var(--gr-paper);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--gr-muted);
  overflow:hidden;
}
.gr-offer__img img{ width:100%; height:100%; object-fit:contain; }
.gr-offer__price{ flex:1 1 auto; font-weight:700; font-variant-numeric:tabular-nums; }
.gr-offer__link{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 16px;
  font-size:.88rem;
  font-weight:600;
  color:var(--gr-ink);
  text-decoration:none;
  border:1px solid var(--gr-line);
  border-radius:999px;
  transition:border-color .15s ease, background-color .15s ease;
}
.gr-offer__link:hover{ border-color:var(--gr-accent); background:var(--gr-accent-soft); }
.gr-offer__link:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:2px; }

@media (min-width:1024px){
  .gr-layout{
    grid-template-columns:minmax(0,1fr) 380px;
    column-gap:24px;
    align-items:start;
  }
  .gr-stage,
  .gr-info,
  .gr-related{ grid-column:1; }
  .gr-side{
    grid-column:2;
    grid-row:1 / span 3;
    margin-top:0;
    height:0;
    min-height:max(100%,380px);
  }
  .gr-side__list{ overflow-y:auto; overscroll-behavior:contain; }
}

@media (min-width:640px) and (max-width:1023px){
  .gr-side__list{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:720px){
  .gr-product-page{ padding:16px 16px 48px; }

  .gr-hero{ gap:16px; padding-bottom:18px; margin-bottom:18px; }
  .gr-hero__image{ width:132px; height:132px; border-radius:14px; }
  .gr-hero__image img{ padding:6px; }
  .gr-hero__count{ margin-top:8px; }

  .gr-stage{
    position:sticky;
    top:var(--gr-sticky-top);
    z-index:20;
    margin:0 -16px;
    border-radius:0;
    box-shadow:0 6px 16px -8px rgba(0,0,0,.5);
  }
  .gr-info__title{ font-size:1.05rem; }

  .gr-related__grid{
    display:flex;
    gap:10px;
    margin:0 -16px;
    padding:2px 16px 6px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .gr-related__grid::-webkit-scrollbar{ display:none; }
  .gr-rcard{ flex:0 0 220px; scroll-snap-align:start; }

  .gr-side{ margin:20px -16px 0; border-radius:0; border-left:0; border-right:0; }
  .gr-side__list{ padding:6px 8px; }
  .gr-vcard{ padding:8px; }
  .gr-vcard__thumb{ width:132px; }
}
@media (max-width:720px) and (max-height:480px) and (orientation:landscape){
  .gr-stage{ position:static; }
}
@media (max-width:380px){
  .gr-hero{ flex-direction:column; align-items:flex-start; }
  .gr-vcard__thumb{ width:112px; }
}
@media (prefers-reduced-motion:reduce){
  .gr-product-page *{ transition:none !important; scroll-behavior:auto !important; }
}

.gr-reviews{ margin-top:40px; padding-top:24px; border-top:1px solid var(--gr-line); }
.gr-reviews__head{ display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:16px; }
.gr-reviews__title{ font-size:1.15rem; font-weight:700; }
.gr-reviews__count{ font-size:.85rem; color:var(--gr-muted); white-space:nowrap; }
.gr-reviews__list{ display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
@media (min-width:900px){
  .gr-reviews__list{ grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
}
.gr-review{ background:var(--gr-surface); border:1px solid var(--gr-line); border-radius:16px; padding:16px; }
.gr-review__head{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.gr-review__avatar{
  flex:0 0 auto; width:40px; height:40px; border-radius:50%; overflow:hidden;
  background:var(--gr-paper); color:var(--gr-muted); font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.gr-review__avatar img{ width:100%; height:100%; object-fit:cover; }
.gr-review__name{ font-size:.92rem; font-weight:600; overflow-wrap:anywhere; }
.gr-review__date{ font-size:.8rem; color:var(--gr-muted); }
.gr-stars{ color:var(--gr-accent); font-size:1rem; line-height:1; letter-spacing:1px; }
.gr-stars__off{ color:#d4d4d8; }
.gr-review__title{ margin:8px 0 6px; font-size:1rem; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
.gr-review__text{ font-size:.92rem; line-height:1.55; color:#2b2f36; overflow-wrap:anywhere; }
.gr-review__text + .gr-review__text{ margin-top:8px; }

.gr-rmedia__grid{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.gr-rmedia{
  appearance:none; -webkit-appearance:none; position:relative; display:flex;
  align-items:center; justify-content:center;
  width:104px; height:104px; padding:0; margin:0;
  color:var(--gr-muted); background:var(--gr-paper);
  border:1px solid var(--gr-line); border-radius:10px; overflow:hidden;
  cursor:pointer; -webkit-tap-highlight-color:transparent;
  transition:border-color .15s ease;
}
.gr-rmedia:hover{ border-color:var(--gr-accent); }
.gr-rmedia:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:2px; }
.gr-rmedia img{ width:100%; height:100%; object-fit:cover; }
.gr-rmedia__play{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:36px; height:36px; border-radius:50%;
  background:rgba(0,0,0,.65); color:#fff;
  display:flex; align-items:center; justify-content:center;
}

.gr-lb{ width:min(96vw,1000px); max-width:none; padding:0; border:0; background:transparent; overflow:visible; }
.gr-lb::backdrop{ background:rgba(0,0,0,.85); }
.gr-lb__inner{ position:relative; display:flex; justify-content:center; }
.gr-lb__body{ display:flex; justify-content:center; max-width:100%; }
.gr-lb__body img,
.gr-lb__body video{ max-width:100%; max-height:86vh; border-radius:12px; background:#000; }
.gr-lb__body video{ width:100%; aspect-ratio:16/9; }
.gr-lb__msg{ padding:40px 20px; color:#d7d7d9; text-align:center; }
.gr-lb__close{
  position:absolute; top:8px; right:8px; z-index:2;
  width:40px; height:40px; border:0; border-radius:50%; cursor:pointer;
  background:rgba(0,0,0,.65); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.gr-lb__close:focus-visible{ outline:2px solid var(--gr-accent); outline-offset:2px; }