/* One Turn TILT v19.35.34 — PRIME hotfix, profile visibility, organizer branding, contact icons, Builder alignment, and deck sharing */

/* PRIME nav: align exactly with shared-nav's 1120px breakpoint. */
.prime-page .nav-links{flex-direction:row}
@media(max-width:1120px){
  .prime-page .nav-toggle{display:inline-flex!important;align-items:center;justify-content:center}
  .prime-page .nav-links{display:none!important;position:absolute!important;top:54px!important;right:1rem!important;width:min(300px,calc(100vw - 2rem))!important;height:auto!important;padding:10px!important;background:#111113!important;border:1px solid var(--border-2)!important;box-shadow:0 22px 70px rgba(0,0,0,.55)!important;transform:none!important;visibility:visible!important;pointer-events:auto!important;overflow:visible!important;flex-direction:column!important;align-items:stretch!important;z-index:1001}
  .prime-page .nav-links.open{display:flex!important}
  .prime-page .nav-links a{height:auto!important;min-height:42px!important;padding:10px 9px!important;border-bottom:0!important;text-align:right!important;justify-content:flex-end!important}
  .prime-page .nav-player span{display:none}
}
@media(min-width:1121px){.prime-page .nav-toggle{display:none!important}.prime-page .nav-links{display:flex!important;flex-direction:row!important}}
.prime-authority-warning{margin:.65rem 0 1rem;padding:.75rem .85rem;border:1px solid rgba(255,209,102,.32);background:rgba(255,209,102,.07);color:#e5d9ae;font-size:12px;line-height:1.5}
.prime-summary.is-partial{border-color:rgba(255,209,102,.28)}

/* Favorite-card artwork: brighter, later fade, translucent content surfaces. */
body.profile-page::before{-webkit-mask-image:linear-gradient(to right,#000 0%,#000 52%,rgba(0,0,0,.92) 64%,rgba(0,0,0,.58) 80%,transparent 100%)!important;mask-image:linear-gradient(to right,#000 0%,#000 52%,rgba(0,0,0,.92) 64%,rgba(0,0,0,.58) 80%,transparent 100%)!important}
body.profile-page.profile-has-favorite-card::before{opacity:.82!important}
body.profile-page::after{background:linear-gradient(90deg,rgba(5,5,6,.04) 0%,rgba(5,5,6,.18) 38%,rgba(5,5,6,.72) 66%,#050506 100%),linear-gradient(180deg,rgba(5,5,6,.08),rgba(5,5,6,.72) 78%,#050506 100%)!important}
body.profile-page .profile-header,body.profile-page .card{background-color:rgba(10,10,13,.78)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
@media(max-width:760px){body.profile-page.profile-has-favorite-card::before{opacity:.68!important}body.profile-page::before{-webkit-mask-image:linear-gradient(to right,#000 0%,#000 42%,rgba(0,0,0,.72) 68%,transparent 100%)!important;mask-image:linear-gradient(to right,#000 0%,#000 42%,rgba(0,0,0,.72) 68%,transparent 100%)!important}}

/* Contact channel identifiers. */
.contact-channel-card{position:relative;overflow:hidden;padding-top:4.4rem!important}
.contact-channel-icon{position:absolute;top:1rem;left:1rem;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border-2);background:rgba(255,255,255,.035);color:#fff;border-radius:5px}
.contact-channel-icon svg{width:21px;height:21px;display:block;fill:currentColor}
.contact-channel-card:hover .contact-channel-icon{border-color:rgba(229,57,53,.55);color:var(--red2)}

/* Homepage organizer mark and countdown placement. */
.home-event-feature-head,.hero-event-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:10px}
.home-event-feature-state,.hero-event-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.home-event-organizer-logo,.hero-event-organizer-logo{width:76px;height:76px;display:grid;place-items:center;padding:10px;border:1px solid rgba(255,255,255,.18);background:rgba(5,5,6,.54);backdrop-filter:blur(8px);border-radius:6px;flex:0 0 auto}
.home-event-organizer-logo img,.hero-event-organizer-logo img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(0,0,0,.5))}
@media(max-width:700px){.home-event-organizer-logo,.hero-event-organizer-logo{width:60px;height:60px;padding:8px}}

/* Builder action consolidation and rail alignment. */
.builder-mode-row{justify-content:flex-start!important}
.builder-mode-actions{display:none!important}
@media(min-width:1001px){
  .builder-shell-main{--builder-rail:240px;--builder-gap:14px}
  .builder-toolbar{grid-template-columns:var(--builder-rail) minmax(0,1fr) 360px!important;gap:var(--builder-gap)!important}
  .builder-workspace{grid-template-columns:var(--builder-rail) minmax(0,1fr) 360px!important;gap:var(--builder-gap)!important}
  .builder-toolbar .builder-field:first-child,.builder-toolbar .builder-field:first-child .builder-input{width:100%;box-sizing:border-box}
}
.toolbar-actions #newDeckBtn,.toolbar-actions #importBtn{border-color:rgba(255,255,255,.18)}

/* Deck share affordances. */
.deck-share-action{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:.55rem .7rem;border:1px solid rgba(229,57,53,.45);background:rgba(229,57,53,.10);color:#fff;font:700 9px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;border-radius:3px;cursor:pointer}
.deck-share-action:hover,.deck-share-action:focus-visible{background:rgba(229,57,53,.22);outline:none}
.deck-share-preview-note{font:600 10px/1.45 var(--mono);letter-spacing:.04em;color:var(--text-3)}
