:root{color-scheme:light;--ink:#351d42;--purple:#72358b;--muted:#6f567a;--paper:#fff9fc;--edge:#efdbea;font-family:system-ui,-apple-system,"PingFang SC",sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;color:var(--ink);background:linear-gradient(155deg,#fff5ef,#f8e9f8 55%,#fff9f7);min-height:100dvh}button,input,a{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}a{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--purple);outline-offset:3px}#install{max-width:480px;margin:auto;padding:calc(env(safe-area-inset-top) + 14px) 18px 24px;text-align:center}.back{display:block;text-align:left;color:var(--purple)}.install-hero{padding:26px 4px 20px;background:radial-gradient(ellipse,#f4d4fc,transparent 72%)}.install-hero h1{font-size:clamp(29px,8vw,40px);color:var(--purple);margin:0}.install-hero p{margin:9px 0 23px}.install-hero img{display:block;margin:auto auto 12px;border-radius:27%;box-shadow:0 13px 34px #733d9c35}.install-hero strong{font-size:23px}ol{padding:0;display:grid;gap:11px;list-style:none;text-align:left}li{display:flex;align-items:center;gap:12px;padding:16px 12px;background:#fffafc;border:1px solid var(--edge);border-radius:19px;box-shadow:0 5px 14px #70277a0c}li i{font-style:normal;color:#fff;background:var(--purple);border-radius:50%;width:28px;height:28px;display:grid;place-items:center;flex:none}li p{font-size:13px;color:var(--muted);margin:3px 0 0}.step-icon{margin-left:auto;padding:9px;border:1px solid var(--edge);background:#f5e5fa;border-radius:12px;color:var(--purple)}.preview,.web-link{display:block;margin:16px auto;color:var(--purple);text-align:center;font-size:14px}#app{width:min(100%,550px);margin:auto;height:100dvh;display:grid;grid-template-rows:minmax(0,1fr) auto;padding-top:env(safe-area-inset-top)}main{min-height:0;overflow:auto}#lobby{padding:9px 12px 20px}.top{display:flex;align-items:center;gap:9px;margin-bottom:12px}.top>img{width:92px;height:auto}.search{flex:1;min-width:0;display:flex;align-items:center;gap:5px;padding:7px;background:#f3e5f6;border-radius:22px;color:var(--muted)}input{width:100%;min-width:0;border:0;background:none;padding:3px 0;font-size:16px}.banner{position:relative;overflow:hidden;min-height:120px;border-radius:19px;background:linear-gradient(110deg,#65358c,#9860c9 60%,#deabe5);color:white;display:flex;align-items:center;padding:15px}.banner div{position:relative;z-index:1;font-weight:850;font-size:24px;line-height:1.2;text-shadow:0 1px 4px #40184a}.banner img{position:absolute;right:0;top:-9%;width:53%;height:245%;object-fit:contain;object-position:top}.games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:12px 0}.games button{display:grid;place-items:center;gap:4px;min-height:67px;background:#362842;color:white;border-radius:13px;font-size:clamp(10px,3vw,13px);padding:5px 2px}.games button:last-child{background:#ffdce3;color:#482338}.games button[aria-pressed=true]{outline:2px solid #bb7bd3;outline-offset:1px}.games img{width:65%;height:30px;object-fit:contain}.filter{display:flex;gap:8px;margin:12px 0}.filter button{background:#f1e2f6;border-radius:99px;padding:6px 10px;font-size:13px}.filter button[aria-pressed=true]{background:var(--purple);color:#fff}.player{display:flex;gap:10px;align-items:center;padding:6px;margin:0 0 9px;border-radius:16px;background:var(--paper);border:1px solid var(--edge);box-shadow:0 4px 10px #70277a0a}.player img{width:33%;height:92px;border-radius:11px;object-fit:cover;background:#ead9ef}.player span{display:block;min-width:0}.player strong,.player small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player small{color:var(--muted);margin:4px 0}.player b{color:#a3244d;font-size:13px}nav{display:flex;justify-content:space-around;background:#fff8fc;border-top:1px solid var(--edge);padding:7px 0 calc(6px + env(safe-area-inset-bottom))}nav button{display:grid;justify-items:center;gap:3px;min-width:58px;font-size:12px;color:var(--muted)}nav button[aria-current=page]{color:var(--purple);font-weight:bold}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}iframe{display:block;width:100%;height:100%;border:0;background:#fffafd}
body.azz-custom-background #app nav{background:#fff8fceb;backdrop-filter:blur(10px)}
body.azz-custom-background .top{background:#fff8fce8;border-radius:18px;padding:7px}
body.azz-custom-background #results:not(:has(.player)),body.azz-custom-background .web-link{background:#fff8fce8;border-radius:12px;padding:8px}
body.azz-custom-background #install{background:#fff8fce8}

#account-view{padding:14px 14px 24px;color:var(--ink)}
.account-hero{position:relative;overflow:hidden;display:flex;align-items:center;gap:13px;min-height:131px;padding:16px;border:1px solid #ead8ec;border-radius:24px;background:linear-gradient(112deg,#fff9f0,#f5dff5);isolation:isolate}
.account-hero>div{max-width:62%;min-width:0}.account-hero h1{margin:0;font-size:23px;line-height:1.2;overflow-wrap:anywhere}.account-hero p{margin:7px 0 0;color:#694d75;font-size:12px}
.account-avatar{width:57px;height:57px;object-fit:cover;border:2px solid white;border-radius:50%;background:#f6e0f0}
.account-fox{position:absolute;z-index:-1;width:120px;height:235px;right:-8px;top:0;object-fit:contain;object-position:top;opacity:.78}
.account-wallet{margin:12px 0;padding:16px;border-radius:23px;color:white;background:radial-gradient(ellipse at 100% 0,#8b529e,#532767 68%);box-shadow:0 7px 19px #4e23672c}.account-wallet h2{margin:0 0 13px;font-size:15px}.account-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-values>div{display:grid;gap:2px;min-width:0}.account-values strong{font-size:clamp(16px,5vw,25px);overflow-wrap:anywhere}.account-values small{color:#f2dff6;font-size:11px}
.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.account-action{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 3px;border:1px solid #ebdbec;border-radius:16px;background:#fffbfc;color:#4e2f60;font-size:12px;font-weight:650}.account-action small{color:#69477a;font-size:10px}.account-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#f2e3f6;color:#72358b}.account-action:nth-child(3n+1) .account-icon{background:#f9e7d9;color:#905331}.account-action:nth-child(3n+2) .account-icon{background:#ecdff7}.account-retry{padding:12px;background:#fff8fc;border-radius:15px}

/* iPhone safe areas and system-style controls */
:root{--ios-group:#fffafd;--ios-accent:#74388b}
#app{background:#fff8fc36}#lobby,#account-view,#ios-list{padding:12px 16px 22px}
.large-title,.ios-list-head h1{font-size:33px;font-weight:800;letter-spacing:-1px;margin:9px 0 12px}
.top{gap:12px;min-height:43px}.top>img{width:82px}.top>button{height:38px;width:38px;border-radius:50%;background:#f1e3f5;display:grid;place-items:center;flex:none}.search{min-height:37px;padding:5px 10px;background:#78518b16}
#nav{position:relative;z-index:2;border-top:1px solid #dcc9e09c;background:#fffaffd9;backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);padding-top:4px}
#nav button{min-height:44px;min-width:60px;gap:2px;font-size:11px}#nav button[aria-current=page] svg{stroke-width:2.35}
button:active,.player:active{opacity:.72}.filter{padding:3px;background:#eae1ef;border-radius:12px;width:max-content;max-width:100%}.filter button{border-radius:9px;background:transparent}.filter button[aria-pressed=true]{background:#fff;color:#643477;box-shadow:0 1px 4px #4d315133}
.ios-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.ios-pill{min-height:44px;border-radius:20px;padding:0 12px;color:#713687;font-weight:700;background:#f4e7f6}
.ios-list-content{display:grid;gap:12px}.ios-post,.ios-order{display:block;width:100%;border-radius:18px;overflow:hidden;background:var(--ios-group);text-align:left;border:1px solid #eadfeb;padding:0}.ios-post img{display:block;width:100%;max-height:280px;aspect-ratio:4/3;object-fit:cover}.ios-post>span,.ios-order>span{display:grid;gap:4px;padding:11px 13px}.ios-post small,.ios-order small{color:var(--muted)}.ios-order{min-height:68px;display:flex;align-items:center;justify-content:space-between;padding-right:12px}.ios-order>b{color:var(--purple);font-size:13px}
.ios-framed{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}#ios-sheet header{height:47px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;background:#fffaffef;border-bottom:1px solid #eadfea}#ios-sheet button{min-height:44px;color:var(--purple);text-align:left;padding-left:16px}#ios-sheet strong{text-align:center}
body.azz-custom-background .large-title,body.azz-custom-background .ios-list-head h1{color:#fff;text-shadow:0 1px 6px #301c3e}body.azz-custom-background .ios-list-content>p{color:white}

#ios-sheet header{position:sticky;top:0;z-index:2;backdrop-filter:blur(20px)}
#ios-detail{padding:14px 16px 26px}.ios-form{display:grid;gap:10px;padding:14px;background:#fffbfd;border-radius:20px;border:1px solid #eee1ee}.ios-form h1,.ios-form h2,.ios-form p{margin:4px 0}.ios-form input:not([type=checkbox]),.ios-form select,.ios-form textarea{width:100%;min-height:44px;padding:9px;border:1px solid #e8d8ec;border-radius:12px;background:#f8eff8;font:inherit;color:var(--ink)}.ios-form label{font-size:13px}.ios-form label input[type=checkbox]{width:auto}.ios-form .ios-pill{display:grid;place-items:center;text-align:center}.ios-login-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:4px;margin:0 0 12px;background:#eee3f2;border-radius:14px}.ios-login-tabs .ios-pill{padding:0 4px;font-size:13px}.ios-detail-photo{display:block;width:100%;max-height:350px;object-fit:contain;border-radius:14px;background:#f4e9f7}.ios-form audio{width:100%}

/* iPhone App detail views */
#ios-sheet > header {
  height: 52px;
  grid-template-columns: minmax(75px, 1fr) auto minmax(75px, 1fr);
  background: #fffafcf5;
}
#ios-sheet > header > strong {
  color: #331c3d;
  font-size: 15px;
  font-weight: 750;
}
#ios-sheet > header > button { font-size: 14px; font-weight: 650; }
.ios-flow {
  --flow-ink: #2e1838;
  --flow-muted: #6e5977;
  --flow-accent: #663780;
  --flow-border: #e8dce9;
  --flow-surface: #fffafd;
  color: var(--flow-ink);
  display: grid;
  min-width: 0;
  gap: 13px;
}
.ios-flow :is(h1,h2,h3,p,dl), .flow-empty p { margin: 0; }
#ios-sheet .ios-flow strong { text-align: inherit; }
.ios-flow h1 { font-size: clamp(23px, 6vw, 31px); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: anywhere; }
.ios-flow h2 { font-size: 17px; line-height: 1.35; }
.ios-flow h3 { font-size: 14px; line-height: 1.4; }
.flow-muted, .flow-person-copy small { color: var(--flow-muted, #6e5977); font-size: 12px; }
.flow-card, .flow-inbox, .flow-empty, .flow-loading {
  min-width: 0;
  background: var(--flow-surface, #fffafd);
  border: 1px solid var(--flow-border, #e8dce9);
  border-radius: 19px;
}
.flow-card, .flow-loading { padding: 16px; }
.flow-stack { display: grid; gap: 14px; }
.flow-empty { padding: 23px 16px; text-align: center; }
.flow-empty strong { font-size: 16px; }
.flow-empty p { margin-top: 5px; color: var(--flow-muted, #6e5977); font-size: 13px; line-height: 1.5; }
.flow-person { display: flex; align-items: center; gap: 11px; min-width: 0; }
.flow-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 15px;
  background: #ebdff1;
  color: #6b397d;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 17px;
  font-weight: 750;
}
.flow-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flow-person-copy { display: grid; gap: 2px; min-width: 0; }
.flow-person-copy strong { overflow-wrap: anywhere; font-size: 15px; }
#ios-sheet .flow-button, .ios-list-content .flow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 9px 15px;
  border-radius: 13px;
  font-weight: 750;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}
#ios-sheet .flow-button.primary { background: #663780; color: #fff; box-shadow: 0 4px 10px #47295822; }
#ios-sheet .flow-button.secondary, .ios-list-content .flow-button { background: #f5edf7; color: #613673; border: 1px solid #e8daed; }
#ios-sheet .flow-button.selected { background: #f4dbec; color: #8b2d61; border: 1px solid #edc9e2; }
#ios-sheet .flow-button:disabled { opacity: .55; cursor: default; }
.flow-status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  border-radius: 100px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}
.flow-status.wait { background: #ffecce; color: #764404; }
.flow-status.live { background: #e8ddff; color: #532d85; }
.flow-status.done { background: #e2f6e8; color: #255f40; }
.flow-status.quiet { background: #eee8f0; color: #5c4867; }
.ios-order { padding-right: 0; overflow-wrap: anywhere; }
.ios-order > span { min-width: 0; }
.ios-order .flow-order-list-meta { justify-items: end; flex: none; color: #5e336f; font-size: 13px; }
.flow-order-hero {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: 19px 17px;
  border-radius: 21px;
  background: linear-gradient(118deg, #41224d, #693c7c);
  color: #fff8fe;
  box-shadow: 0 8px 20px #532e6a24;
}
.flow-order-hero p { color: #f0ddef; font-size: 13px; line-height: 1.5; }
.flow-order-top, .flow-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flow-section-head small { color: var(--flow-muted); white-space: nowrap; }
.flow-facts { display: grid; gap: 0; padding-top: 5px; }
.flow-facts > div {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) minmax(0, 1.65fr);
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
}
.flow-facts > div + div { border-top: 1px solid var(--flow-border); }
.flow-facts dt { color: var(--flow-muted); font-size: 13px; }
.flow-facts dd { margin: 0; font-size: 14px; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.flow-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 12px;
  padding-top: 11px;
  margin-top: 3px;
  border-top: 1px solid var(--flow-border);
  font-size: 14px;
}
.flow-total strong { color: #663780; font-size: 21px; font-variant-numeric: tabular-nums; }
.flow-order-actions { display: grid; gap: 8px; }
.booking-summary .flow-avatar { width: 54px; height: 54px; }
.flow-label { display: grid; min-width: 0; gap: 6px; }
.flow-label > span, .flow-options legend { font-size: 13px; font-weight: 700; }
.ios-flow :is(select, textarea, input:not([type=checkbox],[type=radio])) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #ded1e2;
  border-radius: 11px;
  background: #fdf7fd;
  color: var(--flow-ink);
  font: inherit;
  font-size: 16px;
}
.ios-flow textarea { resize: vertical; }
.flow-options {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  margin: 0;
  padding: 7px 0 0;
  border: 0;
}
.flow-options label { position: relative; }
.flow-options input { position: absolute; inset: 0; margin: 0; opacity: 0; height: 100%; cursor: pointer; }
.flow-options label span {
  display: grid; place-items: center; min-height: 44px;
  padding: 5px 2px; border: 1px solid var(--flow-border); border-radius: 11px;
  font-size: 13px; background: #fbf5fb;
}
.flow-options input:checked + span { border-color: #85569a; background: #ecddf3; color: #572c6f; font-weight: 750; }
.flow-options input:focus-visible + span { outline: 2px solid #663780; outline-offset: 2px; }
.flow-rules summary { font-size: 14px; font-weight: 750; cursor: pointer; padding: 4px 0; }
.flow-rules :is(h3,p,.flow-label,.flow-button) { margin-top: 9px; }
.flow-rules p { font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.flow-agreement {
  min-height: 48px; display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--flow-border); border-radius: 11px; background: #fffafd;
  padding: 8px 11px; font-size: 13px;
}
.flow-agreement input { width: 19px; height: 19px; accent-color: #663780; }
.flow-inbox { overflow: hidden; }
#ios-sheet .flow-conversation {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  padding: 11px;
  color: var(--flow-ink);
  text-align: left;
}
.flow-conversation + .flow-conversation { border-top: 1px solid var(--flow-border); }
.flow-conversation-copy, .flow-conversation-meta { min-width: 0; display: grid; gap: 5px; }
.flow-conversation-copy strong, .flow-conversation-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-conversation-copy strong { font-size: 15px; }
.flow-conversation-copy small { color: var(--flow-muted); font-size: 12px; }
.flow-conversation-meta { justify-items: end; color: var(--flow-muted); font-size: 11px; }
.flow-unread { border-radius: 99px; background: #754191; color: white; padding: 2px 5px; min-width: 18px; text-align: center; font-weight: 750; }
#ios-sheet:has(.flow-chat) { min-height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr); }
#ios-sheet:has(.flow-chat) #ios-detail { display: grid; grid-template-rows: minmax(0,1fr); padding-bottom: 12px; }
.flow-chat {
  grid-template-rows: auto minmax(140px,1fr) auto;
  max-height: max(350px, calc(100dvh - 153px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
  gap: 0;
  border-radius: 18px;
  border: 1px solid var(--flow-border);
  overflow: hidden;
  background: #f4edf6;
}
.flow-chat > .flow-person { padding: 9px 13px; border-bottom: 1px solid var(--flow-border); background: #fffafd; }
.flow-chat-log { overflow: auto; overscroll-behavior: contain; padding: 14px 11px; }
.flow-chat-day {
  width: fit-content;
  margin: 0 auto 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: #614f69;
  background: #eae0ee;
}
.flow-message { display: grid; justify-items: start; gap: 4px; margin-bottom: 11px; }
.flow-message.mine { justify-items: end; }
.flow-message-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--flow-muted); font-size: 11px; }
.flow-message-meta strong { font-weight: 650; }
.flow-bubble {
  max-width: 85%;
  min-width: 0;
  padding: 9px 11px;
  border-radius: 4px 13px 13px 13px;
  background: #fffafd;
  color: #321a3b;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.flow-message.mine .flow-bubble { border-radius: 13px 4px 13px 13px; background: #65407b; color: #fff; }
.flow-bubble img { display: block; width: 100%; max-width: 210px; max-height: 270px; object-fit: contain; border-radius: 8px; }
.flow-bubble p + img, .flow-bubble p + p { margin-top: 5px; }
.flow-composer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 5px 7px;
  align-items: start;
}
.flow-chat > .flow-composer, .flow-chat-readonly { padding: 8px 10px; background: #fffafd; border-top: 1px solid var(--flow-border); }
.flow-chat-readonly { color: var(--flow-muted); font-size: 12px; }
.flow-composer textarea { min-height: 46px; max-height: 120px; }
.flow-composer-error { grid-column: 1 / -1; color: #942f52; }
.flow-composer-error:empty, .flow-muted:empty { display: none; }
.flow-article, .flow-discussion { display: grid; gap: 12px; }
.flow-post-body, .flow-comment p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.65; }
.flow-post-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.flow-post-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 390px;
  object-fit: contain;
  border-radius: 12px;
  background: #f0e7f2;
  scroll-snap-align: start;
}
.flow-article > .flow-button { justify-self: start; }
.flow-comment { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--flow-border); }
.flow-comment .flow-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
.flow-comment p { padding-inline-start: 45px; }
.flow-photo-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.flow-photo-preview:empty { display: none; }
.flow-thumb { position: relative; min-width: 0; }
.flow-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #f0e7f2; }
#ios-sheet .flow-remove {
  position: absolute; top: 3px; right: 3px; display: grid; place-items: center;
  min-width: 44px; min-height: 44px; padding: 0;
  border-radius: 50%; background: #321c3dc9; color: #fff; font-size: 20px;
}
@media (max-width: 360px) {
  #ios-detail { padding-inline: 10px; }
  .flow-card { padding: 13px; }
  #ios-sheet .flow-conversation { gap: 7px; }
}

/* AzZ iPhone visual treatment */
:root {
  --azz-canvas: #f6f1ed;
  --azz-surface: #fffaf7;
  --azz-text: #301e35;
  --azz-plum: #59324f;
  --azz-subtle: #6d586a;
  --azz-line: #e7dcd9;
}
body { color: var(--azz-text); background: var(--azz-canvas); }
#app { background: var(--azz-canvas); }
body.azz-custom-background #app { background: #f6f1ed32; }
#lobby { padding: 8px clamp(14px, 4.4vw, 23px) 24px; }
.top { justify-content: space-between; margin: 0 0 12px; }
.top > img { width: 104px; max-height: 32px; object-fit: contain; object-position: left; }
.top > button { width: 44px; height: 44px; color: var(--azz-plum); background: #eee3e8; }
.banner {
  height: clamp(165px, 48vw, 220px);
  min-height: 0;
  border-radius: 23px;
  padding: 18px;
  isolation: isolate;
  background: radial-gradient(ellipse at 82% 30%,#a76881 0%,#673b61 34%,#34213e 74%);
  box-shadow: 0 7px 18px #351d3c22;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#35203bd9 0%,#3e2648a0 47%,transparent 76%);
  pointer-events: none;
}
.banner img {
  z-index: -2;
  top: -2%;
  right: -3%;
  width: 57%;
  height: 160%;
  object-fit: cover;
  object-position: center top;
}
.banner .banner-copy {
  display: grid;
  gap: 13px;
  width: min(58%, 215px);
  color: #fff5f0;
  text-shadow: none;
}
.banner-copy h1 {
  margin: 0;
  max-width: 6em;
  font-size: clamp(28px, 8.7vw, 43px);
  line-height: 1.03;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.banner-action {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  gap: 8px;
  padding: 0 12px;
  border-radius: 11px;
  color: #402840;
  background: #fbe5d6;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}
#lobby-filters { padding-top: 16px; }
#lobby .search {
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid var(--azz-line);
  padding: 4px 12px;
  background: var(--azz-surface);
  gap: 8px;
}
#lobby input[type=search] { height: 36px; }
#lobby .games { margin: 9px 0 16px; gap: 6px; }
#lobby .games button {
  min-height: 57px;
  background: #eee6e5;
  color: #4f3b4f;
  border: 1px solid transparent;
  border-radius: 12px;
}
#lobby .games button[aria-pressed=true] {
  outline: none;
  border-color: #795570;
  background: #f6e1ec;
  color: #4d2645;
}
#lobby .games img { width: 35px; max-width: 100%; height: 21px; }
.roster-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.roster-head h2 { margin: 0; font-size: 21px; font-weight: 820; letter-spacing: -.035em; }
.roster-head h2 span { color: var(--azz-subtle); margin-inline-start: 5px; font-size: 12px; font-weight: 550; white-space: nowrap; }
#available { min-height: 44px; padding: 0 10px; color: #59364d; font-size: 13px; font-weight: 700; border-radius: 12px; }
#available[aria-pressed=true] { background: #ecdbe7; }
#lobby .filter { max-width: 100%; margin: 5px 0 11px; background: #eee5e4; }
#lobby .filter button { min-height: 44px; padding-inline: 15px; }
#lobby .filter button[aria-pressed=true] { color: #542f48; box-shadow: 0 1px 4px #583a531e; }
#results:has(.player) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 11px 9px; }
#results:not(:has(.player)) { padding: 15px 0; color: var(--azz-subtle); font-size: 14px; }
#results .player {
  display: grid;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--azz-line);
  border-radius: 16px;
  background: var(--azz-surface);
  box-shadow: 0 2px 7px #43293a0b;
}
.player-portrait { position: relative; aspect-ratio: 5/4; overflow: hidden; background: #ead5df; }
#results .player-portrait img { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: center 29%; }
#results .player-status {
  display: inline-flex;
  position: absolute;
  bottom: 7px;
  left: 7px;
  padding: 4px 7px;
  border-radius: 20px;
  background: #342438e9;
  color: #fff7fb;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}
#results .player-status.accepting { color: #204d36; background: #e6f6e9; }
#results .player-copy { padding: 9px; }
#results .player-copy strong { color: var(--azz-text); font-size: 15px; }
#results .player-copy > small { margin: 3px 0 6px; color: var(--azz-subtle); font-size: 11px; }
#results .player-price { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
#results .player-price b { color: #6d354b; font-size: 19px; font-variant-numeric: tabular-nums; }
#results .player-price small { margin: 0; font-size: 10px; }
#nav { border-top-color: var(--azz-line); background: #fffaf5ed; box-shadow: 0 -4px 13px #5831480a; }
#nav button { color: #6b576b; min-height: 47px; padding-inline: 8px; }
#nav button[aria-current=page] { color: #59324f; }
#nav button[aria-current=page] svg { background: #ead9e7; border-radius: 7px; box-sizing: content-box; padding: 3px 9px; }
#ios-sheet > header { background: #fffaf6f2; border-bottom-color: var(--azz-line); }
#ios-sheet > header > strong { color: var(--azz-text); }
#ios-list,.ios-flow {
  --flow-ink: var(--azz-text);
  --flow-muted: var(--azz-subtle);
  --flow-border: var(--azz-line);
  --flow-surface: var(--azz-surface);
}
.ios-list-head h1 { color: var(--azz-text); letter-spacing: -.055em; }
.ios-list-content { gap: 9px; }
.ios-order,.ios-post,.account-action { background: var(--azz-surface); border-color: var(--azz-line); }
.ios-post > span { gap: 5px; padding: 12px 14px; }
.ios-post > span strong { font-size: 16px; }
.ios-post img { aspect-ratio: 5/3; }
.account-hero { background: radial-gradient(ellipse at 98% 25%,#eecfc7,#f5e4e8 56%,#fff9f3); border-color: var(--azz-line); }
.account-wallet { background: linear-gradient(120deg,#40243f,#683e5e); }
#ios-sheet .flow-button.primary { background: #59324f; }
#ios-sheet .flow-button.secondary,.ios-list-content .flow-button { background: #f0e4ed; color: #55354d; border-color: #e9dce6; }
.flow-order-hero { background: linear-gradient(124deg,#322139,#63405b); }
.flow-progress {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin: 0;
  padding: 11px 9px;
  gap: 0;
  border: 1px solid var(--flow-border);
  border-radius: 16px;
  background: var(--flow-surface);
}
.flow-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 0 2px;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #735f70;
  font-size: 12px;
}
.flow-progress li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e2d4de; }
.flow-progress li.reached { color: #59324f; font-weight: 730; }
.flow-progress li.reached::before { background: #81566f; }
.flow-progress li[aria-current=step]::before { outline: 2px solid #ddb8ce; outline-offset: 2px; }
.flow-chat { background: #eee7ec; border: 0; border-radius: 16px; }
.flow-chat > .flow-person, .flow-chat > .flow-composer { background: var(--azz-surface); }
.flow-chat-log { padding: 13px 11px; }
.flow-bubble { background: #fffaf7; }
.flow-message.mine .flow-bubble { background: #593850; }
.flow-inbox { border-radius: 14px; }
.flow-article { padding: 15px; }
.flow-discussion { border-radius: 15px; }
.flow-article h1 { font-size: clamp(23px, 6vw, 30px); }
.flow-player-profile {
  display: grid;
  grid-template-columns: minmax(90px, .9fr) minmax(0, 1.1fr);
  min-height: clamp(145px, 50vw, 230px);
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(138deg,#352439,#66445c);
  color: #fff9f3;
}
.flow-player-profile > img {
  width: 100%; height: 100%; max-height: 235px; min-height: 150px;
  object-fit: cover; object-position: center 27%;
}
.flow-player-info { align-self: end; display: grid; gap: 7px; min-width: 0; padding: 12px; }
.flow-player-info h1 { font-size: clamp(21px, 6vw, 29px); }
.flow-player-info p { color: #f1deea; font-size: 12px; overflow-wrap: anywhere; }
.flow-player-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.flow-player-rate strong { color: #fbe3ce; font-size: 25px; }
.flow-player-rate small { color: #f4e2eb; font-size: 11px; }
.flow-player-actions { display: grid; grid-template-columns: minmax(70px, 1fr) minmax(120px, 2fr); gap: 8px; }
.flow-player audio { width: 100%; }
.tab-skeleton {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 20px 16px;
  border: 1px solid var(--azz-line);
  border-radius: 16px;
  background: var(--azz-surface);
}
.tab-skeleton span { height: 12px; width: 76%; border-radius: 8px; background: #efe4e9; }
.tab-skeleton span:first-child { height: 18px; width: 43%; }
.tab-skeleton span:last-child { width: 57%; }
@media(max-width:360px) {
  #results:has(.player) { gap: 7px; }
  .banner { padding: 14px; }
  .banner-copy h1 { font-size: 27px; }
  #results .player-copy { padding: 7px; }
}

/* AzZ iPhone web app icons */
.ios-az-icon{width:20px;height:20px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
#nav button .ios-az-icon{width:22px;height:22px;padding:4px 11px;box-sizing:content-box;border-radius:12px;background:transparent}
#nav button[aria-current=page] .ios-az-icon{background:linear-gradient(135deg,#ebdaf8,#ffefcf);color:#704590;stroke-width:2}
.top button[data-ios-icon=bell]{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e5d2ee;border-radius:14px;background:#f5ebfb;color:#8055a0}
.step-icon{display:grid;place-items:center;min-width:40px;min-height:40px;background:linear-gradient(145deg,#f0e2fb,#ffefd7);color:#7b4e98}
.account-action .account-icon{color:#79519a;background:linear-gradient(140deg,#f0e3fa,#fbf2ff);border:1px solid #e3d1ef}
.account-action:nth-child(3n+1) .account-icon{background:linear-gradient(140deg,#ffefd5,#fff6e9);color:#8e5b32;border-color:#efdfc7}
.ios-pill:has(>.ios-az-icon),.flow-button:has(>.ios-az-icon),button[data-ios-icon]:not(#nav button):not(.top button),a[data-ios-icon]{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.flow-button .ios-az-icon,.ios-pill .ios-az-icon,#ios-back .ios-az-icon,.filter .ios-az-icon,#available .ios-az-icon{width:17px;height:17px}
.ios-empty-icon{display:grid;place-items:center;width:41px;height:41px;margin-bottom:8px;border-radius:14px;background:#f2e6fb;color:#8356a0}
.flow-composer .flow-button{flex-shrink:0}
.flow-remove .ios-az-icon{width:15px;height:15px;margin:auto}
@media(max-width:360px){.filter button[data-ios-icon],#available{gap:4px}.filter .ios-az-icon,#available .ios-az-icon{width:14px;height:14px}}

/* Shared iPhone navigation bar */
#nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:6px 8px calc(5px + env(safe-area-inset-bottom));background:#fffaf7f5;border-top:1px solid #e8d9ee;box-shadow:0 -5px 22px #5831480c}
#nav button[data-view]{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:53px;padding:7px 2px 5px;border:0;border-radius:0;background:none;box-shadow:none;color:#776883;font-size:11px;font-weight:500;white-space:nowrap}
#nav button[data-view] .ios-az-icon{width:21px;height:21px;padding:0;box-sizing:border-box;border-radius:0;background:none;color:inherit;stroke-width:1.75}
#nav button[data-view][aria-current=page]{color:#71448d;font-weight:700}
#nav button[data-view][aria-current=page] .ios-az-icon{stroke-width:2.15}
#nav button[data-view][aria-current=page]::after{content:"";position:absolute;top:0;left:50%;width:17px;height:2px;transform:translateX(-50%);border-radius:4px;background:#a678c1}
#nav button[data-view]:focus-visible{outline:2px solid #a678c1;outline-offset:-3px;border-radius:8px}
