.tk { --tp: #f4f1ea; --ti: #090b0c; --tl: rgba(9, 11, 12, .64); --tline: rgba(9, 11, 12, .22); --terr: #c4086f; --tkey: #090b0c;
  width: min(620px, calc(100vw - 48px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--ti); overflow: visible; }
.tk::backdrop { background: rgba(9, 11, 12, .62); transition: opacity .35s; }
.tk.shut::backdrop { opacity: 0; }
html.tk-open { overflow: hidden !important; scrollbar-gutter: stable; }

.tk-in { position: relative; max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain; padding: 28px 32px 24px; border-radius: 28px;
  background: var(--tp); outline: none; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

.tk-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px;
  background: none; color: var(--ti); cursor: pointer; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); -webkit-tap-highlight-color: transparent; }
.tk-x svg { width: 22px; height: 22px; overflow: visible; }
.tk-x path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (hover: hover) { .tk-x:hover { transform: rotate(90deg); } }

.tk-title { margin: 0 52px 14px 0; font: 800 clamp(44px, 7vw, 72px)/.95 'Gabarito', sans-serif; font-variation-settings: 'opsz' 96;
  letter-spacing: -.035em; color: #ec0b8d; }
.tk-title .tc { display: inline-block; transform-origin: 50% 80%; }

.tk-form { display: flex; flex-direction: column; gap: 16px; }
.tk-f { display: flex; flex-direction: column; gap: 4px; }
.tk-l { font: 500 13px/1.35 'Azeret Mono', monospace; letter-spacing: .02em; color: var(--tl); }
.tk-f input, .tk-f textarea { width: 100%; margin: 0; padding: 6px 0 8px; border: 0; border-bottom: 2px solid var(--tline); border-radius: 0; background: none; color: var(--ti);
  font: 600 22px/1.3 'Gabarito', sans-serif; letter-spacing: -.01em; outline: none; box-shadow: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.tk-f textarea { resize: vertical; min-height: 3.9em; max-height: 40svh; }
.tk-f input:focus, .tk-f textarea:focus { border-bottom-color: var(--ti); box-shadow: 0 1px 0 var(--ti); }
.tk-e { font: 500 13px/1.35 'Azeret Mono', monospace; letter-spacing: .02em; color: var(--terr); min-height: 0; }
.tk-e:empty { display: none; }
.tk-f.bad input, .tk-f.bad textarea { border-bottom-color: var(--terr); }
.tk-f.bad input:focus, .tk-f.bad textarea:focus { box-shadow: 0 1px 0 var(--terr); }
.tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.tk-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 4px; }
.tk-send { display: inline-flex; align-items: center; padding: 13px 24px 14px; border: 0; border-radius: 999px; background: #ec0b8d; color: #090b0c; cursor: pointer;
  font: 700 21px/1.1 'Gabarito', sans-serif; letter-spacing: -.015em; transition: transform .25s cubic-bezier(.22, 1, .36, 1); -webkit-tap-highlight-color: transparent; }
.tk-send .pa { width: .62em; height: .62em; margin-left: .2em; }
.tk-send .pa path { stroke-width: 3; }
.tk-send:disabled { cursor: progress; opacity: .7; }
@media (hover: hover) { .tk-send:hover { transform: translateY(-2px); } }
.tk-say { margin: 0; font: 500 14px/1.4 'Azeret Mono', monospace; letter-spacing: .02em; color: var(--ti); }
.tk-say a { color: inherit; }

.tk-done { display: none; margin: 4px 0 2px; font: 600 24px/1.3 'Gabarito', sans-serif; letter-spacing: -.015em; }
.tk.sent .tk-form { display: none; }
.tk.sent .tk-done { display: block; }

.tk-or { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tline); }
.tk-cal { display: inline-flex; align-items: center; gap: .5em; padding: 8px 0; margin: -8px 0; color: var(--ti); text-decoration: none;
  font: 700 21px/1.2 'Gabarito', sans-serif; letter-spacing: -.015em; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tk-cal .tk-ci { width: 26px; height: 26px; }
@media (hover: hover) { .tk-cal:hover span:last-child { text-decoration: underline; } }
.tk-keys { display: flex; gap: 8px; }
.tk-key { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tkey); transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .tk-key:hover { transform: translateY(-3px) rotate(-4deg); } }
.tk-ci { display: block; width: 20px; height: 20px; }
.tk-ci svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tk :focus-visible { outline: 2px solid var(--ti); outline-offset: 3px; border-radius: 8px; }
.tk-f input:focus-visible, .tk-f textarea:focus-visible, .tk-in:focus-visible, .tk-done:focus-visible { outline: none; }
.tk-f input:focus-visible, .tk-f textarea:focus-visible { border-radius: 0; }

@media (max-width: 760px) {
  .tk { width: 100%; margin: auto 0 0; }
  .tk-in { max-height: 92svh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 28px 28px 0 0; }
  .tk-x { top: 10px; right: 8px; }
  .tk-title { font-size: 46px; margin-bottom: 10px; }
  .tk-form { gap: 12px; }
  .tk-f input, .tk-f textarea { font-size: 19px; }
  .tk-send { font-size: 19px; }
  .tk-cal { font-size: 19px; }
  .tk-or { margin-top: 18px; padding-top: 14px; }
}
