.gkapp {
  margin: 0;
  background: var(--soot);
  color: var(--on-dark);
  font-family: var(--sans);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
.gkapp * {
  box-sizing: border-box;
}
.gw {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px calc(env(safe-area-inset-bottom, 0px) + 120px);
  background:
    radial-gradient(
      120% 50% at 80% 0%,
      rgba(212, 176, 120, .16),
      transparent 60%);
}
.gdemo {
  font-size: .8125rem;
  letter-spacing: .06em;
  color: var(--on-dark-3);
  text-align: center;
  padding: 4px 0 8px;
}
.gdemo a {
  color: var(--on-dark-2);
}
.ghead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0 14px;
}
.ghead .lg {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--on-dark);
}
.ghead .lg svg {
  width: 30px;
  height: 30px;
}
.ghead .lg b {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .28em;
  font-size: 1rem;
}
.ghead .sp {
  flex: 1;
}
.wie {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--soot-3);
  border: 1px solid var(--line-d);
  color: var(--on-dark);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font: inherit;
  font-size: .8125rem;
  min-height: 44px;
  cursor: pointer;
}
.wie i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--amber),
      var(--gold-2));
  color: var(--accent-text);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
}
.ghero {
  padding: 8px 0 18px;
}
.ghero small {
  display: block;
  font-size: .8125rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}
.ghero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1.05;
  margin: 6px 0 0;
  color: var(--heat);
}
.ghero h1 em {
  font-style: italic;
  color: var(--amber);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--soot-3);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
  border: 1px solid var(--line-d);
}
.seg button {
  background: none;
  border: 0;
  color: var(--on-dark-2);
  font: inherit;
  font-size: .86rem;
  padding: 10px;
  border-radius: 9px;
  min-height: 44px;
  cursor: pointer;
}
.seg button.on {
  background: var(--surface);
  color: var(--heat);
  box-shadow: inset 0 0 0 1px rgba(212, 176, 120, .35);
}
.gl {
  display: grid;
  gap: 10px;
}
.gc {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background:
    linear-gradient(
      180deg,
      var(--bg),
      var(--bg));
  border: 1px solid var(--line-d);
  border-radius: 16px;
  padding: 14px;
  color: var(--on-dark);
  text-decoration: none;
  min-height: 76px;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s;
}
.gc:active {
  transform: scale(.985);
}
.gc:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.gc .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--amber);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}
.gc b {
  display: block;
  font-size: .95rem;
  line-height: 1.3;
}
.gc small {
  display: block;
  color: var(--on-dark-3);
  font-size: .8125rem;
  margin-top: 3px;
}
.gc .bd {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--heat);
  text-align: right;
  white-space: nowrap;
}
.gc.af {
  opacity: .6;
}
.gc.ok {
  opacity: .75;
}
.gc .st {
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 8px;
  display: inline-block;
  margin-top: 6px;
}
.st.open {
  background: rgba(212, 176, 120, .18);
  color: var(--amber);
}
.st.info {
  background: rgba(228, 214, 187, .15);
  color: var(--glass);
}
.st.ok {
  background: rgba(201, 180, 140, .18);
  color: var(--glass-2);
}
.st.af {
  background: rgba(163, 44, 34, .25);
  color: #f3b2a9;
}
.leeg {
  text-align: center;
  padding: 40px 16px;
  color: var(--on-dark-2);
}
.leeg .vink {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 180, 140, .15);
  color: var(--glass);
  font-size: 2rem;
}
.gtip {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--soot-3);
  border: 1px dashed var(--line-d);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 16px;
  font-size: .82rem;
  color: var(--on-dark-2);
}
.gtip button {
  margin-left: auto;
  flex: none;
}
.gbtn {
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  min-height: 52px;
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.gbtn.ok {
  background: var(--amber);
  color: var(--accent-text);
  box-shadow: 0 12px 30px -14px rgba(212, 176, 120, .9);
}
.gbtn.af {
  background: var(--bg);
  color: #f3b2a9;
  border: 1px solid #5a2620;
}
.gbtn.info {
  background: var(--soot-3);
  color: var(--on-dark);
  border: 1px solid var(--line-d);
}
.gbtn.klein {
  min-height: 40px;
  font-size: .84rem;
  border-radius: 10px;
  padding: 0 14px;
}
.gbtn:focus-visible {
  outline: 2px solid var(--heat);
  outline-offset: 2px;
}
.gbtn[disabled] {
  opacity: .45;
}
.gdet .terug {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--on-dark-2);
  text-decoration: none;
  min-height: 44px;
  font-size: .9rem;
}
.gdet h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--heat);
  margin: 6px 0 4px;
}
.gdet .bedr {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--amber);
  margin: 10px 0 2px;
}
.gdet .meta {
  font-size: .8125rem;
  color: var(--on-dark-3);
}
.gkaart {
  background: var(--bg);
  border: 1px solid var(--line-d);
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}
.gkaart h2 {
  font-family: var(--sans);
  font-size: .8125rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-3);
  margin: 0 0 10px;
  font-weight: 600;
}
.gkaart p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--on-dark);
}
.bijl {
  display: grid;
  gap: 8px;
}
.bijl button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line-d);
  color: var(--on-dark);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: .86rem;
  text-align: left;
  min-height: 48px;
  cursor: pointer;
}
.bijl button:before {
  content: "⎘";
  color: var(--amber);
  font-size: 1.1rem;
}
.hist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line-d);
  margin-left: 6px;
}
.hist li {
  position: relative;
  padding: 0 0 12px 16px;
  font-size: .84rem;
  color: var(--on-dark-2);
}
.hist li:before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}
.hist li.af:before {
  background: var(--err);
}
.hist li.ok:before {
  background: var(--glass-2);
}
.gblok {
  background: rgba(163, 44, 34, .18);
  border: 1px solid #5a2620;
  color: #f3c4bd;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .86rem;
  margin-top: 14px;
}
.gok {
  background: rgba(201, 180, 140, .14);
  border: 1px solid var(--glass-d);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: .86rem;
  margin-top: 14px;
}
.dbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background:
    linear-gradient(
      180deg,
      rgba(13, 10, 8, 0),
      rgba(13, 10, 8, .92) 28%,
      var(--bg));
  padding: 22px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
}
.dbar .in {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
}
.dbar .noot {
  max-width: 560px;
  margin: 0 auto 8px;
  font-size: .8125rem;
  color: var(--on-dark-3);
  text-align: center;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet[hidden] {
  display: none;
}
.sheet .bx {
  width: 100%;
  max-width: 560px;
  background: var(--bg);
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--line-d);
  padding: 18px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  animation: op .35s var(--ease);
}
.sheet .bx:before {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: var(--surface-2);
  margin: 0 auto 14px;
}
.sheet h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--heat);
  font-size: 1.5rem;
  margin: 0 0 10px;
}
.sheet textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-d);
  color: var(--on-dark);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  font-size: 16px;
  min-height: 96px;
}
.sheet textarea:focus {
  outline: 2px solid var(--amber);
}
.sheet .wl {
  display: grid;
  gap: 8px;
}
.sheet .wl button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line-d);
  color: var(--on-dark);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  min-height: 52px;
  cursor: pointer;
  text-align: left;
}
.sheet .wl button.on {
  border-color: var(--amber);
}
@keyframes op {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.gtoast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 104px);
  transform: translateX(-50%);
  background: var(--heat);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: .9rem;
  z-index: 90;
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .8);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.vlag {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  background: rgba(13, 10, 8, .7);
  pointer-events: none;
  animation: vf 1.1s ease forwards;
}
.vlag span {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--accent-text);
  font-size: 3.4rem;
  box-shadow: 0 0 80px rgba(212, 176, 120, .7);
}
.vlag.af span {
  background: #a32c22;
  color: var(--text);
  box-shadow: 0 0 80px rgba(163, 44, 34, .7);
}
@keyframes vf {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.offl {
  background: var(--surface);
  color: #ffd7c8;
  text-align: center;
  font-size: .8125rem;
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}
@media (prefers-reduced-motion:reduce) {
  .sheet .bx,
  .vlag {
    animation: none;
  }
  .gc {
    transition: none;
  }
}
@media (min-width:900px) {
  .gw {
    padding-top: 30px;
  }
}
