:root {
    --bg: #eef3f8;
    --panel: #ffffff;
    --ink: #1d2733;
    --muted: #6a7a8c;
    --line: #d5dfea;
    --brand: #0f4c81;
    --brand-soft: #e6eef7;
    --accent: #1a9e8f;
    --warn: #c2410c;
    --err: #d64545;
    --ok: #2f9e44;
    --card: #f4f8fc;
    --radius: 10px;
    --shadow: 0 1px 2px rgba(20, 40, 70, .08), 0 6px 18px rgba(20, 40, 70, .06);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--ink);
    font: 15px/1.5 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

a { color: var(--brand); }

.wrap {
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 18px 40px;
}

/* ---------- шапка ---------- */
.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 6px 0 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}
.home-link {
    color: var(--muted, #64748b);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    align-self: center;
}
.home-link:hover { color: var(--brand); text-decoration: none; }


.brand .mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
}

.brand h1 {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
}

.brand p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--muted);
}

.lang button,
.mode button,
.btn {
    font: inherit;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    border-radius: 8px;
    padding: 8px 13px;
    transition: background .15s, border-color .15s, color .15s;
}

.btn:hover,
.lang button:hover,
.mode button:hover { border-color: var(--brand); }

.btn.primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn.primary:hover { background: #0c3d68; }

.mode, .lang {
    display: inline-flex;
    border: 1px solid var(--line);
    background: var(--panel);
    border-radius: 9px;
    overflow: hidden;
}

.mode button, .lang button {
    border: 0;
    border-radius: 0;
    padding: 8px 14px;
}

.mode button + button, .lang button + button { border-left: 1px solid var(--line); }

.mode button.on, .lang button.on {
    background: var(--brand);
    color: #fff;
}



.bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}

.bar .spacer { flex: 1; }

.score {
    font-size: 13.5px;
    color: var(--muted);
    white-space: nowrap;
}

.score b { color: var(--ink); }

.points {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
}

.points b { color: var(--brand); }

.points.low {
    background: #fdeaea;
    color: var(--err);
}

.points.low b { color: var(--err); }

/* ---------- ссылка на парную игру ---------- */
.crosslink {
    margin: 0 0 12px;
    padding: 9px 14px;
    border: 1px solid #cfe3d6;
    border-radius: var(--radius);
    background: #f2f9f5;
    font-size: 13px;
}

.crosslink a { font-weight: 600; }

/* ---------- сообщение ---------- */
.msg {
    min-height: 20px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--brand-soft);
    border: 1px solid #cfe0f0;
    color: #1b3c5c;
    font-size: 14px;
}

.msg.ok { background: #e7f6ea; border-color: #bfe3c6; color: #1f6b2c; }
.msg.err { background: #fdeaea; border-color: #f3c4c4; color: #9c2b2b; }

/* ---------- раунды ---------- */
.rounds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.rounds button {
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--ink);
    border-radius: 9px;
    padding: 9px 14px;
}

.rounds button:hover { border-color: var(--brand); }
.rounds button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.rounds button.done:not(.on) { border-color: #bfe3c6; background: #f1fbf3; color: #1f6b2c; }

.roundIntro {
    padding: 12px 14px;
    margin: 0 0 12px;
    background: var(--brand-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    font-size: 13.5px;
    line-height: 1.55;
}

/* ---------- поле игры ----------
   Стопка слева, колонки раунда — сеткой справа. В первом раунде колонок
   четырнадцать, поэтому они переносятся рядами; во втором шесть, в третьем
   три, и сетка растягивает их на всю ширину. */
.board {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.board.r1 .cols { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.board.r1 .drop { min-height: 70px; }

.col {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.col.pool {
    position: sticky;
    top: 10px;
    max-height: calc(100vh - 24px);
}

.col > header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--brand);
    color: #fff;
    border-radius: var(--radius) var(--radius) 0 0;
}

.col.pool > header { background: #37475a; }

/* Заголовок уровня объясняет, чем этот уровень отличается от соседних */
.col > header[data-phase] { cursor: help; }

.col > header .num {
    font-size: 11px;
    opacity: .75;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.col > header .name {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-top: 1px;
}

.col > header .sub {
    display: block;
    font-size: 11.5px;
    opacity: .8;
    margin-top: 2px;
}


.drop {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    min-height: 90px;
}

.col.pool .drop { padding-bottom: 14px; }

.drop.hot {
    background: #eaf4ff;
    outline: 2px dashed var(--brand);
    outline-offset: -4px;
}

.drop .empty {
    color: #a9b7c6;
    font-size: 12.5px;
    text-align: center;
    padding: 18px 6px;
    border: 1px dashed var(--line);
    border-radius: 8px;
}

/* ---------- карточка ---------- */
.card {
    background: var(--card);
    border: 1px solid #cdd9e6;
    border-left: 3px solid var(--brand);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.38;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.card:hover { background: #fff; }

.card.dragging { opacity: .35; }

.card.ghost {
    position: fixed;
    z-index: 60;
    pointer-events: none;
    box-shadow: 0 12px 28px rgba(15, 40, 70, .28);
    background: #fff;
    transform: rotate(-1deg);
    cursor: grabbing;
    opacity: .97;
}

.card.right { border-color: #bfe3c6; border-left-color: var(--ok); background: #f1fbf3; }
.card.wrong { border-color: #f3c4c4; border-left-color: var(--err); background: #fdf1f1; }
.card.flash-ok { animation: flashOk .5s ease; }
.card.flash-err { animation: flashErr .5s ease; }

@keyframes flashOk {
    0% { background: #c9f0d3; }
    100% { background: var(--card); }
}

@keyframes flashErr {
    0%, 40% { background: #fbd2d2; transform: translateX(0); }
    10% { transform: translateX(-4px); }
    25% { transform: translateX(4px); }
    100% { background: var(--card); transform: translateX(0); }
}

.card .note {
    display: block;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px dotted #c9a3a3;
    font-size: 12px;
    font-weight: 600;
    color: #9c2b2b;
}

.card .code {
    display: inline-block;
    margin-right: 6px;
    padding: 0 6px;
    border-radius: 20px;
    background: #d9efdd;
    color: #1f6b2c;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}


.placeholder {
    height: 34px;
    border: 2px dashed var(--brand);
    border-radius: 8px;
    background: #eaf4ff;
}

/* ---------- правила ---------- */
details.rules {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px 16px;
    margin-bottom: 12px;
}

details.rules summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--brand);
}

details.rules ol { margin: 10px 0 0; padding-left: 20px; }
details.rules li { margin-bottom: 5px; }

footer {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
}

footer a { color: var(--muted); }

/* Юридическая строка: тише основного текста подвала, но читаемая. */
footer .legal {
    margin-top: 10px;
    font-size: 11.5px;
    opacity: .8;
}

/* ---------- победный экран ---------- */
.winBox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(16, 30, 48, .55);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.winCard {
    max-width: 420px;
    width: 100%;
    background: var(--panel);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(10, 25, 45, .35);
    padding: 26px 24px 22px;
    text-align: center;
    animation: winPop .35s ease;
}

@keyframes winPop {
    from { transform: scale(.9) translateY(12px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.winPhoto {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-soft);
    box-shadow: 0 6px 18px rgba(15, 76, 129, .25);
}

.winTitle {
    margin: 12px 0 6px;
    font-size: 21px;
    color: var(--brand);
}

.winText {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--ink);
}

.winByErnar {
    margin: 0 0 10px;
    font-size: 14.5px;
    line-height: 1.5;
    font-style: italic;
    color: var(--ink);
}

.winSign {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- подсказка к карточке ---------- */
#cardTip {
    position: fixed;
    z-index: 80;
    max-width: 330px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(20, 40, 70, .18);
    font-size: 12.5px;
    line-height: 1.45;
    pointer-events: none;
}

#cardTip b {
    display: block;
    color: var(--brand);
    font-size: 13px;
    margin-bottom: 5px;
}

#cardTip p { margin: 0 0 6px; }

#cardTip .tools {
    display: block;
    padding-top: 5px;
    border-top: 1px dotted var(--line);
    color: var(--muted);
}

/* ---------- отзыв об игре ---------- */

.fbBox {
    max-width: 720px;
    margin: 28px auto 8px;
    padding: 18px 20px 20px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.fbBox .fbHead {
    margin: 0 0 6px;
    font-size: 17px;
}

.fbBox .fbIntro {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.fbRateRow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-bottom: 12px;
}

.fbRateRow .fbRateLbl {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.fbStars { display: inline-flex; gap: 2px; }

.fbStar {
    font: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    border: 0;
    background: none;
    color: var(--line);
    padding: 2px 3px;
    transition: color .12s;
}

.fbStar:hover, .fbStar.on { color: #e8a020; }

.fbRateRow .fbRateWord {
    font-size: 13px;
    color: var(--muted);
}

.fbBox .fbLbl {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 4px;
}

.fbBox textarea,
.fbBox input {
    width: 100%;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 9px 11px;
    box-sizing: border-box;
}

.fbBox textarea { resize: vertical; min-height: 84px; }

.fbBox textarea:focus,
.fbBox input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }

.fbTwo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.fbBox .fbMailNote {
    margin: 6px 0 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
}

.fbBox .fbMsg {
    margin: 10px 0 0;
    font-size: 13.5px;
    min-height: 18px;
}

.fbBox .fbMsg.ok { color: var(--ok, #157347); }
.fbBox .fbMsg.err { color: var(--err); }

@media (max-width: 560px) {
    .fbTwo { grid-template-columns: 1fr; }
}

/* Попап с вопросом об игре: та же форма, перенесённая в модальное окно */
.fbPop {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 32, 56, .55);
}

.fbPopCard {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 92vh;
    overflow: auto;
    padding: 22px 22px 18px;
    background: var(--panel);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15, 32, 56, .35);
}

.fbPopCard .fbPopHead {
    margin: 0 0 6px;
    font-size: 19px;
    padding-right: 28px;
}

.fbPopCard .fbPopIntro {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.fbPopX {
    position: absolute;
    top: 10px;
    right: 12px;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 6px;
}

.fbPopX:hover { color: var(--ink); }

/* Внутри попапа рамка и заголовок формы лишние: их роль играет само окно */
.fbBox.inPop {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    max-width: none;
}

.fbBox.inPop .fbHead,
.fbBox.inPop .fbIntro { display: none; }

.fbPopCard .fbLater {
    margin-top: 10px;
    width: 100%;
}


/* ---------- дерево ИСР (раунды 1 и 3) ----------
   Классическая диаграмма ИСР: корень сверху, от него ствол вниз по левому
   краю, на каждый ряд узлов второго уровня — горизонтальная шина и отвод
   к узлу. 14 разделов в ширину не помещаются, поэтому сетка переносит их
   рядами, а шина у каждого ряда своя. Под узлом раздела — ветка его пакетов
   третьего уровня, туда и перетаскиваются карточки. На телефоне то же
   дерево читается как оглавление с отступами. */
:root { --tree-line: #8aa3bd; }

.lay-tree .col.branch,
.lay-levels .col.level {
    background: none;
    border: 0;
    box-shadow: none;
    min-height: 0;
}

.rootNode {
    display: inline-flex;
    flex-direction: column;
    min-width: 250px;
    max-width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: #0b3a63;
    color: #fff;
    box-shadow: var(--shadow);
    position: relative;
}

.rootNode .num { font-size: 11px; opacity: .75; letter-spacing: .8px; }
.rootNode .rootName { font-weight: 700; font-size: 15.5px; }
.rootNode .rootSub { font-size: 11.5px; opacity: .8; }

.wbsTree { min-width: 0; }

.wbsGrid {
    --trunk: 0px;
    --elbow: 0px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    column-gap: 12px;
    row-gap: 22px;
    margin: 18px 0 0 22px;
    align-items: start;
}

/* ствол: от корня до шины последнего ряда (высоту ставит layoutTree) */
.wbsGrid::before {
    content: '';
    position: absolute;
    left: -12px;
    top: -18px;
    width: 2px;
    height: calc(var(--trunk) + 18px + var(--elbow) + 1px);
    background: var(--tree-line);
}

.col.branch { position: relative; padding-top: 16px; }

/* шина ряда: отрезок каждого узла перекрывает промежуток слева, вместе они
   сходятся в одну линию от ствола до последнего узла ряда */
.col.branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -12px;
    right: 0;
    height: 2px;
    background: var(--tree-line);
}

.col.branch.rowEnd::before { right: 50%; }

/* отвод от шины к узлу */
.col.branch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 16px;
    background: var(--tree-line);
}

.col.branch > header {
    border-radius: var(--radius);
    padding: 8px 10px;
    box-shadow: var(--shadow);
}

.col.branch > header .name { font-size: 13.5px; line-height: 1.3; }
.col.branch > header .sub { font-size: 11px; }

/* ветка пакетов третьего уровня под узлом раздела */
.col.branch > .drop {
    position: relative;
    margin: 0 0 0 14px;
    padding: 8px 0 4px 12px;
    border-left: 2px solid var(--tree-line);
    min-height: 54px;
    overflow: visible;
    gap: 6px;
}

.col.branch > .drop .card,
.col.level.lvl2 > .drop .card { position: relative; }

.col.branch > .drop .card::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 50%;
    width: 12px;
    height: 2px;
    background: var(--tree-line);
}

.col.branch > .drop .empty { padding: 10px 6px; font-size: 12px; }
.col.branch > .drop.hot { outline-offset: 0; border-radius: 0 8px 8px 0; }

/* ---------- раунд 3: дерево по уровням ---------- */
.wbsLevels { min-width: 0; position: relative; }

.col.level {
    position: relative;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.col.level.lvl1 { margin-left: 24px; }
.col.level.lvl2 { margin-left: 52px; }
.col.level.lvl3 { margin-left: 80px; }

/* уступ от уровня выше к своему уровню */
.col.level::before {
    content: '';
    position: absolute;
    left: -14px;
    top: -16px;
    width: 14px;
    height: 40px;
    border-left: 2px solid var(--tree-line);
    border-bottom: 2px solid var(--tree-line);
}

.col.level.lvl3::before { border-style: dashed; border-color: #b9c6d4; }

.col.level > header { border-radius: var(--radius); box-shadow: var(--shadow); }
.col.level.lvl3 > header { background: #5d6d7e; }

.col.level > .drop {
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    min-height: 64px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.col.level.lvl3 > .drop { border-style: dashed; background: #f6f8fa; }
.col.level > .drop .card { width: 230px; }
.col.level > .drop .empty { flex: 1; }

/* ---------- раунд 2: колонки, связанные с деревом ---------- */
.col .treeTag {
    display: block;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, .16);
}

.col.toTree { border-color: #1a9e8f; box-shadow: 0 0 0 2px rgba(26, 158, 143, .25), var(--shadow); }
.col.toTree > header { background: #127a6e; }
.col.toTree .treeTag { background: #fff; color: #127a6e; }
.col.offTree > header { background: #4a5c70; }

/* шесть колонок классификации — в один ряд на ноутбуке */
.lay-columns .cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lay-columns .col > header .name { font-size: 14px; }

/* ---------- разбор ---------- */
.review {
    margin: 14px 0 0;
    padding: 16px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review h2 { margin: 0 0 10px; font-size: 17px; color: var(--brand); }
.review .tree { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.review .node.l1 { grid-column: 1 / -1; font-size: 15px; }
.review .group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fbfdff; }
.review .node { display: block; margin: 0 0 8px; font-size: 13px; line-height: 1.45; }
.review .node .c {
    display: inline-block; min-width: 46px; margin-right: 6px;
    font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums;
}
.review .node .d { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.review .node.l2 { padding-bottom: 6px; border-bottom: 1px dotted var(--line); }
.review .node.l3 { padding-left: 14px; }

.msg .btn { margin-left: 8px; padding: 5px 12px; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
    .board { grid-template-columns: 1fr; }
    .col.pool {
        position: static;
        max-height: 340px;
    }
}

@media (max-width: 720px) {
    .wrap { padding: 12px 12px 32px; }
    .cols, .board.r1 .cols { grid-template-columns: 1fr; }
    .col.pool { max-height: 300px; }
    .brand h1 { font-size: 17px; }
    .bar { position: sticky; top: 0; z-index: 20; }
    .review .tree { grid-template-columns: 1fr; }

    /* дерево превращается в оглавление: ствол слева, к каждому разделу
       уступ, пакеты с отступом под ним */
    .rootNode { min-width: 0; width: 100%; }
    .wbsGrid {
        --elbow: 20px;
        grid-template-columns: 1fr;
        row-gap: 10px;
        margin: 12px 0 0 18px;
    }
    .wbsGrid::before { left: -10px; top: -12px; height: calc(var(--trunk) + 12px + var(--elbow) + 1px); }
    .col.branch { padding-top: 0; }
    .col.branch::before, .col.branch.rowEnd::before { top: 20px; left: -10px; right: auto; width: 10px; }
    .col.branch::after { display: none; }
    .col.level, .col.level.lvl1, .col.level.lvl2, .col.level.lvl3 { grid-template-columns: 1fr; }
    .col.level.lvl1 { margin-left: 16px; }
    .col.level.lvl2 { margin-left: 28px; }
    .col.level.lvl3 { margin-left: 40px; }
    .col.level > .drop .card { width: 100%; }
}
