.iv-bar { grid-template-columns: 1fr auto; }
.invite [hidden] { display: none !important; }
.iv { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1080px; width: 100%; margin: 0 auto; }

.iv-card { position: relative; perspective: 1200px; text-align: left; }
.iv-card::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 30px; background: radial-gradient(closest-side, rgba(255, 150, 40, .5), transparent); filter: blur(34px); opacity: .55; transition: opacity .6s; pointer-events: none; }
.iv-card.is-sealed::before { opacity: .18; }
.iv-card__face { position: relative; aspect-ratio: 1.586; max-width: 100%; padding: clamp(18px, 4vw, 28px); border-radius: 20px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 6px; overflow: hidden; color: #ffe9c8;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 196, 110, .22), transparent 55%), radial-gradient(90% 80% at 100% 100%, rgba(255, 110, 20, .18), transparent 60%), linear-gradient(145deg, #2c1508, #160904 55%, #0d0503);
  border: 1px solid rgba(255, 196, 120, .38); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 230, 190, .18); transition: filter .6s, transform .6s var(--ease); }
.iv-card__face::before { content: ""; position: absolute; inset: 10px; border-radius: 13px; border: 1px solid rgba(255, 196, 120, .16); pointer-events: none; }
.iv-card__face::after { content: ""; position: absolute; inset: -50% -30%; background: linear-gradient(105deg, transparent 42%, rgba(255, 236, 200, .16) 50%, transparent 58%); transform: translateX(-60%); pointer-events: none; }
.iv-card.is-live .iv-card__face::after { animation: iv-sheen 7s var(--ease-io) 1.2s infinite; }
.iv-card.is-new .iv-card__face { animation: iv-pop 1.2s var(--ease); }
.iv-card.is-sealed .iv-card__face { filter: saturate(.35) brightness(.72); }
@keyframes iv-sheen { 0% { transform: translateX(-60%); } 35%, 100% { transform: translateX(60%); } }
@keyframes iv-pop { 0% { transform: rotateY(-14deg) scale(.96); } 60% { transform: rotateY(3deg) scale(1.01); } 100% { transform: none; } }

.iv-card__top, .iv-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; }
.iv-card__club { color: rgba(255, 220, 170, .72); letter-spacing: .28em; }
.iv-card__state { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 196, 120, .3); color: rgba(255, 220, 170, .6); }
.iv-card.is-live .iv-card__state { color: #1c0b02; border-color: transparent; background: linear-gradient(180deg, #ffe0a8, #ffb24a 55%, #ff7a12); box-shadow: 0 0 14px rgba(255, 140, 30, .5); }
.iv-card__role { position: relative; margin: clamp(8px, 2.4vw, 18px) 0 0; color: var(--neon-hot); letter-spacing: .32em; }
.iv-card__no { position: relative; margin: 0; font: 900 clamp(30px, 6.4vw, 46px)/1 var(--f-display); font-variation-settings: "wdth" 62; text-transform: uppercase; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff3d6, #ffc46a 48%, #e2861f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 14px rgba(255, 150, 40, .35)); }
.iv-card__link { position: relative; display: grid; gap: 4px; align-self: end; min-width: 0; }
.iv-card__link .label { color: rgba(255, 220, 170, .55); }
.iv-card__link code { font: 600 clamp(13px, 1.6vw, 15px)/1.3 var(--f-ui); color: #fff2e0; overflow-wrap: anywhere; }
.iv-card__foot { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 196, 120, .14); color: rgba(255, 220, 170, .5); }

.iv-panel { display: grid; gap: 16px; align-content: center; min-width: 0; }
.iv-h { margin: 0; font: 900 clamp(32px, 4.2vw, 52px)/.95 var(--f-display); font-variation-settings: "wdth" 62; text-transform: uppercase; color: var(--cream); text-wrap: balance; }
.iv-p { margin: 0; max-width: 46ch; color: var(--cream-2); line-height: 1.6; }
.iv-wait { margin: 0; color: var(--cream-3); }
.iv-err { margin: 0; color: #ff9b7a; }
.iv-panel .btn[disabled] { opacity: .5; cursor: default; box-shadow: none; }

.iv-copy { display: flex; flex-wrap: wrap; gap: 10px; }
.iv-copy .btn { flex: 1 1 0; justify-content: center; }
.iv-copy__field { flex: 1 1 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 196, 120, .3); background: rgba(14, 7, 4, .7); color: #fff2e0; font: 600 14px var(--f-ui); }
.iv-copy__field:focus { outline: none; border-color: #ffb23e; box-shadow: 0 0 0 3px rgba(255, 160, 50, .2); }
.iv-copied { margin: 0; min-height: 1.2em; color: var(--neon-hot); }

.iv-stats { display: grid; gap: 22px; max-width: 1080px; width: 100%; margin: 0 auto; }
.iv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.iv-goal, .iv-guests { padding: clamp(18px, 3vw, 26px); border-radius: 18px; background: linear-gradient(160deg, rgba(40, 18, 6, .78), rgba(16, 7, 4, .84)); border: 1px solid rgba(255, 150, 60, .14); display: grid; gap: 14px; }
.iv-goal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.iv-goal__head p { margin: 0; }
.iv-goal__count { color: var(--cream); font-variant-numeric: tabular-nums; }
.iv-board { position: relative; list-style: none; margin: 0; padding: 30px clamp(10px, 2vw, 20px) 18px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 22px clamp(6px, 1.2vw, 14px); border-radius: 14px;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 46px, rgba(0, 0, 0, .35) 47px 49px), repeating-linear-gradient(91deg, rgba(255, 190, 120, .03) 0 7px, rgba(0, 0, 0, .06) 8px 13px), linear-gradient(180deg, #4a2610, #331909 60%, #261205);
  box-shadow: inset 0 2px 0 rgba(255, 210, 150, .12), inset 0 -12px 30px rgba(0, 0, 0, .45), 0 18px 40px -24px rgba(0, 0, 0, .9); }
.iv-hook { position: relative; display: grid; justify-items: center; padding-top: 4px; }
.iv-hook::before { content: ""; position: absolute; top: -12px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe2a0, #c89a3c 55%, #6b4a14); box-shadow: 0 2px 3px rgba(0, 0, 0, .6); z-index: 2; }
.iv-tag { --c: var(--neon); position: relative; width: 100%; max-width: 86px; aspect-ratio: .62; display: grid; align-content: start; justify-items: center; gap: 2px; padding: 26% 4px 0; color: #2a1406; text-align: center; transform-origin: 50% -8px; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); }
.iv-tag::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 5px 5px 10px 10px; clip-path: polygon(22% 0, 78% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
  background: radial-gradient(circle at 50% 11%, #0d0604 0 5px, transparent 6px), repeating-linear-gradient(92deg, rgba(90, 45, 15, 0) 0 9px, rgba(90, 45, 15, .16) 10px, rgba(90, 45, 15, 0) 13px), linear-gradient(180deg, #f1cf98 0%, #e0b173 55%, #c98f4f 100%); }
.iv-tag::after { content: ""; position: absolute; left: 50%; top: -12px; width: 14px; height: 24px; margin-left: -7px; border-radius: 7px; border: 2.5px solid #c89a3c; border-bottom-color: transparent; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.iv-tag small { font: 700 clamp(7px, .8vw, 9px)/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.iv-tag b { font: 900 clamp(17px, 2.1vw, 26px)/1 var(--f-display); font-variation-settings: "wdth" 62; color: #3a1a06; font-variant-numeric: tabular-nums; }
.iv-tag em { margin-top: auto; margin-bottom: 12px; font: 700 clamp(7px, .75vw, 8.5px)/1.1 var(--f-ui); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: rgba(42, 20, 6, .62); }
.iv-tag i { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; border-radius: 0 0 10px 10px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.iv-tag.is-paid { --c: #7fd65a; }
.iv-tag.is-in { animation: iv-swing 1.6s var(--ease) both; }
.iv-tag.is-on { transform: rotate(var(--r, 0deg)); }
.iv-hook:nth-child(odd) .iv-tag { --r: -2deg; }
.iv-hook:nth-child(even) .iv-tag { --r: 2.5deg; }
@keyframes iv-swing { 0% { opacity: 0; transform: translateY(-10px) rotate(14deg); } 40% { opacity: 1; transform: rotate(-7deg); } 70% { transform: rotate(3deg); } 100% { transform: rotate(var(--r, 0deg)); } }
.iv-tag.is-empty { filter: none; color: rgba(255, 220, 170, .45); }
.iv-tag.is-empty::before { background: radial-gradient(circle at 50% 11%, rgba(10, 4, 2, .9) 0 5px, transparent 6px), linear-gradient(180deg, rgba(255, 214, 160, .13), rgba(255, 214, 160, .05)); }
.iv-tag.is-empty::after { border-color: rgba(200, 154, 60, .35); }
.iv-tag.is-empty b { color: rgba(255, 220, 170, .4); }
.iv-tag.is-empty i { display: none; }
.iv-tag.is-crystal { --c: rgb(120, 210, 255); z-index: 1; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(120, 210, 255, .28)); }
.iv-tag.is-crystal i { display: block; height: 7px; background: linear-gradient(180deg, #c8eeff, rgb(120, 210, 255) 45%, #3f9fd8); box-shadow: 0 0 8px rgba(120, 210, 255, .9), 0 0 22px rgba(120, 210, 255, .55); animation: iv-crystal 3.2s ease-in-out infinite; }
.iv-tag.is-crystal em { color: #1d5f86; }
.iv-tag.is-crystal.is-empty { filter: drop-shadow(0 0 9px rgba(120, 210, 255, .22)); }
.iv-tag.is-crystal.is-empty em { color: rgba(150, 220, 255, .8); }
.iv-tag.is-crystal.is-empty::after { border-color: rgba(200, 154, 60, .55); }
@keyframes iv-crystal { 0%, 100% { box-shadow: 0 0 7px rgba(120, 210, 255, .8), 0 0 18px rgba(120, 210, 255, .4); } 50% { box-shadow: 0 0 10px rgba(120, 210, 255, 1), 0 0 28px rgba(120, 210, 255, .65); } }
.iv-aura { position: absolute; pointer-events: none; }
.iv-goal__text { margin: 0; color: var(--cream-2); }

.iv-guests > p { margin: 0; }
.iv-list { list-style: none; margin: 0; padding: 0; display: grid; }
.iv-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255, 196, 120, .1); }
.iv-list li:first-child { border-top: 0; }
.iv-list b { color: var(--cream); font-variant-numeric: tabular-nums; }
.iv-list li > .label { color: var(--cream-3); }
.iv-paid { color: #9fe07a; }
a.iv-paid:hover { color: #c4f5a6; }
.iv-due { color: var(--neon-hot); }
.iv-list .iv-empty { display: block; color: var(--cream-3); }

.iv-how { max-width: 1080px; width: 100%; margin: 0 auto; }
.iv-pool { max-width: 1080px; width: 100%; margin: 0 auto; }
.iv-pool .ul-head .ul-text { max-width: 46ch; }
.iv-pp .pp__boxes { grid-template-columns: minmax(0, 340px); }
.iv-pp .pp__box { cursor: default; }
.iv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.iv-steps li { counter-increment: s; position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 22px 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(40, 18, 6, .78), rgba(16, 7, 4, .84)); border: 1px solid rgba(255, 150, 60, .14); }
.iv-steps li::before { content: "0" counter(s); font: 900 15px/1 var(--f-display); letter-spacing: .1em; color: var(--neon-hot); }
.iv-steps b { font: 900 clamp(22px, 2.2vw, 28px)/1 var(--f-display); font-variation-settings: "wdth" 62; text-transform: uppercase; color: var(--cream); }
.iv-steps span { color: var(--cream-2); line-height: 1.55; }

@media (max-width: 900px) {
  .iv { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .iv-card { width: 100%; max-width: 460px; }
  .iv-panel { justify-items: center; }
  .iv-copy { justify-content: center; }
  .iv-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .iv-tiles { grid-template-columns: minmax(0, 1fr); }
  .iv-board { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 10px; }
  .iv-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .iv-list li > .label:not(.iv-paid):not(.iv-due) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-card.is-live .iv-card__face::after, .iv-card.is-new .iv-card__face, .iv-tag.is-in, .iv-tag.is-crystal i { animation: none; }
}
