/* /fiokom – signed-in dashboard (2026). Scoped to .acc3 so the legacy account styles do not interfere. */

body.account-page:not(.mk-account-guest) .account-main { width: min(97%, 1680px) !important; max-width: none !important; margin: 0 auto !important; padding: 8px 0 72px !important }
.acc3 {
  --a3-ink: #0b2236; --a3-muted: #5a6b7b; --a3-line: #e6ebf1; --a3-card: #fff; --a3-orange: #f26a1b; --a3-orange-deep: #d94f00;
  --a3-shadow: 0 1px 2px #1027430f, 0 10px 28px #1027430d; --a3-radius: 22px;
  display: grid; gap: 18px; color: var(--a3-ink); font-family: var(--mk-type-reading, Nunito, system-ui, sans-serif);
}
.acc3 *, .acc3 *::before, .acc3 *::after { box-sizing: border-box }
.acc3 h1, .acc3 h2, .acc3 h3 { color: var(--a3-ink); letter-spacing: -.01em }
.acc3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.acc3-card { background: var(--a3-card); border: 1px solid var(--a3-line); border-radius: var(--a3-radius); box-shadow: var(--a3-shadow); padding: 20px 22px }
.acc3-card > h2, .acc3-card-head h2 { margin: 0; font-size: 20px; font-weight: 900; display: flex; align-items: center; gap: 10px }
.acc3-card > h2 > i, .acc3-card-head h2 > i { color: var(--a3-orange) }
.acc3-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px }
.acc3-muted { color: var(--a3-muted); margin: 0; font-size: 14px; line-height: 1.5 }
.acc3-link { color: var(--a3-orange-deep); font-weight: 800; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 2px 4px }
.acc3-link:hover { background: #fff1e6 }
.acc3-link:focus-visible { outline: 2px solid var(--a3-orange); outline-offset: 2px }
html[dir="rtl"] .acc3 .fa-arrow-right { transform: scaleX(-1) }

/* Buttons (Material 3 state layers) */
.acc3-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid #d5dce5; background: #fff; color: var(--a3-ink); font: 800 14px/1.1 inherit; text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: box-shadow .15s ease, background-image .15s ease;
}
.acc3-btn:hover { background-image: linear-gradient(#0b223612, #0b223612); box-shadow: 0 1px 2px #0000004d, 0 1px 3px 1px #00000026 }
.acc3-btn:focus-visible { outline: 3px solid #fbd0ae; outline-offset: 2px }
.acc3-btn-primary { border: 0; color: #fff; background-color: transparent; background-image: linear-gradient(180deg, #ff8a2b, #f26a1b 55%, #d94f00); box-shadow: 0 6px 16px #f26a1b4d }
.acc3-btn-primary:hover { background-image: linear-gradient(#ffffff1f, #ffffff1f), linear-gradient(180deg, #ff8a2b, #f26a1b 55%, #d94f00); box-shadow: 0 8px 20px #f26a1b66 }
.acc3-btn-icon { width: 44px; padding: 0 }
.acc3-btn-light { border: 0; background: #fff; color: var(--a3-orange-deep) }
.acc3 form { margin: 0 }

/* Hero */
.acc3-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 28px 30px; border-radius: 28px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #1f5a46 0%, #0e3a3d 45%, #0b2236 100%);
  box-shadow: 0 18px 40px #0b223633;
}
.acc3-hero-glow { position: absolute; inset: auto -80px -120px auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, #f26a1b55, transparent 65%); pointer-events: none }
.acc3-hero::before { content: ""; position: absolute; inset: 0; background: url("../assets/maikaja-page-background.webp") center / cover; opacity: .08; mix-blend-mode: screen; pointer-events: none }
.acc3-profile { position: relative; display: flex; align-items: center; gap: 22px; min-width: 0 }
.acc3-avatar {
  position: relative; flex: 0 0 132px; width: 132px; height: 132px; border-radius: 50%; padding: 7px;
  background: conic-gradient(#ffb703 0 var(--acc3-level), #ffffff2e var(--acc3-level) 100%);
}
.acc3-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid #0e3a3d; background: #fff }
.acc3-avatar-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none }
.acc3-avatar-upload label {
  position: absolute; right: 2px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--a3-ink); box-shadow: 0 4px 10px #0004; transition: transform .15s ease, background-color .15s ease;
}
.acc3-avatar-upload label:hover { transform: scale(1.08); background: #fff4ea }
.acc3-avatar-upload input:focus-visible + label { outline: 3px solid #ffd27a; outline-offset: 2px }
.acc3-level-badge {
  position: absolute; left: 0; top: 4px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffe08a, #ffb703 60%, #f59f00); color: #3d2600; font-weight: 900; font-size: 15px; box-shadow: 0 4px 10px #0004;
}
.acc3-greeting { min-width: 0 }
.acc3-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #b8f0cf }
.acc3-eyebrow.is-light { color: #ffe6d3 }
.acc3-greeting h1 { margin: 6px 0 6px; color: #fff; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.08; font-weight: 900; overflow-wrap: anywhere }
.acc3-wave { display: inline-block; transform-origin: 70% 70%; animation: acc3-wave 2.4s ease-in-out 1s 2 }
@keyframes acc3-wave { 0%,60%,100% { transform: rotate(0) } 10%,30% { transform: rotate(16deg) } 20% { transform: rotate(-8deg) } }
.acc3-greeting p { margin: 0 0 12px; color: #d6e4ea; font-size: 15px; line-height: 1.5; max-width: 60ch }
.acc3-level-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #ffffff1f; border: 1px solid #ffffff33; font-weight: 800; font-size: 14px; color: #fff }
.acc3-level-chip i { color: #ffd27a }
.acc3-hero-side { position: relative; display: grid; gap: 14px; justify-items: end; min-width: 300px }
.acc3-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end }
.acc3-hero .acc3-btn:not(.acc3-btn-primary) { background: #ffffff1a; color: #fff; border-color: #ffffff40 }
.acc3-hero .acc3-btn:not(.acc3-btn-primary):hover { background-image: linear-gradient(#ffffff1f, #ffffff1f) }
.acc3-points {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 20px; text-decoration: none; color: var(--a3-ink);
  background: linear-gradient(135deg, #fff9e8, #fff); box-shadow: 0 10px 24px #0003; transition: transform .15s ease, box-shadow .15s ease;
}
.acc3-points:hover { transform: translateY(-2px); box-shadow: 0 14px 30px #0004 }
.acc3-points:focus-visible { outline: 3px solid #ffd27a; outline-offset: 3px }
.acc3-points-coin {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #8a4b00;
  background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc93c 55%, #f59f00); box-shadow: inset 0 -3px 0 #d98200, 0 4px 10px #f59f0066;
}
.acc3-points-copy { display: grid; gap: 4px; min-width: 0; flex: 1 1 auto }
.acc3-points-copy small { color: var(--a3-muted); font-size: 12.5px; font-weight: 700 }
.acc3-points-copy strong { font-size: 30px; font-weight: 900; line-height: 1; color: var(--a3-ink) }
.acc3-points-copy strong em { font-style: normal; font-size: 15px; font-weight: 700; color: var(--a3-muted) }
.acc3-points-track { display: block; height: 8px; border-radius: 999px; background: #f2e6cf; overflow: hidden }
.acc3-points-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffb703, #f26a1b) }
.acc3-points-next { color: #b4580c !important }
.acc3-warning { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff0f0; color: #9e2927 }

/* Stats strip */
.acc3-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.acc3-stat {
  --tone: #e03131; --tone-soft: #fff0f0;
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--a3-line); box-shadow: var(--a3-shadow); color: var(--a3-ink); text-decoration: none;
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease;
}
.acc3-stat::after { content: ""; position: absolute; inset: auto -30px -40px auto; width: 120px; height: 120px; border-radius: 50%; background: var(--tone-soft); z-index: 0 }
.acc3-stat > * { position: relative; z-index: 1 }
.acc3-stat:hover { transform: translateY(-2px); box-shadow: 0 2px 4px #1027431a, 0 14px 30px #10274318 }
.acc3-stat:focus-visible { outline: 3px solid #fbd0ae; outline-offset: 2px }
.acc3-stat > i { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: var(--tone); background: var(--tone-soft) }
.acc3-stat strong { font-size: 30px; font-weight: 900; line-height: 1 }
.acc3-stat span { color: var(--a3-muted); font-size: 13.5px; font-weight: 700 }
.acc3-stat-cooked { --tone: #238b45; --tone-soft: #eaf7ec }
.acc3-stat-star { --tone: #e8a200; --tone-soft: #fff6dc }
.acc3-stat-fire { --tone: #f26a1b; --tone-soft: #fff1e6 }

/* Layout */
.acc3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 26%); gap: 18px; align-items: start }
.acc3-main, .acc3-side { display: grid; gap: 18px; min-width: 0 }

/* Quick actions */
.acc3-quick > h2 { margin-bottom: 14px }
.acc3-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.acc3-quick-tile {
  --tile: #eaf7ec; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px;
  padding: 14px 40px 14px 14px; border-radius: 20px; background: linear-gradient(140deg, var(--tile), #fff 85%); border: 1px solid var(--a3-line);
  color: var(--a3-ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; min-height: 92px;
}
.acc3-quick-tile.is-blue { --tile: #e8f1ff } .acc3-quick-tile.is-teal { --tile: #e3f7f4 } .acc3-quick-tile.is-orange { --tile: #fff1e6 }
.acc3-quick-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 22px #10274318 }
.acc3-quick-tile:focus-visible { outline: 3px solid #fbd0ae; outline-offset: 2px }
.acc3-quick-tile img { width: 56px; height: 56px; object-fit: contain }
.acc3-quick-tile b { display: block; font-size: 15px; font-weight: 900; line-height: 1.2 }
.acc3-quick-tile small { display: block; margin-top: 3px; color: var(--a3-muted); font-size: 12.5px; line-height: 1.35 }
.acc3-quick-tile > i { position: absolute; right: 14px; top: 50%; translate: 0 -50%; color: var(--a3-orange); transition: transform .15s ease }
html[dir="rtl"] .acc3-quick-tile { padding: 14px 14px 14px 40px } html[dir="rtl"] .acc3-quick-tile > i { right: auto; left: 14px }
.acc3-quick-tile:hover > i { transform: translateX(3px) }

/* Collections */
.acc3-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; margin: 0 0 16px; border-radius: 999px; background: #f1f4f8; width: fit-content; max-width: 100% }
.acc3-tabs button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 0; border-radius: 999px; background: none;
  color: var(--a3-ink); font: 800 14.5px/1 inherit; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease;
}
.acc3-tabs button:hover { background: #e3e8ef }
.acc3-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px #10274322; color: var(--a3-orange-deep) }
.acc3-tabs button:focus-visible { outline: 2px solid var(--a3-orange); outline-offset: 2px }
.acc3-tab-count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: #e3e8ef; color: var(--a3-ink); font-size: 12px; font-weight: 800 }
.acc3-tabs button[aria-selected="true"] .acc3-tab-count { background: #fff1e6; color: var(--a3-orange-deep) }
.acc3-recipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px }
.acc3-recipe.mk-ps-card[hidden] { display: none !important }
html:not(.maikaja-app) .acc3-recipes .acc3-recipe.mk-ps-card,
.acc3-recipes .acc3-recipe.mk-ps-card {
  position: relative;
  display: block;
  width: 100%;
  height: 265px;
  border-radius: 18px;
  overflow: hidden;
  background: #111a26 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 10px 24px rgba(11, 34, 54, 0.22) !important;
  text-decoration: none !important;
  color: #ffffff !important;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}
html:not(.maikaja-app) .acc3-recipes .acc3-recipe.mk-ps-card:hover,
.acc3-recipes .acc3-recipe.mk-ps-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #f97316 !important;
  box-shadow: 0 18px 36px rgba(11, 34, 54, 0.32), 0 0 20px rgba(249, 115, 22, 0.28) !important;
}
.acc3-recipes .acc3-recipe.mk-ps-card img,
.acc3-recipes .acc3-recipe.mk-ps-card .acc3-recipe-noimg {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.acc3-recipes .acc3-recipe.mk-ps-card:hover img { transform: scale(1.07) }
.acc3-recipes .acc3-recipe.mk-ps-card .acc3-recipe-noimg {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  color: rgba(255, 255, 255, 0.45);
  font-size: 30px;
}
.acc3-recipes .mk-ps-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 22, 0) 0%, rgba(7, 13, 22, 0) 52%, rgba(7, 13, 22, 0.56) 76%, rgba(7, 13, 22, 0.92) 100%);
  pointer-events: none;
}
.acc3-recipes .mk-ps-card-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px;
  z-index: 2;
  pointer-events: none;
}
.acc3-recipes .mk-ps-card-badges { display: flex; align-items: center; gap: 6px }
.acc3-recipes .mk-ps-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}
/* „Receptjeim”: moderálási állapot a saját beküldött recepteken */
.acc3-recipes .mk-ps-card-badge.is-pending { background: rgba(234, 179, 8, 0.95); border-color: transparent; color: #0f172a; }
.acc3-recipes .mk-ps-card-badge.is-rejected { background: rgba(220, 38, 38, 0.92); border-color: transparent; color: #fff; }
.acc3-recipes .mk-ps-card-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff !important;
  margin-top: auto;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.acc3-recipes .mk-ps-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 700;
}
.acc3-recipes .mk-ps-card-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.acc3-recipes .acc3-recipe.mk-ps-card:hover .mk-ps-card-play {
  background: #ea580c;
  transform: scale(1.1);
}
.acc3-recipe {
  position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--a3-line);
  color: var(--a3-ink); text-decoration: none; box-shadow: 0 2px 8px #1027431a; transition: transform .15s ease, box-shadow .15s ease;
}
.acc3-recipe:hover { transform: translateY(-3px); box-shadow: 0 10px 22px #10274326 }
.acc3-recipe:focus-visible { outline: 3px solid #fbd0ae; outline-offset: 2px }
.acc3-recipe img, .acc3-recipe-noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #f1f4f8 }
.acc3-recipe-noimg { display: grid; place-items: center; color: #6b747d; font-size: 26px }
.acc3-recipe-tag { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--a3-orange); font-size: 13px; box-shadow: 0 2px 6px #0003 }
.acc3-recipe-body { display: grid; gap: 6px; padding: 10px 12px 12px }
.acc3-recipe-body b { font-size: 15px; font-weight: 800; line-height: 1.25 }
.acc3-recipe-body small { color: var(--a3-muted); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px }
.acc3-more { margin: 16px auto 0; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid #d5dce5; background: #fff; color: var(--a3-ink); font: 800 14px/1 inherit; cursor: pointer }
.acc3-more:hover { background-image: linear-gradient(#0b223612, #0b223612) }
.acc3-more[aria-expanded="true"] i { transform: rotate(180deg) }
.acc3-empty { display: grid; justify-items: center; gap: 10px; padding: 34px 16px; text-align: center; border: 2px dashed #e1e7ee; border-radius: 20px }
.acc3-empty > i { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--a3-orange); background: #fff1e6 }
.acc3-empty p { margin: 0; color: var(--a3-muted); font-weight: 700 }

/* Badges */
.acc3-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px }
.acc3-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: #f6f8fb; border: 1px solid var(--a3-line); font-size: 13.5px; color: var(--a3-muted); font-weight: 700 }
.acc3-chips b { color: var(--a3-ink) } .acc3-chips i { color: var(--a3-orange) }
.acc3-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px }
.acc3-badge { display: grid; justify-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 20px; text-align: center; background: #f7f8fa; border: 1px solid var(--a3-line) }
.acc3-badge-medal { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #6b747d; background: #e9edf2 }
.acc3-badge-lock { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fff; color: #6b7682; box-shadow: 0 2px 5px #0002 }
.acc3-badge b { font-size: 13.5px; font-weight: 800; line-height: 1.25 }
.acc3-badge small { font-size: 12px; color: var(--a3-muted); font-weight: 700 }
.acc3-badge.is-earned { background: linear-gradient(160deg, #fff8e1, #fff); border-color: #ffd98a }
.acc3-badge.is-earned .acc3-badge-medal { color: #8a4b00; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc93c 55%, #f59f00); box-shadow: inset 0 -3px 0 #d98200, 0 6px 14px #f59f0055 }
.acc3-badge.is-earned small { color: #b4580c }

/* Side: next step */
.acc3-next {
  position: relative; overflow: hidden; display: grid; gap: 8px; padding: 22px; border-radius: var(--a3-radius); color: #fff;
  background: linear-gradient(150deg, #ff9535, #f26a1b 50%, #c94400); box-shadow: 0 14px 30px #f26a1b55;
}
.acc3-next img { position: absolute; right: -6px; top: 6px; width: 104px; height: 104px; object-fit: contain; filter: drop-shadow(0 8px 14px #0004); transform: rotate(8deg) }
html[dir="rtl"] .acc3-next img { right: auto; left: -6px; transform: rotate(-8deg) }
.acc3-next h2 { margin: 4px 0 0; color: #fff; font-size: 22px; font-weight: 900; max-width: 70% }
.acc3-next p { margin: 0 0 6px; color: #ffe9da; font-size: 14px; line-height: 1.5 }
.acc3-next .acc3-btn { justify-self: start }

/* Side: activity timeline */
.acc3-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 }
.acc3-timeline li { position: relative; display: grid; grid-template-columns: 36px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 0 }
.acc3-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 46px; bottom: -10px; width: 2px; background: #eef1f5 }
html[dir="rtl"] .acc3-timeline li:not(:last-child)::after { left: auto; right: 17px }
.acc3-timeline-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff1e6; color: var(--a3-orange); font-size: 14px; position: relative; z-index: 1 }
.acc3-timeline img { width: 52px; height: 40px; border-radius: 12px; object-fit: cover }
.acc3-timeline a { color: var(--a3-ink); font-weight: 800; font-size: 14px; text-decoration: none; line-height: 1.3 }
.acc3-timeline a:hover { color: var(--a3-orange-deep) }
.acc3-timeline small { display: block; color: var(--a3-muted); font-size: 12.5px; margin-top: 2px }
.acc3-timeline li > span:last-child { grid-column: auto; min-width: 0 }
.acc3-timeline li:not(:has(img)) { grid-template-columns: 36px minmax(0, 1fr) }

/* Side: ledger & rewards */
.acc3-ledger { padding: 8px 10px; display: grid }
.acc3-ledger details + details { border-top: 1px solid var(--a3-line) }
.acc3-ledger summary { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; cursor: pointer; list-style: none; border-radius: 16px }
.acc3-ledger summary::-webkit-details-marker { display: none }
.acc3-ledger summary:hover { background: #f6f8fb }
.acc3-ledger summary:focus-visible { outline: 2px solid var(--a3-orange); outline-offset: 1px }
.acc3-ledger summary b { display: block; font-size: 15px; font-weight: 900 }
.acc3-ledger summary small { color: var(--a3-muted); font-size: 12.5px }
.acc3-ledger summary > i { color: var(--a3-muted); transition: transform .15s ease }
.acc3-ledger details[open] summary > i { transform: rotate(180deg) }
.acc3-ledger-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #eaf7ec; color: #238b45 }
.acc3-ledger-icon.is-gift { background: #fff1e6; color: var(--a3-orange) }
.acc3-ledger-body { display: grid; gap: 8px; padding: 0 12px 14px; max-height: 320px; overflow: auto }
.acc3-event { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #f7f8fa }
.acc3-event b { display: block; font-size: 13.5px } .acc3-event small { color: var(--a3-muted); font-size: 12px }
.acc3-event strong { white-space: nowrap; font-weight: 900 } .acc3-event .is-pos { color: #238b45 } .acc3-event .is-neg { color: #e03131 }
.acc3-club { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fff8e1; color: #7a4a00; font-weight: 700 }

/* Responsive */
@media (max-width: 1199px) {
  .acc3-grid { grid-template-columns: minmax(0, 1fr) }
  .acc3-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start }
  .acc3-side .acc3-ledger { grid-column: 1 / -1 }
  .acc3-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 899px) {
  .acc3-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px }
  .acc3-hero-side { justify-items: stretch; min-width: 0 }
  .acc3-actions { justify-content: flex-start }
  .acc3-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 700px) {
  body.account-page:not(.mk-account-guest) .account-main { width: calc(100% - 24px) !important; padding-top: 4px !important }
  .acc3 { gap: 14px }
  .acc3-profile { flex-direction: column; align-items: flex-start; gap: 14px }
  .acc3-avatar { flex-basis: 108px; width: 108px; height: 108px }
  .acc3-side { grid-template-columns: minmax(0, 1fr) }
  .acc3-quick-grid { grid-template-columns: minmax(0, 1fr) }
  .acc3-card { padding: 16px }
  .acc3-tabs { width: 100%; border-radius: 20px }
  .acc3-tabs button { flex: 1 1 auto; justify-content: center; padding: 8px 10px; font-size: 13.5px }
  .acc3-recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .acc3-stat { padding: 14px; column-gap: 10px } .acc3-stat > i { width: 44px; height: 44px; font-size: 19px } .acc3-stat strong { font-size: 24px }
  .acc3-actions .acc3-btn:not(.acc3-btn-icon) { flex: 1 1 auto }
}
@media (prefers-reduced-motion: reduce) { .acc3 *, .acc3 *::before, .acc3 *::after { animation: none !important; transition: none !important } }
/* Let the site background show around the rounded hero (no light box behind it) */
html body.account-page .account-main, html body.account-page .account-main > .mk-auth-landing, html body.account-page .account-main > .acc3 { background: transparent !important; background-image: none !important; box-shadow: none !important; border: 0 !important }

/* ==========================================================================
   Chef Missions & Milestones Hub inside Account Dashboard
   ========================================================================== */
.acc3-game-hub { display: grid; gap: 20px; }
.acc3-missions-status { display: flex; gap: 8px; flex-wrap: wrap; }
.acc3-mission-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #f1f4f8; border: 1px solid var(--a3-line); font-size: 13px; font-weight: 700; color: var(--a3-muted); }
.acc3-mission-badge b { color: var(--a3-ink); }
.acc3-mission-badge i { color: #238b45; }
.acc3-mission-badge.is-gold i { color: #f26a1b; }
.acc3-quests-block, .acc3-milestones-block { display: grid; gap: 12px; }
.acc3-quests-subhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.acc3-quests-subhead h3 { margin: 0; font-size: 16px; font-weight: 850; display: flex; align-items: center; gap: 8px; color: var(--a3-ink); }
.acc3-quests-subhead h3 i { color: #238b45; }
.acc3-milestones-block .acc3-quests-subhead h3 i { color: #f26a1b; }
.acc3-bonus-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff8e1; border: 1px solid #ffd98a; color: #8a4b00; font-size: 12px; font-weight: 800; }
.acc3-bonus-tag.is-claimed { background: #eaf7ec; border-color: #82cb97; color: #176c37; }
.acc3-quest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.acc3-quest-card { position: relative; display: flex; flex-direction: column; padding: 14px; border-radius: 16px; background: #f9fafc; border: 1px solid var(--a3-line); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.acc3-quest-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #10274312; border-color: #c9d5e3; }
.acc3-quest-card.is-completed { background: linear-gradient(145deg, #f3faf5 0%, #fff 100%); border-color: #b9e3c6; }
.acc3-quest-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #238b45; background: #eaf7ec; margin-bottom: 10px; }
.acc3-quest-card.is-completed .acc3-quest-icon { background: #238b45; color: #fff; }
.acc3-quest-content { display: flex; flex-direction: column; flex: 1; }
.acc3-quest-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 4px; }
.acc3-quest-top h4 { margin: 0; font-size: 14.5px; font-weight: 850; color: var(--a3-ink); }
.acc3-quest-xp { font-size: 12px; font-weight: 900; color: #f26a1b; background: #fff1e6; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.acc3-quest-card.is-completed .acc3-quest-xp { color: #176c37; background: #eaf7ec; }
.acc3-quest-content p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.4; color: var(--a3-muted); flex: 1; }
.acc3-quest-footer { margin-top: auto; }
.acc3-quest-act-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--a3-ink); background: #fff; border: 1px solid var(--a3-line); padding: 6px 12px; border-radius: 999px; text-decoration: none; transition: all .15s ease; }
.acc3-quest-act-btn:hover { background: var(--a3-ink); color: #fff; border-color: var(--a3-ink); }
.acc3-quest-done-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 850; color: #238b45; }
.acc3-milestone-counter { font-size: 13px; font-weight: 800; color: var(--a3-muted); background: #f1f4f8; padding: 3px 10px; border-radius: 999px; }
.acc3-milestone-list { display: grid; gap: 8px; }
.acc3-milestone-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; background: #f9fafc; border: 1px solid var(--a3-line); transition: background .15s ease, border-color .15s ease; }
.acc3-milestone-row:hover { background: #f2f5f9; }
.acc3-milestone-row.is-completed { background: linear-gradient(90deg, #f4fbf5 0%, #fff 100%); border-color: #cae7d3; }
.acc3-milestone-check { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; background: #eef2f6; color: #8c9ba8; }
.acc3-milestone-row.is-completed .acc3-milestone-check { background: #238b45; color: #fff; }
.acc3-milestone-info { flex: 1; min-width: 0; }
.acc3-milestone-title-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.acc3-milestone-title-row b { font-size: 14px; color: var(--a3-ink); }
.acc3-milestone-xp { font-size: 11px; font-weight: 900; color: #f26a1b; background: #fff1e6; padding: 1px 6px; border-radius: 999px; }
.acc3-milestone-row.is-completed .acc3-milestone-xp { color: #176c37; background: #eaf7ec; }
.acc3-milestone-info p { margin: 2px 0 0; font-size: 12px; color: var(--a3-muted); line-height: 1.35; }
.acc3-milestone-action { flex-shrink: 0; }
.acc3-milestone-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--a3-orange-deep); text-decoration: none; padding: 4px 8px; border-radius: 8px; transition: background .15s ease; }
.acc3-milestone-link:hover { background: #fff1e6; }
.acc3-milestone-done-label { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 850; color: #238b45; }
@media (max-width: 899px) {
  .acc3-quest-grid { grid-template-columns: minmax(0, 1fr); }
  .acc3-milestone-row { flex-wrap: wrap; }
  .acc3-milestone-action { width: 100%; display: flex; justify-content: flex-end; }
}

/* ==========================================================================
   MaiKaja 2026 Gaming HUD & Dark Glassmorphism Overhaul (Account & Chef Career)
   ========================================================================== */

html.mk-dark body.account-page,
[data-theme="dark"] body.account-page {
  background: radial-gradient(circle at 50% 0%, #152233 0%, #0a1017 65%, #05080c 100%) !important;
  color: #e6edf5 !important;
  min-height: 100vh;
}

html:not(.mk-dark) body.account-page {
  background: #f8fafc !important;
  color: #1e293b !important;
  min-height: 100vh;
}

html.mk-dark .acc3,
[data-theme="dark"] .acc3 {
  --a3-ink: #f3f6f9;
  --a3-muted: #94a3b8;
  --a3-line: rgba(255, 255, 255, 0.08);
  --a3-card: rgba(20, 29, 41, 0.88);
  color: #e6edf5 !important;
}

/* Hero Section */
html:not(.maikaja-app) .acc3-hero {
  background: linear-gradient(135deg, rgba(20, 29, 41, 0.92), rgba(14, 21, 31, 0.96)) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 28px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
html:not(.maikaja-app) .acc3-greeting h1 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: #f3f6f9 !important;
  font-size: clamp(32px, 3vw, 46px) !important;
  letter-spacing: -0.02em !important;
}
html:not(.maikaja-app) .acc3-greeting p {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-level-chip {
  background: rgba(255, 122, 0, 0.15) !important;
  border: 1px solid rgba(255, 122, 0, 0.3) !important;
  color: #ff9f43 !important;
  font-weight: 700 !important;
}
html:not(.maikaja-app) .acc3-level-chip i {
  color: #ffb800 !important;
}
html:not(.maikaja-app) .acc3-avatar {
  background: conic-gradient(#ff9f43 0 var(--acc3-level), rgba(255, 255, 255, 0.1) var(--acc3-level) 100%) !important;
}
html:not(.maikaja-app) .acc3-avatar img {
  border-color: rgba(20, 29, 41, 0.9) !important;
  background: #0a1017 !important;
}
html:not(.maikaja-app) .acc3-points {
  background: rgba(14, 21, 31, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #f3f6f9 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  border-radius: 20px !important;
}
html:not(.maikaja-app) .acc3-points strong {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-points small {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-points-track {
  background: rgba(255, 255, 255, 0.1) !important;
}
html:not(.maikaja-app) .acc3-points-track i {
  background: linear-gradient(90deg, #ff7a00, #ffb800) !important;
}

/* Action Buttons */
html:not(.maikaja-app) .acc3-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f3f6f9 !important;
  backdrop-filter: blur(8px);
}
html:not(.maikaja-app) .acc3-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}
html:not(.maikaja-app) .acc3-btn-primary {
  background-image: linear-gradient(135deg, #ff7a00, #ff4d00) !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4) !important;
}

/* Cards & Sections */
html:not(.maikaja-app) .acc3-card {
  background: linear-gradient(135deg, rgba(20, 29, 41, 0.88), rgba(14, 21, 31, 0.94)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  color: #e6edf5 !important;
}
html:not(.maikaja-app) :is(.acc3-card > h2, .acc3-card-head h2) {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: #f3f6f9 !important;
  font-size: 22px !important;
}
html:not(.maikaja-app) :is(.acc3-card > h2 > i, .acc3-card-head h2 > i) {
  color: #ff9f43 !important;
}

/* Stat Cards */
html:not(.maikaja-app) .acc3-stat {
  background: rgba(18, 26, 36, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-stat::after {
  display: none !important;
}
html:not(.maikaja-app) .acc3-stat strong {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-stat span {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-stat > i {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ff9f43 !important;
}

/* Quick Action Tiles */
html:not(.maikaja-app) .acc3-quick-tile {
  background: rgba(18, 26, 36, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  color: #f3f6f9 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
html:not(.maikaja-app) .acc3-quick-tile:hover {
  background: rgba(28, 38, 52, 0.9) !important;
  border-color: rgba(255, 159, 67, 0.3) !important;
  transform: translateY(-3px) !important;
}
html:not(.maikaja-app) .acc3-quick-tile b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-quick-tile small {
  color: #94a3b8 !important;
}


/* Badges Showcase */
html:not(.maikaja-app) .acc3-chips span {
  background: rgba(18, 26, 36, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-chips b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-badge {
  background: rgba(18, 26, 36, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  color: #e6edf5 !important;
}
html:not(.maikaja-app) .acc3-badge b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-badge small {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-badge-medal {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #64748b !important;
}
html:not(.maikaja-app) .acc3-badge.is-earned {
  background: linear-gradient(145deg, rgba(255, 122, 0, 0.15), rgba(20, 29, 41, 0.85)) !important;
  border-color: rgba(255, 159, 67, 0.35) !important;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.15) !important;
}
html:not(.maikaja-app) .acc3-badge.is-earned .acc3-badge-medal {
  background: radial-gradient(circle at 35% 30%, #fff3c4, #ffb800 60%, #ff7a00) !important;
  color: #3d2600 !important;
  box-shadow: 0 0 16px rgba(255, 159, 67, 0.4) !important;
}
html:not(.maikaja-app) .acc3-badge.is-earned small {
  color: #ff9f43 !important;
}

/* Collections Tabs & Recipe Cards */
html:not(.maikaja-app) .acc3-tabs {
  background: rgba(14, 21, 31, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  padding: 4px !important;
}
html:not(.maikaja-app) .acc3-tabs button {
  color: #94a3b8 !important;
  border-radius: 999px !important;
}
html:not(.maikaja-app) .acc3-tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #ff7a00, #ff9f43) !important;
  color: #0a1017 !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35) !important;
}
html:not(.maikaja-app) .acc3-tab-count {
  background: rgba(255, 255, 255, 0.12) !important;
  color: inherit !important;
}
html:not(.maikaja-app) .acc3-recipe {
  background: rgba(14, 21, 31, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  color: #e6edf5 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
html:not(.maikaja-app) .acc3-recipe:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255, 159, 67, 0.3) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5) !important;
}
html:not(.maikaja-app) .acc3-recipe b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-recipe small {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-recipe-tag {
  background: rgba(20, 29, 41, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ff9f43 !important;
}

/* Quests & Milestones */
html:not(.maikaja-app) .acc3-quest-card {
  background: rgba(18, 26, 36, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  color: #e6edf5 !important;
}
html:not(.maikaja-app) .acc3-quest-card.is-completed {
  background: linear-gradient(145deg, rgba(35, 139, 69, 0.18), rgba(20, 29, 41, 0.85)) !important;
  border-color: rgba(57, 227, 130, 0.3) !important;
}
html:not(.maikaja-app) .acc3-quest-top h4 {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-quest-content p {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-quest-act-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-milestone-row {
  background: rgba(18, 26, 36, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
}
html:not(.maikaja-app) .acc3-milestone-title-row b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-milestone-info p {
  color: #94a3b8 !important;
}

/* Next Step CTA */
html:not(.maikaja-app) .acc3-next {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.25), rgba(20, 29, 41, 0.95)) !important;
  border: 1px solid rgba(255, 159, 67, 0.3) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
}
html:not(.maikaja-app) .acc3-next h2 {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: #f3f6f9 !important;
}

/* Ledger & Timeline */
html:not(.maikaja-app) .acc3-ledger details {
  background: rgba(18, 26, 36, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
}
html:not(.maikaja-app) .acc3-ledger summary {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-timeline a {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-timeline small {
  color: #94a3b8 !important;
}
html:not(.maikaja-app) .acc3-event {
  border-color: rgba(255, 255, 255, 0.06) !important;
}
html:not(.maikaja-app) .acc3-event b {
  color: #f3f6f9 !important;
}
html:not(.maikaja-app) .acc3-event small {
  color: #94a3b8 !important;
}



/* ==========================================================================
   MAIKAJA - LIGHT MODE OVERHAUL FOR CHEF PROFILE & ACCOUNT DASHBOARD
   ========================================================================== */

html:not(.mk-dark) .acc3 {
  --a3-ink: #0f172a;
  --a3-muted: #475569;
  --a3-line: rgba(0, 0, 0, 0.08);
  --a3-card: #ffffff;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-card > h2,
html:not(.mk-dark) .acc3-card-head h2 {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-muted {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-link {
  color: #c2410c !important;
}

html:not(.mk-dark) .acc3-stat {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-stat strong,
html:not(.mk-dark) .acc3-stat b {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-stat span {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-quick-tile {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-quick-tile b {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-quick-tile small {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-quick-tile:hover {
  background: #f8fafc !important;
  border-color: #ff9f43 !important;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.12) !important;
}

html:not(.mk-dark) .acc3-timeline a,
html:not(.mk-dark) .acc3-timeline b {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-timeline small,
html:not(.mk-dark) .acc3-timeline time {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-chips span {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

html:not(.mk-dark) .acc3-chips b {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-badge {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-badge b {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-badge small {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-tabs {
  background: #f1f5f9 !important;
}

html:not(.mk-dark) .acc3-tabs button {
  color: #334155 !important;
}

html:not(.mk-dark) .acc3-tabs button[aria-selected="true"] {
  background: #ffffff !important;
  color: #c2410c !important;
}

html:not(.mk-dark) .acc3-tabs .acc3-tab-count {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-ledger details {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

html:not(.mk-dark) .acc3-ledger summary {
  color: #0f172a !important;
}

html:not(.mk-dark) .acc3-ledger summary:hover {
  background: #f8fafc !important;
}

html:not(.mk-dark) .acc3-ledger summary small,
html:not(.mk-dark) .acc3-ledger summary > i,
html:not(.mk-dark) .acc3-event small {
  color: #475569 !important;
}

html:not(.mk-dark) .acc3-event {
  background: #f8fafc !important;
  color: #0f172a !important;
}

/* Profile header strip above the Fridge Door Hero (no card wrapper) */
.acc3-fridge-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 2px 0 4px;
}

.acc3-fridge-header .acc3-hero-side {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: stretch;
  min-width: 0;
}

.acc3-fridge-header .acc3-points {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 210px;
}

@media (max-width: 960px) {
  .acc3-fridge-header {
    justify-content: flex-start;
  }
  .acc3-fridge-header .acc3-hero-side {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* Fridge magnet style for the avatar on the fridge door */
.acc3-hero--fridge {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start !important;
  align-content: flex-start !important;
  gap: 24px !important;
}

.acc3-avatar.acc3-fridge-magnet {
  position: relative;
  flex: 0 0 138px;
  width: 138px;
  height: 138px;
  padding: 7px !important;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e2e8f0) !important;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, 0.28),
    0 4px 8px rgba(15, 23, 42, 0.16),
    inset 0 2px 4px rgba(255, 255, 255, 0.9);
  transform: rotate(-3.5deg);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.acc3-avatar.acc3-fridge-magnet:hover {
  transform: rotate(0deg) translateY(-2px) scale(1.03);
  box-shadow:
    0 18px 34px rgba(15, 23, 42, 0.34),
    0 6px 12px rgba(15, 23, 42, 0.2);
}

.acc3-avatar.acc3-fridge-magnet.is-dragging {
  cursor: grabbing;
  transform: rotate(0deg) scale(1.09) !important;
  box-shadow:
    0 24px 44px rgba(15, 23, 42, 0.42),
    0 8px 16px rgba(15, 23, 42, 0.24) !important;
  transition: none !important;
  z-index: 20;
}

.acc3-avatar.acc3-fridge-magnet img {
  border: 3px solid #ffffff !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* Earned badge fridge magnets on the fridge door */
.acc3-fridge-badge-magnet {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 112px;
  min-height: 118px;
  padding: 14px 10px 12px;
  border-radius: 18px;
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 65%, #e2e8f0 100%);
  border: 3px solid #ffffff;
  box-shadow:
    0 12px 24px rgba(15, 23, 42, 0.24),
    0 3px 6px rgba(15, 23, 42, 0.14),
    inset 0 2px 3px rgba(255, 255, 255, 0.9);
  color: #0f172a;
  text-align: center;
  transform: rotate(var(--magnet-tilt, 2.5deg));
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.acc3-fridge-badge-magnet:hover {
  transform: rotate(0deg) translateY(-2px) scale(1.04);
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.3),
    0 5px 10px rgba(15, 23, 42, 0.18);
}

.acc3-fridge-badge-magnet.is-dragging {
  cursor: grabbing;
  transform: rotate(0deg) scale(1.09) !important;
  box-shadow:
    0 24px 42px rgba(15, 23, 42, 0.38),
    0 8px 16px rgba(15, 23, 42, 0.22) !important;
  transition: none !important;
  z-index: 25;
}

.acc3-avatar.acc3-fridge-magnet.is-overlap,
.acc3-fridge-badge-magnet.is-overlap {
  box-shadow: 0 0 0 3px #ef4444, 0 18px 34px rgba(239, 68, 68, 0.35) !important;
  cursor: no-drop !important;
}

/* 3D Fridge Magnet Lightbox Modal */
.acc3-magnet-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.acc3-magnet-modal[hidden] {
  display: none !important;
}

.acc3-magnet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 22, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.acc3-magnet-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 28px 24px 24px;
  border-radius: 26px;
  background: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.42);
  display: grid;
  gap: 18px;
  text-align: center;
  color: #0f172a;
}

.acc3-magnet-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.acc3-magnet-stage {
  perspective: 900px;
  display: grid;
  place-items: center;
  padding: 18px 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.acc3-magnet-stage:active {
  cursor: grabbing;
}

.acc3-magnet-3d {
  position: relative;
  width: 210px;
  height: 210px;
  transform-style: preserve-3d;
  transition: transform 0.06s linear;
}

.acc3-magnet-face {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  border: 6px solid #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.25), inset 0 2px 6px rgba(255, 255, 255, 0.9);
}

.acc3-magnet-front {
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 60%, #e2e8f0 100%);
}

.acc3-magnet-front-img {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.acc3-magnet-front-medal {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 40px;
  color: #78350f;
  background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 58%, #d97706);
  box-shadow: inset 0 -4px 0 #b45309, 0 10px 22px rgba(245, 158, 11, 0.45);
}

.acc3-magnet-front b {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
}

.acc3-magnet-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, #334155 0%, #1e293b 55%, #0f172a 100%);
  color: #f8fafc;
}

.acc3-magnet-back-seal {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.28);
  color: #fbbf24;
}

.acc3-magnet-back strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.acc3-magnet-back small {
  color: #cbd5e1;
  font-size: 13px;
}

.acc3-magnet-info h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
}

.acc3-magnet-info p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #475569;
}

.acc3-magnet-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.acc3-magnet-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

html.mk-dark .acc3-magnet-dialog {
  background: linear-gradient(160deg, #1b2733 0%, #111923 100%);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
}

html.mk-dark .acc3-magnet-info h3 {
  color: #f8fafc;
}

html.mk-dark .acc3-magnet-info p,
html.mk-dark .acc3-magnet-hint {
  color: #cbd5e1;
}

html.mk-dark .acc3-magnet-close {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

.mk-badge-magnet-dialog .mk-badge-magnet-modal-head h2 {
  color: #ffffff !important;
}

.mk-badge-magnet-dialog .badge-magnet-stage:focus,
.mk-badge-magnet-dialog .badge-magnet-stage:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.acc3-fridge-badge-medal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #78350f;
  background: radial-gradient(circle at 35% 30%, #fef3c7, #fbbf24 58%, #d97706);
  box-shadow: inset 0 -3px 0 #b45309, 0 5px 12px rgba(245, 158, 11, 0.42);
}

.acc3-fridge-badge-magnet b {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}

/* Kitchen Club Fridge Door Hero (no darkening overlay) */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(120deg, #d8dfe7 0%, #f1f5f9 26%, #cbd4df 52%, #e8eef4 78%, #bec8d4 100%) !important;
  border: 1px solid #aeb9c6 !important;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -4px 12px rgba(15, 23, 42, 0.12),
    0 18px 40px rgba(15, 23, 42, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #0f172a !important;
  min-height: 340px !important;
  padding: 40px 60px 40px 36px !important;
  align-content: center;
}

@media (max-width: 760px) {
  html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge {
    min-height: 260px !important;
    padding: 28px 44px 28px 20px !important;
  }
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge::before {
  display: none !important;
}

/* Vertical stainless steel fridge handle on the right edge */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge::after {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  right: 18px;
  width: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #94a3b8 0%, #f8fafc 42%, #cbd5e1 72%, #64748b 100%);
  box-shadow:
    -3px 4px 10px rgba(15, 23, 42, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-eyebrow {
  color: #15803d !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-greeting h1 {
  color: #0f172a !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-greeting p {
  color: #334155 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-level-chip {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #b45309 !important;
}

html.mk-dark:not(.maikaja-app) .acc3-hero.acc3-hero--fridge {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(120deg, #2b3440 0%, #3d4856 28%, #262f3a 56%, #394351 82%, #202832 100%) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #f1f5f9 !important;
}

html.mk-dark:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-greeting h1 {
  color: #f8fafc !important;
}

html.mk-dark:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-greeting p {
  color: #cbd5e1 !important;
}

html.mk-dark:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-eyebrow {
  color: #4ade80 !important;
}

html.mk-dark:not(.maikaja-app) .acc3-hero.acc3-hero--fridge .acc3-level-chip {
  background: rgba(15, 23, 42, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #fbbf24 !important;
}

/* Hűtő felület variációk és miniatűr választó */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="dark-inox"],
.acc3-fridge-swatch-mini[data-fridge-theme="dark-inox"] {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 4px),
    linear-gradient(120deg, #2b3440 0%, #3d4856 28%, #262f3a 56%, #394351 82%, #202832 100%) !important;
  border-color: #475569 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="cream"],
.acc3-fridge-swatch-mini[data-fridge-theme="cream"] {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 255, 255, 0.72), transparent 56%),
    linear-gradient(135deg, #fbf4e6 0%, #f3e4c8 52%, #e6d1ac 100%) !important;
  border-color: #d6be96 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="mint"],
.acc3-fridge-swatch-mini[data-fridge-theme="mint"] {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 255, 255, 0.62), transparent 56%),
    linear-gradient(135deg, #dcf4e8 0%, #bfe6d2 52%, #9fd4ba 100%) !important;
  border-color: #8cc4a8 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="terracotta"],
.acc3-fridge-swatch-mini[data-fridge-theme="terracotta"] {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 255, 255, 0.42), transparent 56%),
    linear-gradient(135deg, #f6d3bc 0%, #eab18c 52%, #d98e62 100%) !important;
  border-color: #c87b50 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="navy"],
.acc3-fridge-swatch-mini[data-fridge-theme="navy"] {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 255, 255, 0.14), transparent 56%),
    linear-gradient(135deg, #1b2d44 0%, #243b57 52%, #111f31 100%) !important;
  border-color: #334e6f !important;
}

.acc3-fridge-swatch-mini[data-fridge-theme="inox"] {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0px, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 3px),
    linear-gradient(120deg, #d8dfe7 0%, #f1f5f9 30%, #cbd4df 60%, #bec8d4 100%);
  border-color: #aeb9c6;
}

.acc3-fridge-themes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 6px 4px;
}

.acc3-fridge-themes-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ds-muted, #52606d);
  margin-right: 4px;
}

.acc3-fridge-themes-label i {
  color: var(--ds-orange, #f26a1b);
}

.acc3-fridge-swatch {
  padding: 3px;
  border-radius: 11px;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.acc3-fridge-swatch:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 106, 27, 0.45);
}

.acc3-fridge-swatch[aria-pressed="true"] {
  border-color: var(--ds-orange, #f26a1b);
  box-shadow: 0 2px 8px rgba(242, 106, 27, 0.25);
}

.acc3-fridge-swatch-mini {
  position: relative;
  display: block;
  width: 40px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid #aeb9c6;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.acc3-fridge-swatch-mini::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  right: 4px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fafc, #94a3b8);
  box-shadow: -1px 1px 2px rgba(15, 23, 42, 0.25);
}

html.mk-dark .acc3-fridge-themes-label,
[data-theme="dark"] .acc3-fridge-themes-label {
  color: #9fb0c2;
}

/* Smooth átmenet a hűtőajtó felületváltáshoz */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge {
  transition: background 0.3s ease, border-color 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease;
}

/* --- INOXOS FELÜLETEK --- */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="copper-inox"],
.acc3-fridge-swatch-mini[data-fridge-theme="copper-inox"] {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 4px),
    linear-gradient(125deg, #8c482e 0%, #c87a56 26%, #6e341f 54%, #b56946 80%, #572615 100%) !important;
  border-color: #a85c3d !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="copper-inox"]::after,
.acc3-fridge-swatch-mini[data-fridge-theme="copper-inox"]::after {
  background: linear-gradient(90deg, #7c3b23 0%, #ffd5be 45%, #c97d5a 78%, #5e2a17 100%);
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="titanium-inox"],
.acc3-fridge-swatch-mini[data-fridge-theme="titanium-inox"] {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 3px),
    linear-gradient(120deg, #4b5563 0%, #9ca3af 28%, #374151 56%, #6b7280 82%, #1f2937 100%) !important;
  border-color: #6b7280 !important;
}

/* --- RETRÓ FELÜLETEK ÉS RETRÓ KILINCSEK --- */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme^="retro-"] {
  border-radius: 38px !important;
  padding-right: 136px !important;
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.78),
    inset 0 -12px 28px rgba(15, 23, 42, 0.18),
    0 20px 44px rgba(15, 23, 42, 0.18) !important;
}

/* Retró krómozott ovális felfogató talp (jobb szélen) */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme^="retro-"]::before {
  display: block !important;
  content: "";
  position: absolute;
  inset: auto !important;
  top: 50% !important;
  right: 16px !important;
  left: auto !important;
  bottom: auto !important;
  transform: translateY(-50%);
  width: 30px;
  height: 62px;
  border-radius: 15px;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 42%, #64748b 82%, #334155 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    -4px 6px 14px rgba(15, 23, 42, 0.36),
    inset 0 2px 3px rgba(255, 255, 255, 0.95);
  z-index: 2;
  pointer-events: none;
}

/* Retró 50-es évekbeli vízszintes krómozott karos kilincs */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme^="retro-"]::after {
  top: 50%;
  bottom: auto;
  right: 26px;
  transform: translateY(-50%);
  width: 104px;
  height: 22px;
  border-radius: 999px 10px 10px 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 28%, #94a3b8 68%, #475569 100%);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.42),
    0 2px 5px rgba(15, 23, 42, 0.25),
    inset 0 2px 3px rgba(255, 255, 255, 0.98);
  z-index: 3;
}

.acc3-fridge-swatch-mini[data-fridge-theme^="retro-"] {
  border-radius: 10px;
}

.acc3-fridge-swatch-mini[data-fridge-theme^="retro-"]::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ffffff, #64748b);
  box-shadow: -1px 1px 2px rgba(15, 23, 42, 0.28);
}

.acc3-fridge-swatch-mini[data-fridge-theme^="retro-"]::after {
  top: 50%;
  bottom: auto;
  right: 4px;
  transform: translateY(-50%);
  width: 13px;
  height: 4px;
  border-radius: 999px 3px 3px 999px;
  background: linear-gradient(180deg, #ffffff, #cbd5e1, #475569);
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="retro-cherry"],
.acc3-fridge-swatch-mini[data-fridge-theme="retro-cherry"] {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.45), transparent 52%),
    linear-gradient(135deg, #d92638 0%, #b91c2c 52%, #881320 100%) !important;
  border-color: #9f1224 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="retro-butter"],
.acc3-fridge-swatch-mini[data-fridge-theme="retro-butter"] {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.7), transparent 54%),
    linear-gradient(135deg, #fef0a6 0%, #f8df72 52%, #e6c347 100%) !important;
  border-color: #d4b038 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="retro-sky"],
.acc3-fridge-swatch-mini[data-fridge-theme="retro-sky"] {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.65), transparent 54%),
    linear-gradient(135deg, #bfe7f9 0%, #8cd0f0 52%, #5cb5df 100%) !important;
  border-color: #4aa3ce !important;
}

/* --- FUTURISZTIKUS FELÜLETEK ÉS LED KILINCSEK --- */
html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="cyber-carbon"],
.acc3-fridge-swatch-mini[data-fridge-theme="cyber-carbon"] {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.35) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, #111827 0%, #1f2937 55%, #090d16 100%) !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="cyber-carbon"]::after,
.acc3-fridge-swatch-mini[data-fridge-theme="cyber-carbon"]::after {
  width: 8px;
  background: linear-gradient(180deg, #ffedd5 0%, #f97316 50%, #ea580c 100%);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.85), 0 0 4px #ffffff;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="holo-prism"],
.acc3-fridge-swatch-mini[data-fridge-theme="holo-prism"] {
  background:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.45), transparent 48%),
    radial-gradient(circle at 80% 78%, rgba(168, 85, 247, 0.42), transparent 50%),
    linear-gradient(125deg, #0f172a 0%, #1e1b4b 45%, #083344 100%) !important;
  border-color: rgba(34, 211, 238, 0.5) !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="holo-prism"]::after,
.acc3-fridge-swatch-mini[data-fridge-theme="holo-prism"]::after {
  width: 8px;
  background: linear-gradient(180deg, #67e8f9 0%, #38bdf8 50%, #c084fc 100%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.88), 0 0 4px #ffffff;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="arctic-glass"],
.acc3-fridge-swatch-mini[data-fridge-theme="arctic-glass"] {
  background:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #e0f2fe 0%, #bae6fd 45%, #7dd3fc 100%) !important;
  background-size: 28px 28px, 28px 28px, 100% 100% !important;
  border-color: #38bdf8 !important;
}

html:not(.maikaja-app) .acc3-hero.acc3-hero--fridge[data-fridge-theme="arctic-glass"]::after,
.acc3-fridge-swatch-mini[data-fridge-theme="arctic-glass"]::after {
  width: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #38bdf8 50%, #0284c7 100%);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.85), 0 0 4px #ffffff;
}

/* Csoportosított miniatűr választó elrendezése */
.acc3-fridge-themes {
  display: grid;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--ds-line, #e7e3dc);
  background: var(--ds-surface, #ffffff);
}

.acc3-fridge-themes-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.acc3-fridge-active-info {
  font-size: 12px;
  font-weight: 700;
  color: var(--ds-orange-ink, #b23f00);
}

.acc3-fridge-groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.acc3-fridge-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.acc3-fridge-group-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ds-muted, #52606d);
}

.acc3-fridge-group-swatches {
  display: flex;
  align-items: center;
  gap: 4px;
}

.acc3-fridge-swatch {
  position: relative;
}

.acc3-fridge-swatch-lock {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f26a1b;
  color: #ffffff;
  font-size: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.3);
  pointer-events: none;
}

html.mk-dark .acc3-fridge-themes,
[data-theme="dark"] .acc3-fridge-themes {
  background: #141e29;
  border-color: #2b3a49;
}

html.mk-dark .acc3-fridge-active-info,
[data-theme="dark"] .acc3-fridge-active-info {
  color: #ffb074;
}

html.mk-dark .acc3-fridge-group-name,
[data-theme="dark"] .acc3-fridge-group-name {
  color: #94a3b8;
}

/* Gyűjthető (képes) hűtőmágnesek a hűtőajtón – feladat-, fejezet- és kampányjutalmak */
.acc3-fridge-image-magnet {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 108px;
  height: 108px;
  transform: rotate(var(--magnet-tilt, 2.5deg));
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.2s ease;
  filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.32)) drop-shadow(0 2px 3px rgba(15, 23, 42, 0.2));
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.acc3-fridge-image-magnet img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.acc3-fridge-image-magnet:hover { transform: rotate(0deg) translateY(-2px) scale(1.05); }
.acc3-fridge-image-magnet.is-dragging { cursor: grabbing; transform: rotate(0deg) scale(1.1) !important; transition: none !important; z-index: 25; }

/* Újonnan megszerzett jelvény / mágnes: ráugrik a hűtőre */
.acc3-fridge-badge-magnet.is-new,
.acc3-fridge-image-magnet.is-new {
  animation: acc3MagnetSnap 0.9s cubic-bezier(0.2, 1.5, 0.4, 1) var(--new-delay, 0.3s) both;
}
@keyframes acc3MagnetSnap {
  0% { opacity: 0; transform: translateY(-46px) scale(1.35) rotate(-14deg); }
  55% { opacity: 1; transform: translateY(4px) scale(0.96) rotate(var(--magnet-tilt, 2.5deg)); }
  75% { transform: translateY(-3px) scale(1.03) rotate(var(--magnet-tilt, 2.5deg)); box-shadow: 0 0 0 8px rgba(255, 183, 3, 0.35), 0 12px 24px rgba(15, 23, 42, 0.24); }
  100% { opacity: 1; transform: rotate(var(--magnet-tilt, 2.5deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .acc3-fridge-badge-magnet.is-new, .acc3-fridge-image-magnet.is-new { animation: none; }
}

/* „Séf igazolványod” mágnes formája a hűtőn (ugyanaz, mint az átadáskor kapott mágnes): sötét kontúr,
   kettős narancs gyűrű, fehér belső kör, alul zöld szalag három csillaggal – a mindenkori avatarral. */
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet {
  padding: 0 !important;
  border: 0 !important;
  background: radial-gradient(circle closest-side, transparent 83.4%, #1f2937 83.4% 84.7%, #ffffff 84.7% 88.5%, #fb923c 88.5% 91.5%, #ea580c 91.5% 97%, #1f2937 97% 100%, transparent 100%) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 12px 16px rgba(15, 23, 42, 0.34)) drop-shadow(0 3px 4px rgba(15, 23, 42, 0.2));
}
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet:hover,
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet.is-dragging { box-shadow: none !important; }
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet img { position: absolute; left: 8.3%; top: 8.3%; width: 83.4% !important; height: 83.4% !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
.acc3-avatar-ribbon {
  position: absolute; left: 15%; width: 70%; top: 85%; height: 12.8%;
  display: flex; align-items: center; justify-content: space-evenly;
  border-radius: 8px; background: #1c6b43; border: 2px solid #1f2937;
  pointer-events: none; z-index: 1;
}
.acc3-avatar-ribbon i { font-style: normal; color: #fde047; font-size: 11px; line-height: 1; }
.acc3-avatar-ribbon i:nth-child(2) { font-size: 15px; }
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet .acc3-avatar-upload label { bottom: auto; top: 2px; right: -2px; z-index: 2; }

/* Avatarcsere modal a hűtő kamera gombjáról */
.acc3-avatar-edit { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; background: #fff; color: #0b2236; box-shadow: 0 4px 10px #0004; transition: transform .15s ease, background-color .15s ease; }
.acc3-avatar-edit:hover { transform: scale(1.08); background: #fff4ea; }
.acc3-avatar-edit:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet .acc3-avatar-upload { position: absolute; top: 2px; right: -2px; z-index: 2; }
.acc3-avatar-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #0b2236; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); }
.acc3-avatar-dialog::backdrop { background: rgba(10, 17, 29, .45); backdrop-filter: blur(6px); }
.acc3-avatar-dialog-shell { padding: 22px 22px 18px; overflow: auto; max-height: calc(100dvh - 24px); }
.acc3-avatar-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc3-avatar-dialog-head h2 { margin: 0; font-size: 1.25rem; font-weight: 850; }
.acc3-avatar-dialog-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e7e3dc; background: #f5f2ec; color: inherit; display: grid; place-items: center; cursor: pointer; }
.acc3-avatar-dialog-lead { margin: 6px 0 14px; color: #52606d; font-size: 14px; }
html.mk-dark .acc3-avatar-dialog { background: #111b26; color: #e9eff5; }
html.mk-dark .acc3-avatar-dialog-lead { color: #a9b6c3; }
html.mk-dark .acc3-avatar-dialog .ps-avatar { background: #1b2733; border-color: #2a3846; }
html.mk-dark .acc3-avatar-dialog .ps-avatar span { color: #e9eff5; }
html.mk-dark .acc3-avatar-dialog-close { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #e9eff5; }

/* Avatar-mágnes kamera gombja: a közös avatarválasztó modalt nyitja */
.acc3-avatar-upload .acc3-avatar-edit {
  position: absolute; right: 2px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 0; background: #fff; color: var(--a3-ink, #0b2236); box-shadow: 0 4px 10px #0004; transition: transform .15s ease, background-color .15s ease;
}
.acc3-avatar-upload .acc3-avatar-edit:hover { transform: scale(1.08); background: #fff4ea; }
.acc3-avatar-upload .acc3-avatar-edit:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
html .acc3-hero--fridge .acc3-avatar.acc3-fridge-magnet .acc3-avatar-upload .acc3-avatar-edit { bottom: auto; top: 2px; right: -2px; z-index: 2; }

.acc3-avatar-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #0b2236; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); overflow: auto; }
.acc3-avatar-dialog::backdrop { background: rgba(10, 17, 29, .45); backdrop-filter: blur(6px); }
.acc3-avatar-dialog-shell { padding: 22px 22px 18px; }
.acc3-avatar-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.acc3-avatar-dialog-head h2 { margin: 0; font-size: 1.25rem; font-weight: 850; color: #0b2236; }
.acc3-avatar-dialog-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e7e3dc; background: #f5f2ec; color: #0b2236; display: grid; place-items: center; cursor: pointer; }
.acc3-avatar-dialog-lead { margin: 0 0 14px; color: #52606d; font-size: 14px; }
html.mk-dark .acc3-avatar-dialog { background: #111b26; color: #e9eff5; }
html.mk-dark .acc3-avatar-dialog-head h2 { color: #f8fafc; }
html.mk-dark .acc3-avatar-dialog-lead { color: rgba(233, 239, 245, .72); }
html.mk-dark .acc3-avatar-dialog .ps-avatar { background: #1b2733; border-color: rgba(255, 255, 255, .12); }
html.mk-dark .acc3-avatar-dialog .ps-avatar span { color: #e9eff5; }
html.mk-dark .acc3-avatar-dialog-close { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #e9eff5; }
html.mk-dark .acc3-avatar-dialog .onboarding-avatar-picker { background: #1b2733 !important; border-color: rgba(255, 255, 255, .16) !important; color: #86efac !important; }
.acc3-avatar-dialog .ps-avatar-or { margin-top: 10px; }

/* C3 – Főzésnapló: saját ételfotók polaroidként a hűtőn. */
.acc3-fridge-polaroid {
  position: relative; z-index: 3; margin: 0; width: 112px; padding: 7px 7px 8px; background: #fffdf8; border-radius: 3px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .22), 0 1px 2px rgba(15, 23, 42, .18); transform: rotate(var(--magnet-tilt, -3deg));
  cursor: grab; touch-action: none; user-select: none; transition: transform .18s ease, box-shadow .18s ease;
}
.acc3-fridge-polaroid::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fca5a5, #dc2626 60%, #991b1b); box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}
.acc3-fridge-polaroid img { display: block; width: 98px; height: 98px; object-fit: cover; border-radius: 1px; pointer-events: none; background: #f1ede4; }
.acc3-fridge-polaroid figcaption { margin-top: 6px; font: 600 11px/1.25 "Plus Jakarta Sans", system-ui, sans-serif; color: #334155; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acc3-fridge-polaroid figcaption small { display: block; margin-top: 2px; font-weight: 500; font-size: 10px; color: #94a3b8; }
.acc3-fridge-polaroid:hover { transform: rotate(0deg) translateY(-2px) scale(1.04); box-shadow: 0 14px 28px rgba(15, 23, 42, .26); }
.acc3-fridge-polaroid.is-dragging { cursor: grabbing; transform: rotate(0deg) scale(1.08) !important; transition: none !important; z-index: 25; }
@media (max-width: 700px) { .acc3-fridge-polaroid { width: 92px; padding: 6px 6px 7px; } .acc3-fridge-polaroid img { width: 80px; height: 80px; } }
@media (prefers-reduced-motion: reduce) { .acc3-fridge-polaroid { transition: none; } }
/* A polaroid papírja sötét módban is világos: a felirat színét a globális sötét szabályok nem írhatják felül. */
.acc3-fridge-polaroid:not(#mk-x) figcaption { color: #334155; display: -webkit-box; }
.acc3-fridge-polaroid:not(#mk-x) figcaption small { color: #94a3b8; display: block; }

/* Mobil/tablet: a fő oszlop rácsa ne nőjön a vízszintesen görgethető sávok (szintek, fülek) tartalmához. */
.acc3-main, .acc3-side { grid-template-columns: minmax(0, 1fr); }
.acc3-main > *, .acc3-side > * { min-width: 0; }
.acc3-collections .acc3-tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.acc3-collections .acc3-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 700px) {
  html:not(.maikaja-app) .acc3-collections .acc3-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: 100% !important;
    gap: 3px !important;
    padding: 4px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
  }
  html:not(.maikaja-app) .acc3-collections .acc3-tabs button {
    flex: 1 0 auto !important;
    justify-content: center !important;
    white-space: nowrap !important;
    gap: 4px !important;
    padding: 8px 7px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  html:not(.maikaja-app) .acc3-collections .acc3-tabs button i {
    font-size: 11.5px !important;
  }
  html:not(.maikaja-app) .acc3-collections .acc3-tabs .acc3-tab-count {
    min-width: 19px !important;
    height: 19px !important;
    padding: 0 5px !important;
    font-size: 10.5px !important;
  }
}

/* Szinthez kötött hűtő-felületek: a zárolt minta halványabb, lakat ikonnal; kattintásra megrázkódik és kiírja a szintet. */
.acc3-fridge-swatch.is-locked { cursor: not-allowed; }
.acc3-fridge-swatch.is-locked .acc3-fridge-swatch-mini { filter: grayscale(.55) brightness(.92); opacity: .55; }
.acc3-fridge-swatch.is-shake { animation: acc3SwatchShake .4s ease; }
@keyframes acc3SwatchShake { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
.acc3-fridge-active-info.is-locked-hint { color: #c2410c; font-weight: 800; }
html.mk-dark .acc3-fridge-active-info.is-locked-hint { color: #fdba74; }
