/* Card frame is never applied to the full-size photo viewer. */
.canoe-photo-frame{--photo-frame:#fff;--photo-ink:#151515;--photo-surface:#e5e5e5;position:relative!important;box-sizing:border-box;width:230px;max-width:100%;padding:7px!important;background:var(--photo-frame)!important;color:var(--photo-ink)!important;border:0!important;border-radius:16px!important;overflow:hidden;box-shadow:0 3px 12px #0000000c;cursor:zoom-in}
.canoe-photo-frame:before,.canoe-photo-frame:after{display:none!important}
.canoe-photo-surface{position:relative;aspect-ratio:1;overflow:hidden;border-radius:10px;background:var(--photo-surface)}
.canoe-photo-surface>img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:0}
.canoe-photo-description{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;min-height:100%;padding:35px 17px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;color:var(--photo-ink)}
.canoe-photo-description small{display:block;margin-top:12px;font-size:10px;opacity:.55}
.canoe-photo-brand,.canoe-photo-number{position:absolute;z-index:1;background:var(--photo-frame);color:var(--photo-ink);font-family:Arial,sans-serif;font-size:10px;line-height:22px;font-weight:500;white-space:nowrap}
.canoe-photo-brand{top:6px;left:6px;padding:0 14px 1px 9px;border-radius:0 0 16px 0}
.canoe-photo-number{bottom:6px;right:6px;max-width:75%;overflow:hidden;text-overflow:ellipsis;padding:1px 9px 0 14px;border-radius:16px 0 0 0}
html[data-theme="dark"] .canoe-photo-frame{--photo-frame:#252527;--photo-ink:#f2f2f2;--photo-surface:#39393c;box-shadow:0 3px 12px #00000020}
