/* Mobile discovery iteration. Existing brand tokens and artwork are unchanged. */
.browse-card.event{padding:0!important;margin:0;border:1px solid #e7dce7;border-radius:16px;overflow:hidden;background:#fff;box-shadow:none;position:relative;min-width:0}
.event-card-link{display:grid;grid-template-columns:76px minmax(0,1fr) 12px;gap:11px;align-items:center;padding:12px;color:#2b2330;text-decoration:none;min-height:112px}
.event-card-link:focus-visible{outline:3px solid #765579;outline-offset:-4px;border-radius:16px}
.event-card-link:hover{background:#fcf9fc}
.browse-card .visual.thumb{width:70px;height:76px;min-height:0;align-self:start;border-radius:10px;overflow:hidden;position:relative}
.browse-card .card-summary{min-width:0}
.browse-card--featured-artist.event{border:2px solid #9c78a1;background:#faf4fc;box-shadow:0 4px 16px #6e4e7314}
.browse-card--featured-artist .event-card-link{padding-block:18px}
.browse-card .featured-artist-label{font-size:11px;line-height:1.4;font-weight:700;color:#6e4e73;margin:0 0 5px}
.browse-card--featured-artist .event-card-link:hover{background:#f6edf9}
body[data-page] .browse-card .card-summary h3{font-size:16px;line-height:1.28;margin:3px 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-weight:700}
.browse-card .kind{font-size:10px;line-height:1.25;margin:0;letter-spacing:.06em;color:#765579;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page] .browse-card .metadata,body[data-page] .browse-card .local-cue{font-size:12px;line-height:1.35;margin:3px 0;color:#625767}
.browse-card .local-cue{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.browse-card .event-price{font-size:12px;font-weight:700;margin:5px 0 0;color:#4c3453}
.card-chevron{color:#8e7791;font-size:24px;font-weight:400}
#recommended.grid{gap:8px}
.private-test-art{width:70px;height:76px;border-radius:10px;background:#eee3ef;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#765579}
.private-test-art em,.private-detail-art em{font-family:Georgia,serif}
body[data-page=event]{padding-bottom:calc(100px + env(safe-area-inset-bottom));background:#fbf8f4}
body[data-page=event] .shell{max-width:1000px;padding-top:8px}
body[data-page=event] .shell{box-sizing:border-box;width:100%;padding-right:clamp(12px,4vw,28px);padding-left:clamp(12px,4vw,28px)}
html:has(body[data-page=event]){scroll-padding-block:calc(84px + env(safe-area-inset-top)) calc(132px + env(safe-area-inset-bottom))}
body[data-page=event] .detail-back,body[data-page=event] .detail-layout :is(a,button),body[data-page=event] .detail-coordination :is(a,button){scroll-margin-block:calc(84px + env(safe-area-inset-top)) calc(132px + env(safe-area-inset-bottom))}
body[data-page=event] .event-view-navigation,body[data-page=event] #sf-intro,body[data-page=event] #discovery-controls,body[data-page=event] #for-title{display:none!important}
body[data-page=event] #recommended{display:block}
.detail-back{display:inline-flex;align-items:center;min-height:44px;color:#765579;font-weight:600;text-decoration:none;margin-bottom:4px;font-size:14px}
.detail-layout{display:grid;gap:14px}
.event-detail,.detail-layout,.detail-heading,.detail-information{min-width:0;max-width:100%}
.detail-hero .visual.thumb{width:100%;height:150px;max-height:none;border-radius:18px;position:relative;overflow:hidden}
.detail-hero .visual.thumb>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:2}
.detail-hero .event-illustration{width:100%;height:100%}
.detail-hero .visual.thumb svg{width:100%;height:100%;max-height:150px}
.image-credit{font-size:11px;color:#756b77;margin:6px 0 0}
.detail-heading .kind,.private-detail>.kind{font-size:11px;letter-spacing:.08em;font-weight:700;color:#765579;margin:0 0 9px}
.detail-heading h1,.private-detail h1{font-family:Georgia,serif;font-size:28px;line-height:1.14;letter-spacing:-.025em;margin:0 0 12px;overflow-wrap:anywhere}
.detail-facts{display:grid;gap:10px;margin:0}
.detail-information section,.private-detail section{border-top:1px solid #e5dce5;padding:16px 0 0}
.detail-information h2,.private-detail h2{font-size:18px;margin:0 0 12px;color:#38263d}
.detail-information p,.private-detail p{font-size:15px;line-height:1.55;margin:0 0 10px;overflow-wrap:anywhere}
.detail-information .fine{font-size:13px;color:#776b78;line-height:1.55}
.detail-coordination{margin-top:14px}
.detail-coordination-copy{min-width:0;margin-bottom:14px}
.detail-coordination-copy h2{font:700 21px/1.25 Georgia,serif;letter-spacing:-.2px;margin:0 0 7px;color:#503c59;overflow-wrap:anywhere}
.detail-coordination-copy p{margin:0 0 8px;line-height:1.5;overflow-wrap:anywhere}
.detail-coordination-copy .commitment-pending-copy{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}
#flow .commitment-pending-copy{font-size:15px;line-height:1.5;margin:14px 0;overflow-wrap:anywhere}
.detail-coordination .commitment-count{margin:0 0 10px}
.detail-coordination .detail-reconfirmed{font-size:13px;color:#625767;margin-bottom:5px}
.detail-group-link,.detail-reconfirm{min-height:46px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.detail-group-link{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.detail-group-state{color:#765579;font-weight:700}
.organizer-link{display:inline-block;min-height:44px;padding:8px 0;color:#765579;font-size:14px;font-weight:600}
.detail-management{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.text-action{appearance:none;border:0;background:none;color:#765579;text-decoration:underline;font:inherit;font-size:14px;padding:12px 0;cursor:pointer;min-height:44px}
.detail-actionbar{position:fixed;inset:auto 0 0;background:#fffdfb;border-top:1px solid #e5dce5;z-index:20;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px #35223b08}
.detail-action-inner{max-width:968px;margin:0 auto;display:flex;gap:10px;align-items:center}
.detail-action-inner .btn{min-height:48px;white-space:normal;line-height:1.2;margin:0;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.detail-action-inner .detail-save{flex:0 0 auto;min-width:90px;padding-inline:14px}
.detail-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.detail-action-inner .detail-commit,.private-detail .detail-action-inner>.btn:last-child{flex:1}
.detail-action-inner button:disabled{opacity:.55;cursor:not-allowed}
.detail-action-inner .iconbutton{width:44px;height:48px;flex:0 0 44px;border-radius:12px}
.detail-committed{flex:1;font-size:16px;color:#765579;font-weight:700}
.private-detail-art{height:175px;border-radius:18px;background:#eee3ef;color:#765579;display:flex;align-items:center;justify-content:center;font-size:38px;font-weight:800;margin-bottom:22px}
@media(min-width:768px){.event-card-link{grid-template-columns:88px minmax(0,1fr) 12px;padding:14px;min-height:126px}.browse-card .visual.thumb{width:88px;height:94px}body[data-page] .browse-card .card-summary h3{font-size:17px}.detail-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:28px 36px}.detail-hero{grid-column:1;grid-row:1}.detail-heading{grid-column:2;grid-row:1}.detail-hero .visual.thumb{height:230px}.detail-hero .visual.thumb svg{max-height:230px}.detail-information{grid-column:1/-1;max-width:760px}.detail-heading h1{font-size:32px}.detail-action-inner .detail-commit{flex:0 1 280px}.detail-action-inner .detail-save{min-width:120px}}
@media(max-width:359px){.event-card-link{grid-template-columns:60px minmax(0,1fr) 9px;gap:10px;padding:12px}.browse-card .visual.thumb,.private-test-art{width:60px;height:76px}body[data-page] .browse-card .card-summary h3{font-size:15px}.detail-actionbar{padding-left:12px;padding-right:12px}.detail-action-inner{gap:7px}.detail-action-inner .detail-save{min-width:76px;padding-inline:10px}.detail-heading h1{font-size:25px}}

/* Final polish: no secondary title above Discover's timeline. */
body[data-page=discover] .event-view-navigation{margin-bottom:8px}
body[data-page=discover] .discovery-toolbar{margin-top:0;margin-bottom:10px}
.detail-hero{position:relative;min-width:0}
.detail-category{position:absolute;z-index:3;top:10px;left:10px;max-width:calc(100% - 20px);padding:5px 9px;background:#fffaf5f5;border:1px solid #dbcbdc;border-radius:999px;color:#593c60;font:600 11px/1.3 Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.detail-fact-row{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.45;margin:0!important;min-width:0}
.detail-fact-row>img{width:18px;height:18px;flex:0 0 18px;opacity:.75;margin-top:1px}
.detail-fact-row>div,.detail-fact-row>span{min-width:0;overflow-wrap:anywhere}
.detail-address{font-size:12px;line-height:1.4;color:#756b77;margin:3px 0!important}
.map-link{display:inline-block;min-height:44px;padding:6px 0;color:#765579;font-size:12px;font-weight:600}
.detail-schedule{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px}.detail-admission{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#eee3ef;color:#593c60;font-size:11px;font-weight:700;line-height:1.35;white-space:nowrap}
.detail-heading .detail-admission{white-space:normal;flex-wrap:wrap;max-width:100%;overflow-wrap:anywhere}
.detail-information .detail-attribution{font-size:12px;color:#756b77;margin-bottom:8px}
.detail-coordination .detail-group-state{margin-bottom:5px}
.detail-action-inner .save-primary{background:#765579;color:white;border-color:#765579;flex:1;max-width:350px}
.detail-action-inner .detail-save[aria-pressed=true]{background:#eee3ef;color:#593c60}
@media(max-width:359px){.detail-hero .visual.thumb{height:132px}.detail-hero .visual.thumb svg{max-height:132px}.detail-heading h1{font-size:24px}}

.detail-action-note{max-width:968px;margin:0 auto 7px;font-size:12px;color:#66576b}

@media(max-width:600px){body[data-page=event] .detail-coordination .detail-management{margin-top:14px}}
@media(max-width:359px){body[data-page=event] .detail-coordination-copy h2{font-size:19px}.detail-management{gap:8px}}
@media(max-height:520px) and (max-width:600px){
 body[data-page=event] .detail-actionbar{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom))}
 body[data-page=event] .detail-action-inner .btn{min-height:44px}
}

.detail-hero .image-type-label{z-index:3}

.detail-information .detail-organizer{font-size:12px;line-height:1.5;color:#756b77;margin:12px 0 0}
body[data-page=event] .detail-information section:first-child{border-top:0;padding-top:0}


/* Approved 2027 roadmap: separate from real event cards and actions. */
#recommended .discover-roadmap{grid-column:1/-1;margin:12px 0;padding:18px 0;min-width:0}
#recommended .discover-roadmap h2{margin:0 0 7px;font:700 23px/1.2 Georgia,serif;color:#392b40}
.discover-roadmap .roadmap-intro{margin:0 0 14px;color:#6d6371;font-size:14px;line-height:1.5;max-width:620px}
.roadmap-cards{display:grid;gap:10px}
/* Keep the existing card footprint, icon column and grid breakpoint. */
.roadmap-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid #e6dce9;border-radius:14px;background:#f3edf5;box-shadow:0 3px 12px rgb(57 43 64 / 5%);min-width:0}
.roadmap-card-professional{background:#f8f2e8;border-color:#e9dfd0}
.roadmap-card::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:140px;height:105px;right:-38px;bottom:-46px;border-radius:63% 37% 40% 60% / 52% 64% 36% 48%;transform:rotate(-22deg);background:rgb(118 85 121 / 5%)}
.roadmap-card-professional::after{background:rgb(161 126 77 / 6%);transform:rotate(18deg)}
.roadmap-card>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:#765579;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}
.roadmap-card>div{min-width:0;align-self:stretch;display:flex;flex-direction:column;align-items:flex-start}
#recommended .roadmap-card h3{margin:0 0 9px;font:700 15px/1.3 Arial,sans-serif;color:#503c59}
.roadmap-card .roadmap-question{margin:0 0 8px;font-size:clamp(18px,1.7vw,21px);font-weight:700;line-height:1.25;color:#503c59;text-wrap:pretty}
.roadmap-card .roadmap-description{margin:0 0 14px;font-size:14px;line-height:1.45;color:#534a58}
.roadmap-card .roadmap-label{display:inline-block;margin-top:auto;padding:6px 10px;border-radius:999px;background:#e9dfee;font-size:12px;line-height:1.3;font-weight:700;color:#503c59}
.roadmap-card-professional .roadmap-label{background:#eee3d1}
@media(min-width:768px){.roadmap-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Server-provided commitment momentum, without participant identities. */
.commitment-count{color:#6e4e73;font:600 12px/1.5 Arial,Helvetica,sans-serif;margin:4px 0 0}
.detail-coordination .commitment-count{font-size:14px;margin:8px 0 12px}
.detail-management .detail-calendar{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#79597d;color:#fff;border-color:#79597d;min-height:44px}
.detail-calendar img{width:18px;height:18px;filter:brightness(0) invert(1)}

/* HAN-55: committed event actions live with the compact confirmation, not in the fixed CTA bar. */
body[data-page=event] .detail-coordination .detail-management{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-items:stretch}
body[data-page=event] .detail-coordination .detail-calendar{width:100%;min-height:48px}
body[data-page=event] .detail-coordination .detail-management .text-action{justify-self:center;padding:8px 10px;min-height:44px;color:#756b77;font-size:13px;text-decoration:none}
body[data-page=event] .detail-coordination .detail-management [data-cancel]{text-decoration:underline;text-underline-offset:2px}
body[data-page=event] .detail-coordination .detail-management .detail-share-secondary{color:#765579}
body[data-page=event] .detail-share-secondary{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:8px 12px;min-height:44px;font-size:13px;color:#756b77}
body[data-page=event]:has(.event-detail[data-fixed-actionbar="false"]){padding-bottom:calc(24px + env(safe-area-inset-bottom))}
html:has(body[data-page=event] .event-detail[data-fixed-actionbar="false"]){scroll-padding-block:calc(84px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-bottom))}
body[data-page=event]:has(.event-detail[data-fixed-actionbar="false"]) .detail-back,body[data-page=event]:has(.event-detail[data-fixed-actionbar="false"]) .detail-layout :is(a,button),body[data-page=event]:has(.event-detail[data-fixed-actionbar="false"]) .detail-coordination :is(a,button){scroll-margin-block:calc(84px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-bottom))}


.browse-card .card-summary .history-label{margin:7px 0 0}
.browse-card .attendance-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 9px;line-height:1.3;vertical-align:top}
.attendance-check{flex:none;font-weight:700;line-height:1}

/* HAN-60: compact, event-first guest gate. Other flow dialogs are untouched. */
#flow:has(.guest-join){box-sizing:border-box;width:min(420px,calc(100vw - 32px));margin:auto;padding:26px 28px 28px;border:0;border-radius:24px;background:#fffcf9;color:#2b2330;box-shadow:0 18px 48px rgba(43,35,48,.2);max-height:calc(100dvh - 32px);overflow-y:auto}
#flow:has(.guest-join)>.close{position:absolute;top:14px;right:14px;float:none;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border-radius:50%;background:#f3eaf4;color:#553b59;font-size:28px}
#flow .guest-join{text-align:center}
#flow .guest-join-symbol{display:grid;place-items:center;margin:0 auto 12px;width:82px;height:74px;border-radius:26px;background:#f8eef8;color:#79577e}
#flow .guest-join-symbol svg{display:block}
#flow .guest-join h2{margin:0 0 10px;font:700 30px/1.16 Arial,Helvetica,sans-serif;letter-spacing:-.65px;color:#2b2330}
#flow .guest-join-copy{max-width:310px;margin:0 auto 24px;font:400 16px/1.45 Arial,Helvetica,sans-serif;color:#6b6470}
#flow .guest-join-primary{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:100%;min-height:54px;padding:12px 16px;border:0;border-radius:12px;background:#79577e;color:#fff;font:700 18px/1.4 Arial,Helvetica,sans-serif;text-decoration:none}
#flow .guest-join-primary:hover{background:#69496e}
#flow .guest-join-login{margin:20px 0 0;padding-top:14px;border-top:1px solid #e8deeb;font:400 14px/1.5 Arial,Helvetica,sans-serif;color:#6b6470}
#flow .guest-join-login a{display:inline-flex;align-items:center;min-height:44px;color:#79577e;font-weight:700;text-decoration:underline;text-underline-offset:3px}
#flow .guest-join :is(a,button):focus-visible{outline:3px solid #79577e;outline-offset:4px}
@media(max-width:359px){#flow:has(.guest-join){padding:22px 22px 24px}#flow .guest-join h2{font-size:27px}#flow .guest-join-symbol{height:68px;width:74px}}

/* Founder-approved Waterfront booking emphasis; reuse the existing brand purple. */
.detail-information .detail-booking{color:var(--aubergine)}

/* HAN-60: a readable event story with details available on demand. */
body[data-page=event] .detail-information section:first-child{border-top:0;padding-top:0}
body[data-page=event] .detail-information .detail-summary{margin:0 0 8px;font-size:16px;line-height:1.55;color:#38263d}
body[data-page=event] .detail-information .detail-important{margin:5px 0 9px;font-size:14px;line-height:1.5;color:#503c59;font-weight:600}
body[data-page=event] .detail-information .detail-more{margin:8px 0 12px}
body[data-page=event] .detail-information .detail-more>summary{display:list-item;min-height:44px;padding:10px 0;cursor:pointer;color:#765579;font-size:14px;font-weight:700}
body[data-page=event] .detail-information .detail-more-body{padding:6px 0 2px}
body[data-page=event] .detail-information .detail-more-body p{margin:0 0 9px;font-size:14px;line-height:1.55;color:#514956}
body[data-page=event] .detail-information .detail-organizer{margin-top:6px}
body[data-page=event] .detail-information .organizer-link{display:inline-flex;align-items:center;min-height:44px}
body[data-page=event] .detail-action-inner .detail-commit{font-size:17px;font-weight:700}
@media(max-width:600px){
 body[data-page=event]:has(.event-detail[data-fixed-actionbar="true"]){padding-bottom:calc(162px + env(safe-area-inset-bottom))}
 html:has(body[data-page=event] .event-detail[data-fixed-actionbar="true"]){scroll-padding-bottom:calc(166px + env(safe-area-inset-bottom))}
 body[data-page=event] .event-detail[data-fixed-actionbar="true"] .detail-layout :is(a,button){scroll-margin-bottom:calc(166px + env(safe-area-inset-bottom))}
 body[data-page=event] .detail-action-inner{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px;align-items:stretch}
 body[data-page=event] .detail-action-inner .detail-commit{grid-column:1/-1;grid-row:1;width:100%;min-width:0;min-height:56px;padding:12px 16px;font-size:18px;border-radius:12px}
 body[data-page=event] .detail-action-inner .detail-save{grid-column:1;grid-row:2;min-width:0;width:100%;min-height:46px}
 body[data-page=event] .detail-action-inner .iconbutton{grid-column:2;grid-row:2;width:48px;height:46px;flex:none}
}
@media(max-height:520px) and (max-width:600px){
 body[data-page=event] .detail-action-inner .detail-commit{min-height:48px}
 body[data-page=event] .detail-action-inner .detail-save{min-height:44px}
}

/* Founder-selected Iris portrait banner. Keep other cards and the main flagship intact. */
.browse-card--featured-artist .event-card-link{grid-template-columns:minmax(0,1fr) 12px;padding:16px;gap:14px}
.browse-card--featured-artist .visual.thumb{grid-column:1/-1;width:100%;height:auto;aspect-ratio:1763/892;align-self:center;border-radius:12px}
.browse-card--featured-artist .visual.thumb>img{object-fit:contain}
.browse-card--featured-artist .card-summary{grid-column:1}
.browse-card--featured-artist .card-chevron{grid-column:2}
body[data-page] .browse-card--featured-artist .card-summary h3{font:700 25px/1.16 Georgia,serif;display:block;overflow:visible;margin:6px 0 10px}
.event-detail[data-event="7b700259-a8ca-4dc1-8730-14b4de495d88"] .detail-hero .visual.thumb{height:auto;aspect-ratio:1763/892}
.event-detail[data-event="7b700259-a8ca-4dc1-8730-14b4de495d88"] .detail-hero .visual.thumb>img{object-fit:contain}
.event-detail[data-event="7b700259-a8ca-4dc1-8730-14b4de495d88"] .detail-category{display:none}
@media(min-width:768px){.browse-card--featured-artist .event-card-link{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 12px;padding:20px;gap:20px}.browse-card--featured-artist .visual.thumb{grid-column:1}.browse-card--featured-artist .card-summary{grid-column:2}.browse-card--featured-artist .card-chevron{grid-column:3}}

.detail-social{display:block;margin-top:12px}
.detail-social>p.fine{margin-bottom:0;font-weight:600}
.detail-social-links{display:flex;flex-wrap:nowrap;column-gap:16px}
.detail-social-links a{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:44px;color:#765579;font-size:14px;font-weight:600}

.detail-social-links .instagram-icon{flex:none}
