* { box-sizing: border-box }
body { margin:0; min-height:100dvh; background:#e7ebe6; color:#142d2a; font:14px system-ui,sans-serif; display:flex; flex-direction:column; align-items:center; justify-content:center }
#phone { position:relative; width:min(384px,100%); height:calc(100dvh - 76px); overflow:hidden; background:#f8fafb; border-radius:24px; box-shadow:0 12px 44px #142d2a24 }
#loading { padding:24px }
@media(max-width:900px) {
  #phone { flex:1; min-height:0 }
  body { height:100dvh }
  footer { flex-shrink:0 }
}
footer { height:52px; display:grid; place-items:center }
footer a { color:#146b80; font-weight:650; padding:2px; text-decoration:underline; text-underline-offset:3px }
@media(max-width:500px) {
  #phone { width:100%; height:calc(100dvh - 52px); border-radius:0; box-shadow:none }
}

footer small { font-size:11px; text-align:center }
#sound-notice {
  width: min(340px, calc(100% - 24px));
  padding: 24px;
  border: 1px solid #ffffff55;
  border-radius: 16px;
  background: rgb(54 60 64 / 90%);
  color: white;
  text-align: center;
}
#sound-notice::backdrop { background: rgb(30 35 38 / 30%); }
#sound-warning { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
#sound-tip { margin: 0 0 20px; line-height: 1.55; }
#sound-notice form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#sound-notice button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #164955;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

#sound-notice button [aria-hidden] { flex-shrink: 0; font-size: 16px; }
