body.shelf-page{padding-top:0}.shelf-header{position:relative;flex-wrap:wrap}.shelf-header .brand-banner{width:230px}.shelf-header .main-nav{display:flex;gap:20px;flex-direction:row;position:static}.shelf-header .main-nav a{font-size:.8rem}.shelf-hero{text-align:center;padding:50px 20px 32px}.shelf-hero h1{font:500 clamp(2.5rem,6vw,4.2rem)/1.1 Georgia,serif;color:var(--gold-light);margin:14px 0}.shelf-hero p{max-width:660px;margin:18px auto;color:var(--muted)}.shelf-content{max-width:1250px;margin:auto;padding:0 24px 30px}.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.shelf-item{padding:15px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(#111b13,#070907);overflow:hidden}.shelf-item h2{font:600 1.15rem/1.4 system-ui;text-transform:none;letter-spacing:normal;margin:15px 0 8px}.shelf-item p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}.shelf-image{width:100%;height:300px;object-fit:contain;border-radius:10px;background:#101a13}.shelf-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.shelf-thumbs button{padding:2px;border:1px solid var(--border);background:#0b0f0c;border-radius:6px}.shelf-thumbs img{width:46px;height:46px;object-fit:cover}.shelf-credit{font-size:.8rem;color:var(--gold)}.shelf-tag{display:inline-block;padding:5px 9px;border-radius:20px;background:#183321;color:#d0e8d0;font-size:.8rem}.shelf-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.shelf-actions button,.shelf-actions a{font:600 .85rem system-ui}.shelf-form{max-width:850px;margin:24px auto;padding:28px;border:1px solid var(--border);border-radius:20px;background:#102219}.shelf-form h2{margin-bottom:16px}.shelf-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.shelf-form label{display:block;margin:16px 0;color:#f5f5f0}.shelf-fields label{margin:0}.shelf-form input,.shelf-form select,.shelf-form textarea{display:block;width:100%;padding:12px;margin-top:7px;background:#07120c;border:1px solid #476052;border-radius:8px;color:#fff;font:inherit}.shelf-form input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0}.shelf-form textarea{resize:vertical}.shelf-form small,.shelf-form .help{display:block;color:#b7c8bb;font-size:.85rem;line-height:1.6}.shelf-form fieldset{border:1px solid #476052;border-radius:10px;padding:15px;margin:20px 0}.shelf-form legend{color:var(--gold-light)}.shelf-form .photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shelf-form .photo-grid input{font-size:.8rem;min-width:0}.shelf-form .photo-grid img{width:100%;height:130px;object-fit:contain}.shelf-form input:focus-visible,.shelf-form select:focus-visible,.shelf-form textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.shelf-error{color:#ffbdb5}.shelf-message{white-space:pre-wrap;overflow-wrap:anywhere}.shelf-empty{padding:40px;text-align:center;border:1px dashed var(--border);border-radius:15px;color:var(--muted)}.shelf-meta{font-size:.8rem;color:var(--muted)}.shelf-notice{padding:16px;border:1px solid var(--border);border-radius:10px;background:#172d20}.shelf-button-secondary{border:1px solid var(--gold);border-radius:30px;background:#0b0f0c;color:var(--gold-light);padding:10px 16px;cursor:pointer}.shelf-page [hidden]{display:none!important}.shelf-page button:disabled{opacity:.55;cursor:wait}#member-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 24px;max-width:1250px;margin:auto;color:var(--muted);font-size:.85rem}.preview-ribbon{text-align:center;padding:10px;background:#443614;color:#fff1bb;font-size:.85rem}@media(max-width:850px){.shelf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shelf-header{padding:14px 20px}.shelf-header .main-nav{gap:14px;flex-wrap:wrap}}@media(max-width:580px){.shelf-grid,.shelf-fields,.shelf-form .photo-grid{grid-template-columns:1fr}.shelf-form{padding:18px}.shelf-content{padding:0 14px 25px}.shelf-header .brand-banner{width:210px;justify-content:flex-start}.shelf-image{height:320px}.shelf-header .main-nav a{padding:5px 0}}

.shelf-disclaimer{margin:30px 0 0;padding:22px;border:1px solid var(--border);border-radius:14px;background:#0b140e}.shelf-disclaimer h2{font-size:1.15rem}.shelf-disclaimer p{color:var(--muted);font-size:.9rem;line-height:1.75;margin:12px 0 0}

.shelf-agreement-dialog{width:min(700px,calc(100% - 28px));max-height:85vh;overflow:auto;padding:26px;border:1px solid #d9a928;border-radius:16px;background:#102219;color:#f5f5f0}.shelf-agreement-dialog::backdrop{background:rgba(0,0,0,.8)}.shelf-agreement-dialog h2{font:500 1.5rem Georgia;color:#f3d06a}.shelf-agreement-dialog p{line-height:1.7;color:#d5ded6}#agreement-records details{margin-top:20px;overflow-wrap:anywhere}

/* Blarney Shelf gallery: centered identity and hamburger navigation. */
.shelf-page[data-mode="gallery"] .shelf-header{position:relative;display:flex;justify-content:center;align-items:center;min-height:78px;padding:10px 68px;z-index:1000}
.shelf-page[data-mode="gallery"] .shelf-header .brand-banner{width:min(230px,calc(100vw - 140px));margin:0;justify-content:center;flex:none}
.shelf-page[data-mode="gallery"] .shelf-header .brand-banner img{width:100%;max-height:55px;object-fit:contain}
.shelf-page[data-mode="gallery"] .shelf-header .shelf-header-toggle{display:block;position:absolute;right:16px;top:50%;transform:translateY(-50%);padding:8px 11px;margin:0;color:#f3d06a;background:#0b0f0c;border:1px solid #806423;border-radius:8px;font-size:1.2rem;line-height:1.4}
.shelf-page[data-mode="gallery"] .shelf-header .main-nav{display:none;position:absolute;top:calc(100% + 8px);right:16px;left:auto;flex-direction:column;align-items:stretch;gap:0;width:min(250px,calc(100vw - 32px));padding:8px;background:#0b140e;border:1px solid #d9a928;border-radius:12px;box-shadow:0 18px 45px #0007}
.shelf-page[data-mode="gallery"] .shelf-header .main-nav.open{display:flex}
.shelf-page[data-mode="gallery"] .shelf-header .main-nav a{padding:12px 16px;font-size:.85rem;letter-spacing:.04em;color:#f3d06a}
.shelf-page[data-mode="gallery"] .shelf-header .main-nav a:hover{background:#183321;border-radius:6px}

/* Uniform collapsed public cards with optional description expansion. */
.shelf-page[data-mode="gallery"] .shelf-grid{align-items:stretch}
.shelf-page[data-mode="gallery"] .shelf-item{display:flex;flex-direction:column}
.shelf-page[data-mode="gallery"] .shelf-item>h2{height:auto;min-height:0;overflow:visible;display:block;-webkit-line-clamp:unset;flex:none;overflow-wrap:anywhere;margin:12px 0 8px}
.shelf-page[data-mode="gallery"] .shelf-thumbs{height:54px;min-height:54px;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin-top:8px}
.shelf-page[data-mode="gallery"] .shelf-thumbs button{flex:0 0 46px;height:48px}
.shelf-page[data-mode="gallery"] .shelf-card-details{height:auto;min-height:0;overflow-wrap:anywhere;margin:6px 0 0;flex:none}
.shelf-page[data-mode="gallery"] .shelf-card-details:empty{display:none}
.shelf-page[data-mode="gallery"] .shelf-credit{flex:none}
.shelf-page[data-mode="gallery"] .shelf-story{line-height:1.5;height:6em;min-height:6em;flex:none;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;margin:10px 0 0}
.shelf-page[data-mode="gallery"] .shelf-story.is-expanded{display:block;height:auto;max-height:none;-webkit-line-clamp:unset}
.shelf-story-toggle{height:32px;min-height:32px;display:flex;align-items:center;margin-bottom:10px}
.shelf-see-more{padding:4px 0;background:transparent;border:0;color:#f3d06a;text-decoration:underline;font:inherit;cursor:pointer}
.shelf-page[data-mode="gallery"] .shelf-tag{align-self:flex-start;margin-top:auto}
.shelf-page[data-mode="gallery"] .shelf-no-offer-space{height:72px;min-height:72px}
.shelf-page[data-mode="gallery"] .shelf-item>.shelf-image{flex:none}
