section[data-testid="profile-own-tickets"], [data-testid="radario-ticket-status"] { background:transparent !important; background-image:none !important; border:0 !important; box-shadow:none !important; padding:0 !important; }
[data-ambassador-ticket] { margin-block:12px; width:100%; min-width:0; grid-column:1 / -1; background:none; border:0; padding:0; }
.at-card { box-sizing:border-box; width:100%; min-width:0; padding:1rem; border:0; margin:0 0 .85rem; }
.at-card-confirmed { padding:0; overflow:hidden; border:1px solid #ffffff20; border-radius:22px; background:linear-gradient(115deg,#292526 0%,#242223 60%,#352426 100%); color:#f5f2f2; }
.at-card-top { display:flex; gap:.75rem; align-items:center; padding:.75rem 1rem; }
.at-ticket-icon { flex:0 0 40px; width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:#ed1c2930; color:#ff4551; }
.at-ticket-icon svg { width:23px; height:23px; }
.at-card-text { min-width:0; flex:1; }
.at-card-title { margin:0 0 .45rem; font:inherit; font-size:.875rem; line-height:1.35; font-weight:600; overflow-wrap:anywhere; }
.at-ticket-number { margin:0 0 .35rem; font-size:.85rem; color:#c5bfc0; }
.at-confirmed { color:#7ed6a0; font-size:.8rem; }
.at-card .at-card-open { flex:0 0 auto; margin-left:auto; }
.at-card > p { margin:.5rem 1rem; }
.at-card[hidden] { display:none; }
.at-modal { box-sizing: border-box; width: 94vw; height: 94vh; height: 94dvh; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 1rem; background:hsl(var(--background)); color:hsl(var(--foreground)); }
.at-modal[open] { display: flex; flex-direction: column; }
.at-modal::backdrop { background: #0009; }
.at-modal header { position:relative; flex-shrink:0; padding:.5rem 3rem .25rem .5rem; }
.at-modal h2 { font-size: 1.15rem; margin: 0; }
.at-modal header p { margin: .5rem 0 0; }
.at-modal .at-close { position:absolute; right:.5rem; top:.5rem; }
.at-modal nav { display:flex; gap:.25rem; align-items:center; flex-wrap:wrap; padding:.25rem .5rem; flex-shrink:0; }
.at-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; background:hsl(var(--background)); padding: .25rem; }
.at-pages { min-width: 100%; }
.at-page { position: relative; margin: 0 auto 1rem; background: white; }
.at-page canvas { display: block; }
.at-page .textLayer { position: absolute; inset: 0; overflow: hidden; line-height: 1; text-align: initial; transform-origin: 0 0; }
.textLayer :is(span, br) { color: transparent; position: absolute; white-space: pre; cursor: text; transform-origin: 0% 0%; }
.textLayer span.markedContent { top: 0; height: 0; }
.textLayer ::selection { background: #1769aa55; }
@media (max-width: 699px) {
 .at-modal { margin: 0; width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
}

/* Unrequested retry/profile actions preserve their legacy touch target. */
.at-card .at-legacy-button, .at-modal .at-legacy-button {font:inherit;min-height:44px;padding:.5rem .8rem;cursor:pointer}
/* Preserve the normal ticket action; let 200% text keep a readable column. */
.at-card[data-ui-large-text="true"] .at-card-top { flex-wrap:wrap; }
.at-card[data-ui-large-text="true"] .at-card-text { flex-basis:150px; }
