/* Ticket Hub only: preserve Native tokens and all other sheets. */
#sheet.ticket-hub{background:#081629;color:#edfaff;border-color:#46617e}
.ticket-hub .sheet-head{background:#081629;color:#edfaff;border-color:#34475f;min-height:56px;padding:6px 18px}
.ticket-hub .sheet-head button{color:inherit}
.ticket-hub #sheet-content{padding:0 18px max(20px,env(safe-area-inset-bottom))}
.ticket-hub .hub-identity{position:relative;isolation:isolate;min-height:120px;gap:12px;padding:16px 0;border-bottom:1px solid #34475f}
.ticket-hub .hub-identity img{width:66px;height:88px;object-fit:cover}
.ticket-hub #sheet-content .hub-identity h2{font-size:1.65rem;margin:5px 0}
.ticket-hub #sheet-content p{color:#bfd2e6}
.ticket-hub .hub-identity p{margin:0;font-size:.85rem}
.ticket-hub .hub-identity .kicker{font-size:.65rem;color:#a5f3f2}
.ticket-hub .hub-facts{margin:8px 0}
.ticket-hub .hub-facts>div{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:8px 0;border-color:#263d55;font-size:.85rem;line-height:1.4}
.ticket-hub .hub-facts dt{color:#b9cfe2;font-size:.8rem}
.ticket-hub .hub-facts dd{overflow-wrap:anywhere}
.ticket-hub .hub-attendance{display:flex;justify-content:space-between;gap:12px;font-size:.78rem;padding:8px 0;color:#bfe9f7}
.ticket-hub .hub-external{background:transparent;margin:4px 0 12px;padding:0}
.ticket-hub .external-ticket{background:#bd1554;color:#fff;min-height:50px;display:flex;align-items:center;justify-content:center;line-height:1.35;font-weight:750;text-wrap:balance;border:1px solid #ff86b6}
.ticket-hub .hub-external p{font-size:.72rem;text-align:center;margin:8px 0}
.ticket-hub details{border-top:1px solid #34475f;font-size:.85rem}
.ticket-hub summary{cursor:pointer;min-height:44px;padding:12px 0;color:#d0e9fb}
.ticket-hub #sheet-content .hub-interest{color:#c8dfef;border-color:#46617e;font-size:.85rem;min-height:44px}
.ticket-hub a:focus-visible,.ticket-hub summary:focus-visible,.ticket-hub button:focus-visible{outline:3px solid #a5f3f2;outline-offset:3px}
@media(max-width:350px){.ticket-hub .hub-facts>div{grid-template-columns:60px minmax(0,1fr)}.ticket-hub #sheet-content{padding-left:14px;padding-right:14px}}
/* Keep small action labels readable and top controls outside the cutout. */
.profile66 .deck-actions button.save{background:#bd1554}
.profile66 .profile-top{top:calc(max(4px,env(safe-area-inset-top)) + 24px)}
.profile66 .profile-top button{min-width:44px;min-height:44px}
.profile66 .oi66-scene:not(.oi-poster-scene){padding-top:calc(66px + env(safe-area-inset-top))}

/* Reserve the measured dock height: enlarged text scrolls above, never behind it. */
.profile66 #swipe-area>.oi-scene:not(.oi-poster-scene){position:absolute;inset:0 0 var(--deck-dock-clearance,86px);height:auto;min-height:0;max-height:none;padding-bottom:18px;overflow-y:auto;scroll-padding-bottom:18px}
.profile66 .deck-actions{align-items:center}
.profile66 .deck-actions button{height:auto;padding:6px 4px;flex-shrink:0}
.profile66 .deck-actions button small{max-width:100%;overflow-wrap:anywhere;line-height:1.25}
.profile66 .deck-actions button:nth-child(2){height:auto;min-width:0;width:110px;flex-shrink:1;flex-wrap:wrap;padding:10px 8px;line-height:1.25;overflow-wrap:anywhere}
.profile66 .profile-top button{width:44px;height:44px;flex:0 0 44px;white-space:nowrap;font-size:20px;line-height:1;letter-spacing:0;overflow-wrap:normal;word-break:normal}

.profile66 #swipe-area.deck-large-text .deck-actions{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px}
.profile66 #swipe-area.deck-large-text .deck-actions button{width:100%;min-width:0;border-radius:24px;padding:10px 4px}
.profile66 #swipe-area.deck-large-text .deck-actions button small{white-space:normal;overflow-wrap:anywhere}
.profile66 #swipe-area.deck-large-text .deck-actions button:nth-child(2){font-size:.8rem}
.profile66 #swipe-area.deck-large-text .deck-actions button.save{grid-column:auto}
