/* Visual pass 36 (owner 30.09.2026, testnet review; Sol-D report B.2/B.4/B.8). Loaded after visual-35.css. */

/* ---------------------------------------------------------------- the hidden Ticket (art/tickets-pending/ticket-hidden-front.png)
   «надо до клейма не показывать какой тикет. Сделать затемнённую версию… подсмотреть нельзя было». Until TicketClassified the
   Mine scene is a night scene without the gold glow: dimmed background, a cool violet halo, the dark Ticket breathing softly. */
.ticket-stage17[data-phase36=hidden] .ts17-bg{filter:saturate(.12) brightness(.5)!important}
.ticket-stage17[data-phase36=hidden] .ts17-sky{background:#3a2c9a!important;mix-blend-mode:color;opacity:.55!important}
.ticket-stage17[data-phase36=hidden] .ts17-halo{background:radial-gradient(circle,#8f7cff59 0%,#6a55e033 30%,#4a36b014 52%,transparent 70%)!important}
.ticket-stage17[data-phase36=hidden] .ts17-motes>i{background:#b7abff!important;box-shadow:0 0 6px 1px #7d68ff88!important}
.ticket-stage17[data-phase36=hidden] .ts17-sheen{display:none!important}
.ticket-stage17[data-phase36=hidden] .ts17-ticket{animation:hidden36-breathe 3.2s ease-in-out infinite;filter:drop-shadow(0 0 10px #7d68ff66) drop-shadow(0 10px 10px #05011480)}
@keyframes hidden36-breathe{0%,100%{filter:drop-shadow(0 0 8px #7d68ff55) drop-shadow(0 10px 10px #05011480)}50%{filter:drop-shadow(0 0 18px #9d8cffaa) drop-shadow(0 10px 10px #05011480)}}

/* the reveal: plays once, anchored to the moment the class arrived (--reveal36 vs the node's --age), so a re-render or a
   later visit shows the finished state instead of replaying it */
.ticket-stage17[data-phase36=revealed] .ts17-ticket{animation:reveal36-ticket 1.9s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--reveal36,0ms) - var(--age,0ms))}
.ticket-stage17[data-phase36=revealed] .ts17-halo{animation:reveal36-halo 1.9s ease-out both;animation-delay:calc(var(--reveal36,0ms) - var(--age,0ms))}
@keyframes reveal36-ticket{
  0%{filter:brightness(0) drop-shadow(0 0 12px #9d8cffcc);transform:scale(.94)}
  38%{filter:brightness(0) drop-shadow(0 0 26px #d9d1ffff);transform:scale(.97)}
  55%{filter:brightness(2.4) drop-shadow(0 0 34px #ffffff);transform:scale(1.07)}
  100%{filter:brightness(1) drop-shadow(0 0 10px #ffd86a40);transform:scale(1)}}
@keyframes reveal36-halo{0%{opacity:.35}50%{opacity:1;transform:scale(1.25)}100%{opacity:1;transform:none}}

/* ---------------------------------------------------------------- the Claim / activation step, large on the card itself
   «Долго потом подтверждалось, надо надпись, типа ожидание подтверждения ончейн». */
.claim-state36{display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:2px;padding:10px 12px;border:1px solid #7d68ff;
  border-radius:8px;background:linear-gradient(#150f3ae6,#0b0826e6);box-shadow:0 0 18px #6a55e026,inset 0 0 14px #6a55e01f;text-align:left;min-width:0}
.claim-state36>i{grid-row:1 / span 2;width:22px;height:22px;justify-self:center}
.claim-state36>strong{font:700 18px/1.2 Interface,sans-serif;color:#f3eeff;letter-spacing:.01em;min-width:0}
.claim-state36>small{font:500 12.5px/1.35 Interface,sans-serif;color:#c3b8ee;min-width:0}
.claim-state36[data-tone=ok]{border-color:#e8b34a;box-shadow:0 0 18px #ffb34726,inset 0 0 14px #ffb3471a}
.claim-state36[data-tone=ok]>strong{color:#ffe08a}
.claim-state36[data-tone=warn]{border-color:#e0607a;box-shadow:0 0 14px #e0607a26}
.claim-state36[data-tone=warn]>strong{color:#ffc4cf}
.cs36-spin{border-radius:50%;border:3px solid #7d68ff44;border-top-color:#cfc5ff;animation:cs36-spin .9s linear infinite}
.cs36-ok{background:radial-gradient(circle,#ffe08a 0 38%,transparent 42%),radial-gradient(circle,#ffb34755 0 62%,transparent 66%)}
.cs36-warn{background:linear-gradient(#ffc4cf,#ffc4cf) 50% 30%/3px 45% no-repeat,linear-gradient(#ffc4cf,#ffc4cf) 50% 86%/3px 3px no-repeat;border:2px solid #e0607a;border-radius:50%;box-sizing:border-box}
@keyframes cs36-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.cs36-spin{animation-duration:2.4s!important}}
/* Claim card rows (visual-32 grid): with the timer the step replaces the hint (row 4); after the Claim it takes the timer's
   and the hint's rows (3-4) */
#app#app .workspace.page-mine .claim-card>.claim-state36{grid-row:4;align-self:start;margin:0!important}
#app#app .workspace.page-mine .claim-card>.claim-state36.cs36-main{grid-row:3 / span 2;align-self:center;padding:14px 14px}
#app#app .workspace.page-mine .claim-card>.claim-state36.cs36-main>strong{font-size:19px}
#app .claim-card>.claim-state36{margin:8px 0}
/* Tickets: the activation step stands over the portal, just above REDEEM & REVEAL */
#app .tickets12>.reveal-stage>.reveal-actions{position:relative}
#app .tickets12>.reveal-stage>.reveal-actions>.cs36-redeem{position:absolute;left:50%;bottom:calc(100% + 12px);translate:-50% 0;width:min(440px,calc(100% - 24px));z-index:3}
@media (max-width:700px){#app .tickets12>.reveal-stage>.reveal-actions>.cs36-redeem{position:static;translate:none;width:auto;margin:0 0 8px}}

/* ---------------------------------------------------------------- Recent activity: newest on top, scrolls inside its block */
#app .mine-activity33>ul{flex:1 1 auto;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5b3f98 transparent;padding-right:4px!important}
#app .mine-activity33>ul::-webkit-scrollbar{width:6px}
#app .mine-activity33>ul::-webkit-scrollbar-thumb{background:#5b3f98;border-radius:3px}
#app .mine-activity33 li{flex:none}
@media (max-width:959px){#app .mine-activity33>ul{max-height:146px}}
/* desktop: the list must not size the Mine grid's shared rows (the scene and the Claim card keep their heights) - it takes the
   block's free height and scrolls */
@media (min-width:960px){#app#app .workspace.page-mine .mine-grid>section:first-child>.mine-activity33>ul{contain:size;height:0}}
