/* SHIP2PHOTO Discover only. Other galleries and photo detail pages keep their UI. */
body:has(.ship2photo-discover){background:#f3f6fa;color:#102b40}
body:has(.ship2photo-discover) header[role=banner],body:has(.ship2photo-discover) footer[role=contentinfo]{display:none}
.ship2photo-app.ship2photo-discover{max-width:680px;padding:0;margin:0 auto;min-width:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ship2photo-discover .ship2photo-discover-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:var(--drupal-displace-offset-top,0px);z-index:30;padding:calc(14px + env(safe-area-inset-top)) 16px 12px;background:#f8fafdef;backdrop-filter:blur(18px);border-bottom:1px solid #e2e8ee}
.ship2photo-discover .ship2photo-wordmark{display:flex;align-items:center;gap:10px;text-decoration:none;color:#0c2b42;min-width:0}
.ship2photo-discover .ship2photo-wordmark img{width:38px;height:38px;border-radius:11px;flex-shrink:0}
.ship2photo-discover .ship2photo-wordmark>span{display:grid;gap:2px}
.ship2photo-discover .ship2photo-wordmark strong{font-size:17px;line-height:1.15;letter-spacing:.065em;font-weight:800}
.ship2photo-discover .ship2photo-wordmark small{font-size:10px;line-height:1.3;color:#667989;letter-spacing:.015em}
.ship2photo-discover .ship2photo-discover-header>nav{display:flex;gap:4px;align-items:center;flex-shrink:0}
.ship2photo-discover .ship2photo-icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;min-width:42px;height:42px;padding:0;border:0;border-radius:13px;background:transparent;color:#163b50;text-decoration:none;cursor:pointer}
.ship2photo-discover .ship2photo-icon-button.is-gold{background:#e2c074;color:#102d42}
.ship2photo-discover .ship2photo-icon-button:hover,.ship2photo-discover .ship2photo-icon-button:focus-visible{background:#e6edf3;outline:2px solid #caa454;outline-offset:1px}
.ship2photo-discover .ship2photo-icon-button.is-gold:hover{background:#edce87}
.ship2photo-discover .ship2photo-discover-content{padding:14px 12px 0;min-width:0}
.ship2photo-discover .ship2photo-discover-search{display:flex;align-items:center;gap:4px;border:1px solid #dce5ec;border-radius:14px;background:#fff;padding:2px 4px 2px 14px;margin:0}
.ship2photo-discover .ship2photo-discover-search:focus-within{outline:2px solid #d4b66c;outline-offset:1px}
.ship2photo-discover .ship2photo-discover-search input[type=search]{width:100%;min-width:0;flex:1;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;font:400 16px/1.4 system-ui;height:42px;padding:6px 0;color:#16384c;border-radius:0}
.ship2photo-discover .ship2photo-discover-search button{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;background:transparent;border:0;border-radius:10px;color:#466375}
.ship2photo-discover .ship2photo-feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 4px 12px;color:#738492}
.ship2photo-discover .ship2photo-feed-heading h1{font-size:15px;line-height:1.3;font-weight:700;color:#17374c;margin:0}
.ship2photo-discover .ship2photo-feed-heading>span{font-size:12px}
.ship2photo-discover .ship2photo-feed{display:grid;gap:18px;margin:0;min-width:0}
.ship2photo-discover .ship2photo-feed-card{border:0;box-shadow:none;background:#fff;border-radius:18px;overflow:visible;min-width:0;padding:0;margin:0}
.ship2photo-discover .ship2photo-post-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 14px 12px;min-width:0}
.ship2photo-discover .ship2photo-post-heading{min-width:0}
.ship2photo-discover .ship2photo-post-title{display:block;font-size:18px;line-height:1.25;font-weight:750;letter-spacing:-.015em;color:#102e44;text-decoration:none;overflow-wrap:anywhere}
.ship2photo-discover .ship2photo-post-credit{display:block;color:#71818e;font-size:12px;line-height:1.4;margin-top:3px}
.ship2photo-discover .ship2photo-post-credit a{color:inherit;text-decoration:none}
.ship2photo-discover .ship2photo-post-menu{position:relative;flex-shrink:0;margin:0;padding:0;border:0;background:none;z-index:10}
.ship2photo-discover .ship2photo-post-menu>summary{display:grid;place-items:center;width:40px;height:40px;list-style:none;padding:0;border:0;border-radius:12px;background:transparent;color:#607788;cursor:pointer}
.ship2photo-discover .ship2photo-post-menu>summary::-webkit-details-marker{display:none}
.ship2photo-discover .ship2photo-post-menu>summary::marker{content:""}
.ship2photo-discover .ship2photo-post-menu>summary::after{content:none!important;display:none!important}
.ship2photo-discover .ship2photo-post-menu[open]>summary{background:#edf2f6;color:#0c2f46}
.ship2photo-discover .ship2photo-post-menu>nav{position:absolute;right:0;top:46px;width:min(264px,calc(100vw - 48px));padding:6px;border:1px solid #e1e8ef;border-radius:14px;background:#fff;box-shadow:0 12px 34px #102b401c;display:grid;gap:1px;z-index:40}
.ship2photo-discover .ship2photo-post-menu nav>a,.ship2photo-discover .ship2photo-post-menu nav>button{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:42px;width:100%;padding:10px;border:0;border-radius:8px;background:none;text-align:left;font:500 12px/1.4 system-ui;color:#26475b;text-decoration:none;white-space:normal;margin:0;cursor:pointer}
.ship2photo-discover .ship2photo-post-menu nav>a:hover,.ship2photo-discover .ship2photo-post-menu nav>button:hover{background:#f0f5f8}
.ship2photo-discover .ship2photo-post-menu nav .s2b-admin-photo-delete{color:#aa364a}
.ship2photo-discover .ship2photo-feed-image{display:grid;place-items:center;overflow:hidden;isolation:isolate;background:#0c2537;width:100%;text-decoration:none;margin:0;min-width:0}
.ship2photo-discover .ship2photo-feed-image .ship2photo-presentation{width:min(100%,calc(min(76svh,760px) * var(--feed-aspect,.8)));max-width:100%;border-radius:0;margin:auto}
.ship2photo-discover .ship2photo-post-actions{display:flex;align-items:center;gap:14px;padding:8px 14px 4px;min-height:54px}
.ship2photo-discover .ship2photo-post-actions .s2b-gallery-like{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:10px;background:none;box-shadow:none;color:#17374b;font:600 13px/1.2 system-ui;padding:0 2px;min-width:44px;min-height:44px;text-decoration:none}
.ship2photo-discover .ship2photo-post-actions .s2b-gallery-like.is-liked{color:#df4663;background:none}
.ship2photo-discover .ship2photo-heart-stack{display:inline-grid;place-items:center;color:inherit!important;position:relative}
.ship2photo-discover .ship2photo-heart-stack .bi-heart-fill{display:none}
.ship2photo-discover .is-liked .ship2photo-heart-stack .bi-heart{display:none}
.ship2photo-discover .is-liked .ship2photo-heart-stack .bi-heart-fill{display:block}
.ship2photo-discover .ship2photo-post-share{width:40px;min-width:40px;height:40px;margin:0}
.ship2photo-discover .ship2photo-profile-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;min-height:40px;margin-left:auto;color:#526f80;font-size:11px;font-weight:600;line-height:1.3;text-decoration:none;text-align:right}
.ship2photo-discover .ship2photo-profile-link .ship2photo-icon{width:13px!important;height:13px!important;max-width:13px!important}
.ship2photo-discover .ship2photo-feed-card .ship2photo-post-description{font-size:13px;line-height:1.6;color:#3d5869;padding:0 16px 12px;margin:0;overflow-wrap:anywhere}
.ship2photo-discover .ship2photo-feed-card>.s2b-photo-tags{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px;margin:0}
.ship2photo-discover .s2b-photo-tags>a{display:inline-block;padding:3px 7px;border:0;border-radius:6px;background:#f0f5f8;color:#638091;text-decoration:none;font-size:10px;line-height:1.5}
.ship2photo-discover .ship2photo-welcome{display:flex;align-items:flex-start;gap:8px;padding:12px 8px 12px 14px;margin-top:12px;border:0;border-left:2px solid #d0ad60;border-radius:0 12px 12px 0;background:#f7f0e2;color:#675938}
.ship2photo-discover .ship2photo-welcome[hidden]{display:none}
.ship2photo-discover .ship2photo-welcome p{font-size:12px;line-height:1.65;margin:0}
.ship2photo-discover .ship2photo-welcome button{display:grid;place-items:center;border:0;background:none;width:32px;height:32px;flex:0 0 32px;padding:4px;color:inherit}
.ship2photo-discover .ship2photo-search-selection{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:#627887;margin:0 4px 12px;overflow-wrap:anywhere}
.ship2photo-discover .ship2photo-search-selection a{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none;color:#496a7b}
.ship2photo-discover .ship2photo-search-selection .ship2photo-icon{width:16px!important;height:16px!important;max-width:16px!important}
.ship2photo-discover .ship2photo-pagination{display:flex;justify-content:center;gap:20px;font-size:13px;margin:22px 0}
.ship2photo-discover .ship2photo-empty{padding:35px 16px;text-align:center;color:#637d8e;font-size:14px}
.ship2photo-discover .ship2photo-empty strong{display:block;font-size:18px;color:#183c52;margin-bottom:10px}
.ship2photo-discover .ship2photo-feedback{position:fixed;left:50%;bottom:calc(var(--ship2photo-nav-height,76px) + 16px);transform:translateX(-50%);background:#102e44;color:white;padding:9px 14px;border-radius:12px;font-size:12px;z-index:1020;pointer-events:none;opacity:0;transition:opacity .15s;max-width:calc(100vw - 40px)}
.ship2photo-discover .ship2photo-feedback.is-visible{opacity:1}
.ship2photo-discover .ship2photo-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ship2photo-discover .ship2photo-icon{display:block;width:22px!important;height:22px!important;max-width:22px!important;flex-shrink:0;fill:currentColor}
@media(max-width:400px){.ship2photo-discover .ship2photo-discover-header{padding-inline:12px;gap:6px}.ship2photo-discover .ship2photo-wordmark{gap:7px}.ship2photo-discover .ship2photo-wordmark strong{font-size:15px}.ship2photo-discover .ship2photo-wordmark small{font-size:9px}.ship2photo-discover .ship2photo-discover-content{padding-inline:8px}.ship2photo-discover .ship2photo-post-header{padding-inline:12px}.ship2photo-discover .ship2photo-post-actions{gap:9px;padding-inline:12px}.ship2photo-discover .ship2photo-profile-link{font-size:10px}}
@media(min-width:768px){.ship2photo-app.ship2photo-discover{padding-top:14px}.ship2photo-discover .ship2photo-discover-header{padding-inline:20px}.ship2photo-discover .ship2photo-discover-content{padding:18px 18px 0}.ship2photo-discover .ship2photo-feed{gap:24px}.ship2photo-discover .ship2photo-post-header{padding:16px 18px}.ship2photo-discover .ship2photo-post-actions{padding-inline:18px}.ship2photo-discover .ship2photo-post-title{font-size:19px}}
@media(prefers-reduced-motion:reduce){.ship2photo-discover .ship2photo-feedback{transition:none}}

.ship2photo-discover .ship2photo-post-menu>summary:focus-visible{outline:2px solid #d0ad60;outline-offset:2px}

.ship2photo-discover .ship2photo-name-line{display:block;line-height:1.45;min-width:0}
.ship2photo-discover .ship2photo-name-line .ship2photo-post-title{display:inline}
.ship2photo-discover .ship2photo-inline-facts{display:inline;margin-inline-start:8px;font-size:11px;font-weight:400;line-height:1.5;color:#7b8993;overflow-wrap:anywhere;min-width:0}
