/* Griffin's Kitchen: a warm, homey recipe box. */

:root {
  --gk-paper: #fbf6ec;          /* recipe-box cream */
  --gk-card: #fffdf8;
  --gk-ink: #3e2c23;            /* warm brown text */
  --gk-ink-soft: #6f5a4d;
  --gk-tomato: #b5473a;         /* primary: tomato / cranberry */
  --gk-tomato-dark: #8f3329;
  --gk-sage: #6f8f62;           /* success, earned */
  --gk-sage-soft: #e5ecdf;
  --gk-butter: #f3d77e;         /* highlights, points */
  --gk-butter-soft: #fbf0cc;
  --gk-line: #e8dccb;
  --gk-rule-blue: #c9dbe8;      /* index-card lines */
  --gk-rule-red: #e2a59c;
  --gk-shadow: 0 1px 2px rgba(62, 44, 35, .06), 0 6px 18px rgba(62, 44, 35, .07);
  --gk-radius: 14px;

  --bs-body-bg: var(--gk-paper);
  --bs-body-color: var(--gk-ink);
  --bs-body-font-family: "Nunito", system-ui, sans-serif;
  --bs-body-font-size: 1.0625rem;
  --bs-border-color: var(--gk-line);
  --bs-link-color-rgb: 143, 51, 41;
  --bs-link-hover-color-rgb: 181, 71, 58;
}

body {
  background-color: var(--gk-paper);
  /* faint linen texture */
  background-image:
    repeating-linear-gradient(0deg, rgba(62, 44, 35, .018) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(62, 44, 35, .018) 0 1px, transparent 1px 4px);
  line-height: 1.6;
}

h1, h2, h3, .h1, .h2, .h3, .h4, .h5, .navbar-brand, .gk-serif {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  color: var(--gk-ink);
}

.gk-script {
  font-family: "Caveat", cursive;
  font-size: 1.45em;
  line-height: 1.1;
  color: var(--gk-tomato);
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }
.text-muted { color: var(--gk-ink-soft) !important; }

:focus-visible {
  outline: 3px solid var(--gk-butter);
  outline-offset: 2px;
}

/* ---------- navigation with gingham trim ---------- */

.gk-nav {
  background: var(--gk-card);
  border-bottom: 1px solid var(--gk-line);
  position: relative;
}
.gk-nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(181, 71, 58, .55) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(0deg, rgba(181, 71, 58, .55) 0 5px, transparent 5px 10px),
    #fff;
  opacity: .55;
}
.gk-nav .navbar-brand { font-size: 1.55rem; color: var(--gk-tomato-dark); }
.gk-nav .nav-link { color: var(--gk-ink); font-weight: 600; padding: .5rem .75rem; }
.gk-nav .nav-link:hover { color: var(--gk-tomato); }
.gk-badge-count {
  background: var(--gk-tomato);
  color: #fff;
  border-radius: 999px;
  font-size: .75rem;
  padding: .15rem .5rem;
  margin-left: .2rem;
  vertical-align: 2px;
}

main.container { padding-top: 2.25rem !important; }

/* ---------- buttons ---------- */

.btn { border-radius: 999px; font-weight: 700; padding: .55rem 1.25rem; }
.btn-sm { padding: .35rem .9rem; }
.btn-lg { padding: .8rem 1.75rem; }

.btn-gk {
  background: var(--gk-tomato);
  border: 2px solid var(--gk-tomato);
  color: #fff;
}
.btn-gk:hover, .btn-gk:focus, .btn-gk:active {
  background: var(--gk-tomato-dark) !important;
  border-color: var(--gk-tomato-dark) !important;
  color: #fff !important;
}
.btn-link { color: var(--gk-tomato-dark); font-weight: 700; }
.btn-link:hover { color: var(--gk-tomato); }

.btn-gk-soft {
  background: var(--gk-card);
  border: 2px solid var(--gk-line);
  color: var(--gk-ink);
}
.btn-gk-soft:hover { border-color: var(--gk-tomato); color: var(--gk-tomato-dark); }

/* ---------- cards ---------- */

.gk-card {
  background: var(--gk-card);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  box-shadow: var(--gk-shadow);
}
.gk-card .card-body { padding: 1.35rem; }
.gk-card-title { font-size: 1.2rem; margin-bottom: .85rem; }

/* recipe cards in the feed */
.gk-recipe { overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.gk-recipe:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(62, 44, 35, .12); }
.gk-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gk-photo-lg {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--gk-radius);
  border: 8px solid #fff;
  box-shadow: var(--gk-shadow);
}

/* index card: ingredients & steps */
.gk-index-card {
  background: #fff;
  border: 1px solid var(--gk-line);
  border-radius: 6px;
  box-shadow: var(--gk-shadow);
  padding: .9rem 1.4rem 1.2rem;
}
.gk-index-card h2 {
  font-size: 1.25rem;
  margin: 0;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gk-rule-red);
}
.gk-index-card ul, .gk-index-card ol {
  margin: 0;
  padding-left: 1.3rem;
  line-height: 2.1rem;
  background-image: repeating-linear-gradient(
    transparent 0 calc(2.1rem - 1px), var(--gk-rule-blue) calc(2.1rem - 1px) 2.1rem
  );
}

/* ---------- avatars ---------- */

.gk-avatar-sm, .gk-avatar-lg {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gk-line);
}
.gk-avatar-sm { width: 36px; height: 36px; }
.gk-avatar-lg { width: 112px; height: 112px; border-width: 4px; }

/* ---------- reactions ---------- */

.gk-reaction {
  border: 2px solid var(--gk-line);
  background: var(--gk-card);
  font-size: 1.25rem;
  padding: .3rem .9rem;
  font-weight: 700;
  color: var(--gk-ink);
}
.gk-reaction:hover { border-color: var(--gk-tomato); transform: scale(1.06); }
.gk-reaction.active { background: var(--gk-butter-soft); border-color: var(--gk-butter); }
.gk-reaction:active { transform: scale(.94); }

/* ---------- game pieces ---------- */

.gk-level {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.gk-level-emoji {
  font-size: 2rem;
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gk-butter-soft);
  border: 2px solid var(--gk-butter);
  flex: none;
}
.gk-points {
  display: inline-block;
  background: var(--gk-butter-soft);
  border: 1px solid var(--gk-butter);
  border-radius: 999px;
  padding: .05rem .6rem;
  font-weight: 700;
  font-size: .9rem;
}

.gk-bar {
  height: .8rem;
  background: var(--gk-line);
  border-radius: 999px;
  overflow: hidden;
}
.gk-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gk-butter), #e9b949);
  border-radius: 999px;
  transition: width .6s ease;
}

/* cookbook progress with milestones */
.gk-cookbook-track { position: relative; margin: 1.6rem 2.2rem 2.6rem; }
.gk-cookbook-track .gk-bar { height: 1rem; }
.gk-cookbook-track .gk-bar > span { background: linear-gradient(90deg, #d97a5b, var(--gk-tomato)); }
.gk-milestone {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 4.2rem;
}
.gk-milestone-dot {
  width: 2.1rem; height: 2.1rem;
  margin: 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gk-card);
  border: 2px solid var(--gk-line);
  font-size: 1.05rem;
  filter: grayscale(1);
  opacity: .7;
}
.gk-milestone.reached .gk-milestone-dot {
  border-color: var(--gk-tomato);
  filter: none;
  opacity: 1;
}
.gk-milestone-label {
  position: absolute;
  top: 2.4rem; left: 0; right: 0;
  font-size: .75rem;
  color: var(--gk-ink-soft);
  line-height: 1.1;
}

/* badges */
.gk-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem; }
.gk-badge {
  text-align: center;
  padding: 1rem .75rem;
  border-radius: var(--gk-radius);
  border: 2px dashed var(--gk-line);
  background: var(--gk-card);
}
.gk-badge-emoji { font-size: 2rem; filter: grayscale(1); opacity: .45; }
.gk-badge.earned { border: 2px solid var(--gk-sage); background: var(--gk-sage-soft); }
.gk-badge.earned .gk-badge-emoji { filter: none; opacity: 1; }
.gk-badge-name { font-weight: 800; margin-top: .25rem; }
.gk-badge .gk-bar { height: .4rem; margin-top: .5rem; }

/* leaderboard */
.gk-leaderboard { list-style: none; padding: 0; margin: 0; }
.gk-leaderboard li { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; }
.gk-rank { width: 1.6rem; text-align: center; font-size: 1.15rem; }

/* ---------- forms ---------- */

.form-control, .form-select {
  border: 2px solid var(--gk-line);
  border-radius: 10px;
  background: #fff;
  padding: .65rem .9rem;
  font-size: 1.05rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gk-butter);
  box-shadow: 0 0 0 .2rem rgba(243, 215, 126, .45);
}
.form-label { font-weight: 700; }

/* ---------- misc ---------- */

.alert { border-radius: var(--gk-radius); border-width: 2px; font-weight: 600; }
.alert-success { background: var(--gk-sage-soft); border-color: var(--gk-sage); color: #34492c; }
.alert-info { background: var(--gk-butter-soft); border-color: var(--gk-butter); color: var(--gk-ink); }

.gk-unread { background: var(--gk-butter-soft) !important; font-weight: 700; }
.list-group-item { border-color: var(--gk-line); padding: 1rem 1.25rem; }

.gk-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 2px dashed var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
}
.gk-empty-emoji { font-size: 2.75rem; }

.gk-hero {
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
}
.gk-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

.gk-footer {
  text-align: center;
  padding: 2rem 0 2.5rem;
  color: var(--gk-ink-soft);
}

/* ---------- celebration ---------- */

#gk-fireworks {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2000;
}
.gk-celebrate .modal-content {
  border: 0;
  border-radius: 22px;
  background: var(--gk-card);
  box-shadow: 0 30px 80px rgba(62, 44, 35, .35);
  text-align: center;
  overflow: hidden;
}
.gk-celebrate .modal-content::before {
  content: "";
  display: block;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(181, 71, 58, .7) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(181, 71, 58, .7) 0 7px, transparent 7px 14px),
    #fff;
}
.gk-celebrate-book { font-size: 4.5rem; animation: gk-bounce 1.2s ease infinite; }
@keyframes gk-bounce {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.form-check-input {
  width: 1.3em;
  height: 1.3em;
  margin-top: .15em;
  border: 2px solid var(--gk-ink-soft);
}
.form-check-input:checked {
  background-color: var(--gk-tomato);
  border-color: var(--gk-tomato);
}

/* ---------- Find Pods feed ---------- */

.gk-feed { max-width: 560px; margin: 0 auto; }

.gk-post { overflow: hidden; }
.gk-post-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1rem;
}
.gk-post-body { padding: 1rem 1.15rem 1.25rem; }

.gk-carousel { position: relative; background: #f3ebe0; }
.gk-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 4 / 5;
}
.gk-carousel-track::-webkit-scrollbar { display: none; }
.gk-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.gk-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 253, 248, .92);
  color: var(--gk-ink);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.gk-carousel-btn.prev { left: .6rem; }
.gk-carousel-btn.next { right: .6rem; }
.gk-carousel-btn[hidden] { display: none; }
.gk-carousel-dots {
  position: absolute;
  bottom: .7rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: .35rem;
}
.gk-carousel-dots span {
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 2px rgba(0, 0, 0, .3);
}
.gk-carousel-dots span.active { background: #fff; transform: scale(1.2); }

.gk-post-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background:
    repeating-linear-gradient(90deg, rgba(181, 71, 58, .14) 0 22px, transparent 22px 44px),
    repeating-linear-gradient(0deg, rgba(181, 71, 58, .14) 0 22px, transparent 22px 44px),
    var(--gk-paper);
  text-align: center;
  padding: 1rem;
}
.gk-post-placeholder-emoji { font-size: 4.5rem; }
.gk-post-placeholder .gk-script { font-size: 2.2rem; }

.gk-join summary { list-style: none; }
.gk-join summary::-webkit-details-marker { display: none; }
.gk-join[open] summary { display: none; }

/* ---------- private / public choice ---------- */

.gk-privacy-options { display: grid; gap: .6rem; }
@media (min-width: 576px) { .gk-privacy-options { grid-template-columns: 1fr 1fr; } }
.gk-privacy-option {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .9rem 1rem;
  border: 2px solid var(--gk-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.gk-privacy-option:hover { border-color: var(--gk-tomato); }
.gk-privacy-option:has(input:checked) {
  border-color: var(--gk-tomato);
  background: var(--gk-butter-soft);
}
.gk-privacy-option input { margin-top: .2rem; flex: none; }
.form-check { padding-left: 2.1em !important; }
.form-check .form-check-input { margin-left: -2.1em; }

/* ---------- staff dashboard ---------- */

.gk-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.gk-stat {
  background: var(--gk-card);
  border: 1px solid var(--gk-line);
  border-radius: var(--gk-radius);
  box-shadow: var(--gk-shadow);
  padding: 1rem 1.15rem;
}
.gk-stat-label { font-weight: 700; color: var(--gk-ink-soft); font-size: .9rem; }
.gk-stat-value { font-family: "Lora", Georgia, serif; font-size: 2.2rem; font-weight: 700; line-height: 1.15; }
.gk-stat-note { font-size: .82rem; color: var(--gk-ink-soft); }

/* weekly column chart */
.gk-chart { display: flex; gap: .5rem; height: 220px; padding-bottom: 1.6rem; }
.gk-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gk-ink-soft);
  text-align: right;
  min-width: 1.5rem;
  margin: -.5em 0;
}
.gk-chart-plot { position: relative; flex: 1; }
.gk-chart-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.gk-chart-grid span { height: 1px; background: var(--gk-line); }
.gk-chart-grid span:last-child { background: #cbbca8; }   /* baseline */
.gk-chart-cols { position: absolute; inset: 0; display: flex; gap: 2px; }
.gk-chart-col {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  outline: none;
  cursor: default;
}
.gk-chart-bar-wrap { position: relative; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.gk-chart-bar {
  width: 100%;
  max-width: 24px;
  min-height: 0;
  background: var(--gk-tomato);
  border-radius: 4px 4px 0 0;
}
.gk-chart-value {
  position: absolute;
  left: 0; right: 0;
  margin-bottom: .2rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gk-ink);
}
.gk-chart-xlabel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: .35rem;
  font-size: .72rem;
  color: var(--gk-ink-soft);
  white-space: nowrap;
}
@media (max-width: 767px) { .gk-chart-xlabel-minor { display: none; } }
.gk-chart-col::before {            /* hover / focus highlight column */
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  border-radius: 4px;
  background: transparent;
}
.gk-chart-col:hover::before,
.gk-chart-col:focus-visible::before { background: rgba(243, 215, 126, .28); }
.gk-chart-col:focus-visible { box-shadow: 0 0 0 2px var(--gk-butter); border-radius: 4px; }
.gk-chart-tip {
  display: none;
  position: absolute;
  bottom: calc(100% + .25rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  background: var(--gk-ink);
  color: #fff;
  font-size: .8rem;
  line-height: 1.3;
  padding: .4rem .6rem;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  pointer-events: none;
}
.gk-chart-tip span { opacity: .8; }
.gk-chart-col:hover .gk-chart-tip,
.gk-chart-col:focus-visible .gk-chart-tip { display: block; }
.gk-chart-col:first-child .gk-chart-tip { left: 0; transform: none; }
.gk-chart-col:last-child .gk-chart-tip { left: auto; right: 0; transform: none; }

/* attention list and status pills: always icon/label + color, never color alone */
.gk-attn {
  display: flex;
  gap: .6rem;
  padding: .55rem .65rem;
  margin-bottom: .5rem;
  border-radius: 10px;
  border-left: 4px solid var(--gk-line);
  background: #fff;
}
.gk-attn-icon { font-size: 1.15rem; }
.gk-pill {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
}
.gk-tone-good { border-color: #6f8f62; }
.gk-pill.gk-tone-good { background: var(--gk-sage-soft); color: #34492c; }
.gk-tone-warning { border-color: #d9a520; }
.gk-pill.gk-tone-warning { background: var(--gk-butter-soft); color: #6b4e00; }
.gk-tone-critical { border-color: var(--gk-tomato); }
.gk-pill.gk-tone-critical { background: #f8e1dd; color: var(--gk-tomato-dark); }
.gk-tone-muted { border-color: #cbbca8; }
.gk-pill.gk-tone-muted { background: #f1ebe3; color: var(--gk-ink-soft); }
.gk-pill.gk-tone-neutral { background: #fff; border-color: var(--gk-line); color: var(--gk-ink); }

.gk-table { --bs-table-bg: transparent; font-size: .95rem; }
.gk-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gk-ink-soft); font-weight: 800; }
.gk-chip {
  display: inline-block;
  padding: .05rem .5rem;
  margin: 0 .25rem .25rem 0;
  border-radius: 999px;
  background: var(--gk-butter-soft);
  border: 1px solid var(--gk-butter);
  font-size: .8rem;
  white-space: nowrap;
}

/* ---------- mobile: bottom tab bar ---------- */

.gk-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--gk-line);
  padding: .35rem .25rem calc(.35rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(62, 44, 35, .06);
}
.gk-tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  min-height: 48px;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gk-ink-soft);
  text-decoration: none;
}
.gk-tabbar a > span, .gk-tab-icon { font-size: 1.35rem; line-height: 1; position: relative; }
.gk-tabbar a.active { color: var(--gk-tomato-dark); }
.gk-tab-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 2px solid transparent; }
.gk-tabbar a.active .gk-tab-avatar { border-color: var(--gk-tomato); }
.gk-tab-dot {
  position: absolute;
  top: -.35rem; right: -.7rem;
  min-width: 1.1rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--gk-tomato);
  color: #fff;
  font-size: .65rem;
  line-height: 1.1rem;
  text-align: center;
}
.gk-tabbar .gk-tab-share {
  flex: none;
  width: 58px; height: 58px;
  min-height: 0;
  margin: -1.35rem .5rem 0;
  border-radius: 50%;
  background: var(--gk-tomato);
  color: #fff;
  box-shadow: 0 6px 16px rgba(181, 71, 58, .4);
  border: 4px solid var(--gk-paper);
}
.gk-tabbar .gk-tab-share span { font-size: 2rem; font-weight: 400; line-height: 1; }
.gk-tabbar .gk-tab-share:active { transform: scale(.94); }

@media (max-width: 767.98px) {
  body.has-tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.has-tabbar .gk-footer { padding-bottom: 1rem; }

  main.container { padding-top: 1.5rem !important; }
  h1, .h1 { font-size: 1.75rem; }

  /* edge-to-edge photo cards on phones, like a social feed */
  .gk-feed, .gk-recipe-feed { margin-left: -12px; margin-right: -12px; }
  .gk-feed > p, .gk-feed > h1, .gk-feed > form { padding: 0 12px; }
  .gk-post, .gk-recipe { border-radius: 0; border-left: 0; border-right: 0; }

  .gk-photo-lg { border-width: 0; border-radius: 0; margin-left: -12px; width: calc(100% + 24px); max-width: none; }

  /* bigger touch targets */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .gk-reaction { min-width: 52px; min-height: 44px; }
}

/* ---------- photo picker on the share form ---------- */

.gk-photo-picker {
  border: 2px dashed var(--gk-line);
  border-radius: var(--gk-radius);
  background: var(--gk-card);
  padding: 1rem;
  text-align: center;
}
.gk-photo-picker-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: 1.5rem 0 1rem;
  cursor: pointer;
}
.gk-photo-picker-emoji { font-size: 3rem; }
.gk-photo-picker-preview {
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .75rem;
}
.gk-photo-picker-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.gk-photo-picker-actions .btn { flex: 1 1 10rem; }
.gk-photo-picker.is-enhanced .gk-photo-picker-empty:not([hidden]) { display: flex; }
.gk-photo-picker.is-enhanced [data-photo-input] {   /* visually hidden but still part of the form */
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.gk-photo-picker-status:empty { display: none; }
.gk-photo-picker-status { margin-top: .5rem; }

/* ---------- small icon buttons, switches, pickers ---------- */

.gk-icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 0;
  font-size: 1.05rem;
  opacity: .65;
}
.gk-icon-btn:hover, .gk-icon-btn:focus-visible { opacity: 1; background: var(--gk-butter-soft); }

.gk-switch .form-check-input { width: 3em; height: 1.6em; margin-top: 0; cursor: pointer; }
.gk-switch .form-check-label { margin-left: .6rem; padding-top: .15rem; }
.form-switch.gk-switch { padding-left: 3.6em !important; }
.form-switch.gk-switch .form-check-input { margin-left: -3.6em; }

.gk-pick { text-decoration: none; }
.gk-pick:hover { border-color: var(--gk-tomato); text-decoration: none; }

/* ---------- Kitchen Plus ---------- */
.gk-plan {
  border: 2px solid var(--gk-line);
  border-radius: var(--gk-radius);
  background: #fff;
  padding: 1.25rem 1rem;
  height: 100%;
}
.gk-plan-best { border-color: var(--gk-butter); background: var(--gk-butter-soft); }
.gk-plan-price { font-family: "Lora", Georgia, serif; font-size: 2.2rem; font-weight: 700; }

/* ---------- cook mode ---------- */
.gk-cook-card { min-height: 38vh; }
.gk-cook-step { font-size: clamp(1.35rem, 4.5vw, 1.9rem); line-height: 1.45; margin: 0; }
.gk-cook-ingredients { list-style: none; font-size: 1.1rem; }
.gk-cook-ingredients li { padding: .3rem 0; }
.gk-cook-ingredients input:checked + * , .gk-cook-ingredients label:has(input:checked) { text-decoration: line-through; color: var(--gk-ink-soft); }
.gk-ask-log { max-height: 40vh; overflow-y: auto; margin-bottom: .75rem; }
.gk-ask-log p { padding: .6rem .85rem; border-radius: 14px; margin-bottom: .5rem; max-width: 90%; }
.gk-ask-you { background: var(--gk-butter-soft); margin-left: auto; }
.gk-ask-helper { background: #fff; border: 1px solid var(--gk-line); white-space: pre-line; }
.gk-ask-error { border-color: var(--gk-rule-red); }

/* ---------- recipe video ---------- */
.gk-video { width: 100%; max-height: 70vh; border-radius: var(--gk-radius); background: #000; }
@media (max-width: 767.98px) { .gk-video { border-radius: 0; margin-left: -12px; width: calc(100% + 24px); } }

/* ---------- legal pages ---------- */
.gk-legal h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.gk-legal li { margin-bottom: .35rem; }

/* ---------- scanned recipe cards ---------- */
.gk-recipe-media { position: relative; display: block; }
.gk-photo-card { object-fit: contain; background: #f3ebe0; }
.gk-photo-placeholder { display: grid; place-items: center; font-size: 3rem; background: var(--gk-butter-soft); }
.gk-card-tag {
  position: absolute; left: .75rem; bottom: .75rem;
  background: rgba(255, 253, 248, .95); border-radius: 999px; padding: .15rem .65rem;
  font-size: .8rem; font-weight: 700; color: var(--gk-ink); box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.gk-scan-list { margin: 0 0 1rem; }
.gk-scan-item {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--gk-line); border-radius: 12px;
  padding: .7rem .9rem; margin-bottom: .5rem;
}
.gk-scan-icon { font-size: 1.3rem; width: 1.6rem; text-align: center; }
.gk-scan-item.is-done { border-color: var(--gk-sage); }
.gk-scan-item.is-error { border-color: var(--gk-rule-red); background: #fff7f5; }

/* ---------- pod QR code ---------- */
.gk-qr-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--gk-shadow);
  border: 1px solid var(--gk-line);
  max-width: 340px;
}
.gk-qr-card svg { width: 100%; height: auto; display: block; }
.gk-join-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.print-only { display: none; }
@media print {
  .no-print, .gk-nav, .gk-tabbar, .gk-footer, .alert { display: none !important; }
  .print-only { display: block; }
  body { background: #fff; padding: 0 !important; }
  .gk-qr-card { box-shadow: none; max-width: 4in; }
}

/* =====================================================================
   Instagram-style layout (2026-11 redesign)
   Same warm colors, familiar social-app structure.
   ===================================================================== */

.gk-min0 { min-width: 0; }
.gk-avatar-md {
  width: 44px; height: 44px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--gk-line);
}
.gk-page, .gk-recipe-page { max-width: 640px; margin: 0 auto; }

/* ---------- top bar ---------- */
.gk-nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.gk-brand { font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 1.4rem; color: var(--gk-tomato-dark); white-space: nowrap; }
.gk-brand:hover { text-decoration: none; color: var(--gk-tomato); }
.gk-nav-icons { display: flex; align-items: center; gap: .15rem; }
.gk-nav-icon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: .2rem .55rem;
  background: none; border: 0; border-radius: 12px;
  color: var(--gk-ink); font-size: 1.35rem; line-height: 1;
}
.gk-nav-icon:hover { background: var(--gk-butter-soft); text-decoration: none; color: var(--gk-ink); }
.gk-nav-icon.active { color: var(--gk-tomato-dark); }
.gk-nav-icon.active .gk-nav-label { color: var(--gk-tomato-dark); }
.gk-nav-icon .gk-tab-avatar { width: 24px; height: 24px; }
.gk-nav-icon.active .gk-tab-avatar { border-color: var(--gk-tomato); }
.gk-nav-label { font-size: .7rem; font-weight: 700; margin-top: .2rem; color: var(--gk-ink-soft); }
@media (max-width: 767.98px) {
  .gk-nav-label { display: none; }
  .gk-brand { font-size: 1.25rem; }
}

/* ---------- "More" bottom sheet ---------- */
.gk-sheet.offcanvas-bottom {
  height: auto; max-height: 85vh;
  border-radius: 20px 20px 0 0;
  max-width: 520px; margin: 0 auto;
  background: var(--gk-card);
  padding-bottom: env(safe-area-inset-bottom);
}
.gk-sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--gk-line); margin: .6rem auto 0; }
.gk-menu-list a, .gk-menu-list button {
  display: flex; align-items: center; gap: .85rem; width: 100%;
  padding: .85rem .5rem; border: 0; border-bottom: 1px solid var(--gk-line);
  background: none; color: var(--gk-ink); font-weight: 600; font-size: 1.05rem; text-align: left;
}
.gk-menu-list a:hover, .gk-menu-list button:hover { background: var(--gk-butter-soft); text-decoration: none; }
.gk-menu-list span[aria-hidden] { width: 1.6rem; text-align: center; font-size: 1.2rem; }
.gk-menu-list form:last-child button { border-bottom: 0; }

/* ---------- home: stories + feed + side column ---------- */
.gk-home { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; max-width: 470px; margin: 0 auto; }
@media (min-width: 992px) { .gk-home { grid-template-columns: minmax(0, 470px) 300px; max-width: 830px; } }
.gk-home .gk-feed { max-width: none; }
.gk-home-side { position: sticky; top: 1.5rem; align-self: start; }
.gk-side-me { display: flex; align-items: center; gap: .75rem; color: var(--gk-ink); margin-bottom: 1.25rem; }
.gk-side-me:hover { text-decoration: none; }
.gk-side-title { font-family: inherit; font-size: .85rem; font-weight: 800; color: var(--gk-ink-soft); margin: 0 0 .25rem; }

.gk-stories {
  display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none;
  padding: .25rem .1rem 1rem; margin-bottom: .75rem;
  border-bottom: 1px solid var(--gk-line);
  scroll-snap-type: x proximity;
}
.gk-stories::-webkit-scrollbar { display: none; }
.gk-story { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: none; width: 74px; color: var(--gk-ink); scroll-snap-align: start; }
.gk-story:hover { text-decoration: none; }
/* the ring is a cookbook progress meter: it fills clockwise toward the printed book */
.gk-story-ring {
  --p: 0;
  display: grid; place-items: center;
  width: 70px; height: 70px; border-radius: 50%; padding: 3px;
  background: conic-gradient(var(--gk-tomato) calc(var(--p) * 1%), var(--gk-line) 0);
}
.gk-story-ring.is-new { background: none; border: 2px dashed var(--gk-line); }
.gk-story-img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--gk-paper); background: var(--gk-butter-soft);
  display: grid; place-items: center; font-size: 1.7rem; color: var(--gk-tomato-dark);
}
.gk-story-name { font-size: .75rem; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- feed posts ---------- */
.gk-feed .gk-post { margin-bottom: 1.5rem; }
.gk-post-head { padding: .65rem .85rem; }
.gk-post-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f3ebe0; overflow: hidden; user-select: none; -webkit-user-select: none; }
.gk-post-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gk-post-media > img.gk-photo-card { object-fit: contain; }
.gk-post-media > .gk-photo-placeholder { width: 100%; height: 100%; font-size: 4rem; }
.gk-post-full .gk-post-media { aspect-ratio: auto; max-height: 75vh; }
.gk-post-full .gk-post-media > img { max-height: 75vh; height: auto; }
.gk-burst {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 6rem; opacity: 0; transform: scale(.4); pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
}
.gk-burst.go { animation: gk-burst .8s ease forwards; }
@keyframes gk-burst {
  15% { opacity: .95; transform: scale(1.15); }
  30% { transform: scale(.95); }
  70% { opacity: .95; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

.gk-post-actions { display: flex; align-items: center; gap: .15rem; padding: .35rem .5rem 0; }
.gk-post-actions form { margin: 0; }
.gk-act {
  display: inline-flex; align-items: center; gap: .3rem;
  min-width: 44px; min-height: 44px; padding: 0 .45rem; justify-content: center;
  background: none; border: 0; border-radius: 12px;
  color: var(--gk-ink); font-weight: 700; font-size: 1.15rem;
}
.gk-act:hover { text-decoration: none; color: var(--gk-ink); background: var(--gk-butter-soft); }
.gk-act svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.gk-like.on { color: #d6453a; }
.gk-like.on svg { fill: currentColor; }
.gk-like.pop svg { animation: gk-pop .35s ease; }
@keyframes gk-pop { 50% { transform: scale(1.25); } }
.gk-emoji-act { filter: grayscale(.85); opacity: .7; }
.gk-emoji-act.on { filter: none; opacity: 1; background: var(--gk-butter-soft); }
.gk-act-count { font-size: .9rem; }
.gk-act-count:empty { display: none; }
.gk-act-cook { font-size: .9rem; color: var(--gk-tomato-dark); }
.gk-act-cook span { font-weight: 800; }
.gk-post-body { padding: .15rem 1rem 1rem; }
.gk-caption { margin-left: .2rem; }
.gk-post-time { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gk-ink-soft); margin-top: .35rem; }
.gk-post-full .gk-video { border-radius: 0; margin: 0; width: 100%; }

/* ---------- profile-style header (pods and people) ---------- */
.gk-profile-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: .9rem; }
.gk-profile-pic { flex: none; width: 88px; height: 88px; }
.gk-profile-pic .gk-story-img { font-size: 2.3rem; }
.gk-profile-photo { border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gk-line); }
.gk-profile-stats { display: flex; flex: 1; justify-content: space-around; text-align: center; }
.gk-profile-stats > * { display: flex; flex-direction: column; color: var(--gk-ink); font-size: .85rem; line-height: 1.25; }
.gk-profile-stats > a:hover { text-decoration: none; color: var(--gk-tomato-dark); }
.gk-profile-stats strong { font-size: 1.15rem; font-weight: 800; }
.gk-profile-actions { display: flex; gap: .5rem; margin-bottom: 1rem; }
.gk-profile-actions > .btn { flex: 1; padding-left: .5rem; padding-right: .5rem; }
.gk-profile-actions .gk-more-btn, .gk-profile-actions .dropdown { flex: none; }
.gk-more-btn { padding-left: .9rem !important; padding-right: .9rem !important; }
.gk-level-mini .gk-bar { height: .4rem; }
@media (min-width: 768px) {
  .gk-profile-pic { width: 128px; height: 128px; }
  .gk-profile-head { gap: 3rem; }
}

.gk-attn-card { padding: .9rem 1rem; border: 2px solid var(--gk-butter); background: var(--gk-butter-soft); }
.gk-cookbook-card { padding: .9rem 1rem .75rem; }
.gk-cookbook-card .gk-cookbook-track { margin: 1.2rem 1.6rem 2.4rem; }

/* tabs above the grid */
.gk-tabs { display: flex; justify-content: center; gap: 2.5rem; border-top: 1px solid var(--gk-line); margin-top: .5rem; }
.gk-tabs > * {
  padding: .75rem 0 .6rem; margin-top: -1px;
  font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gk-ink-soft); border-top: 2px solid transparent;
}
.gk-tabs > .active { color: var(--gk-ink); border-top-color: var(--gk-ink); }
.gk-tabs > a:hover { text-decoration: none; color: var(--gk-ink); }

/* 3-across photo grid */
.gk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-bottom: 1.5rem; }
.gk-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gk-butter-soft); }
.gk-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gk-tile img.gk-photo-card { object-fit: contain; background: #f3ebe0; }
.gk-tile-text {
  position: absolute; inset: 0; display: grid; place-items: center; padding: .5rem;
  text-align: center; font-family: "Lora", Georgia, serif; font-weight: 600; color: var(--gk-ink); font-size: .9rem;
}
.gk-tile-flag { position: absolute; top: .3rem; right: .4rem; font-size: .95rem; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.gk-tile-hover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(62, 44, 35, .45); color: #fff; font-weight: 800; opacity: 0; transition: opacity .15s;
}
.gk-tile:hover { text-decoration: none; }
@media (hover: hover) { .gk-tile:hover .gk-tile-hover { opacity: 1; } }

/* list rows: members, activity */
.gk-row { display: flex; align-items: center; gap: .75rem; padding: .6rem .5rem; color: var(--gk-ink); border-radius: 12px; }
a.gk-row:hover { text-decoration: none; background: var(--gk-butter-soft); color: var(--gk-ink); }
.gk-row.gk-unread { font-weight: 400 !important; }
.gk-row.gk-unread::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gk-tomato); margin-right: -.35rem; }
.gk-row-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--gk-card); border: 1px solid var(--gk-line);
}
.gk-row-action .gk-row-icon { background: var(--gk-tomato); color: #fff; border: 0; font-size: 1.5rem; }
.gk-row-thumb { flex: none; width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }

/* badges as story highlights */
.gk-highlights { display: flex; gap: .9rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem .5rem; }
.gk-highlights::-webkit-scrollbar { display: none; }
.gk-highlight { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: none; width: 70px; background: none; border: 0; padding: 0; color: var(--gk-ink); }
.gk-highlight-circle {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem;
  background: #f1ebe3; border: 2px solid var(--gk-line); filter: grayscale(1); opacity: .55;
}
.gk-highlight.earned .gk-highlight-circle { filter: none; opacity: 1; background: var(--gk-sage-soft); border-color: var(--gk-sage); }

/* recipe page */
.gk-recipe-cards { display: grid; gap: 1rem; margin: 1.25rem 0; }
.gk-recipe-cards .gk-index-card { margin: 0; }
.gk-comments { padding: 1rem; margin-bottom: 1.5rem; }
.gk-comment { display: flex; gap: .65rem; align-items: flex-start; padding: .45rem 0; }
.gk-comment-box { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--gk-line); padding-top: .75rem; margin-top: .5rem; }
.gk-comment-box textarea { resize: none; border-radius: 999px; padding: .5rem 1rem; min-height: 0; overflow: hidden; }

/* first-visit welcome */
.gk-welcome { padding: 1.5rem 1.25rem; }
.gk-welcome-option {
  display: flex; gap: .9rem; align-items: center; padding: .9rem; margin-bottom: .6rem;
  border: 2px solid var(--gk-line); border-radius: var(--gk-radius); background: #fff; color: var(--gk-ink);
}
.gk-welcome-option > span:first-child { font-size: 1.8rem; }
a.gk-welcome-option:hover { border-color: var(--gk-tomato); text-decoration: none; color: var(--gk-ink); }

/* phones: edge-to-edge like a native social app */
@media (max-width: 767.98px) {
  .gk-feed { margin-left: -12px; margin-right: -12px; }
  .gk-feed .gk-post, .gk-post-full { border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .gk-feed .gk-post { margin-bottom: .5rem; }
  .gk-post-full { margin-left: -12px; margin-right: -12px; }
  .gk-page .gk-grid { margin-left: -12px; margin-right: -12px; }
  main.container { padding-top: 1rem !important; }
}

/* fixes after the phone check */
.gk-story-ring { position: relative; box-sizing: border-box; flex: none; }
.gk-story-ring > .gk-story-img { position: absolute; inset: 3px; width: auto; height: auto; }
.gk-profile-actions { align-items: center; }
.gk-profile-actions > .btn { white-space: nowrap; font-size: .92rem; padding-top: .45rem; padding-bottom: .45rem; }
.gk-cookbook-card .gk-cookbook-track { margin-bottom: 3.1rem; }
.gk-story-ring > .gk-story-img { width: calc(100% - 6px); height: calc(100% - 6px); }
.gk-post-actions .btn { white-space: nowrap; }

/* ---------- the cookbook, made visible (it's the point of the app) ---------- */
.gk-book {
  position: relative; flex: none;
  width: 150px; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 1rem .8rem 1rem 1.2rem;
  background:
    linear-gradient(90deg, rgba(0,0,0,.22) 0 9px, rgba(255,255,255,.12) 9px 11px, transparent 11px),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 6px, transparent 6px 12px),
    var(--gk-tomato);
  color: #fff8ec; border-radius: 4px 12px 12px 4px;
  box-shadow: 6px 8px 0 -2px #efe4d2, 6px 8px 0 -1px var(--gk-line), 0 12px 24px rgba(62, 44, 35, .25);
}
.gk-book::after {               /* gold frame on the cover */
  content: ""; position: absolute; inset: 10px 8px 10px 16px;
  border: 1.5px solid rgba(243, 215, 126, .75); border-radius: 6px; pointer-events: none;
}
.gk-book-kicker { font-family: "Caveat", cursive; font-size: 1.15rem; line-height: 1; color: var(--gk-butter); }
.gk-book-title { font-family: "Lora", Georgia, serif; font-weight: 700; font-size: 1.1rem; line-height: 1.15; margin: .2rem 0; overflow-wrap: anywhere; }
.gk-book-count { font-size: .7rem; font-weight: 700; margin-top: .6rem; opacity: .9; }
.gk-book-lg { width: 220px; }
.gk-book-lg .gk-book-title { font-size: 1.6rem; }
.gk-book-lg .gk-book-kicker { font-size: 1.6rem; }

.gk-hero-book { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; text-align: left; }
.gk-hero-copy { flex: 1 1 320px; max-width: 560px; }
@media (max-width: 767.98px) { .gk-hero-book { flex-direction: column-reverse; text-align: center; gap: 1.5rem; } }

.gk-book-hero { display: flex; gap: 1.25rem; align-items: center; margin: 1.25rem 0 1rem; }
@media (max-width: 420px) { .gk-book-hero .gk-book { width: 112px; } .gk-book-hero h2 { font-size: 1.1rem; } }

/* banner on home and pod pages */
.gk-book-banner {
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem 1rem; margin-bottom: 1rem;
  background: var(--gk-card); border: 2px solid var(--gk-butter); border-radius: var(--gk-radius);
  color: var(--gk-ink); box-shadow: var(--gk-shadow);
}
.gk-book-banner:hover { text-decoration: none; color: var(--gk-ink); border-color: var(--gk-tomato); }
.gk-book-banner.is-ready { background: var(--gk-butter-soft); }
.gk-book-banner .gk-bar { height: .4rem; }
.gk-mini-book {
  flex: none; width: 44px; height: 58px; border-radius: 2px 6px 6px 2px; position: relative;
  background: linear-gradient(90deg, rgba(0,0,0,.25) 0 5px, transparent 5px), var(--gk-tomato);
  box-shadow: 3px 3px 0 -1px #efe4d2, 3px 3px 0 0 var(--gk-line);
  display: grid; place-items: center; overflow: hidden;
}
.gk-mini-book span { font-family: "Lora", serif; font-size: .45rem; font-weight: 700; color: #fff8ec; padding: 0 4px 0 8px; line-height: 1.1; text-align: center; max-height: 3.4em; overflow: hidden; }

.gk-cookbook-line {
  display: inline-block; margin-top: .45rem; padding: .15rem .6rem;
  font-size: .8rem; font-weight: 700; color: var(--gk-tomato-dark);
  background: var(--gk-butter-soft); border-radius: 999px;
}
.gk-cookbook-line:hover { text-decoration: none; background: var(--gk-butter); color: var(--gk-ink); }

.gk-contents { counter-reset: none; }
.gk-contents-empty { color: var(--gk-ink-soft); min-height: 1.6em; }
.gk-contents-empty::marker { color: #cbbca8; }

.gk-how { padding-left: 1.3rem; }
.gk-how li { margin-bottom: .2rem; }

/* save bookmark */
.gk-save.on { color: var(--gk-tomato-dark); }
.gk-save.on svg { fill: currentColor; }
.gk-save.pop svg { animation: gk-pop .35s ease; }

.gk-invite-more summary { cursor: pointer; color: var(--gk-tomato-dark); font-weight: 700; }
.gk-cookbook-card .btn { white-space: nowrap; font-size: .92rem; padding-left: .6rem; padding-right: .6rem; }

/* inside the phone app vs. on the web (store rules) */
html:not(.is-native-app) .native-only { display: none !important; }
.is-native-app .web-only { display: none !important; }
