/* Purchases for the website; the Mini App keeps its existing layout. */
html[data-website=true] #app .website-purchases { width:100%; max-width:none; margin:0; padding:0; background:none; }
html[data-website=true] #app .website-purchases * { min-width:0; }
html[data-website=true] #app .website-purchases__header { margin:0 0 24px; }
html[data-website=true] #app .website-purchases__header nav { display:flex; align-items:center; gap:10px; color:#bcb6c2; font-size:13px; margin-bottom:20px; }
html[data-website=true] #app .website-purchases__header nav button { padding:0; border:0; background:none; color:inherit; font:inherit; cursor:pointer; }
html[data-website=true] #app .website-purchases h1 { margin:0 0 8px; font-family:Montserrat,Onest,sans-serif; font-style:italic; font-size:clamp(30px,3.2vw,44px); font-weight:800; line-height:1.15; text-transform:uppercase; }
html[data-website=true] #app .website-purchases h1 strong { font:inherit; color:#ff003c; }
html[data-website=true] #app .website-purchases__header > p { margin:0; color:#bcb6c2; font-size:15px; line-height:1.6; }
html[data-website=true] #app .website-purchases__filters { display:flex; gap:0; min-height:48px; border:1px solid #34343f; border-radius:11px; background:#11121a; margin:0 0 20px; overflow:hidden; }
html[data-website=true] #app .website-purchases__filters button { flex:1; display:flex; align-items:center; justify-content:center; gap:10px; padding:12px 16px; min-height:48px; border:1px solid transparent; border-radius:10px; background:none; color:#bcb7c3; font:inherit; font-size:18px; font-weight:700; cursor:pointer; }
html[data-website=true] #app .website-purchases__filters button[aria-pressed=true] { border-color:#ff003c; background:linear-gradient(120deg,#510b24,#230b18); color:#fff; }
html[data-website=true] #app .website-purchases__filters b { font-size:12px; }
html[data-website=true] #app .website-purchases__list { display:grid; gap:12px; }
html[data-website=true] #app .website-purchases__order { border:1px solid #34343f; border-radius:14px; background:linear-gradient(120deg,#16171f,#101118); overflow:hidden; }
html[data-website=true] #app .website-purchases__order[open] { border-color:#ff003c; }
html[data-website=true] #app .website-purchases__summary { display:grid; grid-template-columns:92px minmax(180px,1fr) 130px 150px 100px 128px; gap:16px; align-items:center; padding:16px 20px; cursor:pointer; list-style:none; color:#fff; }
html[data-website=true] #app .website-purchases__summary::-webkit-details-marker { display:none; }
html[data-website=true] #app .website-purchases__image { display:grid; place-items:center; height:64px; border-radius:8px; overflow:hidden; background:#24212c; color:#aaa3b3; }
html[data-website=true] #app .website-purchases__image img { width:100%; height:100%; object-fit:cover; }
html[data-website=true] #app .website-purchases__image > svg { width:28px; height:28px; }
html[data-website=true] #app .website-purchases__name { display:grid; gap:5px; overflow-wrap:anywhere; }
html[data-website=true] #app .website-purchases__name > strong { font-size:17px; line-height:1.35; font-weight:800; }
html[data-website=true] #app .website-purchases__name > span { font-size:13px; line-height:1.5; color:#bcb7c3; }
html[data-website=true] #app .website-purchases__meta { display:grid; gap:5px; font-size:12px; line-height:1.5; color:#bcb7c3; overflow-wrap:anywhere; }
html[data-website=true] #app .website-purchases__status { justify-self:start; padding:5px 9px; border:1px solid #77717f; border-radius:8px; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
html[data-website=true] #app .website-purchases__status.is-issued { border-color:#387f54; background:#143522; color:#a6efb9; }
html[data-website=true] #app .website-purchases__status.is-pending { border-color:#88622c; background:#342611; color:#ffd18c; }
html[data-website=true] #app .website-purchases__status.is-cancelled { border-color:#824856; background:#381622; color:#f4b4bc; }
html[data-website=true] #app .website-purchases__price { justify-self:end; font-size:20px; line-height:1.3; overflow-wrap:anywhere; text-align:right; }
html[data-website=true] #app .website-purchases__disclosure { display:flex; align-items:center; justify-content:center; gap:10px; padding:8px 12px; border:1px solid #ff003c; border-radius:8px; background:#300c1c; font-size:14px; font-weight:600; }
html[data-website=true] #app .website-purchases__disclosure svg { width:16px; height:16px; transform:rotate(90deg); }
html[data-website=true] #app .website-purchases__order[open] .website-purchases__disclosure svg { transform:rotate(-90deg); }
html[data-website=true] #app .website-purchases__order:not([open]) .when-open,html[data-website=true] #app .website-purchases__order[open] .when-closed { display:none; }
html[data-website=true] #app .website-purchases__body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; padding:20px 0 0; margin:0 20px 20px; border-top:1px solid #34343f; }
html[data-website=true] #app .website-purchases__access > label { display:block; margin:0 0 10px; font-size:14px; font-weight:600; }
html[data-website=true] #app .website-purchases__key { display:flex; gap:12px; align-items:center; padding:8px 12px; min-height:50px; border:1px solid #686370; border-radius:9px; background:#171820; }
html[data-website=true] #app .website-purchases__key code { flex:1; color:#fff; font-size:16px; line-height:1.5; overflow-wrap:anywhere; user-select:all; }
html[data-website=true] #app .website-purchases__key button { display:inline-flex; flex:0 0 auto; align-items:center; gap:7px; padding:8px 0; min-height:36px; border:0; background:none; color:#e3dfe9; font:inherit; font-size:13px; cursor:pointer; }
html[data-website=true] #app .website-purchases__key svg { width:19px; height:19px; }
html[data-website=true] #app .website-purchases__muted { margin:10px 0 0; font-size:13px; line-height:1.6; color:#bcb7c3; overflow-wrap:anywhere; }
html[data-website=true] #app .website-purchases__actions { display:flex; align-content:start; align-items:start; flex-wrap:wrap; gap:12px; }
html[data-website=true] #app .website-purchases__actions > .primary-button,html[data-website=true] #app .website-purchases__actions > .secondary-button { display:flex; flex:1 1 180px; align-items:center; justify-content:center; gap:8px; width:auto; min-height:46px; padding:10px 14px; border:1px solid #ff003c; border-radius:9px; color:#fff; font-size:14px; font-weight:700; line-height:1.5; box-shadow:none; }
html[data-website=true] #app .website-purchases__actions > .primary-button { background:linear-gradient(135deg,#ff034a,#ee0038); }
html[data-website=true] #app .website-purchases__actions > .secondary-button { background:#160d17; color:#ff315d; }
html[data-website=true] #app .website-purchases__actions svg { width:19px; height:19px; flex:0 0 19px; }
html[data-website=true] #app .website-purchases__link { display:inline-flex; align-items:center; gap:8px; flex-basis:100%; padding:0; border:0; background:none; color:#bcb7c3; font:inherit; font-size:13px; line-height:1.5; text-align:left; cursor:pointer; }
html[data-website=true] #app .website-purchases__hint { display:flex; align-items:center; gap:10px; margin:20px 0 0; font-size:13px; line-height:1.6; color:#bcb7c3; }
html[data-website=true] #app .website-purchases__hint svg { width:18px; height:18px; flex:0 0 18px; }
html[data-website=true] #app .website-purchases button:focus-visible,html[data-website=true] #app .website-purchases summary:focus-visible { outline:2px solid #ff315d; outline-offset:-3px; }
html[data-website=true] #app .website-purchases__list > .empty-state { min-height:240px; }
@media (max-width:1100px) {
  html[data-website=true] #app .website-purchases__summary { grid-template-columns:72px minmax(0,1fr) auto 120px; gap:10px 14px; }
  html[data-website=true] #app .website-purchases__image { grid-row:1 / 3; height:64px; }
  html[data-website=true] #app .website-purchases__name { grid-column:2; grid-row:1; }
  html[data-website=true] #app .website-purchases__meta { grid-column:2; grid-row:2; }
  html[data-website=true] #app .website-purchases__status { grid-column:3 / 5; grid-row:2; justify-self:end; }
  html[data-website=true] #app .website-purchases__price { grid-column:3; grid-row:1; }
  html[data-website=true] #app .website-purchases__disclosure { grid-column:4; grid-row:1; }
}
@media (max-width:650px) {
  html[data-website=true] #app .website-purchases__header nav { margin-bottom:16px; }
  html[data-website=true] #app .website-purchases__filters button { font-size:15px; padding:12px 8px; gap:6px; }
  html[data-website=true] #app .website-purchases__summary { grid-template-columns:58px minmax(0,1fr) auto; gap:12px; padding:14px; }
  html[data-website=true] #app .website-purchases__image { grid-row:1; grid-column:1; height:58px; }
  html[data-website=true] #app .website-purchases__name { grid-row:1; grid-column:2 / 4; }
  html[data-website=true] #app .website-purchases__meta { grid-row:2; grid-column:1 / 3; }
  html[data-website=true] #app .website-purchases__price { grid-row:2; grid-column:3; font-size:18px; }
  html[data-website=true] #app .website-purchases__status { grid-row:3; grid-column:1 / 3; justify-self:start; }
  html[data-website=true] #app .website-purchases__disclosure { grid-row:3; grid-column:3; font-size:12px; padding:7px 9px; gap:6px; }
  html[data-website=true] #app .website-purchases__body { grid-template-columns:1fr; gap:18px; margin:0 14px 16px; padding-top:16px; }
  html[data-website=true] #app .website-purchases__key button span { display:none; }
}
