/* Visual pass 32 (owner 27-28.09: «один общий задний фон сайта на всех страницах — максимально нейтральный, чтобы дополнял
   рисунки в рамках, а не спорил»; the owner chose bg-A): ONE backdrop behind the frames on every page - a quiet pixel-art starry
   night (art/backdrop-32, 1672 px / 960 px webp, 35 / 14 KB), covering the viewport, drawn pixel for pixel. It replaces the
   r12 dimmed Docs art. A few stars twinkle in code (index.html .backdrop32-stars; opacity only, paused with the scenes). */
html{background:#07061a!important}
body::before{background:url(/art/backdrop-32/backdrop-1672.webp) 50% 100%/cover no-repeat #07061a!important;image-rendering:pixelated}
@media (max-width:900px){body::before{background-image:url(/art/backdrop-32/backdrop-960.webp)!important}}
.backdrop32-stars{position:fixed;inset:0 0 35% 0;z-index:-1;pointer-events:none;overflow:hidden}
.backdrop32-stars>i{position:absolute;width:5px;height:5px;opacity:.2;image-rendering:pixelated;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5' shape-rendering='crispEdges'%3E%3Cpath fill='%23cdb8ff' d='M2 0h1v5H2zM0 2h5v1H0z'/%3E%3Cpath fill='%23fff' d='M2 2h1v1H2z'/%3E%3C/svg%3E") 0 0/100% 100%;
  animation:bd32-twinkle 3.4s ease-in-out infinite}
.backdrop32-stars>i:nth-child(1){left:6%;top:14%;animation-delay:-.4s}
.backdrop32-stars>i:nth-child(2){left:17%;top:48%;animation-delay:-2.1s;animation-duration:4.1s}
.backdrop32-stars>i:nth-child(3){left:31%;top:9%;animation-delay:-1.3s;width:4px;height:4px}
.backdrop32-stars>i:nth-child(4){left:52%;top:5%;animation-delay:-2.9s;animation-duration:3.8s}
.backdrop32-stars>i:nth-child(5){left:68%;top:12%;animation-delay:-.9s;width:4px;height:4px}
.backdrop32-stars>i:nth-child(6){left:82%;top:40%;animation-delay:-1.7s;animation-duration:4.4s}
.backdrop32-stars>i:nth-child(7){left:93%;top:18%;animation-delay:-3.1s}
.backdrop32-stars>i:nth-child(8){left:88%;top:70%;animation-delay:-.2s;animation-duration:3.1s;width:4px;height:4px}
.backdrop32-stars>i:nth-child(9){left:4%;top:78%;animation-delay:-2.5s;animation-duration:4.6s}
@keyframes bd32-twinkle{0%,100%{opacity:.15}50%{opacity:.95}}
html[data-motion=off] .backdrop32-stars>i{animation-play-state:paused}

/* ---------------------------------------------------------------------------------------------------------------------
   Mine, level alignment (owner, second testnet pass: «картинки и рамки — строго вровень… Mine: сцена майнинга и рамка тикета
   по верху и низу»). Desktop (>= 960 px): the two frames share ONE row grid (CSS subgrid), so their edges are the same lines:
     row 1  device tabs            | card title + (i)
     row 2  the mining scene       | the Ticket scene (square)        <- same top, same bottom
     rows 3-4 status / metrics / Start | status word + one hint line
     rows 5-6 ticket-chance notice | Mining guide / Claim + wallet row  <- the two frames end on one line
   The card keeps the owner-approved order (title, Ticket, status, explanation, action, wallet row). The picture row is as
   tall as the Ticket square allows: min(free height of the frame, the card's inner width); the grid is never taller than the
   frame's visible height (#main is the size container, visual-r12.css). */
@media (min-width:960px){
  #app#app .workspace.page-mine .mine-grid{
    --mg-gap:11px;--mg-card:calc((100cqw - 28px - var(--mg-gap)) / 2.48);--mg-sq:calc(var(--mg-card) - 30px);
    display:grid!important;grid-template-columns:minmax(0,1.48fr) minmax(0,1fr)!important;column-gap:var(--mg-gap)!important;row-gap:0!important;
    grid-template-rows:auto minmax(0,1fr) auto auto auto auto!important;align-items:stretch!important;
    height:min(calc(100cqh - 82px),calc(var(--mg-sq) + 318px))!important;min-height:0!important;flex:none!important}
  #app#app .workspace.page-mine .mine-grid>section.panel{grid-row:1 / -1!important;display:grid!important;grid-template-rows:subgrid!important;
    grid-template-columns:minmax(0,1fr)!important;row-gap:8px!important;height:auto!important;min-height:0!important;max-height:none!important;
    align-self:stretch!important;overflow:hidden;flex:none!important;margin:0!important}
  /* left frame */
  #app#app .workspace.page-mine .mine-grid>section:first-child{padding:0 0 10px!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.device-tabs{grid-row:1;align-self:stretch;margin:0!important;padding:10px 10px 0!important;border-top:0!important;min-height:0!important;height:auto!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.owner-mine12{grid-row:2;height:auto!important;min-height:0!important;max-height:none!important;align-self:stretch;justify-self:stretch;width:auto!important;aspect-ratio:auto!important;flex:none!important;
    border-top:1px solid var(--ui-frame-ink,#67528f);border-bottom:1px solid var(--ui-frame-ink,#67528f)}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.mining-controls{grid-row:3 / span 2;align-self:center;margin:0!important;min-height:0!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>[data-miner-chance]{grid-row:5 / span 2;height:auto!important;flex:none!important;min-height:0!important;margin:0 10px!important;align-self:stretch}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.mine-feedback{grid-row:2;align-self:end;justify-self:stretch;z-index:4;margin:0 10px 10px!important;pointer-events:auto}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.mine-feedback:not(:has(>:not([hidden]))){display:none!important}
  /* right frame: the owner-approved card, row by row */
  #app#app .workspace.page-mine .claim-card{padding:10px 14px 10px!important;container-type:normal!important}
  #app#app .workspace.page-mine .claim-card>.panel-title{grid-row:1;align-self:center;margin:0!important;min-height:0!important}
  #app#app .workspace.page-mine .claim-card>.ticket-stage17{grid-row:2!important;align-self:stretch!important;justify-self:center!important;height:100%!important;width:auto!important;
    max-width:100%!important;max-height:none!important;aspect-ratio:1!important}
  #app#app .workspace.page-mine .claim-card>.countdown{grid-row:3;align-self:end;margin:0!important}
  #app#app .workspace.page-mine .claim-card>.claim-hint{grid-row:4;align-self:start}
  #app#app .workspace.page-mine .claim-card>.btn{grid-row:5;align-self:end;margin:0!important}
  #app#app .workspace.page-mine .claim-card>.wallet-count{grid-row:6;align-self:end}
}
/* Mine, tablet / phone: the empty feedback slot (errors, saved proof, take-over) no longer reserves 136 px under the chance
   notice - that left the scene frame with an empty band at its bottom (odd height). It takes space only with a message. */
#app#app .workspace.page-mine .mine-grid>section:first-child>.mine-feedback:not(:has(>:not([hidden]))){display:none!important;flex:none!important}

/* No old "HOODFOX" lettering in any art on the site (owner, second testnet pass: «Trait Hunt без Fennec — фон неудачный, на нём
   старая вывеска HOODFOX»). The 08 desert scene behind the Trait Hunt Fennec square / rewards portrait / machine cells is the
   lettering-free copy (tools/desert-clean-32.py: the plaque keeps its paw, 600 KB lossless -> 89 KB). The EMPTY Trait Hunt
   Fennec stage stands on the quiet site backdrop itself (bg-A, already in the cache): night sky over faint dunes, the pedestal
   on the horizon, no chest, no sign. */
:root{--ui-desert-scene:url('/art/backdrop-32/desert-clean.webp')!important}
.ui08 .hunt-portrait08{background-image:linear-gradient(var(--ui-surface) 48%,#070e2866),url('/art/backdrop-32/desert-clean.webp')}
.ui08 .weekly-reward08 .pool-art08{background-image:linear-gradient(90deg,var(--ui-surface),transparent),url('/art/backdrop-32/desert-clean.webp')}
#app#app .empty-fox30.hunt-square08{background:#07061a url(/art/backdrop-32/backdrop-960.webp) 50% 100%/cover no-repeat!important;image-rendering:pixelated}
#app.ui15 .rewards17 .identity15 .identity-art15{background-image:url(/art/backdrop-32/bg-wardrobe/background-640.webp)!important}
/* perf: the sidebar scene as lossy webp (tools/perf-32.py: 169 KB lossless -> lossy, same pixels size) */
.ui08>.sidebar{background-image:linear-gradient(#070e28 0%,#080e27 50%,#080e2710 79%,#080e2780),url('/art/perf-32/sidebar-scene.webp')!important}
/* Mine, short frames (<= 800 px high): tighter rows around the two scenes, so the Ticket scene stays dominant (>= 55% of the
   card, owner-r12 minecard) while both scenes keep sharing one row */
@media (min-width:960px) and (max-height:800px){
  #app#app .workspace.page-mine .mine-grid>section.panel{row-gap:5px!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child{padding-bottom:6px!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.device-tabs{padding:6px 10px 0!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.device-tabs button{min-height:0!important;height:38px!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>[data-miner-chance]{padding:6px 12px!important;font-size:12.5px!important;line-height:1.25!important}
  #app#app .workspace.page-mine .mine-grid>section:first-child>[data-miner-chance] strong{font-size:inherit}
  #app#app .workspace.page-mine .mine-grid>section:first-child>.mining-controls{padding-top:2px!important;padding-bottom:2px!important}
  #app#app .workspace.page-mine .claim-card{padding:6px 12px 6px!important}
}
