/* ============================================================
   SOLD-OUT party tile on nye.com (Josh 2026-11-20). balldrop.com's approved look "E Midnight + stamp"
   (Drive BallDrop-Live/research/sold-out-tile-2026-11-20/, balldrop css/tiles-soldout.css) adapted to nye.com's card
   (flyer left, details right; stacked on phones): graphite card, white name, the rose rubber stamp "SOLD OUT" where the
   price goes, a perforated rule above the price row, the flyer in full colour and nothing over it. Hover: a graphite rim
   instead of the blue glow. Loaded after css/stylesheet.css (includes/site-header.php).
   Markup (includes/event-list-all.php; rule in includes/tile-soldout.php, 2026-11-25): .event ul li.is-soldout; the price row prints
   <span class="so-label">Sold out</span>; the Offer keeps its price as a meta; availability stays InStock (Josh 2026-11-25).
   Where: the NYC events grid (/new-years-eve/new-york-city-events), always LAST; the "still on sale" list (bottom of this file).
   ============================================================ */

.event ul li.is-soldout,
.event ul li.is-soldout:hover { background: #17141f; border-color: #17141f; }
.event ul li.is-soldout:hover { box-shadow: 0 0 1px rgb(23 20 31 / .7), 0 14px 22px rgb(14 12 20 / .24); }
.event ul li.is-soldout .event-info h6 { color: #a9a3b3; }
.event ul li.is-soldout .event-info h3 { color: #fff; }
.event ul li.is-soldout .event-info strong[itemprop="address"] { color: #a9a3b3; }
.event ul li.is-soldout .event-info p { color: #cfcad6; }
.event ul li.is-soldout .event-info p span { border-color: #2f2b38; }
/* the stub: a perforated line instead of the solid rule */
.event ul li.is-soldout .event-price-row {
    border-top: 0;
    background: linear-gradient(90deg, #3a3542 50%, #0000 0) 0 0 / 9px 1.5px repeat-x;
}
.event ul li.is-soldout .event-price-row > strong { color: #fff; }
/* the rubber stamp */
.event ul li.is-soldout .so-label {
    display: inline-flex; align-items: center; white-space: nowrap;
    margin: 4px 0 4px 2px; padding: 6px 10px 5px;
    font: 700 15px/1 'Roboto Condensed', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .16em;
    color: #ff5c93; border: 2px solid currentColor; border-radius: 4px;
    box-shadow: inset 0 0 0 2px #17141f, inset 0 0 0 3px rgb(255 92 147 / .55);
    transform: rotate(-4deg); transform-origin: left center;
    /* ink: the stamp prints a little uneven */
    -webkit-mask: radial-gradient(circle at 18% 30%, #000c 0 1.2px, #0000 1.6px) 0 0 / 9px 7px,
                  linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask: radial-gradient(circle at 18% 30%, #000c 0 1.2px, #0000 1.6px) 0 0 / 9px 7px exclude,
                  linear-gradient(#000 0 0);
}
.event ul li.is-soldout a:hover .so-label { color: #ff7aa8; }
/* "View Details" stays a link, in grey (orange = buyable) */
.event ul li.is-soldout .event-info em { color: #cfcad6; filter: grayscale(1) brightness(1.5); }

/* phones: no ink grain at small sizes (it eats the letters) */
@media all and (max-width: 504px) {
    .event ul li.is-soldout .so-label { font-size: 13px; padding: 5px 8px 4px; letter-spacing: .12em; -webkit-mask: none; mask: none; }
}

/* ============================================================
   "Still on sale" list on not-on-sale party pages (includes/unavailable-sidebar.php), Josh 2026-11-25 option B:
   a sold-out party keeps its row; the stamp sits in the price column instead of the price. Tile E's stamp sized for a
   13px row on WHITE: rose deepened #ff5c93 -> #d81b60 so 10px caps read on white (#ff5c93 is ~2.9:1 there).
   ============================================================ */
.nye-un--b details li.is-soldout a { color: #5b6478; }
.nye-un--b details li a .so-stamp {
    display: inline-block; flex: none; align-self: center; margin-left: auto;
    padding: 2px 6px 1px; border: 2px solid currentColor; border-radius: 3px;
    color: #d81b60; font: 700 10px/1.2 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    transform: rotate(-4deg); box-shadow: inset 0 0 0 1px #fff, inset 0 0 0 2px rgb(216 27 96 / .3);
}
