:root {
  --bg: #20201F;
  --text: #ffffff;
  --font: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font);
  color: var(--text);
  display: flex;
  justify-content: center;
  /* Auf größeren Screens wird der Handy-Frame zentriert dargestellt */
}

.frame {
  position: relative;
  width: 393px;
  min-height: 852px;
  background: var(--bg);
  overflow: hidden;
}

.topbar {
  position: relative;
  width: 100%;
  height: 100%;
}

.date {
  position: absolute;
  top: 87px;
  left: 16px;
  width: 92px;
  height: 21px;
  font-family: var(--font);
  font-weight: 300; /* Light */
  font-size: 17px;
  line-height: 21px;
  white-space: nowrap;
  color: var(--text);
}

.title {
  position: absolute;
  top: 115px;
  left: 16px;
  width: auto;
  max-width: calc(100% - 32px);
  height: 41px;
  font-family: var(--font);
  font-weight: 700; /* Bold */
  font-size: 34px;
  line-height: 41px;
  white-space: nowrap;
  color: var(--text);
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.btn-more {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.btn-more img {
  width: 48px;
  height: 48px;
  display: block;
}

.btn-add {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.btn-add img {
  width: 48px;
  height: 48px;
  display: block;
}

.cards-grid {
  position: absolute;
  top: 180px;
  left: 16px;
  width: 361px; /* 175 + 11 + 175 */
  display: grid;
  grid-template-columns: repeat(2, 175px);
  gap: 11px;
}

.card {
  width: 175px;
  height: 112px;
  background: #272727;
  border-radius: 25px;
}

/* Mobile: Frame füllt den gesamten Viewport */
@media (max-width: 430px) {
  .frame {
    width: 100%;
    min-height: 100vh;
  }
}
