dialog.tk-action-dialog{
 color-scheme:dark;position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(390px,calc(100% - 32px));max-height:85dvh;overflow:auto;padding:0;border:1px solid #45635c;border-radius:23px;color:#f1f6f3;background:radial-gradient(ellipse at 0 0,#244237,transparent 65%),#12242a;box-shadow:0 24px 76px #0008;font:inherit;text-align:start
}
.tk-action-dialog::backdrop{background:#031018cc}
.tk-action-dialog form{display:block;margin:0;padding:24px;background:transparent}
.tk-action-dialog .tk-action-mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #65865a;border-radius:14px;background:#304b37;color:#d5f8a8;font:600 27px/1 var(--tk-font-ui)}
.tk-action-dialog h2{margin:16px 0 6px;font-size:1.24rem;line-height:1.45;color:#f4f7ee}
.tk-action-dialog p{margin:0;color:#bfceca;font-size:.96rem;line-height:1.65;overflow-wrap:anywhere}
.tk-action-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.tk-action-dialog .tk-action-buttons button{flex:1 1 auto;min-height:46px;padding:8px 12px;border:1px solid #49615e;border-radius:12px;font:inherit;font-weight:650;color:#dce7e2;background:#1b3034}
.tk-action-dialog button[value=accept]{color:#1a301e;border-color:#c8ef98;background:#c8ef98}
.tk-action-dialog[data-kind=danger] button[value=accept]{color:#351c19;background:#f4b8a7;border-color:#f4b8a7}
.tk-action-dialog button:focus-visible{outline:2px solid #f5ffde;outline-offset:2px}

/* The release confirmation is a compact card, including on narrow app screens. */
dialog.tk-action-dialog[data-kind="update"][open] {
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(25rem, calc(100% - 2rem));
  height: fit-content;
  max-height: calc(100dvh - 2rem);
  border: 1px solid #425b58;
  border-radius: 1.25rem;
  background: #101e26;
  box-shadow: 0 18px 52px #0009;
}
.tk-action-dialog[data-kind="update"] form {
  padding: 0 clamp(1rem, 5vw, 1.5rem) 1.25rem;
}
.tk-action-dialog[data-kind="update"] .tk-action-mark {
  width: auto;
  height: 4.75rem;
  margin-inline: calc(-1 * clamp(1rem, 5vw, 1.5rem));
  padding-inline: clamp(1rem, 5vw, 1.5rem);
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #334b49;
  border-radius: 0;
  color: transparent;
  font-size: 0;
  background: linear-gradient(95deg, #10292af5, #102a3044 80%), url('/media/matchday-stadium.webp') center 52% / cover;
}
.tk-action-dialog[data-kind="update"] .tk-action-mark::before {
  content: '';
  width: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
  border: 1px solid #b4ed8b73;
  border-radius: 50%;
  background: #142e26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4f883' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7v5h-5M4 17v-5h5M5.6 8a7.3 7.3 0 0 1 12-2l2.4 3M4 15l2.4 3a7.3 7.3 0 0 0 12-2'/%3E%3C/svg%3E") no-repeat center / 1.4rem;
}
.tk-action-dialog[data-kind="update"] h2 {
  margin: 1rem 0 .375rem;
  font-size: 1.25rem;
  line-height: 1.45;
}
.tk-action-dialog[data-kind="update"] p { color: #c2cfce; line-height: 1.6; }
.tk-action-dialog[data-kind="update"] .tk-action-buttons { margin-top: 1.125rem; }
.tk-action-dialog[data-kind="update"] .tk-action-buttons button { flex: 1 1 8rem; }
.tk-action-dialog[data-kind="update"] button[value="accept"] {
  color: #18270e;
  background: #c2f47e;
  border-color: #c2f47e;
}
