:root {
  --ink: #1b2436;
  --ink2: #2e3a4f;
  --coral: #d25c40;
  --coral-l: #faece7;
  --amber: #f2c14e;
  --amber-l: #fbf0dc;
  --teal: #0e6b67;
  --teal-l: #e4f0ee;
  --sand: #f7f1e6;
  --paper: #fbf7ef;
  --line: #e2dccf;
  --gray: #5c6573;
  --gray-l: #8b8578;
  --white: #fff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --r: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: hidden; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  display: block;
  min-height: 100%;
}
button { font-family: inherit; }

.frame {
  position: relative;
  width: 100%;
  height: 100dvh;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

#app { height: 100%; }

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) max(22px, calc((100% - 620px) / 2)) 0;
  background: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: fade 0.22s ease;
}
.screen.child { background: var(--paper); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.statusbar .icons { display: flex; gap: 5px; align-items: center; }
.statusbar i { display: block; background: currentColor; border-radius: 1px; }
.statusbar .sig { width: 16px; height: 10px; clip-path: polygon(0 70%, 25% 70%, 25% 100%, 0 100%, 0 70%, 30% 45%, 55% 45%, 55% 100%, 30% 100%, 30% 45%, 60% 20%, 85% 20%, 85% 100%, 60% 100%); }
.statusbar .bat { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; background: none; position: relative; }
.statusbar .bat::after { content: ""; position: absolute; inset: 2px; background: currentColor; border-radius: 1px; }

.nav { display: flex; align-items: center; gap: 16px; padding: 14px 0 10px; flex: none; }
.back {
  width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  position: relative; flex: none;
}
.back::before, .back::after {
  content: ""; position: absolute; left: 9px; width: 9px; height: 2.4px;
  background: var(--ink); border-radius: 2px;
}
.back::before { top: 12px; transform: rotate(-45deg); }
.back::after { top: 17px; transform: rotate(45deg); }
.progress { flex: 1; height: 4px; background: #efeae0; border-radius: 2px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--coral); border-radius: 2px; transition: width 0.3s; }

.h1 { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin: 18px 0 6px; color: var(--ink); }
.sub { color: var(--gray); font-size: 14px; line-height: 1.45; margin: 0 0 18px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--gray); text-transform: uppercase; margin: 18px 0 6px; }
.note { font-size: 12px; color: var(--gray-l); line-height: 1.5; margin: 14px 0 0; }
.spacer { flex: 1; }

/* Bloc centré verticalement (accueil, connexion) */
.center-block { margin: auto 0; width: 100%; }
.bottom-note { text-align: center; font-size: 12px; color: var(--gray-l); padding: 12px 0 20px; }

.btn {
  width: 100%; height: 56px; border: 0; border-radius: 14px; background: var(--ink);
  color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:disabled { background: #d9d3c6; color: #8b8578; cursor: default; }
.btn.coral { background: var(--coral); }
.btn.teal { background: var(--teal); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.small { height: 46px; font-size: 14px; border-radius: 12px; }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 16px; }

.field { margin-bottom: 12px; }
.field .label { margin-top: 0; }
.input {
  width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 14px; font-size: 16px; font-family: inherit; color: var(--ink); background: #fff;
}
.input:focus { outline: 2px solid var(--teal); border-color: transparent; }
.hint { float: right; font-size: 12px; color: var(--gray-l); margin-top: -40px; padding-right: 14px; }

.card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 16px; display: flex; gap: 14px; align-items: center; cursor: pointer;
  width: 100%; text-align: left; margin-bottom: 12px;
}
.card.sel { border-color: var(--teal); background: var(--teal-l); box-shadow: 0 0 0 1px var(--teal) inset; }
.card .title { display: block; font-size: 17px; font-weight: 700; }
.card .desc { display: block; font-size: 12.5px; color: var(--gray); line-height: 1.4; margin-top: 3px; }
.card .emoji { font-size: 34px; line-height: 1; }
.card .check {
  margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--teal);
  color: #fff; display: grid; place-items: center; font-size: 12px; flex: none;
}

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip {
  height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer;
}
.chip.sel { background: var(--ink); border-color: var(--ink); color: #fff; }

.days { display: flex; justify-content: space-between; margin: 6px 0 4px; }
.day {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--paper); font-size: 12px; font-weight: 700; color: var(--gray); cursor: pointer;
}
.day.sel { background: var(--ink); border-color: var(--ink); color: #fff; }

.rhythm { display: flex; gap: 10px; }
.rhythm button {
  flex: 1; height: 118px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.rhythm button.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.rhythm .n { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.rhythm .u { font-size: 11px; color: var(--gray); }
.rhythm button.sel .u { color: #cbd3df; }
.rhythm .t { font-size: 10px; font-weight: 700; color: var(--gray-l); margin-top: 6px; }
.rhythm button.sel .t { color: var(--amber); }

.avatar-row { display: flex; gap: 12px; margin: 8px 0 4px; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--paper); font-size: 26px; display: grid; place-items: center; cursor: pointer;
}
.avatar.sel { border: 2.5px solid var(--teal); background: var(--teal-l); }

.tile {
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer;
}
.tile .big { font-size: 40px; }
.tile .w { font-size: 12px; font-weight: 700; color: var(--ink); }
.tile.sel { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }

.profile-head { display: flex; align-items: center; gap: 12px; padding: 18px 0 8px; }
.profile-head .face {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-l);
  display: grid; place-items: center; font-size: 22px;
}
.profile-head .name { font-weight: 700; font-size: 15px; }
.profile-head .meta { font-size: 12px; color: var(--gray); }
.pill {
  margin-left: auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
}

.hero {
  background: var(--sand); border-radius: 24px; padding: 20px; margin-top: 14px;
  position: relative; overflow: hidden;
}
.hero .art { font-size: 64px; line-height: 1; margin: 4px 0 10px; }
.hero h2 { font-family: var(--serif); font-size: 24px; margin: 6px 0 4px; }
.hero p { color: var(--gray); font-size: 14px; margin: 0; }
.hero .time { font-size: 12px; color: var(--gray-l); margin-top: 6px; }

.stats { display: flex; gap: 10px; margin-top: 16px; }
.stat { flex: 1; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; }
.stat b { display: block; font-family: var(--serif); font-size: 22px; }
.stat span { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; }

.capbar { display: flex; align-items: center; gap: 14px; padding: 14px 0 6px; }
.seg { flex: 1; display: flex; gap: 4px; }
.seg i { flex: 1; height: 4px; border-radius: 2px; background: #efeae0; }
.seg i.on { background: var(--coral); }
.close { width: 30px; height: 30px; border: 0; background: none; position: relative; cursor: pointer; }
.close::before, .close::after { content: ""; position: absolute; left: 6px; top: 14px; width: 18px; height: 2.4px; background: var(--ink); border-radius: 2px; }
.close::before { transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }

.cap-title { font-family: var(--serif); font-size: 26px; margin: 10px 0 4px; }
.cap-sub { color: var(--gray); font-size: 14px; margin: 0 0 18px; }

.listen {
  background: var(--teal-l); border-radius: 24px; padding: 26px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.speaker {
  width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--teal);
  color: #fff; font-size: 34px; cursor: pointer; display: grid; place-items: center;
}
.speaker.playing { animation: pulse 0.9s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(14, 107, 103, 0.35); } 50% { box-shadow: 0 0 0 18px rgba(14, 107, 103, 0); } }
.ghost-text { font-size: 12px; color: var(--teal); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.tiles .tile { height: 150px; justify-content: center; }
.tiles .tile.wrong { border-color: var(--coral); animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tiles .tile.right { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }

.mic {
  width: 130px; height: 130px; border-radius: 50%; border: 0; background: var(--coral);
  color: #fff; font-size: 46px; margin: 26px auto 12px; display: grid; place-items: center;
  cursor: pointer;
}
.mic.rec { animation: pulse 1.1s infinite; }
.wave { display: flex; gap: 5px; justify-content: center; align-items: center; height: 36px; }
.wave i { width: 5px; background: var(--coral-l); border-radius: 3px; }
.wave i.on { background: var(--coral); }

.sun { display: grid; place-items: center; margin: 12px 0 4px; }
.sun .disc {
  width: 130px; height: 130px; border-radius: 50%; background: var(--amber);
  display: grid; place-items: center; font-size: 56px; position: relative;
}
.rays { position: absolute; inset: -34px; animation: spin 40s linear infinite; }
.rays i { position: absolute; left: 50%; top: 50%; width: 8px; height: 22px; background: var(--amber); border-radius: 4px; transform-origin: 50% 0; opacity: 0.35; }
.rays i.on { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.doc { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; font-size: 15px; line-height: 1.6; }
.doc h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; }
.doc .src { font-size: 11px; letter-spacing: 0.04em; color: var(--gray-l); text-transform: uppercase; margin-bottom: 12px; }
.doc mark { background: var(--amber-l); padding: 0 2px; cursor: pointer; }
.doc mark.off { background: transparent; }

.quiz { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.q .gloss { display: block; font-size: 11px; font-weight: 400; color: var(--gray-l); margin-top: 4px; }
.q { background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; }
.q .t { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.opts { display: flex; gap: 8px; }
.opt {
  flex: 1; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 700; cursor: pointer;
}
.opt.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt.ok { background: var(--teal); border-color: var(--teal); color: #fff; }
.opt.bad { background: var(--coral-l); border-color: var(--coral); color: var(--coral); }
/* Choix avec leur texte (débats) : une ligne par réponse, la lettre devant. */
.opts.opts-txt { flex-direction: column; }
.opts-txt .opt { height: auto; min-height: 44px; padding: 10px 12px; text-align: left; font-weight: 500; line-height: 1.3; }
.opts-txt .opt b { display: inline-block; width: 22px; font-weight: 700; }

textarea.input { height: 150px; padding: 12px 14px; resize: none; line-height: 1.5; }
.wordcount { font-size: 11px; color: var(--gray-l); text-align: right; margin-top: 6px; }

.crit { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.crit .n { font-weight: 700; font-size: 14px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--teal); background: #fff; cursor: pointer; }
.dots button.on { background: var(--teal); }

.list-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-row .face { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 20px; }
.list-row .n { display: block; font-weight: 700; font-size: 14px; }
.list-row .m { display: block; font-size: 12px; color: var(--gray); }
.list-row .r { margin-left: auto; text-align: right; font-size: 12px; color: var(--gray); }

select.input { appearance: none; }

.sheet {
  position: absolute; inset: 0; background: rgba(16, 21, 31, 0.45);
  display: flex; align-items: flex-end; z-index: 10; animation: fade 0.2s;
}
.sheet .panel {
  background: #fff; width: 100%; border-radius: 24px 24px 0 0; padding: 22px 24px 28px;
  animation: up 0.25s ease;
}
@keyframes up { from { transform: translateY(30px); } to { transform: none; } }
.sheet h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 4px; }
.sheet p { font-size: 13px; color: var(--gray); margin: 0 0 16px; }

.toast {
  position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: 13px; z-index: 20; animation: fade 0.2s;
}

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; width: 8px; height: 8px; border-radius: 2px; animation: fall 1.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(420px) rotate(360deg); opacity: 0; } }

.mini {
  position: sticky; bottom: -1px; margin-top: 14px; display: none; align-items: center;
  gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 12px;
}
.mini.on { display: flex; }
.mini-title { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 104px; }
.mini-bar { flex: 1; height: 4px; background: #3a4356; border-radius: 2px; overflow: hidden; }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--amber); border-radius: 2px; }
.mini-time { font-size: 10px; color: #cbd3df; min-width: 66px; text-align: right; }
.mini .pill { background: #2e3a4f; color: #fff; border: 0; height: 30px; padding: 0 12px; }

/* ---------------------------------------------------------- catalogue */
.tabbar {
  display: flex; border-top: 1px solid var(--line); background: #fff;
  margin: 0 -22px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  position: sticky; bottom: 0; margin-top: auto; z-index: 5;
}
.tab {
  flex: 1; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: inherit; font-size: 10px; font-weight: 700; color: var(--gray);
  padding: 6px 0; border-radius: 10px;
}
.tab .ico { font-size: 19px; line-height: 1; filter: grayscale(1); opacity: 0.5; }
.tab.on { color: var(--ink); }
.tab.on .ico { filter: none; opacity: 1; }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cap-card {
  text-align: left; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  padding: 12px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; font-family: inherit;
}
.cap-card .e { font-size: 26px; line-height: 1.1; }
.cap-card .t { font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.cap-card .m { font-size: 11px; color: var(--gray); }
.cap-card.done { background: var(--teal-l); border-color: #bfdedb; }

.filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button {
  white-space: nowrap; border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 12px; font-size: 12px; font-weight: 700; color: var(--gray); font-family: inherit; cursor: pointer;
}
.filter button.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.row-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.row-list::-webkit-scrollbar { display: none; }
.row-list .cap-card { min-width: 136px; }

.goalbar { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; margin-top: 10px; }
.goalbar i { display: block; height: 100%; background: var(--teal); border-radius: 4px; }

/* --------------------------------------------------------------- jeux */
.game-card {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px;
  margin-bottom: 10px; cursor: pointer; font-family: inherit;
}
.game-card .ge { font-size: 30px; }
.game-card .gt { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.game-card .gd { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

.game-top { display: flex; align-items: center; gap: 12px; padding: 14px 0 6px; }
.gcount { font-size: 12px; font-weight: 700; color: var(--gray); }
.game-top .pill { margin-left: auto; }

.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 104px; gap: 8px; margin-top: 12px; }
.mem-card {
  width: 100%; height: 100%; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 6px; font-family: inherit;
}
.mem-card.back { background: var(--ink); border-color: var(--ink); }
.mem-card.back .mq { color: rgba(255,255,255,.5); font-size: 20px; }
.mem-card.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-l); }
.mem-card.done { background: var(--teal-l); border-color: #bfdedb; opacity: .65; }
.mem-card .mw { font-size: 13px; font-weight: 700; color: var(--ink); }
.mem-card .me { font-size: 30px; }

.phrase-zone {
  min-height: 58px; border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px;
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; align-items: center;
}
.phrase-empty { font-size: 12px; color: var(--gray-l); }
.phrase-pool { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip-word {
  border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px;
  font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; font-family: inherit;
}
.chip-word.used { opacity: .28; }

/* --------------------------------------------------------- dictionnaire */
.fab {
  position: absolute; right: 18px; bottom: 84px; width: 52px; height: 52px;
  border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  font-family: var(--serif); font-size: 20px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 24px rgba(27,36,54,.28); z-index: 8;
}
.dico-res { max-height: 58vh; overflow-y: auto; margin-top: 12px; }
.dico-card { border-bottom: 1px solid var(--line); padding: 12px 0; }
.dico-head { display: flex; align-items: center; gap: 8px; }
.dico-head b { font-size: 17px; }
.dico-head .pill { margin-left: auto; }
.dico-pos { font-size: 11px; color: var(--gray-l); font-style: italic; }
.dico-fr { font-size: 14px; color: var(--ink2); margin-top: 2px; }
.dico-ex { font-size: 12px; color: var(--gray); margin-top: 6px; line-height: 1.45; }
.dico-ex span { color: var(--gray-l); }

/* --------------------------------------------------------------- cours */
.mind { margin-top: 16px; }
.mind-center {
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px;
  font-size: 14px; font-weight: 700; text-align: center;
}
.mind-line { width: 2px; height: 16px; background: var(--line); margin: 0 auto; }
.mind-branches { display: flex; flex-direction: column; gap: 8px; }
.mind-branch {
  position: relative; background: #fff; border: 1.5px solid var(--line);
  border-left: 3px solid var(--teal); border-radius: 12px; padding: 10px 12px;
}
.mb-label { font-size: 12px; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.mb-text { font-size: 14px; color: var(--ink); margin-top: 3px; }
.mb-ex { font-size: 12.5px; color: var(--gray); margin-top: 5px; }
.mb-ex b { color: var(--coral); }

/* ------------------------------------------------------------ corrige */
.chip-word.right { border-color: var(--teal); background: var(--teal-l); }
.chip-word.bad { border-color: var(--coral); background: var(--coral-l); }

/* Phone layout (Boussoleil, Nov. 2026) — kept at the END of the file so it wins.
   - A screen is a scrolling flex column: blocks must not shrink (a card with
     overflow:hidden used to collapse to its first line);
   - screens with the tab bar keep room under their last item, so the dictionary
     button (bottom right) never covers a card;
   - narrow phones (≤ 380 px) get slimmer side margins and type that fits. */
.screen > :not(.spacer) { flex-shrink: 0; }
.screen:has(> .tabbar) > .spacer { min-height: 84px; }
.cap-title, .doc p, .doc h3 { overflow-wrap: anywhere; }
.row-list .cap-card .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 380px) {
  .screen { padding-left: 16px; padding-right: 16px; }
  .screen > .tabbar { margin-left: -16px; margin-right: -16px; }
  .h1 { font-size: 23px; }
  .cap-title { font-size: 24px; }
  .row-list .cap-card { min-width: 124px; }
  .rhythm .n { font-size: 26px; }
  .fab { width: 46px; height: 46px; right: 12px; bottom: 80px; font-size: 18px; }
}
