.r4-photo-edge{position: absolute; inset: -1px -81px -1px -91px; pointer-events: none; background: linear-gradient(90deg,var(--ui-bg) 0%,transparent 19%,transparent 57%,var(--ui-bg) 100%),linear-gradient(0deg,var(--ui-bg),transparent 25%,transparent 83%,var(--ui-bg)); z-index: -1;}
.r4-photo-dialog{width: max-content; min-width: min(310px, -24px + 100vw); max-width: calc(-24px + 100vw); max-height: calc(100dvh - 20px); padding: 0px; margin: auto; border: 1px solid var(--ui-line); border-radius: 13px; overflow: hidden; box-shadow: var(--ui-menu-shadow);}
.r4-photo-dialog .lightbox-top{padding: 9px 12px; min-height: 47px; max-width: 1080px;}
.r4-photo-dialog .lightbox-top p{max-width: calc(100% - 48px); font-size: 12px; line-height: 1.45; color: var(--ui-muted-strong);}
.r4-photo-dialog #humor-close-photo{width: 36px; height: 36px; flex: 0 0 auto;}
.r4-photo-stage{position: relative; max-width: 100%; margin: auto; touch-action: pan-y;}
.r4-photo-stage > img{display: block; width: 100%; height: 100%; object-fit: contain; cursor: default; border-radius: 0px; margin: 0px; max-width: none;}
.r4-photo-stage .r4-photo-arrow{position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.267); border-radius: 50%; background: rgba(22, 22, 22, 0.72); color: rgb(255, 255, 255); display: grid; place-items: center; padding: 0px;}
.r4-photo-stage .r4-photo-arrow:hover{background: var(--ui-accent-fill); color: var(--ui-on-accent);}
.r4-photo-stage #humor-photo-prev{left: 12px;}
.r4-photo-stage #humor-photo-next{right: 12px;}
.r4-photo-stage .r4-photo-arrow svg{width: 24px; height: 24px;}
.r4-photo-dialog .lightbox-bottom{padding: 10px 15px; justify-content: center; flex-wrap: wrap; gap: 12px; font-size: 11px; min-height: 40px;}
@media (max-width: 650px){.r4-photo-edge{inset: 0px -23px; background: linear-gradient(0deg,var(--ui-bg),transparent 45%),linear-gradient(90deg,var(--ui-bg),transparent 12%,transparent 80%,var(--ui-bg));}
.r4-photo-dialog .lightbox-top{padding: 6px 9px;}
.r4-photo-dialog .lightbox-top p{font-size: 10px; max-width: calc(100% - 42px);}
.r4-photo-stage .r4-photo-arrow{width: 40px; height: 40px;}
.r4-photo-stage #humor-photo-prev{left: 8px;}
.r4-photo-stage #humor-photo-next{right: 8px;}
.r4-photo-dialog .lightbox-bottom{font-size: 10px; padding: 8px 10px;}
}
#humor-review-dialog.r4-photo-dialog{position: fixed; inset: 0px; box-sizing: border-box; margin: 0px; width: 100vw; max-width: none; height: 100dvh; max-height: none; min-width: 0px; padding: 0px; background: transparent; border: 0px; border-radius: 0px; box-shadow: none; overflow: hidden; color: rgb(245, 246, 248);}
#humor-review-dialog.r4-photo-dialog[open]{display: grid; place-items: center;}
#humor-review-dialog::backdrop{background: rgba(8, 10, 14, 0.918);}
#humor-review-dialog .lightbox-top{position: absolute; top: 10px; left: 74px; right: 74px; width: auto; max-width: none; padding: 8px 16px; min-height: 50px; z-index: 3; color: rgb(232, 234, 240);}
#humor-review-dialog .lightbox-top p{color: rgb(215, 220, 229); font-size: 13px; max-width: calc(100% - 52px);}
#humor-review-dialog #humor-close-photo{color: rgb(231, 236, 244); width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.07);}
#humor-review-dialog .lightbox-bottom{position: absolute; bottom: 11px; left: 72px; right: 72px; z-index: 3; min-height: 36px; padding: 5px 12px;}
#humor-review-dialog .lightbox-bottom a{color: rgb(237, 180, 121); font-size: 12px;}
#humor-review-dialog .r4-photo-stage{position: relative; place-self: center; max-width: none; flex: 0 0 auto; min-height: 0px; margin: 0px;}
#humor-review-dialog .r4-photo-stage > img{width: 100%; height: 100%; object-fit: contain; border-radius: 7px; box-shadow: none;}
#humor-review-dialog > .r4-photo-arrow{position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.227); border-radius: 50%; background: rgba(38, 43, 52, 0.92); color: rgb(255, 255, 255); display: grid; place-items: center; padding: 0px; z-index: 5;}
#humor-review-dialog > #humor-photo-prev{left: 22px;}
#humor-review-dialog > #humor-photo-next{right: 22px;}
#humor-review-dialog > .r4-photo-arrow:hover, #humor-review-dialog > .r4-photo-arrow:focus-visible{background: var(--ui-accent-fill); color: var(--ui-on-accent); border-color: transparent;}
@media (max-width: 650px){#humor-review-dialog .lightbox-top{left: 11px; right: 11px; top: 7px; padding: 5px;}
#humor-review-dialog .lightbox-top p{font-size: 11px; line-height: 1.6; max-width: calc(100% - 53px);}
#humor-review-dialog > .r4-photo-arrow{width: 42px; height: 42px;}
#humor-review-dialog > #humor-photo-prev{left: 6px;}
#humor-review-dialog > #humor-photo-next{right: 6px;}
#humor-review-dialog .lightbox-bottom{left: 12px; right: 12px; bottom: 10px; padding: 4px; gap: 10px;}
#humor-review-dialog .lightbox-bottom a{font-size: 11px;}
}
@media (max-width: 650px){ [data-mobile-layout="C"]) #problems .r4-photo-edge{background: linear-gradient(0deg,var(--ui-bg),transparent 55%),linear-gradient(90deg,var(--ui-bg),transparent 23%,transparent 76%,var(--ui-bg));}
}
#reviews [data-written-rail] .r2-review-viewport{height:415px}
#reviews [data-written-rail] .r2-review-card{height:345px;text-align:left}
.ov-testimonial-inner{position:relative;display:flex;flex-direction:column;height:100%;border:1px solid var(--ui-line);border-radius:13px;background:var(--r6-card);overflow:hidden;isolation:isolate}
.ov-testimonial-picture{display:block;flex:none;height:108px;background:var(--ui-inset)}
.ov-testimonial-picture img{width:100%;height:100%;object-fit:contain;pointer-events:none}
.ov-testimonial-copy{display:flex;flex:1;min-height:0;flex-direction:column;padding:22px 19px}
.ov-testimonial-copy>strong{font-size:17px;line-height:1.3;letter-spacing:-.02em;color:var(--ui-text)}
.ov-testimonial-copy>time{font-size:10px;color:var(--ui-muted);margin-top:8px;line-height:1.5}
.ov-testimonial-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden;margin-top:17px;color:var(--ui-muted-strong);font-size:13px;line-height:1.7}
.ov-testimonial-picture+.ov-testimonial-copy .ov-testimonial-excerpt{-webkit-line-clamp:3}
.ov-testimonial-copy .ov-review-mixed{margin-top:8px;padding:3px 6px;font-size:9px;align-self:start}
.ov-testimonial-open{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:auto;padding-top:16px;font-size:11px;color:var(--ui-accent-ink)}
.ov-testimonial-open svg{width:16px;height:16px}
.ov-testimonial:focus-visible .ov-testimonial-inner{outline:2px solid var(--ui-accent-ink);outline-offset:3px}
#humor-review-dialog .r4-photo-stage.is-review{width:min(1040px,calc(100vw - 170px));height:min(750px,calc(100dvh - 140px))}
.ov-review-sheet{height:100%;display:flex;flex-direction:column;padding:32px 35px;border:1px solid var(--ui-line-strong);border-radius:15px;background:var(--ui-panel);color:var(--ui-text);box-shadow:var(--ui-menu-shadow);overflow:hidden}
.ov-review-sheet>header{flex:none;padding-bottom:22px;border-bottom:1px solid var(--ui-line)}
.ov-review-sheet .ov-kicker{margin-bottom:11px}
.ov-review-sheet h2{font-size:29px;line-height:1.18}
#full-review-date{font-size:12px;color:var(--ui-muted);margin-top:10px}
.ov-review-sheet-layout{display:flex;gap:26px;flex:1;min-height:0;padding-top:24px}
.ov-review-sheet-body{flex:1;min-width:0;min-height:0;display:flex}
#full-review-text{width:100%;height:100%;overflow:hidden;white-space:pre-wrap;font-size:16px;line-height:1.8;color:var(--ui-muted-strong)}
#full-review-attachment{width:220px;flex:none}
.ov-review-attachment-open{padding:0;width:100%;text-align:left;background:var(--ui-bg-soft);border:1px solid var(--ui-line);border-radius:10px;overflow:hidden}
.ov-review-attachment-open img{width:100%;height:200px;object-fit:contain}
.ov-review-attachment-open span{display:block;font-size:11px;line-height:1.6;color:var(--ui-accent-ink);padding:12px}
#full-review-page{flex:none;display:flex;flex-direction:column;gap:3px;padding-top:19px;margin-top:17px;border-top:1px solid var(--ui-line)}
.ov-review-page-label{display:block;white-space:nowrap;min-height:1.65em}
.ov-review-page-hint{display:block}
.ov-back-review{color:#edb479;font-size:13px;min-height:36px;padding:4px 10px}
.ov-back-review:hover{text-decoration:underline}
@media(max-width:800px){#full-review-attachment{width:150px}
.ov-review-attachment-open img{height:160px}
}
@media(max-width:650px){#reviews [data-written-rail] .r2-review-viewport{height:403px}
#reviews [data-written-rail] .r2-review-card{width:min(73vw,300px);height:344px}
.ov-testimonial-copy{padding:20px}
.ov-testimonial-excerpt{font-size:13px}
.ov-testimonial-copy>strong{font-size:18px}
#humor-review-dialog .r4-photo-stage.is-review{width:calc(100vw - 108px);height:calc(100dvh - 138px)}
.ov-review-sheet{padding:20px 17px}
.ov-review-sheet>header{padding-bottom:14px}
.ov-review-sheet h2{font-size:23px}
.ov-review-sheet .ov-kicker{font-size:9px;margin-bottom:9px}
#full-review-date{font-size:10px;line-height:1.5}
.ov-review-sheet-layout{display:flex;flex-direction:column;gap:12px;padding-top:15px}
#full-review-attachment{order:-1;width:100%;height:90px;flex:none}
.ov-review-attachment-open{display:flex;align-items:center;gap:8px;height:90px}
.ov-review-attachment-open img{width:86px;height:88px}
.ov-review-attachment-open span{font-size:9px;padding:8px}
#full-review-text{font-size:13px;line-height:1.7}
#full-review-page{font-size:9px;padding-top:12px;margin-top:12px}
}
@media(max-height:540px){#humor-review-dialog .r4-photo-stage.is-review{height:calc(100dvh - 112px)}
.ov-review-sheet{padding:14px 18px}
.ov-review-sheet>header{padding-bottom:10px}
.ov-review-sheet h2{font-size:20px}
.ov-review-sheet .ov-kicker{display:none}
.ov-review-sheet-layout{padding-top:10px;flex-direction:column;gap:8px}
.ov-review-sheet #full-review-attachment{order:-1;width:100%;height:36px}
.ov-review-sheet .ov-review-attachment-open{display:flex;height:36px;align-items:center}
.ov-review-sheet .ov-review-attachment-open img{display:none}
.ov-review-sheet .ov-review-attachment-open span{padding:6px 10px;font-size:11px}
#full-review-text{font-size:13px;line-height:1.6}
#full-review-page{margin-top:8px;padding-top:7px}
}
#humor-review-dialog[data-mode="review"] .r4-photo-stage.is-review{width:min(1120px,calc(100vw - 150px));height:min(800px,calc(100dvh - 140px))}
#humor-review-dialog .ov-review-sheet{display:flex;padding:30px 34px;min-height:0}
#humor-review-dialog .ov-review-sheet>header{padding-bottom:20px}
#humor-review-dialog .ov-review-sheet-layout{display:block;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-top:24px;padding-right:6px;flex:1}
#humor-review-dialog .ov-review-sheet.has-attachment .ov-review-sheet-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,30%);gap:30px;align-items:start}
#humor-review-dialog .ov-review-sheet-body{display:block;min-width:0;min-height:0}
#humor-review-dialog #full-review-text{height:auto;width:100%;overflow:visible;white-space:normal;font-size:16px;line-height:1.85}
#humor-review-dialog #full-review-text p{margin:0 0 1.15em}
#humor-review-dialog #full-review-text p:last-child{margin-bottom:0}
#humor-review-dialog #full-review-attachment{display:block;width:100%;height:auto;position:sticky;top:0;order:0}
#humor-review-dialog #full-review-attachment[hidden]{display:none}
#humor-review-dialog button.ov-review-attachment-open{display:block;width:100%;height:auto;min-height:0;max-height:none;padding:0;border:1px solid var(--ui-line-strong);border-radius:12px;background:var(--ui-bg-soft);overflow:hidden;color:var(--ui-accent-ink);text-align:left}
#humor-review-dialog button.ov-review-attachment-open img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;border-radius:0;margin:0;background:var(--ui-inset)}
#humor-review-dialog button.ov-review-attachment-open span{display:block;width:auto;height:auto;padding:12px 15px;font-size:12px;line-height:1.5}
#humor-review-dialog #full-review-date a{color:var(--ui-accent-ink);text-decoration:underline;text-underline-offset:3px}
#humor-review-dialog #full-review-page{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;padding-top:16px;margin-top:18px}
#humor-review-dialog .ov-review-page-label{min-height:0;white-space:normal}
#humor-review-dialog .ov-review-page-hint{font-size:11px}
#humor-review-dialog .ov-back-review{width:auto!important;height:auto!important;min-height:40px;padding:8px 14px}
@media(max-width:800px){#humor-review-dialog[data-mode="review"] .r4-photo-stage.is-review{width:calc(100vw - 32px);height:calc(100dvh - 140px)}
#humor-review-dialog .ov-review-sheet.has-attachment .ov-review-sheet-layout{display:flex;flex-direction:column;gap:22px}
#humor-review-dialog .ov-review-sheet.has-attachment #full-review-attachment{order:-1;position:static;max-width:340px;align-self:center}
#humor-review-dialog button.ov-review-attachment-open img{max-height:250px}
#humor-review-dialog[data-mode="review"]>.r4-photo-arrow{top:auto;bottom:9px;transform:none}
#humor-review-dialog[data-mode="review"]>#humor-photo-prev{left:16px}
#humor-review-dialog[data-mode="review"]>#humor-photo-next{right:16px}
#humor-review-dialog[data-mode="review"] .lightbox-bottom{left:68px;right:68px;bottom:8px;min-height:42px}
}
@media(max-width:650px){#humor-review-dialog .ov-review-sheet{padding:20px}
#humor-review-dialog #full-review-text{font-size:14px;line-height:1.85}
#humor-review-dialog #full-review-date{font-size:11px;line-height:1.7}
#humor-review-dialog #full-review-page{font-size:10px;gap:5px;padding-top:10px;margin-top:12px}
#humor-review-dialog .ov-review-page-hint{font-size:10px}
#humor-review-dialog button.ov-review-attachment-open span{font-size:11px;padding:9px 12px}
}
@media(max-width:480px){#humor-review-dialog .ov-review-sheet{padding:17px 16px}
#humor-review-dialog .ov-review-sheet>header{padding-bottom:15px}
#humor-review-dialog .ov-review-sheet-layout{padding-top:18px}
#humor-review-dialog #full-review-page{flex-direction:row}
}
