:root {
  --ml-lime: #d4ff00;
  --ml-ink: #1c1b1b;
  --ml-paper: #fcf9f8;
  --ml-orange: #cd4800;
  --ml-blue: #0046fa;
}

.ml-app-loading body > main {
  visibility: hidden;
}

/* Medyarelland canlı uygulama katmanı */
:root {
  --ml-ink: #191817;
  --ml-paper: #fbf9f7;
  --ml-lime: #caff00;
  --ml-rust: #b63a00;
  --ml-line: #292725;
  --ml-muted: #79766d;
}

.ml-app-shell {
  min-height: 100vh;
  padding-left: 240px !important;
  background-color: var(--ml-paper);
}

.ml-app-shell > main,
.ml-app-shell > header,
.ml-app-shell > footer,
.ml-app-shell > section {
  margin-left: 0 !important;
  width: auto !important;
}

.ml-app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 900;
  display: flex;
  width: 240px;
  flex-direction: column;
  border-right: 2px solid var(--ml-line);
  background: #faf8f5;
  color: var(--ml-ink);
}

.ml-brand {
  padding: 32px 23px 28px;
}

.ml-brand strong {
  display: block;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 29px;
  letter-spacing: -.5px;
}

.ml-brand small {
  display: block;
  margin-top: 2px;
  color: #6d6a60;
  font: 9px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: 1.4px;
}

.ml-side-links {
  display: grid;
  padding-top: 30px;
}

.ml-side-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 52px;
  padding: 0 24px;
  border-left: 4px solid transparent;
  color: inherit;
  font: 14px/1 "IBM Plex Mono", monospace;
  letter-spacing: .5px;
  text-decoration: none;
}

.ml-side-links a span {
  width: 20px;
  font: 22px/1 Arial, sans-serif;
  text-align: center;
}

.ml-side-links a:hover,
.ml-side-links a.active {
  border-color: #6b7800;
  background: var(--ml-lime);
}

.ml-side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 18px 20px;
  border-top: 1px solid #d5d1c8;
}

.ml-side-user img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ml-ink);
  border-radius: 50%;
  object-fit: cover;
}

.ml-side-user div {
  min-width: 0;
  flex: 1;
}

.ml-side-user strong,
.ml-side-user small {
  display: block;
  overflow: hidden;
  font: 11px/1.4 "IBM Plex Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ml-side-user small {
  color: #77736a;
  font-size: 8px;
}

.ml-side-user i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #58a400;
}

.ml-side-user button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.ml-app-mobile {
  display: none;
}

.ml-feature-panel {
  margin: 28px 3.5vw 34px;
  padding: 28px;
  border: 2px solid var(--ml-line);
  background: rgba(255, 255, 255, .94);
  box-shadow: 8px 8px 0 var(--ml-ink);
}

.ml-feature-heading small,
.ml-feature-panel > small {
  color: var(--ml-rust);
  font: 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.ml-feature-heading h2 {
  margin: 5px 0 20px;
  font: 52px/.9 "Bebas Neue", Impact, sans-serif;
  letter-spacing: .5px;
}

.ml-lead {
  max-width: 760px;
  margin: -4px 0 24px;
  color: #4e4b45;
  font: 16px/1.55 Arial, sans-serif;
}

.ml-primary {
  min-height: 45px;
  padding: 0 22px;
  border: 2px solid var(--ml-ink);
  background: var(--ml-lime);
  box-shadow: 3px 3px 0 var(--ml-ink);
  color: var(--ml-ink);
  cursor: pointer;
  font: 700 11px/1 "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.ml-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ml-ink);
}

.ml-primary:disabled {
  cursor: wait;
  opacity: .55;
}

.ml-save-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: #5f6e00;
  font: 10px/1.4 "IBM Plex Mono", monospace;
}

.ml-data-grid article.pending,
.ml-wall-grid article.pending {
  animation: mlSavingPulse .65s ease-in-out infinite alternate;
}

@keyframes mlSavingPulse {
  from { opacity: .62; }
  to { opacity: 1; }
}

.ml-inline-form,
.ml-upload-form,
.ml-wall-form {
  display: grid;
  grid-template-columns: minmax(160px, .6fr) minmax(260px, 1.5fr) auto;
  gap: 12px;
  margin: 20px 0 28px;
}

.ml-upload-form {
  grid-template-columns: 1fr 1fr 1fr auto;
}

.ml-inline-form input,
.ml-upload-form input,
.ml-upload-form select,
.ml-wall-form textarea,
.ml-award-grid select,
.ml-profile-fields input,
.ml-profile-fields textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1.5px solid var(--ml-ink);
  border-radius: 0;
  background: #fff;
  color: var(--ml-ink);
  font: 13px "IBM Plex Mono", monospace;
}

.ml-upload-form label,
.ml-profile-form label {
  color: #615e56;
  font: 9px/1.7 "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.ml-data-grid,
.ml-game-grid,
.ml-award-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ml-data-grid article,
.ml-game-grid article,
.ml-award-grid article {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1.5px solid var(--ml-ink);
  background: #faf8f3;
}

.ml-data-grid article:nth-child(3n + 2),
.ml-game-grid article:nth-child(2) {
  background: #eef0ff;
}

.ml-data-grid article:nth-child(3n),
.ml-game-grid article:nth-child(3) {
  background: #fff5b8;
}

.ml-data-grid h3,
.ml-game-grid h3,
.ml-award-grid h3 {
  margin: 10px 0;
  font: 30px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-data-grid p,
.ml-game-grid p,
.ml-award-grid p {
  font: 13px/1.55 "IBM Plex Mono", monospace;
}

.ml-data-grid footer {
  margin-top: 18px;
  color: #77736a;
  font: 9px "IBM Plex Mono", monospace;
}

.ml-live-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 3.5vw;
  padding: 12px 18px;
  border: 1.5px solid var(--ml-ink);
  background: #fff;
  font-family: "IBM Plex Mono", monospace;
}

.ml-live-strip > strong {
  font-size: 11px;
}

.ml-live-strip > div {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.ml-live-strip span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.ml-live-strip img {
  width: 29px;
  height: 29px;
  border: 1.5px solid var(--ml-ink);
  border-radius: 50%;
  object-fit: cover;
}

.ml-live-strip i {
  position: absolute;
  bottom: 0;
  left: 21px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #65b700;
}

.ml-live-strip > small {
  color: #667400;
  font-size: 9px;
}

.ml-clean-home {
  padding: 28px 3.5vw 70px;
}

.ml-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ml-ink);
}

.ml-home-head small {
  color: var(--ml-rust);
  font: 10px "IBM Plex Mono", monospace;
}

.ml-home-head h1 {
  margin: 4px 0 0;
  font: 54px/.9 "Bebas Neue", Impact, sans-serif;
}

.ml-home-head time {
  font: 13px "IBM Plex Mono", monospace;
}

.ml-clean-home .ml-live-strip {
  margin: 0 0 22px;
}

.ml-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ml-home-card {
  min-height: 230px;
  padding: 24px;
  border: 2px solid var(--ml-ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ml-ink);
}

.ml-home-card.quote { background: #f2efff; }
.ml-home-card.birthday { background: #c94a00; color: #fff; }
.ml-home-card.lunch { background: #fff9bd; }

.ml-home-card > small {
  color: var(--ml-rust);
  font: 10px "IBM Plex Mono", monospace;
}

.ml-home-card.birthday > small { color: #fff6b9; }

.ml-home-card h2 {
  margin: 15px 0 8px;
  font: 32px/1.05 "Bebas Neue", Impact, sans-serif;
}

.ml-home-card p {
  font: 12px/1.55 "IBM Plex Mono", monospace;
}

.ml-home-card.quote form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 22px;
}

.ml-home-card.quote input {
  min-width: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--ml-ink);
  font: 11px "IBM Plex Mono", monospace;
}

.ml-avatar-row {
  display: flex;
  min-height: 105px;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 13px;
  margin: 18px 0 12px;
}

.ml-avatar-row span {
  display: grid;
  justify-items: center;
  gap: 5px;
  font: 8px "IBM Plex Mono", monospace;
}

.ml-avatar-row img {
  width: 55px;
  height: 55px;
  border: 2px solid var(--ml-ink);
  border-radius: 50%;
  object-fit: cover;
}

.ml-birthday-person {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  margin-top: 15px;
}

.ml-birthday-person img {
  width: 105px;
  height: 105px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.ml-birthday-person h2 {
  font-size: 43px;
}

.ml-home-feeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.ml-home-feeds > section {
  border-top: 3px solid var(--ml-ink);
}

.ml-home-feeds header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
}

.ml-home-feeds h2 {
  margin: 0;
  font: 25px "Bebas Neue", Impact, sans-serif;
}

.ml-home-feeds a {
  color: var(--ml-rust);
  font: 9px "IBM Plex Mono", monospace;
}

.ml-home-feeds article {
  margin-bottom: 10px;
  padding: 14px;
  border: 1.5px solid var(--ml-ink);
  background: #fff;
  font: 10px/1.45 "IBM Plex Mono", monospace;
}

.ml-home-feeds article p {
  margin: 4px 0;
}

.ml-home-feeds article.memory {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
}

.ml-home-feeds article.memory img {
  width: 72px;
  height: 58px;
  object-fit: cover;
}

.ml-empty {
  padding: 25px;
  border: 1.5px dashed #8d887f;
  background: #faf8f4;
  color: #706c63;
  font: 11px/1.5 "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-empty.wide {
  grid-column: 1 / -1;
}

.ml-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ml-team-grid article {
  padding: 15px;
  border: 2px solid var(--ml-ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ml-ink);
}

.ml-team-photo {
  position: relative;
}

.ml-team-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1.5px solid var(--ml-ink);
  object-fit: cover;
}

.ml-team-grid article > small {
  display: block;
  margin-top: 14px;
  color: var(--ml-rust);
  font: 9px "IBM Plex Mono", monospace;
}

.ml-team-grid h2 {
  margin: 5px 0 0;
  font: 32px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-team-grid h3 {
  min-height: 34px;
  margin: 5px 0 10px;
  font: 11px/1.45 "IBM Plex Mono", monospace;
}

.ml-team-grid p {
  min-height: 80px;
  font: 11px/1.55 Arial, sans-serif;
}

.ml-team-grid footer {
  padding-top: 12px;
  border-top: 1px solid #ddd8cf;
  color: #6c685f;
  font: 8px/1.6 "IBM Plex Mono", monospace;
}

.ml-award-empty {
  margin: 18px 0;
  padding: 20px 12px;
  border: 1px dashed #8d887f;
  color: #6f6a61;
  font: 10px "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-selected {
  background: var(--ml-lime) !important;
  box-shadow: 3px 3px 0 var(--ml-ink);
}

.ml-lunch-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ml-lunch-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 12px;
  border: 1.5px solid var(--ml-ink);
  background: #fff;
  cursor: pointer;
  font: 9px "IBM Plex Mono", monospace;
}

.ml-lunch-actions button b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--ml-ink);
  color: #fff;
  font-size: 9px;
}

.ml-status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid var(--ml-ink);
  background: #fff;
  font: 8px "IBM Plex Mono", monospace;
}

.ml-status-badge.online {
  background: var(--ml-lime);
}

.ml-memory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ml-memory-grid article {
  transform: rotate(-.8deg);
  border: 2px solid var(--ml-ink);
  background: #fff;
  box-shadow: 7px 7px 0 var(--ml-ink);
}

.ml-memory-grid article:nth-child(even) {
  transform: rotate(.9deg);
}

.ml-memory-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.9);
}

.ml-memory-grid article div {
  padding: 15px;
}

.ml-memory-grid h3 {
  margin: 5px 0;
  font: 25px "Bebas Neue", Impact, sans-serif;
}

.ml-memory-grid p,
.ml-memory-grid small {
  font: 9px "IBM Plex Mono", monospace;
}

.ml-wall-form {
  grid-template-columns: 1fr auto;
}

.ml-wall-form textarea {
  min-height: 90px;
  resize: vertical;
}

.ml-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ml-wall-grid article {
  min-height: 170px;
  padding: 24px;
  border: 2px solid var(--ml-ink);
  box-shadow: 5px 5px 0 var(--ml-ink);
  transform: rotate(-1deg);
}

.ml-wall-grid article:nth-child(even) {
  transform: rotate(1deg);
}

.ml-wall-grid .yellow { background: #fff047; }
.ml-wall-grid .pink { background: #f4b7ce; }
.ml-wall-grid .blue { background: #d7eff8; }
.ml-wall-grid .white { background: #fff; }

.ml-wall-grid p {
  margin: 18px 0;
  font: italic 15px/1.55 "IBM Plex Mono", monospace;
  white-space: pre-wrap;
}

.ml-wall-grid small,
.ml-wall-grid footer {
  font: 9px "IBM Plex Mono", monospace;
}

.ml-award-grid {
  grid-template-columns: repeat(3, 1fr);
}

.ml-award-grid article {
  background: #fff;
  box-shadow: 6px 6px 0 var(--ml-ink);
}

.ml-award-leader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 10px;
  background: var(--ml-lime);
}

.ml-award-leader img {
  width: 54px;
  height: 54px;
  border: 2px solid var(--ml-ink);
  border-radius: 50%;
  object-fit: cover;
}

.ml-award-leader b,
.ml-award-leader small {
  display: block;
  font-family: "IBM Plex Mono", monospace;
}

.ml-award-grid select {
  margin-bottom: 12px;
}

.ml-profile-form {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
}

.ml-profile-photo img {
  display: block;
  width: 240px;
  height: 240px;
  border: 2px solid var(--ml-ink);
  background: #eee;
  object-fit: cover;
}

.ml-profile-photo label {
  display: block;
  width: 240px;
  margin-top: 10px;
  padding: 12px;
  border: 1.5px solid var(--ml-ink);
  cursor: pointer;
  text-align: center;
}

.ml-profile-photo input {
  display: none;
}

.ml-profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ml-profile-fields label {
  display: grid;
}

.ml-profile-fields .wide {
  grid-column: 1 / -1;
}

.ml-profile-fields textarea {
  min-height: 110px;
  resize: vertical;
}

.ml-profile-note {
  margin: 22px 0 0 292px;
  color: #6d6a62;
  font: 10px "IBM Plex Mono", monospace;
}

.ml-game-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ml-game-grid article {
  display: flex;
  min-height: 260px;
  flex-direction: column;
}

.ml-game-grid article > b {
  color: #c7c4bd;
  font: 40px "Bebas Neue", Impact, sans-serif;
}

.ml-game-grid article .ml-primary {
  align-self: flex-start;
  margin-top: auto;
}

.ml-scoreboard {
  margin-top: 26px;
  border: 2px solid var(--ml-ink);
  background: #1a1a19;
  color: #fff;
}

.ml-scoreboard h3 {
  margin: 0;
  padding: 15px 18px;
  color: var(--ml-lime);
  font: 20px "Bebas Neue", Impact, sans-serif;
}

.ml-scoreboard span {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 9px 18px;
  border-top: 1px solid #444;
  font: 10px "IBM Plex Mono", monospace;
}

.ml-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 18, 17, .82);
}

.ml-modal > section {
  position: relative;
  width: min(560px, 95vw);
  max-height: 93vh;
  overflow: auto;
  padding: 28px;
  border: 2px solid var(--ml-ink);
  background: #faf8f5;
  box-shadow: 10px 10px 0 var(--ml-lime);
}

.ml-modal h2 {
  margin: 5px 0 20px;
  font: 45px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 30px;
}

.ml-game-stage {
  text-align: center;
}

.ml-game-canvas {
  max-width: 100%;
  border: 3px solid var(--ml-ink);
  image-rendering: pixelated;
}

.ml-wide-game {
  width: min(480px, 100%);
}

.ml-tetris-layout {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.ml-tetris-layout aside {
  display: grid;
  width: 118px;
  gap: 8px;
  padding: 10px;
  border: 2px solid var(--ml-ink);
  background: #fff;
  font: 9px/1.4 "IBM Plex Mono", monospace;
  text-align: left;
}

.ml-next-canvas {
  width: 96px;
  height: 96px;
  border: 2px solid var(--ml-ink);
  image-rendering: pixelated;
}

.ml-game-info {
  margin-top: 12px;
  font: 10px "IBM Plex Mono", monospace;
}

.ml-reaction {
  width: 100%;
  min-height: 220px;
  border: 3px solid var(--ml-ink);
  background: #e3dfd8;
  cursor: pointer;
  font: 34px "Bebas Neue", Impact, sans-serif;
}

.ml-reaction.waiting { background: #d74619; color: white; }
.ml-reaction.ready { background: var(--ml-lime); color: var(--ml-ink); }

.ml-memory-game {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ml-memory-game button {
  aspect-ratio: 1;
  border: 2px solid var(--ml-ink);
  background: #222;
  color: white;
  cursor: pointer;
  font: 28px "Bebas Neue", Impact, sans-serif;
}

.ml-memory-game button.open,
.ml-memory-game button.matched {
  background: var(--ml-lime);
  color: var(--ml-ink);
}

.ml-touch-controls {
  display: grid;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
}

.ml-touch-controls span {
  display: flex;
  gap: 5px;
}

.ml-touch-controls.ml-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.ml-touch-controls button {
  width: 48px;
  height: 42px;
  border: 2px solid var(--ml-ink);
  background: #fff;
  cursor: pointer;
  font-size: 21px;
}

.ml-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
  max-width: 360px;
  padding: 15px 20px;
  border: 2px solid var(--ml-ink);
  background: var(--ml-lime);
  box-shadow: 5px 5px 0 var(--ml-ink);
  opacity: 0;
  transform: translateY(20px);
  transition: .2s ease;
  font: 11px/1.4 "IBM Plex Mono", monospace;
  pointer-events: none;
}

.ml-toast.error {
  background: #ffb0a0;
}

.ml-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ml-login-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(#ddd8ce 1px, transparent 1px) 0 0 / 24px 24px,
    #faf8f5;
  color: var(--ml-ink);
}

.ml-login-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
}

.ml-login-card {
  position: relative;
  width: min(450px, 94vw);
  padding: 48px;
  border: 2px solid var(--ml-ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 9px 9px 0 var(--ml-ink);
  text-align: center;
}

.ml-tape {
  position: absolute;
  top: -17px;
  left: 50%;
  width: 120px;
  height: 35px;
  background: rgba(202, 255, 0, .8);
  transform: translateX(-50%) rotate(-2deg);
}

.ml-login-mark {
  display: inline-block;
  padding: 10px;
  background: var(--ml-ink);
  color: #fff;
  font: 12px "IBM Plex Mono", monospace;
}

.ml-login-card h1 {
  margin: 12px 0 5px;
  font: 48px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-login-card > p {
  max-width: 260px;
  margin: 0 auto 30px;
  color: #656158;
  font: 15px/1.35 Arial, sans-serif;
}

.ml-login-card form {
  display: grid;
  gap: 17px;
  text-align: left;
}

.ml-login-card label {
  display: grid;
  gap: 7px;
  font: 10px "IBM Plex Mono", monospace;
  letter-spacing: 1px;
}

.ml-login-card input {
  height: 58px;
  padding: 0 14px;
  border: 1.5px solid var(--ml-ink);
  font: 15px "IBM Plex Mono", monospace;
}

.ml-login-card em {
  color: #67635a;
  font: italic 10px "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-login-card .ml-primary {
  height: 62px;
  font-size: 14px;
}

.ml-login-card output {
  min-height: 16px;
  color: #a12e00;
  font: 10px "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-login-card footer {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #d5d1c7;
  font: 8px "IBM Plex Mono", monospace;
}

@media (max-width: 1000px) {
  .ml-data-grid,
  .ml-memory-grid,
  .ml-award-grid,
  .ml-game-grid,
  .ml-wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-upload-form {
    grid-template-columns: 1fr 1fr;
  }

  .ml-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-home-feeds {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ml-app-shell {
    padding-left: 0 !important;
    padding-bottom: 68px !important;
  }

  .ml-app-sidebar {
    display: none;
  }

  .ml-app-mobile {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    overflow-x: auto;
    border-top: 2px solid var(--ml-ink);
    background: #faf8f5;
  }

  .ml-app-mobile a {
    display: grid;
    min-width: 68px;
    flex: 1;
    place-items: center;
    padding: 9px 4px 7px;
    color: var(--ml-ink);
    text-decoration: none;
    font: 18px/1 Arial, sans-serif;
  }

  .ml-app-mobile a.active {
    background: var(--ml-lime);
  }

  .ml-app-mobile small {
    margin-top: 4px;
    font: 7px "IBM Plex Mono", monospace;
  }

  .ml-feature-panel {
    margin: 14px;
    padding: 18px;
    box-shadow: 5px 5px 0 var(--ml-ink);
  }

  .ml-feature-heading h2 {
    font-size: 40px;
  }

  .ml-inline-form,
  .ml-upload-form,
  .ml-wall-form,
  .ml-profile-form,
  .ml-profile-fields {
    grid-template-columns: 1fr;
  }

  .ml-data-grid,
  .ml-memory-grid,
  .ml-award-grid,
  .ml-game-grid,
  .ml-wall-grid {
    grid-template-columns: 1fr;
  }

  .ml-profile-fields .wide {
    grid-column: auto;
  }

  .ml-profile-photo img,
  .ml-profile-photo label {
    width: 100%;
  }

  .ml-profile-photo img {
    height: auto;
    aspect-ratio: 1;
  }

  .ml-profile-note {
    margin-left: 0;
  }

  .ml-live-strip {
    align-items: flex-start;
    margin: 12px;
    flex-direction: column;
  }

  .ml-clean-home {
    padding: 16px 14px 82px;
  }

  .ml-home-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .ml-home-head h1 {
    font-size: 44px;
  }

  .ml-home-grid,
  .ml-team-grid {
    grid-template-columns: 1fr;
  }

  .ml-home-card.quote form {
    grid-template-columns: 1fr;
  }

  .ml-login-card {
    padding: 40px 24px 28px;
  }

  .ml-tetris-layout {
    align-items: center;
    flex-direction: column;
  }

  .ml-tetris-layout aside {
    width: min(240px, 100%);
    grid-template-columns: auto 100px;
    align-items: center;
  }
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

::selection {
  color: var(--ml-ink);
  background: var(--ml-lime);
}

a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ml-blue) !important;
  outline-offset: 3px;
}

.ml-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms cubic-bezier(.2,.8,.2,1), transform 560ms cubic-bezier(.2,.8,.2,1);
}

.ml-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ml-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 2px solid var(--ml-ink);
  color: var(--ml-ink);
  background: var(--ml-lime);
  box-shadow: 6px 6px 0 var(--ml-ink);
  font: 700 12px/1.45 "JetBrains Mono", monospace;
  text-transform: uppercase;
  transform: translateY(24px);
  opacity: 0;
  transition: 220ms ease;
}

.ml-toast.is-visible {
  transform: none;
  opacity: 1;
}

.ml-route-transition {
  animation: ml-route-in 360ms cubic-bezier(.2,.8,.2,1) both;
}

@keyframes ml-route-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ml-marquee {
  to { transform: translateX(-50%); }
}

.ml-mobile-nav {
  display: none;
}

.ml-member-hidden {
  display: none !important;
}

.member-card {
  animation: ml-card-in 420ms both;
}

.ml-employee-avatar {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 28% !important;
}

@keyframes ml-card-in {
  from { opacity: 0; transform: translateY(16px) rotate(.4deg); }
  to { opacity: 1; transform: none; }
}

@media (hover: hover) {
  .member-card:hover {
    z-index: 4;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  main {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .ml-mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 2px solid var(--ml-ink);
    background: rgba(252, 249, 248, .96);
    backdrop-filter: blur(12px);
  }

  .ml-mobile-nav a {
    min-width: 0;
    padding: 9px 4px 8px;
    color: var(--ml-ink);
    text-align: center;
    text-decoration: none;
    font: 700 9px/1.2 "JetBrains Mono", monospace;
    text-transform: uppercase;
  }

  .ml-mobile-nav a + a {
    border-left: 1px solid rgba(28, 27, 27, .18);
  }

  .ml-mobile-nav a[aria-current="page"] {
    background: var(--ml-lime);
  }

  .ml-mobile-nav .material-symbols-outlined {
    display: block;
    margin: 0 auto 3px;
    font-size: 22px;
  }

  .ml-toast {
    right: 20px;
    bottom: 94px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .ml-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Medyarelland 4.0: işler, takvim, bildirim, Zeytin ve yönetim */
.ml-side-links {
  min-height: 0;
  overflow-y: auto;
  padding-top: 8px;
}

.ml-side-links a {
  min-height: 43px;
}

.ml-nav-badge {
  min-width: 18px;
  margin-left: auto;
  padding: 3px;
  border-radius: 20px;
  background: var(--ml-rust);
  color: white;
  font: 700 9px/1 "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-install-button {
  margin-top: 12px;
  padding: 7px 9px;
  border: 1px solid var(--ml-ink);
  background: var(--ml-lime);
  cursor: pointer;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-project-form,
.ml-calendar-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid var(--ml-ink);
  background: #fff8bf;
}

.ml-project-form label,
.ml-calendar-form label {
  display: grid;
  gap: 7px;
  color: #656158;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-project-form input,
.ml-project-form select,
.ml-project-form textarea,
.ml-calendar-form input,
.ml-calendar-form select {
  min-height: 43px;
  padding: 9px 11px;
  border: 1px solid var(--ml-ink);
  border-radius: 0;
  background: white;
  font: 12px/1.4 "IBM Plex Mono", monospace;
}

.ml-project-form textarea {
  min-height: 74px;
  resize: vertical;
}

.ml-project-form .wide,
.ml-calendar-form .wide {
  grid-column: span 2;
}

.ml-project-form fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  border: 1px dashed #777;
  padding: 10px;
}

.ml-project-form fieldset label {
  display: flex;
  align-items: center;
}

.ml-project-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ml-project-column {
  min-height: 320px;
  padding: 12px;
  border: 1px solid var(--ml-ink);
  background: #f4f1ed;
}

.ml-project-column > header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--ml-ink);
  font: 700 11px/1 "IBM Plex Mono", monospace;
}

.ml-project-column > header span {
  padding: 2px 7px;
  background: var(--ml-lime);
}

.ml-project-card {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--ml-ink);
  background: white;
  box-shadow: 4px 4px 0 var(--ml-ink);
}

.ml-project-card > small,
.ml-calendar-list small,
.ml-notification small {
  color: var(--ml-rust);
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-project-card h3 {
  margin: 7px 0;
  font: 26px/.95 "Bebas Neue", Impact, sans-serif;
}

.ml-project-card p {
  min-height: 40px;
  color: #5e5a52;
  font: 11px/1.45 "IBM Plex Mono", monospace;
}

.ml-project-people {
  display: flex;
  min-height: 29px;
  margin: 10px 0;
}

.ml-project-people img {
  width: 29px;
  height: 29px;
  margin-right: -6px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.ml-project-people em {
  color: #777;
  font: 9px/28px "IBM Plex Mono", monospace;
}

.ml-project-card dl {
  display: flex;
  gap: 20px;
  margin: 8px 0;
}

.ml-project-card dl div {
  display: grid;
}

.ml-project-card dt,
.ml-project-card dd {
  margin: 0;
  font: 9px/1.35 "IBM Plex Mono", monospace;
}

.ml-project-card select,
.ml-project-card button {
  width: 100%;
  min-height: 34px;
  margin-top: 7px;
  border: 1px solid var(--ml-ink);
  background: #fff;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-project-card button {
  background: var(--ml-lime);
  cursor: pointer;
}

.ml-calendar-list {
  display: grid;
  gap: 11px;
}

.ml-calendar-list article {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid var(--ml-ink);
  background: white;
  box-shadow: 4px 4px 0 var(--ml-ink);
}

.ml-calendar-list article.birthday {
  background: #fff0ae;
}

.ml-calendar-list time {
  display: grid;
  text-align: center;
  font: 700 11px/1 "IBM Plex Mono", monospace;
}

.ml-calendar-list time b {
  font: 40px/.9 "Bebas Neue", Impact, sans-serif;
}

.ml-calendar-list h3 {
  margin: 5px 0;
  font: 25px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-calendar-list p {
  margin: 0;
  color: #67635b;
  font: 11px/1.4 "IBM Plex Mono", monospace;
}

.ml-calendar-list article > strong {
  font: 700 11px/1 "IBM Plex Mono", monospace;
}

.ml-notification-list {
  display: grid;
  gap: 10px;
}

.ml-notification {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px;
  border: 1px solid var(--ml-ink);
  background: white;
  color: inherit;
  text-decoration: none;
}

.ml-notification:hover {
  background: #f5ffc3;
  box-shadow: 4px 4px 0 var(--ml-ink);
}

.ml-notification > b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ml-lime);
  font-size: 22px;
}

.ml-notification p {
  margin: 5px 0 0;
  font: 13px/1.35 "IBM Plex Mono", monospace;
}

.ml-notification time {
  color: #777;
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-zeytin-layout {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.2fr;
  gap: 24px;
}

.ml-cat-stage,
.ml-cat-console {
  padding: 28px;
  border: 2px solid var(--ml-ink);
}

.ml-cat-stage {
  background: var(--ml-lime);
  text-align: center;
}

.ml-css-cat {
  position: relative;
  display: grid;
  width: 190px;
  height: 160px;
  margin: 12px auto 24px;
  place-items: center;
  border-radius: 46% 46% 40% 40%;
  background: #1b1b1b;
  color: white;
  font: 700 34px/1 Arial, sans-serif;
  box-shadow: 10px 12px 0 rgba(0,0,0,.2);
}

.ml-css-cat::before,
.ml-css-cat::after {
  position: absolute;
  top: -28px;
  width: 70px;
  height: 70px;
  background: #1b1b1b;
  content: "";
  transform: rotate(45deg);
}

.ml-css-cat::before { left: 16px; }
.ml-css-cat::after { right: 16px; }
.ml-css-cat b { position: relative; z-index: 2; }
.ml-css-cat i {
  position: absolute;
  right: -48px;
  bottom: 8px;
  width: 82px;
  height: 34px;
  border: 18px solid #1b1b1b;
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.ml-cat-stage h3,
.ml-cat-console h3 {
  margin: 8px 0;
  font: 30px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-cat-stage p,
.ml-cat-console p {
  font: 12px/1.5 "IBM Plex Mono", monospace;
}

.ml-xp,
.ml-cat-stat i {
  display: block;
  height: 12px;
  border: 1px solid var(--ml-ink);
  background: white;
}

.ml-xp span,
.ml-cat-stat em {
  display: block;
  height: 100%;
  background: var(--ml-rust);
}

.ml-cat-stat {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 20px 0;
  font: 700 10px/1 "IBM Plex Mono", monospace;
}

.ml-cat-stat i { grid-column: 1 / -1; }
.ml-cat-stat em { background: var(--ml-lime); }

.ml-cat-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.ml-cat-actions button small {
  display: block;
  margin-top: 5px;
  font-size: 8px;
}

.ml-cat-score {
  padding: 14px;
  background: #f2f0ec;
}

.ml-text-link {
  color: var(--ml-rust);
  font: 700 10px/1 "IBM Plex Mono", monospace;
}

.ml-admin-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.ml-admin-stats article {
  display: grid;
  min-height: 90px;
  place-items: center;
  border: 1px solid var(--ml-ink);
  background: var(--ml-lime);
}

.ml-admin-stats b {
  align-self: end;
  font: 36px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-admin-stats span {
  align-self: start;
  font: 9px/1 "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.ml-admin-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ml-admin-content section {
  border: 1px solid var(--ml-ink);
}

.ml-admin-content header,
.ml-admin-content article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-bottom: 1px solid var(--ml-ink);
}

.ml-admin-content header {
  background: #1c1b1b;
  color: white;
}

.ml-admin-content h3 {
  margin: 0;
  font: 24px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-admin-content article div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ml-admin-content article b,
.ml-admin-content article small {
  overflow: hidden;
  font: 11px/1.3 "IBM Plex Mono", monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ml-admin-content article button {
  padding: 9px;
  border: 1px solid var(--ml-ink);
  background: #ffded4;
  cursor: pointer;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-empty {
  padding: 20px;
  color: #777;
  font: 11px/1.4 "IBM Plex Mono", monospace;
}

.ml-reputation {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ml-reputation > b,
.ml-reputation span {
  padding: 5px 7px;
  background: var(--ml-lime);
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-reputation span {
  background: #fff0a5;
}

.ml-weekly {
  margin: 32px 3.5vw;
  padding: 24px;
  border: 2px solid var(--ml-ink);
  background: #1c1b1b;
  color: white;
  box-shadow: 7px 7px 0 var(--ml-lime);
}

.ml-weekly header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.ml-weekly header small {
  color: var(--ml-lime);
  font: 10px/1 "IBM Plex Mono", monospace;
}

.ml-weekly h2 {
  margin: 0;
  font: 42px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-weekly > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.ml-weekly article {
  display: grid;
  min-height: 95px;
  place-items: center;
  border: 1px solid white;
}

.ml-weekly article b {
  align-self: end;
  font: 38px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-weekly article span {
  align-self: start;
  color: #c9c4bc;
  font: 8px/1 "IBM Plex Mono", monospace;
}

.ml-weekly footer {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 10px/1.4 "IBM Plex Mono", monospace;
}

.ml-weekly footer img {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ml-lime);
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .ml-project-form,
  .ml-calendar-form { grid-template-columns: repeat(2, 1fr); }
  .ml-admin-stats { grid-template-columns: repeat(3, 1fr); }
  .ml-admin-content { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ml-project-form,
  .ml-calendar-form,
  .ml-zeytin-layout { grid-template-columns: 1fr; }
  .ml-project-form .wide,
  .ml-calendar-form .wide { grid-column: auto; }
  .ml-project-board { grid-template-columns: repeat(4, 82vw); }
  .ml-calendar-list article { grid-template-columns: 58px 1fr; }
  .ml-calendar-list article > strong { grid-column: 2; }
  .ml-notification { grid-template-columns: 42px 1fr; }
  .ml-notification time { grid-column: 2; }
  .ml-cat-actions { grid-template-columns: 1fr; }
  .ml-admin-stats { grid-template-columns: repeat(2, 1fr); }
  .ml-weekly > div { grid-template-columns: repeat(2, 1fr); }
}

/* Ajans Kulübü */
.ml-prophecy {
  position: relative;
  margin-top: 24px;
  padding: 30px 120px 30px 30px;
  overflow: hidden;
  border: 2px solid var(--ml-ink);
  background: #fff3a8;
  box-shadow: 7px 7px 0 var(--ml-ink);
}

.ml-prophecy > small {
  color: var(--ml-rust);
  font: 700 10px/1 "IBM Plex Mono", monospace;
}

.ml-prophecy blockquote {
  max-width: 850px;
  margin: 18px 0;
  font: 32px/1.15 "Bebas Neue", Impact, sans-serif;
}

.ml-prophecy footer {
  font: 700 9px/1.4 "IBM Plex Mono", monospace;
}

.ml-prophecy-cat {
  position: absolute;
  right: 18px;
  bottom: -22px;
  color: var(--ml-rust);
  font: 150px/1 Arial, sans-serif;
  transform: rotate(-9deg);
}

.ml-club-hero {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 15px;
  margin-bottom: 26px;
}

.ml-club-hero > div,
.ml-club-hero blockquote {
  margin: 0;
  border: 2px solid var(--ml-ink);
  box-shadow: 5px 5px 0 var(--ml-ink);
}

.ml-club-hero > div {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 18px;
  background: var(--ml-lime);
}

.ml-club-hero > div small,
.ml-club-hero > div span {
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-club-hero > div b {
  font: 72px/.8 "Bebas Neue", Impact, sans-serif;
}

.ml-club-hero blockquote {
  display: grid;
  align-content: center;
  padding: 28px;
  background: #1c1b1b;
  color: white;
  font: 30px/1.15 "Bebas Neue", Impact, sans-serif;
}

.ml-club-hero blockquote small {
  margin-top: 15px;
  color: var(--ml-lime);
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-club-section {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--ml-ink);
  background: white;
}

.ml-club-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--ml-ink);
}

.ml-club-section > header small {
  color: var(--ml-rust);
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-club-section > header h3 {
  margin: 4px 0 0;
  font: 38px/.9 "Bebas Neue", Impact, sans-serif;
}

.ml-club-section > header p {
  max-width: 410px;
  margin: 0;
  color: #68635b;
  font: 10px/1.45 "IBM Plex Mono", monospace;
  text-align: right;
}

.ml-music-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr auto;
  gap: 8px;
  margin: 18px 0;
}

.ml-music-form input {
  min-height: 45px;
  padding: 0 12px;
  border: 1px solid var(--ml-ink);
  border-radius: 0;
  font: 10px/1 "IBM Plex Mono", monospace;
}

.ml-music-list {
  display: grid;
  gap: 8px;
}

.ml-music-list article {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border: 1px solid var(--ml-ink);
}

.ml-music-list article.voted {
  background: #f4ffd2;
}

.ml-music-list article > b {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: #1c1b1b;
  color: var(--ml-lime);
  font: 24px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-music-list h4,
.ml-reward-grid h4,
.ml-market-grid h4 {
  margin: 0 0 4px;
  font: 24px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-music-list p,
.ml-music-list small {
  display: block;
  margin: 0;
  color: #6d685f;
  font: 9px/1.4 "IBM Plex Mono", monospace;
}

.ml-music-list button,
.ml-reward-grid button,
.ml-market-grid button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--ml-ink);
  background: var(--ml-lime);
  cursor: pointer;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-music-list button strong {
  margin-left: 8px;
  padding: 3px 6px;
  background: #1c1b1b;
  color: white;
}

.ml-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.ml-reward-grid article {
  display: grid;
  min-height: 210px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--ml-ink);
  box-shadow: 4px 4px 0 var(--ml-ink);
}

.ml-reward-grid article.earned { background: #fff1a9; }
.ml-reward-grid article.claimed { background: var(--ml-lime); }
.ml-reward-grid article.locked { opacity: .48; }

.ml-reward-grid i {
  margin-bottom: 13px;
  font: 45px/1 Arial, sans-serif;
  font-style: normal;
}

.ml-reward-grid p,
.ml-market-grid p {
  color: #625e56;
  font: 10px/1.45 "IBM Plex Mono", monospace;
}

.ml-reward-grid button {
  align-self: end;
  margin-top: 10px;
}

.ml-market-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.ml-market-grid article {
  display: grid;
  min-height: 245px;
  align-content: start;
  padding: 17px;
  border: 1px solid var(--ml-ink);
  background: #f4f1ed;
}

.ml-market-grid i {
  margin-bottom: 15px;
  color: var(--ml-rust);
  font: 45px/1 Arial, sans-serif;
  font-style: normal;
}

.ml-market-grid button {
  align-self: end;
  margin-top: 10px;
}

.ml-market-grid button:disabled,
.ml-reward-grid button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.ml-inventory {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed var(--ml-ink);
}

.ml-inventory h4 {
  margin: 0 0 12px;
  font: 24px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-inventory span {
  display: inline-flex;
  gap: 8px;
  margin: 0 7px 7px 0;
  padding: 9px;
  background: #1c1b1b;
  color: white;
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-inventory span small { color: var(--ml-lime); }

@media (max-width: 1100px) {
  .ml-music-form { grid-template-columns: 1fr 1fr; }
  .ml-reward-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-market-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .ml-prophecy { padding: 22px; }
  .ml-prophecy-cat { display: none; }
  .ml-club-hero,
  .ml-music-form { grid-template-columns: 1fr; }
  .ml-club-section > header { display: block; }
  .ml-club-section > header p { margin-top: 8px; text-align: left; }
  .ml-music-list article { grid-template-columns: 45px 1fr; }
  .ml-music-list article button { grid-column: 2; }
  .ml-reward-grid,
  .ml-market-grid { grid-template-columns: 1fr; }
}

.ml-point-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  padding: 13px;
  border: 1px solid var(--ml-ink);
  background: #fff;
}

.ml-point-sources strong,
.ml-point-sources span {
  padding: 7px 9px;
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-point-sources strong { background: #1c1b1b; color: white; }
.ml-point-sources span { background: var(--ml-lime); }

.ml-reward-grid article > strong {
  align-self: end;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--ml-ink);
  background: white;
  font: 700 9px/1 "IBM Plex Mono", monospace;
  text-align: center;
}

.ml-club-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ml-club-duo .ml-club-section {
  min-width: 0;
}

.ml-mini-form {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.ml-mini-form select,
.ml-mini-form textarea,
.ml-photo-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--ml-ink);
  border-radius: 0;
  background: white;
  font: 10px/1.4 "IBM Plex Mono", monospace;
  box-sizing: border-box;
}

.ml-mini-form textarea {
  min-height: 95px;
  resize: vertical;
}

.ml-compliment-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.ml-compliment-feed article {
  min-height: 100px;
  padding: 13px;
  border: 1px solid var(--ml-ink);
  background: #fff3a8;
  transform: rotate(-.5deg);
}

.ml-compliment-feed article:nth-child(even) {
  background: #e2f4ff;
  transform: rotate(.7deg);
}

.ml-compliment-feed small {
  color: var(--ml-rust);
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-compliment-feed p {
  font: italic 12px/1.5 "IBM Plex Mono", monospace;
}

.ml-daily-question {
  margin: 22px 0 15px;
  font: 27px/1.05 "Bebas Neue", Impact, sans-serif;
}

.ml-poll-options,
.ml-trivia-options {
  display: grid;
  gap: 8px;
}

.ml-poll-options button,
.ml-trivia-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--ml-ink);
  background: white;
  cursor: pointer;
  font: 700 10px/1 "IBM Plex Mono", monospace;
  text-align: left;
}

.ml-poll-options button:hover,
.ml-poll-options button.selected,
.ml-trivia-options button:hover,
.ml-trivia-options button.selected {
  background: var(--ml-lime);
}

.ml-poll-options b {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  background: #1c1b1b;
  color: white;
}

.ml-trivia-result {
  margin-top: 14px;
  padding: 13px;
  border: 1px solid var(--ml-ink);
  font: 700 10px/1.4 "IBM Plex Mono", monospace;
}

.ml-trivia-result.correct { background: var(--ml-lime); }
.ml-trivia-result.wrong { background: #ffd2c6; }

.ml-capsule-status {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  margin-top: 15px;
  padding: 13px;
  border: 1px dashed var(--ml-ink);
  background: #f3f0ec;
}

.ml-capsule-status b {
  grid-row: span 2;
  font: 52px/.9 "Bebas Neue", Impact, sans-serif;
}

.ml-capsule-status span,
.ml-capsule-status small {
  font: 700 9px/1.4 "IBM Plex Mono", monospace;
}

.ml-capsule-status small { color: var(--ml-rust); }

.ml-open-capsule {
  margin-top: 9px;
  padding: 15px;
  border: 1px solid var(--ml-ink);
  background: #fff3a8;
  font: italic 12px/1.5 "IBM Plex Mono", monospace;
}

.ml-photo-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 9px;
  margin: 18px 0;
}

.ml-zeytin-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.ml-zeytin-photo-grid article {
  position: relative;
  padding: 10px;
  border: 2px solid var(--ml-ink);
  background: white;
  box-shadow: 5px 5px 0 var(--ml-ink);
}

.ml-zeytin-photo-grid article.leader {
  background: var(--ml-lime);
}

.ml-zeytin-photo-grid article > strong {
  position: absolute;
  top: 17px;
  left: 4px;
  padding: 7px 10px;
  background: var(--ml-rust);
  color: white;
  font: 700 8px/1 "IBM Plex Mono", monospace;
  transform: rotate(-4deg);
}

.ml-zeytin-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ml-ink);
  object-fit: cover;
}

.ml-zeytin-photo-grid h4 {
  margin: 9px 0 3px;
  font: 25px/1 "Bebas Neue", Impact, sans-serif;
}

.ml-zeytin-photo-grid small {
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-zeytin-photo-grid button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid var(--ml-ink);
  background: white;
  cursor: pointer;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-zeytin-photo-grid button.selected {
  background: #1c1b1b;
  color: var(--ml-lime);
}

@media (max-width: 1100px) {
  .ml-club-duo { grid-template-columns: 1fr; }
  .ml-zeytin-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .ml-compliment-feed,
  .ml-photo-form,
  .ml-zeytin-photo-grid { grid-template-columns: 1fr; }
}

/* Site Keşke Bunu Yapsa */
.ml-wish-intro {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.ml-wish-intro > div {
  display: grid;
  min-height: 120px;
  place-items: center;
  border: 2px solid var(--ml-ink);
  background: var(--ml-lime);
  box-shadow: 5px 5px 0 var(--ml-ink);
}

.ml-wish-intro b {
  align-self: end;
  font: 58px/.85 "Bebas Neue", Impact, sans-serif;
}

.ml-wish-intro span {
  align-self: start;
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-wish-intro p {
  display: grid;
  margin: 0;
  place-items: center start;
  padding: 24px;
  border: 2px solid var(--ml-ink);
  background: #1c1b1b;
  color: white;
  font: 22px/1.35 "Bebas Neue", Impact, sans-serif;
}

.ml-wish-form {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 11px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--ml-ink);
  background: #fff3a8;
}

.ml-wish-form label {
  display: grid;
  gap: 6px;
  color: #666159;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-wish-form .wide { grid-column: 1 / -1; }

.ml-wish-form input,
.ml-wish-form select,
.ml-wish-form textarea {
  min-height: 43px;
  padding: 10px;
  border: 1px solid var(--ml-ink);
  border-radius: 0;
  background: white;
  font: 10px/1.4 "IBM Plex Mono", monospace;
}

.ml-wish-form textarea {
  min-height: 90px;
  resize: vertical;
}

.ml-wish-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.ml-wish-statuses span,
.ml-wish-grid header > span {
  padding: 7px 10px;
  border: 1px solid var(--ml-ink);
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-wish-statuses b { margin-right: 7px; font-size: 13px; }
.ml-wish-statuses .lime,
.ml-wish-grid .lime { background: var(--ml-lime); }
.ml-wish-statuses .yellow,
.ml-wish-grid .yellow { background: #fff3a8; }
.ml-wish-statuses .blue,
.ml-wish-grid .blue { background: #dce9ff; }
.ml-wish-statuses .dark,
.ml-wish-grid .dark { background: #1c1b1b; color: white; }

.ml-wish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ml-wish-grid article {
  display: grid;
  min-height: 260px;
  align-content: start;
  padding: 17px;
  border: 2px solid var(--ml-ink);
  background: white;
  box-shadow: 5px 5px 0 var(--ml-ink);
}

.ml-wish-grid header,
.ml-wish-grid footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ml-wish-grid header small,
.ml-wish-grid footer span {
  color: #6b665e;
  font: 8px/1.3 "IBM Plex Mono", monospace;
}

.ml-wish-grid h3 {
  margin: 20px 0 8px;
  font: 30px/.95 "Bebas Neue", Impact, sans-serif;
}

.ml-wish-grid p {
  color: #5f5b54;
  font: 10px/1.5 "IBM Plex Mono", monospace;
}

.ml-wish-grid footer {
  align-self: end;
  margin-top: 18px;
  padding-top: 11px;
  border-top: 1px solid #ccc7bd;
}

.ml-wish-grid footer button,
.ml-wish-grid select {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--ml-ink);
  background: white;
  cursor: pointer;
  font: 700 9px/1 "IBM Plex Mono", monospace;
}

.ml-wish-grid footer button.selected {
  background: var(--ml-lime);
}

.ml-wish-grid select {
  width: 100%;
  margin-top: 10px;
}

/* Ücretsiz site içi Zeytin ajanı */
.ml-zeytin-agent {
  position: fixed;
  right: 18px;
  left: auto;
  bottom: 18px;
  z-index: 1200;
  font-family: "IBM Plex Mono", monospace;
}

.ml-agent-launch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 8px;
  border: 2px solid var(--ml-ink);
  border-radius: 36px;
  background: var(--ml-lime);
  box-shadow: 4px 4px 0 var(--ml-ink);
  cursor: pointer;
}

.ml-agent-cat {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #1c1b1b;
  color: white;
  font: 700 13px/1 Arial, sans-serif;
}

.ml-agent-cat::before,
.ml-agent-cat::after {
  position: absolute;
  top: -3px;
  width: 18px;
  height: 18px;
  background: #1c1b1b;
  content: "";
  transform: rotate(45deg);
}

.ml-agent-cat::before { left: 4px; }
.ml-agent-cat::after { right: 4px; }
.ml-agent-cat b { position: relative; z-index: 1; }

.ml-agent-launch > span:last-child {
  display: grid;
  text-align: left;
}

.ml-agent-launch strong { font: 21px/.9 "Bebas Neue", Impact, sans-serif; }
.ml-agent-launch small { margin-top: 3px; font: 700 7px/1 "IBM Plex Mono", monospace; }

.ml-agent-panel {
  width: min(390px, calc(100vw - 28px));
  height: min(600px, calc(100vh - 80px));
  overflow: hidden;
  border: 2px solid var(--ml-ink);
  background: #f9f7f3;
  box-shadow: 8px 8px 0 var(--ml-ink);
}

.ml-agent-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  background: #1c1b1b;
  color: white;
}

.ml-agent-panel > header div {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 4px 8px;
}

.ml-agent-panel > header b { font: 700 10px/1 "IBM Plex Mono", monospace; }
.ml-agent-panel > header small { grid-column: 2; color: var(--ml-lime); font: 7px/1 "IBM Plex Mono", monospace; }

.ml-agent-dot {
  grid-row: span 2;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ml-lime);
  box-shadow: 0 0 0 4px rgba(202,255,0,.16);
}

.ml-agent-panel > header button {
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 24px;
}

.ml-agent-messages {
  display: flex;
  height: calc(100% - 170px);
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding: 13px;
}

.ml-agent-messages article {
  max-width: 84%;
  padding: 11px;
  border: 1px solid var(--ml-ink);
  background: white;
}

.ml-agent-messages article.user {
  align-self: flex-end;
  background: var(--ml-lime);
}

.ml-agent-messages article.pending {
  color: #777168;
  border-style: dashed;
  animation: ml-agent-pulse 1s ease-in-out infinite alternate;
}

@keyframes ml-agent-pulse {
  from { opacity: .48; }
  to { opacity: 1; }
}

.ml-agent-messages article small {
  display: block;
  margin-bottom: 5px;
  color: var(--ml-rust);
  font: 700 7px/1 "IBM Plex Mono", monospace;
}

.ml-agent-messages article p {
  margin: 0;
  font: 10px/1.5 "IBM Plex Mono", monospace;
}

.ml-agent-messages article a {
  display: inline-block;
  margin-top: 9px;
  color: var(--ml-rust);
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-agent-suggestions {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 13px 9px;
}

.ml-agent-suggestions button {
  flex: 0 0 auto;
  padding: 7px;
  border: 1px solid var(--ml-ink);
  background: #fff3a8;
  cursor: pointer;
  font: 700 7px/1 "IBM Plex Mono", monospace;
}

.ml-agent-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  padding: 0 13px 9px;
}

.ml-agent-form input {
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--ml-ink);
  font: 9px/1 "IBM Plex Mono", monospace;
}

.ml-agent-form button {
  border: 1px solid var(--ml-ink);
  background: var(--ml-lime);
  cursor: pointer;
  font: 700 8px/1 "IBM Plex Mono", monospace;
}

.ml-agent-panel > footer {
  display: flex;
  justify-content: space-between;
  padding: 0 13px 9px;
  color: #777168;
  font: 7px/1 "IBM Plex Mono", monospace;
}

.ml-agent-panel > footer button {
  border: 0;
  background: transparent;
  color: var(--ml-rust);
  cursor: pointer;
  font: 700 7px/1 "IBM Plex Mono", monospace;
}

@media (max-width: 1100px) {
  .ml-wish-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .ml-wish-intro,
  .ml-wish-form,
  .ml-wish-grid { grid-template-columns: 1fr; }
  .ml-wish-form .wide { grid-column: auto; }
  .ml-zeytin-agent { right: 14px; left: auto; bottom: 78px; }
  .ml-agent-panel { height: min(560px, calc(100vh - 105px)); }
}
