html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 90px;
}
body {
  overflow-wrap: break-word;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
.experience-page,
.social-page,
.portal-page {
  overflow-x: clip;
}
.pass-masthead img {
  width: 160px;
  height: 54px;
  background: #501c2d;
  padding: 0;
  border-radius: 9px;
  flex-shrink: 0;
}
.pass-masthead {
  gap: 10px;
}
.pass-title {
  padding: 18px 0;
}
.pass-title h2 {
  font-size: 46px !important;
}
.pass-title p {
  font-size: 18px;
}
.pass-main {
  padding: 22px 24px;
}
.pass-event {
  gap: 9px;
  margin: 16px 0;
}
.pass-stub {
  padding: 18px 20px;
  gap: 9px;
}
.pass-qr {
  width: 190px !important;
  height: 190px !important;
}
.pass-actions {
  display: grid;
  width: 100%;
  gap: 9px;
}
.pass-actions button {
  min-height: 44px;
}
.pass-actions button:first-child {
  background: #501c2d;
  color: #fff1d9;
  border-color: #501c2d;
}
.ticket-focus {
  padding: 20px 16px 36px;
}
.team-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
}
.team-layout label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  margin: 14px 0;
}
.team-layout input:not([type="checkbox"]),
.team-layout select,
.staff-search input,
.staff-search select {
  padding: 12px;
  border: 1px solid #d7c5ab;
  border-radius: 10px;
  background: #fffaf2;
  color: #362724;
  width: 100%;
}
.permission-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.permission-list input {
  accent-color: #501c2d;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.team-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.team-actions button,
.staff-links a {
  padding: 12px 16px;
  border: 1px solid #cbb797;
  border-radius: 10px;
  background: #501c2d;
  color: #f8ead4;
  font-size: 12px;
}
.team-member {
  padding: 18px 0;
  display: grid;
  gap: 9px;
  border-bottom: 1px solid #d8c7af;
}
.team-member span {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.team-member small {
  font-size: 11px;
  color: #76624c;
}
.staff-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.staff-search {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.staff-search input {
  flex: 2;
}
.staff-search select {
  flex: 1;
}
.staff-orders article {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #dbcbb4;
}
.staff-orders article > .team-actions {
  grid-column: 1/-1;
}
.staff-orders h3 {
  font-size: 17px;
}
.staff-orders p {
  font-size: 13px;
  line-height: 1.8;
}
.staff-orders small {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.visitor-check {
  margin: 12px 0;
  max-width: 100%;
}
.visitor-check:empty {
  display: none;
}
.event-control-bar {
  padding: 18px;
  border: 1px solid #d7c5ab;
  background: #eadeca;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.event-control-bar nav {
  display: flex;
  gap: 12px;
  font-size: 12px;
}
.event-control-bar button,
.seat-bulk button,
.phase-shortcuts button {
  padding: 10px 15px;
  border-radius: 9px;
  background: #501c2d;
  color: #f7ead3;
  border: 0;
  font-size: 12px;
}
.seat-bulk,
.phase-shortcuts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.seat-bulk select {
  max-width: 220px;
  padding: 10px;
  background: #fff9ef;
  border: 1px solid #d4c1a4;
  border-radius: 8px;
}
.phase-shortcuts button:last-child {
  background: #e9dfcf;
  color: #501c2d;
}
.editor-save {
  position: sticky;
  bottom: 0;
  z-index: 8;
  background: #faf5ebf5;
  padding: 16px;
  border-top: 1px solid #d8c7af;
  border-radius: 12px;
  box-shadow: 0 -8px 22px #3627240a;
}
.amber-listening {
  max-width: 1180px;
  margin: 45px auto;
  padding: 32px;
  background: #2f1922;
  color: #edddc5;
  border-radius: 20px;
}
.listening-heading {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.listening-heading h2 {
  font:
    500 28px Kufam,
    Cairo,
    sans-serif !important;
  color: #f0d7b4 !important;
  margin: 10px 0;
}
.listening-heading p {
  font-size: 13px;
  color: #c6b49f;
}
.listening-tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.listening-tracks > button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #482732;
  border: 1px solid #9d79554d;
  border-radius: 14px;
  color: #efdfc7;
  text-align: right;
  cursor: pointer;
}
.listening-tracks > button[aria-pressed="true"] {
  border-color: #e0b577;
  background: #593140;
}
.listening-play {
  width: 40px;
  height: 40px;
  border: 1px solid #ac8b60;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.listening-tracks strong {
  display: block;
  font-size: 14px;
}
.listening-tracks small {
  display: block;
  font-size: 11px;
  color: #c0a88e;
  margin-top: 6px;
}
.listening-tracks em {
  margin-inline-start: auto;
  font:
    11px Inter,
    sans-serif;
  color: #ac8b60;
}
.listening-frame {
  max-width: 640px;
  margin: auto;
}
.listening-frame > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
}
.listening-frame iframe {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 225px;
  border: 0;
  border-radius: 12px;
  background: #170e12;
}
.listening-frame > a {
  display: flex;
  gap: 8px;
  margin: 15px 0;
  font-size: 12px;
  color: #efd4ad;
}
.amber-listening > small {
  display: block;
  color: #c3aa8e;
  font-size: 10px;
  line-height: 1.9;
}
.hero .hero-inner h1 {
  font-family: Inter, Cairo, sans-serif;
}
.motion-ticket img {
  max-width: 100%;
}
@media (max-width: 760px) {
  .tizkaro-brand-header {
    padding: 12px 16px;
    min-height: 0;
    gap: 8px;
  }
  .tizkaro-brand-logo,
  .tizkaro-brand-logo img {
    width: 138px !important;
    height: 46px !important;
  }
  .tizkaro-brand-header nav > a,
  .tizkaro-brand-header nav > button {
    padding: 9px 10px;
    min-height: 40px;
    font-size: 11px;
  }
  .experience-content {
    padding: 25px 18px !important;
  }
  .experience-page h1,
  .social-hero h1 {
    font-size: 29px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.6px !important;
  }
  .experience-page h2,
  .social-page h2 {
    font-size: 21px;
    line-height: 1.6;
  }
  .discover-intro {
    padding: 10px 0 24px;
  }
  .discover-intro h1 {
    font-size: 34px !important;
    margin: 12px 0;
  }
  .discovery-info {
    padding: 18px 20px;
  }
  .discovery-cover {
    min-height: 210px;
  }
  .discovery-info h2 {
    font-size: 19px;
  }
  .discover-community {
    margin: 32px 0;
    padding: 22px;
  }
  .discover-community h2 {
    font-size: 21px;
  }
  .social-hero {
    padding: 28px 20px !important;
    gap: 24px !important;
  }
  .social-hero p {
    font-size: 13px !important;
  }
  .social-hero .memory-art {
    height: 170px !important;
    transform: scale(0.78);
    transform-origin: center;
  }
  .social-shell {
    padding-inline: 14px !important;
  }
  .social-card {
    padding: 18px !important;
  }
  .memory-search-tools {
    padding: 12px;
  }
  .tizkaro-footer {
    padding: 32px 22px !important;
  }
  .tizkaro-footer h2 {
    font-size: 23px !important;
  }
  .tizkaro-footer p {
    font-size: 12px;
    line-height: 1.9;
  }
  .tizkaro-footer nav {
    gap: 10px;
  }
  .amber-detail-hero {
    padding: 25px 20px !important;
    gap: 16px !important;
  }
  .amber-orbits {
    height: 230px !important;
    min-height: 0 !important;
  }
  .amber-hero-copy h1 {
    font-size: 26px !important;
    line-height: 1.4 !important;
  }
  .amber-hero-line {
    font-size: 28px !important;
    line-height: 1.5 !important;
  }
  .amber-hero-copy > p:not(.amber-hero-line) {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .amber-meta {
    gap: 10px !important;
  }
  .amber-meta span {
    font-size: 12px !important;
  }
  .amber-hero-actions {
    gap: 12px !important;
  }
  .amber-hero-actions a {
    font-size: 12px !important;
  }
  .amber-story {
    padding: 34px 20px !important;
  }
  .amber-story h2 {
    font-size: 25px !important;
    line-height: 1.5 !important;
  }
  .amber-story p {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .amber-details section {
    padding-inline: 18px;
  }
  .amber-program-header h2,
  .amber-pulse-header h2 {
    font-size: 24px !important;
  }
  .amber-act h3 {
    font-size: 25px !important;
  }
  .amber-listening {
    padding: 22px 18px;
    margin: 25px 14px;
    border-radius: 16px;
  }
  .listening-heading h2 {
    font-size: 22px !important;
  }
  .listening-tracks {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .listening-tracks > button {
    padding: 13px;
  }
  .experience-panel {
    padding: 18px !important;
  }
  .booking-heading h2 {
    font-size: 23px !important;
  }
  .phase-progress-card {
    padding: 14px !important;
  }
  .event-control-bar nav {
    width: 100%;
    justify-content: space-between;
  }
  .team-layout {
    grid-template-columns: 1fr;
  }
  .team-layout input:not([type="checkbox"]),
  .team-layout select,
  .staff-search input,
  .staff-search select,
  .auth-card input,
  .experience-panel input:not([type="checkbox"]),
  .experience-panel select,
  .composer textarea {
    font-size: 16px !important;
  }
  .staff-search {
    flex-wrap: wrap;
  }
  .staff-search input {
    flex-basis: 100%;
  }
  .staff-orders article {
    grid-template-columns: 1fr;
  }
  .staff-page .experience-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .staff-page .experience-nav > span {
    font-size: 11px;
  }
  .event-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .editor-grid {
    grid-template-columns: 1fr !important;
  }
  .editor-save {
    gap: 10px !important;
  }
  .editor-save > span {
    font-size: 10px !important;
  }
  .pass-main {
    padding: 20px;
  }
  .pass-masthead img {
    width: 154px !important;
    height: 52px !important;
  }
  .pass-title h2 {
    font-size: 40px !important;
  }
  .pass-title p {
    font-size: 17px !important;
  }
  .pass-event dd {
    font-size: 12px !important;
  }
  .pass-event dt {
    font-size: 10px;
  }
  .pass-stub {
    padding: 17px;
  }
  .pass-actions button {
    font-size: 12px;
  }
  .ticket-focus {
    padding-inline: 12px;
  }
  .hero {
    padding: 20px 20px 62px !important;
    gap: 10px !important;
  }
  .hero .motion-scene {
    height: 215px !important;
  }
  .hero .motion-ticket-anchor {
    width: 145px !important;
  }
  .hero .motion-ticket {
    font-size: 8px !important;
  }
  .hero .hero-inner h1 {
    font-size: 52px !important;
    line-height: 0.98 !important;
    letter-spacing: -2px !important;
    margin: 16px 0 10px;
  }
  .hero .arabic-title {
    font-size: 21px !important;
  }
  .hero .hero-inner > p {
    font-size: 13px !important;
    line-height: 1.9 !important;
    margin-bottom: 20px;
  }
  .hero-meta {
    margin-top: 24px !important;
    gap: 10px;
    flex-wrap: wrap;
  }
  .hero-meta div {
    padding: 0 10px !important;
    min-width: 95px;
  }
  .hero-meta strong {
    font-size: 11px !important;
  }
  .hero-meta small {
    font-size: 9px !important;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-actions .btn {
    padding: 12px 17px;
    font-size: 12px;
  }
  .wrap {
    padding-inline: 18px !important;
  }
  .intro {
    padding: 38px 0 !important;
    gap: 15px !important;
  }
  .intro h2,
  .section-head h2 {
    font-size: 27px !important;
  }
  .intro .copy {
    font-size: 13px !important;
    line-height: 1.95 !important;
  }
  .moments,
  .ticket-section,
  .seating,
  .steps {
    padding-block: 38px !important;
  }
  .ticket-copy h2 {
    font-size: 28px !important;
  }
  .ticket-copy > p {
    font-size: 13px;
  }
  .ticket-card {
    padding: 20px !important;
  }
  .section-head {
    margin-bottom: 22px !important;
  }
  .step h3 {
    font-size: 16px !important;
  }
  .step p {
    font-size: 12px !important;
  }
  .topbar .brand-logo {
    width: 128px !important;
  }
  .mobilebar {
    padding-bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero .motion-ticket,
  .amber-floating-ticket {
    animation-duration: 24s !important;
  }
  .hero .motion-halo,
  .hero .motion-orbits {
    animation-duration: 60s !important;
  }
}
.order-activity {
  margin: 24px 0;
  padding: 20px;
  background: #f6eee2;
  border: 1px solid #d8c7af;
  border-radius: 14px;
  color: #362724;
  grid-column: 1/-1;
  min-width: 0;
}
.order-activity h3 {
  font-size: 17px;
}
.order-activity h3 small {
  font-size: 11px;
  font-weight: 400;
}
.invitation-totals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 12px;
}
.invitation-totals span {
  display: grid;
  gap: 5px;
  text-align: center;
}
.invitation-totals b {
  font-size: 22px;
  color: #501c2d;
}
.cancel-invitation {
  margin: 20px 0;
  border: 1px solid #ceb89e;
  border-radius: 10px;
  padding: 14px;
}
.cancel-invitation summary {
  cursor: pointer;
  font-weight: 700;
}
.cancel-invitation p,
.cancel-invitation small {
  font-size: 12px;
  line-height: 1.8;
  display: block;
}
.cancellation-tickets {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.cancellation-tickets label {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cancellation-tickets input {
  width: 18px;
  height: 18px;
  accent-color: #501c2d;
}
.cancellation-reason {
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.cancellation-reason textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  border: 1px solid #bca88b;
  border-radius: 8px;
  background: #fffaf3;
  color: #362724;
  padding: 10px;
  resize: vertical;
}
.cancel-invitation button {
  margin-top: 14px;
  min-height: 44px;
  width: 100%;
}
.activity-timeline {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.activity-timeline li {
  border-inline-start: 3px solid #b89563;
  padding: 10px 14px;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}
.activity-timeline strong {
  font-size: 13px;
}
.activity-timeline time,
.activity-timeline span {
  font-size: 11px;
  color: #68574b;
}
.activity-timeline p {
  margin: 0;
  font-size: 13px;
}
@media (max-width: 600px) {
  .order-activity {
    padding: 14px;
  }
  .invitation-totals {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-panel {
    padding: 18px !important;
    width: calc(100vw - 20px) !important;
  }
  .detail-overlay {
    padding: 10px !important;
  }
  .order-details {
    grid-template-columns: 1fr !important;
  }
}
/* Compact first screen; touch targets and form text remain accessible. */
@media (max-width: 600px) {
  .hero {
    padding: 30px 20px 26px !important;
    min-height: 0 !important;
  }
  .hero h1 {
    font-size: 48px !important;
    letter-spacing: -2px !important;
    margin: 14px 0 6px !important;
  }
  .hero .arabic-title {
    font-size: 22px !important;
  }
  .hero p {
    font-size: 13px !important;
    line-height: 1.9 !important;
    margin-bottom: 20px !important;
  }
  .hero-meta {
    margin-top: 24px !important;
    padding-top: 14px !important;
  }
  .hero-meta strong {
    font-size: 11px !important;
  }
  .hero .motion-scene {
    height: 270px !important;
    min-height: 0 !important;
  }
  .hero .motion-control {
    position: static;
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 8px;
  }
  .hero .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero .hero-meta div { border: 0; padding: 0 !important; }
  .hero .hero-meta [data-event-venue] { min-height: 3.6em; }
  .intro {
    padding: 38px 0 !important;
    gap: 20px !important;
  }
  .intro h2,
  .section-head h2,
  .ticket-copy h2 {
    font-size: 25px !important;
    line-height: 1.6 !important;
  }
  .intro .copy,
  .ticket-copy > p {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
  .moments,
  .ticket-section,
  .seating {
    padding: 36px 0 !important;
  }
  .wrap {
    padding-inline: 18px !important;
  }
  .lineup {
    display: flex !important;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
  }
  .program-card {
    flex: 0 0 78%;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .program-caption strong {
    font-size: 17px;
  }
  .pulse {
    padding: 18px !important;
  }
  .pulse strong {
    font-size: 18px !important;
  }
  .ticket-card {
    padding: 20px !important;
  }
  .ticket-card h3 {
    font-size: 23px !important;
  }
  .booking-embed .experience-content {
    padding-inline: 0 !important;
  }
  .booking-embed .experience-panel {
    padding: 14px !important;
  }
  .amber-vibes-section {
    padding: 22px 0 !important;
  }
  .amber-act h3 {
    font-size: 20px !important;
  }
  .amber-act > div {
    max-height: 330px;
    overflow: hidden;
  }
  .amber-act img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .amber-hero-line {
    font-size: 25px !important;
  }
  .experience-page h1,
  .social-hero h1,
  .discover-intro h1 {
    font-size: 27px !important;
  }
  .experience-page h2,
  .social-page h2 {
    font-size: 21px !important;
  }
  .console-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .console-stats strong {
    font-size: 24px !important;
  }
  .console-stats article {
    padding: 16px !important;
  }
  .admin-heading h1,
  .portal-heading h1 {
    font-size: 25px !important;
  }
  .admin-panel {
    padding: 17px !important;
  }
}
