.x .x-tb__pic.x35-fr { isolation: isolate; }

.x .x-tb__pic.x35-fr--place { align-items: end; justify-items: end; padding: 100px 28px 28px 90px; background: linear-gradient(170deg, #dfe2e5 0%, #e7e9ea 60%, #eeefef 100%); }
.x .x-tb__pic.x35-fr--place::before { content: ""; position: absolute; left: 24px; top: 32px; right: -40px; bottom: -40px; z-index: -1; border-radius: 14px;
  background:
    linear-gradient(rgba(14, 20, 32, .07), rgba(14, 20, 32, .07)) 58px 44px / calc(100% - 58px) 1px no-repeat,
    linear-gradient(rgba(14, 20, 32, .06), rgba(14, 20, 32, .06)) 76px 17px / 120px 10px no-repeat,
    rgba(250, 250, 248, .62);
  box-shadow: 0 0 0 1px rgba(14, 20, 32, .07), 0 30px 60px -40px rgba(14, 20, 32, .3); }
.x .x-tb__pic.x35-fr--place::after { --d: radial-gradient(circle, rgba(14, 20, 32, .16) 0 4px, transparent 4.5px); content: ""; position: absolute; left: 30px; top: 40px; bottom: -40px; width: 44px; z-index: -1; border-radius: 16px;
  background:
    linear-gradient(var(--x-ink), var(--x-ink)) 50% 14px / 18px 18px no-repeat,
    var(--d) 50% 52px / 52px 34px no-repeat, var(--d) 50% 86px / 52px 34px no-repeat, var(--d) 50% 120px / 52px 34px no-repeat,
    var(--d) 50% 154px / 52px 34px no-repeat, var(--d) 50% 188px / 52px 34px no-repeat,
    rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(14, 20, 32, .06); -webkit-mask: linear-gradient(#000 0 230px, rgba(0, 0, 0, 0) 330px); mask: linear-gradient(#000 0 230px, rgba(0, 0, 0, 0) 330px); }
.x .x-tb__pic.x35-fr--place .r17 { max-width: 560px; width: 100%; }
.x .x-tb__pic.x35-fr--place .r17-win { box-shadow: 0 0 0 1px rgba(14, 20, 32, .1), 0 30px 60px -28px rgba(14, 20, 32, .42); }

.x .x-tb__pic.x35-fr--detail { align-items: end; justify-items: start; padding: 0 0 32px 28px; background-color: #f1f0ec;
  background-image: radial-gradient(circle, rgba(26, 22, 20, .17) 0 .85px, transparent 1.25px); background-size: 14px 14px; background-position: 7px 7px; }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx { position: absolute; right: 32px; top: 32px; z-index: -1; width: 560px; transform: scale(.82); transform-origin: 100% 0; pointer-events: none; }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17 { max-width: none; width: 100%; }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17-win { background: #f6f5f1; box-shadow: 0 0 0 1px rgba(14, 20, 32, .09); }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17-win > * { opacity: .46; }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17-toast, .x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17-cur { display: none; }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx { filter: blur(1.6px); }
.x .x-tb__pic.x35-fr--detail > .x35-fr__ctx .r17-win > * { opacity: .58; }
.x .x-tb__pic.x35-fr--detail > .r17 { width: min(500px, 100%); max-width: none; container-type: inline-size; z-index: 3; }
.x .x-tb__pic.x35-fr--detail > .r17 .r17-win { margin-inline: 0; box-shadow: 0 0 0 1px rgba(14, 20, 32, .1), 0 28px 56px -22px rgba(14, 20, 32, .45), 0 8px 18px -10px rgba(14, 20, 32, .18); }
.x .x-tb__pic.x35-fr--detail > .r17 .r17-tx :is(b, small) { white-space: normal; text-overflow: clip; }
.x .x-tb__pic.x35-fr--detail.x35-fr--flip { justify-items: end; padding: 0 28px 32px 0; }
.x .x-tb__pic.x35-fr--detail.x35-fr--flip > .x35-fr__ctx { right: auto; left: 32px; transform-origin: 0 0; }

.x .x-tb__pic.x35-fr--stack { padding-top: 64px; }
.x .x-tb__pic.x35-fr--stack .r17-stage { position: relative; isolation: isolate; }
.x .x-tb__pic.x35-fr--stack .r17-stage::before, .x .x-tb__pic.x35-fr--stack .r17-stage::after { content: ""; display: block; position: absolute; z-index: -1; height: 56px; border-radius: 14px 14px 0 0; background: rgba(250, 250, 248, .78); box-shadow: 0 0 0 1px rgba(14, 20, 32, .08), 0 -10px 24px -18px rgba(14, 20, 32, .3); pointer-events: none; }
.x .x-tb__pic.x35-fr--stack .r17-stage::before { left: 18px; right: 18px; top: -14px; }
.x .x-tb__pic.x35-fr--stack .r17-stage::after { left: 38px; right: 38px; top: -28px; z-index: -2; background: rgba(250, 250, 248, .5); }

.x .x-tb__pic.x35-fr.is-fit:not(.x35-fr--place)::after { content: none; }
.x .x-tb__pic.x35-fr--float.is-tight { padding-block: 20px; }
.x .x-tb__pic.x35-fr--stack.is-tight { padding-top: 48px; padding-bottom: 20px; }
.x .x-tb__pic.x35-fr--place > .x35-fr__veil { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: inherit; animation: none !important;
  -webkit-mask-image: linear-gradient(to top, #000 0, transparent 72px); mask-image: linear-gradient(to top, #000 0, transparent 72px); }
.x .x-tb__pic.x35-fr--place.is-crop > .x35-fr__veil { display: block; }

.x .x-tb__tab:has(~ .x-tb__tab.is-on) .x-tb__ld { background: rgba(26, 22, 20, .34); }
@keyframes x35-pane-fwd { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes x35-pane-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@keyframes x35-ctx { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: none; } }
@keyframes x35-sheet { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .x .x-tb[data-dir] .x-tb__pane.is-on .x-tb__pic.x35-fr > * { animation: x35-pane-fwd .6s var(--x-rev, cubic-bezier(.2, .7, .1, 1)) both; }
  .x .x-tb[data-dir="back"] .x-tb__pane.is-on .x-tb__pic.x35-fr > * { animation-name: x35-pane-back; }
  .x .x-tb .x-tb__pane.is-on .x-tb__pic.x35-fr--detail > .x35-fr__ctx { animation: x35-ctx .5s var(--x-rev, cubic-bezier(.2, .7, .1, 1)) both; }
  .x .x-tb .x-tb__pane.is-on .x-tb__pic.x35-fr--detail > .r17 { animation-delay: .14s; }
  .x .x-tb[data-dir] .x-tb__pane.is-on .x-tb__pic.x35-fr--stack .r17-stage::before { animation: x35-sheet .6s var(--x-rev, cubic-bezier(.2, .7, .1, 1)) .12s both; }
  .x .x-tb[data-dir] .x-tb__pane.is-on .x-tb__pic.x35-fr--stack .r17-stage::after { animation: x35-sheet .6s var(--x-rev, cubic-bezier(.2, .7, .1, 1)) .2s both; }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .x .x-tb__pic.x35-fr--place { padding: 84px 16px 24px 28px; }
  .x .x-tb__pic.x35-fr--place::before { left: 14px; top: 24px;
    background:
      linear-gradient(var(--x-ink), var(--x-ink)) 16px 15px / 14px 14px no-repeat,
      linear-gradient(rgba(14, 20, 32, .07), rgba(14, 20, 32, .07)) 0 42px / 100% 1px no-repeat,
      linear-gradient(rgba(14, 20, 32, .06), rgba(14, 20, 32, .06)) 42px 17px / 110px 10px no-repeat,
      rgba(250, 250, 248, .62); }
  .x .x-tb__pic.x35-fr--place::after { content: none; }
}

@media (max-width: 1100px) {
  .x .x-tb__pic.x35-fr--place { align-items: center; padding: 76px 24px 56px 108px; }
  .x .x-tb__pic.x35-fr--place::before, .x .x-tb__pic.x35-fr--place::after { content: none; }
  .x .x-tb__pic.x35-fr--place > .r17::before { content: ""; position: absolute; left: -84px; top: -52px; right: -80px; bottom: -36px; z-index: -1; border-radius: 14px; pointer-events: none;
    background:
      linear-gradient(rgba(14, 20, 32, .07), rgba(14, 20, 32, .07)) 76px 42px / calc(100% - 76px) 1px no-repeat,
      linear-gradient(rgba(14, 20, 32, .06), rgba(14, 20, 32, .06)) 96px 16px / 120px 10px no-repeat,
      rgba(250, 250, 248, .62);
    box-shadow: 0 0 0 1px rgba(14, 20, 32, .07), 0 30px 60px -40px rgba(14, 20, 32, .3); }
  .x .x-tb__pic.x35-fr--place > .r17::after { --d: radial-gradient(circle, rgba(14, 20, 32, .16) 0 4px, transparent 4.5px); content: ""; position: absolute; left: -76px; top: -44px; bottom: -28px; width: 52px; z-index: -1; border-radius: 16px; pointer-events: none;
    background:
      linear-gradient(var(--x-ink), var(--x-ink)) 50% 14px / 18px 18px no-repeat,
      var(--d) 50% 52px / 52px 34px no-repeat, var(--d) 50% 86px / 52px 34px no-repeat, var(--d) 50% 120px / 52px 34px no-repeat,
      var(--d) 50% 154px / 52px 34px no-repeat, var(--d) 50% 188px / 52px 34px no-repeat,
      rgba(255, 255, 255, .7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px rgba(14, 20, 32, .06); -webkit-mask: linear-gradient(#000 0 230px, rgba(0, 0, 0, 0) 330px); mask: linear-gradient(#000 0 230px, rgba(0, 0, 0, 0) 330px); }
  .x .x-tb__pic.x35-fr--place .r17 { max-width: 560px; }
  .x .x-tb__pic.x35-fr--detail { align-items: stretch; justify-items: stretch; padding: 28px 24px; }
  .x .x-tb__pic.x35-fr--detail > .x35-fr__ctx { position: relative; right: auto; top: auto; grid-area: 1 / 1; align-self: start; justify-self: end; width: min(480px, 84%); padding-bottom: 44px; transform: none; }
  .x .x-tb__pic.x35-fr--detail > .r17 { grid-area: 1 / 1; align-self: end; justify-self: start; width: min(470px, 84%); margin-top: 96px; }
  .x .x-tb__pic.x35-fr--detail.x35-fr--flip { padding: 28px 24px; }
  .x .x-tb__pic.x35-fr--detail.x35-fr--flip > .x35-fr__ctx { left: auto; justify-self: start; }
  .x .x-tb__pic.x35-fr--detail.x35-fr--flip > .r17 { justify-self: end; }
  .x .x-tb__pic.x35-fr--detail > .x35-fr__ctx { zoom: .8; width: min(600px, 84%); filter: blur(2.8px); }
  .x .x-tb__pic.x35-fr--detail { align-content: center; }
  .x .x-tb__pic.x35-fr--stack { padding-top: 56px; }
}
@media (max-width: 640px) {
  .x .x-tb__pic.x35-fr--place { padding: 50px 10px 26px 16px; }
  .x .x-tb__pic.x35-fr--place > .r17::before { left: -8px; top: -38px; right: -40px; bottom: -16px; border-radius: 12px;
    background:
      linear-gradient(var(--x-ink), var(--x-ink)) 12px 11px / 12px 12px no-repeat,
      linear-gradient(rgba(14, 20, 32, .07), rgba(14, 20, 32, .07)) 0 32px / 100% 1px no-repeat,
      linear-gradient(rgba(14, 20, 32, .07), rgba(14, 20, 32, .07)) 34px 13px / 84px 8px no-repeat,
      rgba(250, 250, 248, .62); }
  .x .x-tb__pic.x35-fr--place > .r17::after { content: none; }
  .x .x-tb__pic.x35-fr--detail { padding: 14px 10px 16px; }
  .x .x-tb__pic.x35-fr--detail > .x35-fr__ctx { zoom: .62; width: 88%; justify-self: center; padding-bottom: 36px; filter: blur(2.6px); }
  .x .x-tb__pic.x35-fr--detail > .r17 { width: 100%; justify-self: stretch; margin-top: 84px; }
  .x .x-tb__pic.x35-fr--detail.x35-fr--flip > .x35-fr__ctx { justify-self: center; align-self: end; padding-bottom: 0; padding-top: 36px; }
  .x .x-tb__pic.x35-fr--detail.x35-fr--flip > .r17 { justify-self: stretch; align-self: start; margin-top: 0; margin-bottom: 84px; }
  .x .x-tb__pic.x35-fr--stack { padding-top: 40px; }
  .x .x-tb__pic.x35-fr--stack .r17-stage::before { left: 10px; right: 10px; top: -10px; }
  .x .x-tb__pic.x35-fr--stack .r17-stage::after { left: 22px; right: 22px; top: -20px; }
}
