:root {
  color-scheme: light;
  font: 16px/1.35 ui-rounded, system-ui, sans-serif;
  color: #23332d;
  background: #dce5d8;
  scrollbar-width: none;
}
* { box-sizing: border-box; }
body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100svh;
}
body::-webkit-scrollbar { display: none; }
header {
  background: #35493f;
  border-bottom: 4px solid #b68b53;
  padding: .55rem 1rem .6rem;
  color: #fff3dc;
}
h1, h2, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; }
h1 { font-size: 1.2rem; }
header p { color: #f0dfc2; font-size: .82rem; margin-top: .2rem; }
main { position: relative; }
iframe {
  display: block;
  width: 100%;
  height: max(540px, calc(100svh - 66px));
  border: 0;
  background: #d9e8e7;
}
#result {
  width: min(100% - 24px, 360px);
  margin: 1.2rem auto;
  border: 1px solid #c9ab7f;
  border-radius: 1rem;
  box-shadow: 0 .4rem 1.4rem #35493f28;
  background: #f6ecd7;
  padding: 1rem 1rem 1.2rem;
  text-align: center;
}
#result[hidden], #game[hidden] { display: none; }
.cup { height: 3.8rem; width: 3.8rem; margin: 0 auto; display: block; }
#sales { margin: .4rem 0 1rem; font-size: 1.05rem; }
.actions { display: grid; gap: .55rem; margin-bottom: .65rem; }
.actions > * {
  align-items: center;
  justify-content: center;
  background: #335043;
  border: 0;
  border-radius: .55rem;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 650;
  min-height: 48px;
  padding: .55rem .8rem;
  text-decoration: none;
}
.actions button { background: #754a36; }
:focus-visible { outline: 3px solid #9a5c02; outline-offset: 3px; }
#outcome:focus { outline: none; }
