/* Xyrena Video Club — the member's page, styled like the card in your wallet
   in 1989. Shares vote.css for buttons, badges and bars. */
.xy-me { --m-ink: #0b0b0b; --m-card: #14161c; --m-stripe: rgba(255,255,255,0.08); }

/* Membership card */
.xy-me__card-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 0.5rem 0 1.8rem; }
@media (min-width: 820px) { .xy-me__card-wrap { grid-template-columns: minmax(20rem, 30rem) minmax(0, 1fr); gap: 2.5rem; } }
/* The card's type: Atrox, hosted alongside this stylesheet. */
@font-face { font-family: "Atrox"; src: url("atrox.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
.xy-me { --m-blue: #1f3fb0; --m-yellow: #ffd21f; --m-machine: "Atrox", "Squada One", Impact, "Arial Narrow", sans-serif; }
/* The card: blue, thin white edge, slight tilt like it's lying on the counter. */
/* Laminated card: the printed blue card sits inside a clear pouch with a
   slightly wider edge, a faint paper grain, a soft gloss, and now and then
   a light sweep across the surface (JS adds .is-shining at random). */
.xy-me__member { position: relative; aspect-ratio: 85.6 / 54; border-radius: 12px; overflow: hidden; color: #fff; background: var(--m-blue); border: 3px solid #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,0.22), 0 1px 0 6px rgba(255,255,255,0.08), 0 24px 60px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.25), inset 0 -14px 24px rgba(0,0,0,0.18), inset 0 10px 18px rgba(255,255,255,0.08);
  container-type: inline-size; isolation: isolate; transform: rotate(-1.5deg); }
.xy-me__member::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: soft-light; opacity: 0.9; }
.xy-me__member::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.1) 22%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 68%, rgba(255,255,255,0.12) 100%); }
.xy-me__shine { position: absolute; inset: -20%; z-index: 6; pointer-events: none; transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.08) 65%, rgba(255,255,255,0) 100%); width: 45%; }
.xy-me__member.is-shining .xy-me__shine { animation: xy-me-shine 1.4s cubic-bezier(0.4, 0, 0.2, 1) 1; }
@keyframes xy-me-shine { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(380%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .xy-me__member.is-shining .xy-me__shine { animation: none; } }
/* notch punched through the left edge */
.xy-me__notch { position: absolute; left: -5%; top: 50%; width: 10%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #fff; z-index: 3; }
/* yellow frame: top, left and bottom rules, open on the right into the tear; a rule between the two rows */
.xy-me__frame { position: absolute; left: 8.5%; top: 10%; right: 0; bottom: 10%; z-index: 2; display: grid; grid-template-rows: 1.55fr 1fr; border: 0 solid var(--m-yellow); border-width: 1.1cqw 0 1.1cqw 1.1cqw; min-width: 0; }
.xy-me__crow { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; padding-left: 4cqw; padding-right: 15cqw; }
.xy-me__crow--name { border-bottom: 1.1cqw solid var(--m-yellow); }
.xy-me__crow--club { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.35cqw; }
/* the name: Machine-style yellow type filling the top row */
.xy-me__member-name { font-family: var(--m-machine); font-weight: 400; text-transform: uppercase; color: var(--m-yellow); font-size: 12cqw; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; display: block; margin-top: 0.06em; }
/* bottom row: the club in white, Helvetica-ish like the original wording */
.xy-me__brand { display: block; max-width: 100%; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; text-transform: uppercase; color: #fff; font-size: 5.2cqw; line-height: 1.1; letter-spacing: 0.01em; white-space: nowrap; }
.xy-me__member-meta { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; display: flex !important; flex: none; position: static; flex-direction: row; align-items: baseline; gap: 1.4em; font-size: 2.5cqw; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.92); white-space: nowrap; line-height: 1.15; }
.xy-me__member-meta b { font-weight: 700; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
/* the white strip torn off the right, address running up it */
.xy-me__stub { position: absolute; top: 0; right: 0; bottom: 0; width: 11.5%; background: #fff; z-index: 2; clip-path: polygon(0% 0%, 19.6% 1.4%, 21.4% 2.9%, 21.4% 4.3%, 22.0% 5.7%, 21.6% 7.1%, 19.5% 8.6%, 18.6% 10.0%, 19.7% 11.4%, 17.7% 12.9%, 17.4% 14.3%, 19.2% 15.7%, 18.3% 17.1%, 19.9% 18.6%, 19.9% 20.0%, 21.3% 21.4%, 21.1% 22.9%, 23.0% 24.3%, 23.9% 25.7%, 22.9% 27.1%, 22.7% 28.6%, 21.2% 30.0%, 17.9% 31.4%, 17.3% 32.9%, 14.2% 34.3%, 10.7% 35.7%, 7.3% 37.1%, 6.8% 38.6%, 3.7% 40.0%, 2.7% 41.4%, 2.2% 42.9%, 1.5% 44.3%, 2.5% 45.7%, 2.2% 47.1%, 4.6% 48.6%, 5.5% 50.0%, 8.5% 51.4%, 10.2% 52.9%, 9.9% 54.3%, 11.3% 55.7%, 12.3% 57.1%, 14.6% 58.6%, 13.4% 60.0%, 13.7% 61.4%, 12.5% 62.9%, 12.7% 64.3%, 12.1% 65.7%, 12.0% 67.1%, 13.0% 68.6%, 13.8% 70.0%, 15.8% 71.4%, 16.9% 72.9%, 19.5% 74.3%, 21.4% 75.7%, 23.9% 77.1%, 25.0% 78.6%, 25.4% 80.0%, 28.1% 81.4%, 28.8% 82.9%, 28.4% 84.3%, 26.6% 85.7%, 25.4% 87.1%, 22.1% 88.6%, 21.1% 90.0%, 17.8% 91.4%, 14.4% 92.9%, 11.4% 94.3%, 11.2% 95.7%, 9.9% 97.1%, 6.6% 98.6%, 0% 100%, 100% 100%, 100% 0%); display: flex; align-items: center; justify-content: center; }
.xy-me__url { writing-mode: vertical-rl; transform: rotate(180deg); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; font-size: 2.9cqw; letter-spacing: 0.04em; color: var(--m-blue); margin-left: 2.5cqw; }
.xy-me__reg { position: absolute; top: 2cqw; right: 1.6cqw; font-size: 2.6cqw; color: var(--m-blue); font-weight: 700; }
.xy-me__tape, .xy-me__barcode, .xy-me__laminate::after { display: none; }

.xy-me__intro h1 { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; letter-spacing: -0.01em; }
.xy-me__intro .xy-vote__lede { margin-bottom: 0.9rem; }
.xy-me__stats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.xy-me__stat { display: inline-flex; align-items: baseline; gap: 0.35em; padding: 0.5em 1em; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 0.9em; }
.xy-me__stat b { font-size: 1.35em; font-weight: 700; color: var(--v-coral); font-variant-numeric: tabular-nums; }

/* Pill nav under the card */
.xy-me__nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.5rem; }
.xy-me__navlink { display: inline-flex; align-items: center; padding: 0.55em 1.1em; border-radius: 999px; border: 1.5px solid var(--v-border); color: inherit; text-decoration: none; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.08em; transition: border-color 0.15s, background 0.15s; }
.xy-me__navlink:hover { border-color: var(--v-coral); background: rgba(254,133,93,0.1); }
.xy-me__section--tight { margin-top: 1.6rem; }

/* Sections read like aisle signs */
.xy-me__section { margin-top: 2.4rem; }
.xy-me__aisle { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.xy-me__aisle h2 { margin: 0; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.xy-me__aisle .xy-me__sign { font-size: 0.68em; letter-spacing: 0.22em; text-transform: uppercase; color: #000; background: var(--v-gold); padding: 0.3em 0.7em; border-radius: 4px; font-weight: 800; transform: rotate(-2deg); }
.xy-me__aisle .xy-me__spacer { flex: 1; min-width: 1rem; border-top: 1px dashed var(--v-border); }

/* Checkout counter: quick links */
.xy-me__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.8rem; }
.xy-me__link { display: block; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--v-border); background: rgba(255,255,255,0.03); color: inherit; text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.xy-me__link:hover { transform: translateY(-2px); border-color: var(--v-coral); }
.xy-me__link strong { display: block; font-size: 1.05em; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.xy-me__link span { color: var(--v-muted); font-size: 0.85em; }

/* Your picks: tape-shaped cards */
.xy-me__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.1rem; }
.xy-me__pick { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--v-border); background: var(--m-card); color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.xy-me__pick:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.xy-me__poster { aspect-ratio: 16 / 9; background: var(--v-teal); position: relative; overflow: hidden; }
.xy-me__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xy-me__poster .xy-vote__badge { position: absolute; top: 0.7rem; left: 0.7rem; }
.xy-me__label { background: #f3efe4; color: #111; padding: 0.7rem 0.9rem 0.6rem; border-top: 4px solid var(--v-coral); border-bottom: 1px dashed rgba(0,0,0,0.25); }
.xy-me__label-title { font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1em; line-height: 1.15; }
.xy-me__label-sub { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.7em; letter-spacing: 0.1em; text-transform: uppercase; color: #444; margin-top: 0.25rem; }
.xy-me__pick-body { padding: 0.8rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.45rem; }
.xy-me__count { display: flex; align-items: baseline; gap: 0.4em; font-variant-numeric: tabular-nums; }
.xy-me__count b { font-size: 1.5em; color: var(--v-coral); }
.xy-me__count span { color: var(--v-muted); font-size: 0.78em; text-transform: uppercase; letter-spacing: 0.06em; }
.xy-me__you q { display: block; margin-top: 0.25rem; font-style: italic; quotes: "“" "”"; color: var(--v-muted); font-size: 0.9em; }
.xy-me__pick-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.xy-me__pick-actions .xy-vote__btn { font-size: 0.72em; padding: 0.55em 1em; }

/* Checkout counter: orders */
.xy-me__orders { display: grid; gap: 0.6rem; }
.xy-me__order { padding: 0.85rem 1rem; border-radius: 12px; border: 1px solid var(--v-border); background: rgba(255,255,255,0.03); }
.xy-me__order-top { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.xy-me__order-top strong { text-transform: uppercase; letter-spacing: 0.04em; }
.xy-me__order-items { margin: 0.35rem 0 0.2rem; color: var(--v-muted); font-size: 0.9em; }

/* Request box */
.xy-me__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.xy-me__row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; padding: 0.75rem 1rem; border-radius: 12px; border: 1px solid var(--v-border); background: rgba(255,255,255,0.03); }
.xy-me__row strong { flex: 1; min-width: 10rem; text-transform: uppercase; letter-spacing: 0.03em; }
.xy-me__chip { font-size: 0.72em; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3em 0.7em; border-radius: 999px; border: 1px solid var(--v-border); color: var(--v-muted); text-decoration: none; }
.xy-me__chip--live { border-color: var(--v-coral); color: var(--v-coral); }

.xy-me__empty { padding: 1.6rem; border-radius: 14px; border: 1px dashed var(--v-border); text-align: center; color: var(--v-muted); }
.xy-me__empty .xy-vote__btn { margin-top: 0.8rem; }

/* Coming attractions */
.xy-me__teaser { margin-top: 2.6rem; padding: 1.4rem 1.5rem; border-radius: 14px; border: 1px solid rgba(255,209,102,0.45); background: linear-gradient(135deg, rgba(255,209,102,0.1), transparent 60%); }
.xy-me__teaser strong { display: block; color: var(--v-gold); letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.78em; margin-bottom: 0.4rem; }
.xy-me__teaser p { margin: 0; color: var(--v-muted); }
.xy-me__rewind { margin-top: 2rem; text-align: center; font-size: 0.74em; letter-spacing: 0.24em; text-transform: uppercase; color: var(--v-muted); }

.xy-me__signin { text-align: center; padding: 2.5rem 1rem 3rem; }
.xy-me__signin .xy-me__member { max-width: 26rem; margin: 0 auto 1.6rem; transform: rotate(-2deg); }
.xy-me__signin h1 { margin-bottom: 0.6rem; text-transform: uppercase; }
.xy-me__signin p { color: var(--v-muted); max-width: 32rem; margin: 0 auto 1.4rem; }

/* Your data */
.xy-me__privacy { display: grid; gap: 0.8rem; }
.xy-me__danger { padding: 1rem 1.1rem; border: 1px solid var(--v-border); border-radius: 14px; background: rgba(255,255,255,0.03); }
.xy-me__danger summary { cursor: pointer; font-weight: 700; }
.xy-me__danger ul { margin: 0.8rem 0; padding-left: 1.2rem; color: var(--v-muted); font-size: 0.9em; line-height: 1.5; }
.xy-me__danger ul li { margin: 0.3rem 0; }
.xy-me__danger p { margin: 0 0 0.6rem; }
.xy-me__confirm { font: inherit; padding: 0.55em 0.9em; border-radius: 999px; border: 1.5px solid var(--v-border); background: rgba(255,255,255,0.04); color: inherit; min-width: 9rem; }
.xy-me__note { margin: 0; padding: 0.6rem 1rem; border-radius: 8px; border-left: 4px solid #39ff88; background: rgba(57,255,136,0.08); }
.xy-me__note--err { border-left-color: #fe855d; background: rgba(254,133,93,0.1); }
