/* ============================================================
   冒険の書（kanri_kodomo.php）
   背景は受付と同じ昼の東平山。木の看板・羊皮紙のカード・木のボタン。
   ============================================================ */

.app-main--bouken { background: #cfe6f5; }
.bk { position: relative; overflow-x: clip; min-height: calc(100vh - var(--head-h)); padding: 0 24px 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(240, 246, 252, .35) 40%), var(--bk-bg, linear-gradient(#a8d8f4, #d9f0c8)) center 30% / cover fixed no-repeat; }

/* ---- 見出し ---- */
.bk-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 236px; padding: 18px 0 30px; }
.bk-sign { position: relative; margin-left: 60px; padding: 26px 64px 30px 170px; transform: rotate(-3deg); color: #4a2508;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(255, 240, 210, .5), transparent 70%),
    repeating-linear-gradient(177deg, rgba(110, 60, 20, .12) 0 2px, transparent 2px 7px, rgba(110, 60, 20, .06) 7px 8px, transparent 8px 15px),
    linear-gradient(180deg, #f0c98f, #d9a25f 60%, #c1854a);
  border-radius: 14px 18px 12px 16px;
  box-shadow: inset 0 3px 0 rgba(255, 244, 220, .7), inset 0 0 0 4px #9a6130, 0 8px 0 #6b3d17, 0 20px 26px rgba(40, 20, 0, .35); }
.bk-sign h1 { margin: 0; font-size: clamp(44px, 4.6vw, 76px); font-weight: 800; letter-spacing: .06em; line-height: 1.05; text-shadow: 0 2px 0 rgba(255, 226, 170, .8), 0 -1px 0 rgba(60, 25, 0, .4); }
.bk-sign p { margin: 8px 0 0; font-size: clamp(14px, 1.2vw, 19px); font-weight: 800; letter-spacing: .06em; }
.bk-compass { position: absolute; left: -50px; top: 50%; transform: translateY(-50%); width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 35%, #fff4d0, #f4d27b 55%, #c9962c); box-shadow: inset 0 0 0 6px #b27d22, inset 0 0 0 12px #f7e2a6, 0 10px 18px rgba(60, 30, 0, .35); }
.bk-compass svg { width: 96px; height: 96px; fill: none; stroke: #8a5a14; stroke-width: 2.4; stroke-linecap: round; }
.bk-compass .n { fill: #d8412d; stroke: #8a2c1a; }
.leaf { position: absolute; width: 46px; height: 30px; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #a6e36b, #3f9a34 70%);
  box-shadow: 20px 8px 0 -4px #5db844, 0 4px 6px rgba(0, 0, 0, .2); pointer-events: none; }
.bk-sign .leaf.l1 { left: 40px; top: -14px; transform: rotate(-20deg); }
.bk-sign .leaf.l2 { right: -14px; top: -10px; transform: rotate(30deg) scaleX(-1); }
.bk-sign .leaf.l3 { left: 70px; bottom: -14px; transform: rotate(160deg); }
.bk-bubble { position: relative; margin: 0 0 0 auto; padding: 22px 30px; border-radius: 34px; background: rgba(255, 252, 244, .97);
  font-weight: 800; font-size: clamp(15px, 1.35vw, 21px); line-height: 1.6; color: #2a2014; transform: rotate(-3deg); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.bk-bubble::after { content: ""; position: absolute; right: -18px; top: 42%; border: 14px solid transparent; border-left: 24px solid rgba(255, 252, 244, .97); border-right: 0; }
.bk-bird { width: clamp(180px, 16vw, 260px); margin-right: 3%; filter: drop-shadow(0 12px 12px rgba(0, 0, 0, .3)); animation: bk-fly 3s ease-in-out infinite; }
@keyframes bk-fly { 50% { transform: translateY(-10px) rotate(-3deg); } }

/* ---- 白い板（中身） ---- */
.bk-board { position: relative; z-index: 1; padding: 22px 22px 26px; border-radius: 22px; background: rgba(250, 252, 255, .9); box-shadow: 0 16px 40px rgba(20, 33, 61, .18); }
.bk-board .app-flash { margin: 0 0 16px; }

.bk-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.bk-add { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 26px; border-radius: 12px; text-decoration: none; color: #fff !important;
  font-weight: 800; font-size: 19px; background: linear-gradient(180deg, #ffa14a, #ff8a1f 55%, #f07400); box-shadow: 0 4px 0 #c45f00, 0 10px 18px rgba(255, 138, 31, .3); }
.bk-add svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.bk-add:active { transform: translateY(3px); box-shadow: 0 1px 0 #c45f00; }
.bk-search { margin-left: auto; display: flex; align-items: center; gap: 10px; height: 48px; width: 232px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid #dde3ee; color: #7a849b; box-shadow: 0 2px 6px rgba(20, 33, 61, .06); }
.bk-search input { border: 0; outline: none; width: 100%; font-size: 15px; background: none; }
.bk-select { position: relative; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid #dde3ee; box-shadow: 0 2px 6px rgba(20, 33, 61, .06); }
.bk-select svg { width: 22px; height: 22px; fill: none; stroke: #2a3350; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.bk-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232a3350" stroke-width="2.4"><path d="m6 9 6 6 6-6"/></svg>') right center / 18px no-repeat;
  padding: 0 28px 0 2px; font-weight: 800; font-size: 14.5px; color: #1b2440; cursor: pointer; min-width: 120px; }
.bk-view { display: flex; gap: 8px; padding-left: 10px; border-left: 1px solid #dde3ee; }
.bk-view a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 10px; background: #fff; border: 1px solid #dde3ee; }
.bk-view a svg { width: 24px; height: 24px; fill: none; stroke: #1b2440; stroke-width: 2.2; }
.bk-view a.is-on { background: linear-gradient(180deg, #ffa14a, #ff8a1f); border-color: transparent; }
.bk-view a.is-on svg { stroke: #fff; fill: rgba(255, 255, 255, .15); }
.bk-empty { padding: 30px; text-align: center; font-weight: 800; color: #4c5670; background: #fff; border-radius: 16px; }

/* ---- ぼうけんカード（羊皮紙） ---- */
.bk-list { display: grid; gap: 26px; }
.bk-card { position: relative; display: grid; grid-template-columns: 290px minmax(0, 1fr) minmax(300px, 450px); gap: 26px; align-items: stretch; padding: 22px 26px 24px 30px;
  border-radius: 22px; background: radial-gradient(ellipse at 30% 20%, #fffaf0, #fbefd6 70%, #f5e2bb);
  box-shadow: inset 0 0 0 3px #f1d9a8, inset 0 0 0 8px #fbeed3, inset 0 0 0 10px #e8c98a, 0 12px 26px rgba(80, 50, 10, .22); }
.bk-card .leaf.l1 { left: -10px; top: -10px; transform: rotate(-30deg); }
.bk-card.is-paused { filter: grayscale(.65); opacity: .8; }

.bk-avatar { display: flex; flex-direction: column; gap: 14px; }
.bk-avatar-frame { position: relative; aspect-ratio: 1 / 1; border-radius: 14px; background: linear-gradient(180deg, #86c9f2, #cfeaf8 60%, #f6e3b8); border: 5px solid #fff;
  box-shadow: 0 6px 14px rgba(80, 50, 10, .25); }
.bk-avatar-img { position: absolute; inset: 4% 4% 14%; width: 92%; height: 82%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .2)); }
.bk-lv { position: absolute; left: -16px; top: -16px; z-index: 2; display: grid; place-items: center; align-content: center; width: 66px; height: 66px; border-radius: 50%;
  font-weight: 800; font-size: 17px; color: #5a3100; line-height: 1;
  background: radial-gradient(circle at 40% 35%, #fff4c2, #ffcf3f 55%, #e39a0d); box-shadow: inset 0 0 0 3px #fff3c4, 0 4px 8px rgba(0, 0, 0, .3); }
.bk-lv svg { width: 26px; height: 20px; fill: #fff3c4; stroke: #b36b00; stroke-width: 1.5; margin-bottom: 1px; }
.bk-name { position: absolute; left: -8px; right: -8px; bottom: -14px; margin: 0; padding: 8px 10px; text-align: center; font-size: 22px; font-weight: 800; color: #3d1f06; letter-spacing: .08em;
  background: repeating-linear-gradient(178deg, rgba(110, 60, 20, .1) 0 2px, transparent 2px 8px), linear-gradient(180deg, #f3d6a2, #deb074);
  border-radius: 6px; box-shadow: inset 0 0 0 2px #b27d3e, 0 4px 8px rgba(0, 0, 0, .2); text-shadow: 0 1px 0 rgba(255, 236, 200, .8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-idcard { margin-top: 6px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(80, 50, 10, .12); }
.bk-idcard p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 14px; }
.bk-idno { margin-top: 6px !important; font-size: 12.5px !important; color: #4c5670; font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
.bk-barcode { display: inline-block; width: 110px; height: 22px; background: repeating-linear-gradient(90deg, #222 0 1px, transparent 1px 3px, #222 3px 5px, transparent 5px var(--seed, 7px)); opacity: .85; }
.bk-badge { display: inline-block; padding: 3px 14px; border-radius: 6px; background: linear-gradient(180deg, #37c26f, #1e9a52); color: #fff; font-weight: 800; font-size: 13px; }
.bk-badge.is-off { background: #b8c0cf; }

.bk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 14px; }
.bk-level, .bk-tile { border-radius: 14px; background: rgba(255, 252, 244, .9); box-shadow: inset 0 0 0 1px rgba(214, 180, 120, .45), 0 2px 8px rgba(80, 50, 10, .06); }
.bk-level { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px; padding: 16px 22px; }
.bk-crown { width: 56px; height: 48px; fill: #ffcf3f; stroke: #b36b00; stroke-width: 1.2; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .15)); }
.bk-level p { margin: 0; display: flex; flex-direction: column; line-height: 1.05; }
.bk-level small { font-size: 15px; font-weight: 800; color: #3d2a14; }
.bk-level b { font-size: 36px; font-weight: 800; color: #1b2440; }
.bk-exp { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding-left: 10px; }
.bk-exp small { grid-column: 1 / -1; font-size: 15px; font-weight: 800; color: #3d2a14; }
.bk-exp-bar { grid-column: 1 / -1; position: relative; height: 22px; border-radius: 99px; background: #e8e3d8; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .12); overflow: hidden; margin-top: 6px; }
.bk-exp-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(180deg, #5cc8ff, #1a8fe0); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); }
.bk-exp em { grid-column: 1 / -1; justify-self: end; margin-top: -19px; margin-right: 12px; position: relative; font-style: normal; font-size: 13px; font-weight: 800; color: #3c4660; }
.bk-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 10px; text-align: center; }
.bk-tile-ic { display: grid; place-items: center; height: 54px; font-size: 42px; line-height: 1; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .15)); }
.bk-tile-ic img { width: 50px; height: 50px; object-fit: contain; }
.bk-tile small { font-size: 16px; font-weight: 800; color: #3d2a14; }
.bk-tile b { font-size: 28px; font-weight: 800; color: #1b2440; }
.bk-tile b i { font-style: normal; font-size: 20px; }
.bk-tile b.is-ok { color: #1e9a52; }
.bk-tile b.is-ng { color: #c2410c; }
.bk-tile em { font-style: normal; font-size: 14px; font-weight: 700; color: #3c4660; margin-top: -4px; }

/* ---- できること ---- */
.bk-actions { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-top: 4px; }
.bk-actions-title { align-self: center; position: relative; margin: 0 0 4px; padding: 10px 44px; font-weight: 800; font-size: 22px; letter-spacing: .08em; color: #3d1f06;
  background: repeating-linear-gradient(178deg, rgba(110, 60, 20, .1) 0 2px, transparent 2px 8px), linear-gradient(180deg, #f3d6a2, #dcae70);
  border-radius: 8px; box-shadow: inset 0 0 0 2px #b27d3e, 0 4px 8px rgba(0, 0, 0, .15); text-shadow: 0 1px 0 rgba(255, 236, 200, .8); }
.bk-actions-title::before, .bk-actions-title::after { content: ""; position: absolute; top: -10px; width: 40px; height: 26px; border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #a6e36b, #3f9a34 70%); box-shadow: 16px 8px 0 -4px #5db844; }
.bk-actions-title::before { left: -18px; transform: rotate(-20deg); }
.bk-actions-title::after { right: -18px; transform: rotate(20deg) scaleX(-1); }
.bk-actions form { margin: 0; }
.wood-btn { position: relative; display: flex; align-items: center; gap: 22px; width: 100%; min-height: 84px; padding: 10px 30px 10px 22px; border: 0; border-radius: 16px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: clamp(20px, 1.8vw, 30px); letter-spacing: .06em; color: #fff; text-decoration: none; text-shadow: 0 2px 0 rgba(0, 0, 0, .3);
  transition: transform .08s, box-shadow .08s, filter .15s; }
.wood-btn > .ic:last-child { margin-left: auto; width: 30px; height: 30px; stroke-width: 3; }
.wood-btn:hover { filter: brightness(1.06); }
.wood-btn:active { transform: translateY(5px); }
.wood-btn--brown { background: repeating-linear-gradient(178deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 9px), linear-gradient(180deg, #b0692c, #8a4a18 60%, #6d3a12);
  box-shadow: inset 0 0 0 3px #d9a860, inset 0 3px 0 rgba(255, 220, 170, .4), 0 6px 0 #4a2508, 0 12px 20px rgba(60, 30, 0, .3); }
.wood-btn--brown:active { box-shadow: inset 0 0 0 3px #d9a860, 0 1px 0 #4a2508; }
.wood-btn--blue { background: linear-gradient(180deg, #2d7ae8, #1654b8 60%, #0f3f8f);
  box-shadow: inset 0 0 0 3px #e3c26a, inset 0 3px 0 rgba(255, 255, 255, .3), 0 6px 0 #0b2b63, 0 12px 20px rgba(10, 40, 100, .3); }
.wood-btn--blue:active { box-shadow: inset 0 0 0 3px #e3c26a, 0 1px 0 #0b2b63; }
.wood-btn--orange { background: linear-gradient(180deg, #ffa14a, #ff8a1f 55%, #f07400); box-shadow: 0 5px 0 #c45f00; font-size: 17px; min-height: 54px; gap: 10px; }
.wood-btn--plain { background: #fff; color: #1b2440; text-shadow: none; box-shadow: inset 0 0 0 2px #dde3ee; font-size: 17px; min-height: 54px; justify-content: center; }
.wood-btn-ic { display: grid; place-items: center; width: 62px; height: 52px; border-radius: 10px; background: linear-gradient(180deg, #ffd97a, #f0a92c); box-shadow: inset 0 0 0 2px #fff0c2; color: #6b3d17; flex: none; }
.wood-btn-ic .ic { width: 34px; height: 34px; }
.wood-btn-ic--av { width: 60px; height: 60px; border-radius: 50%; background: #fff; overflow: hidden; }
.wood-btn-ic--av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }

.bk-more { position: absolute; right: -6px; top: -8px; }
.bk-more summary { list-style: none; display: grid; gap: 4px; padding: 10px 12px; cursor: pointer; border-radius: 8px; }
.bk-more summary::-webkit-details-marker { display: none; }
.bk-more summary span { width: 6px; height: 6px; border-radius: 50%; background: #5a4a36; }
.bk-more summary:hover { background: rgba(0, 0, 0, .05); }
.bk-more > div { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 220px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.bk-more button { width: 100%; padding: 12px 14px; border: 0; background: none; text-align: left; font: inherit; font-weight: 700; cursor: pointer; border-radius: 8px; }
.bk-more button:hover { background: #f3f6fc; }

/* ---- リスト表示 ---- */
.bk-table-wrap { overflow-x: auto; border-radius: 16px; background: #fffaf0; box-shadow: inset 0 0 0 2px #f1d9a8; }
.bk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bk-table th, .bk-table td { padding: 12px 14px; border-bottom: 1px solid #f1e3c4; text-align: left; white-space: nowrap; }
.bk-table th { font-size: 13px; color: #6b5a3e; }
.bk-table tr.is-paused { opacity: .55; }
.bk-table-name { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.bk-table-av { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #dbeefa; border: 2px solid #fff; }
.bk-table small { color: #6b7690; margin-left: 2px; }
.bk-table-actions { display: flex; gap: 8px; }
.bk-table-actions form { margin: 0; }
.bk-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #1b2440; color: #ffd23f; font-weight: 800; font-size: 13px; }

/* ---- 右下の道しるべ（かざり） ---- */
.bk-posts { position: fixed; right: 10px; bottom: -40px; width: 190px; aspect-ratio: 382 / 724; background: center / contain no-repeat; pointer-events: none; z-index: 0;
  filter: drop-shadow(6px 10px 10px rgba(0, 0, 0, .25)); }
.bk-posts span { position: absolute; left: 8%; right: 14%; text-align: center; font-weight: 800; font-size: 17px; color: #3d1f06; text-shadow: 0 1px 0 rgba(255, 226, 170, .7); }
.bk-posts span:nth-child(1) { top: 13%; } .bk-posts span:nth-child(2) { top: 35%; } .bk-posts span:nth-child(3) { top: 57%; }

/* ---- 発行したカード（印刷） ---- */
.bk-issued { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; padding: 20px; border-radius: 18px; background: #fff7ea; box-shadow: inset 0 0 0 2px #ffd9b0; }
.print-card { width: 320px; padding: 14px 16px; border-radius: 16px; color: #4a2a05; background: linear-gradient(145deg, #fff3c4, #ffd263 35%, #f5b21e 60%, #ffe28a); box-shadow: 0 0 0 3px #d59a16, 0 10px 20px rgba(0, 0, 0, .2); }
.print-card-title { margin: 0 auto 10px; width: fit-content; padding: 3px 18px; border-radius: 8px; background: #6b3d17; color: #ffe9b8; font-weight: 800; letter-spacing: .1em; }
.print-card-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.print-card-av { width: 118px; height: 118px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #bfe3ff, #eaf6ff); border: 3px solid #fff4d6; }
.print-card-av img { width: 100%; height: 100%; object-fit: contain; }
.print-card-qr { width: 150px; height: 150px; padding: 6px; border-radius: 10px; background: #fff; display: grid; place-items: center; }
.print-card-qr img { width: 100% !important; height: auto !important; image-rendering: pixelated; }
.print-card-name { margin: 10px 0 2px; text-align: center; font-size: 22px; font-weight: 800; }
.print-card-foot { display: flex; justify-content: space-between; margin: 0; font-size: 12px; font-weight: 800; }
.print-card-foot span { letter-spacing: .2em; }
.bk-issued-text { flex: 1; min-width: 260px; }
.bk-issued-warn { margin: 0 0 14px; line-height: 1.8; font-weight: 700; color: #7a3e00; }
.bk-issued-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.bk-issued-actions .wood-btn { width: auto; }

/* ---- アバター変更 ---- */
.bk-dialog { width: min(820px, calc(100% - 32px)); background: #fffaf0; color: #1b2440; }
.bk-dialog-title { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 22px; font-weight: 800; }
.bk-dialog-lead, .bk-dialog-hint { margin: 0 0 14px; font-weight: 700; color: #6b5a3e; }
.bk-dialog-hint { margin: 12px 0 0; }
.bk-dialog .av-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bk-dialog .mdl-btn--navy { color: #fff; }

/* ---- レスポンシブ ---- */
@media (max-width: 1400px) {
  .bk-card { grid-template-columns: 240px minmax(0, 1fr); }
  .bk-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .bk-actions-title { display: none; }
  .bk-actions form, .bk-actions > .wood-btn { flex: 1 1 260px; }
  .wood-btn { min-height: 70px; }
  .bk-more { position: static; }
  .bk-posts { display: none; }
}
@media (max-width: 900px) {
  .bk { padding: 0 10px 40px; }
  .bk-hero { flex-direction: column; align-items: flex-start; min-height: 0; padding: 20px 0; }
  .bk-sign { margin-left: 40px; padding: 16px 26px 18px 96px; }
  .bk-compass { width: 96px; height: 96px; left: -34px; }
  .bk-compass svg { width: 60px; height: 60px; }
  .bk-bubble { display: none; }
  .bk-bird { display: none; }
  .bk-sign h1 { font-size: 40px; }
  .bk-board { padding: 14px; }
  .bk-search { margin-left: 0; flex: 1 1 100%; width: auto; }
  .bk-add { flex: 1 1 100%; justify-content: center; font-size: 15px; padding: 0 14px; gap: 8px; }
  .bk-add svg { width: 24px; height: 24px; }
  .bk-select { flex: 1 1 40%; }
  .bk-card { grid-template-columns: 1fr; padding: 18px; }
  .bk-avatar { max-width: 280px; margin: 0 auto; width: 100%; }
  .bk-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .bk-level { grid-template-columns: auto 1fr; }
  .bk-exp { grid-column: 1 / -1; padding: 0; }
  .bk-tile b { font-size: 22px; }
  .bk-tile small { font-size: 12px; }
  .bk-tile-ic { font-size: 30px; height: 40px; }
  .bk-dialog .av-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media print {
  .bk { background: none; padding: 0; }
  .bk-hero, .bk-tools, .bk-list, .bk-table-wrap, .bk-posts, .app-flash, .bk-issued-text { display: none !important; }
  .bk-board { box-shadow: none; background: none; padding: 0; }
  .bk-issued { background: none; box-shadow: none; padding: 0; }
}

/* 名前・プロフィール編集 */
.wood-btn--green { background: linear-gradient(180deg, #43c064, #25994a 60%, #1c7a3b);
  box-shadow: inset 0 0 0 3px #e3c26a, inset 0 3px 0 rgba(255, 255, 255, .3), 0 6px 0 #145a2b, 0 12px 20px rgba(20, 90, 40, .3); }
.wood-btn--green:active { box-shadow: inset 0 0 0 3px #e3c26a, 0 1px 0 #145a2b; }
.wood-btn--green .wood-btn-ic { font-size: 26px; }
.bk-name { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bk-edit { display: grid; place-items: center; width: 34px; height: 34px; margin-right: -6px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; font-size: 16px; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); }
.bk-edit:hover { transform: scale(1.1); }
.bk-tags { display: flex; justify-content: center; gap: 6px; margin: 6px 0 0; }
.bk-tags span { padding: 2px 10px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1.5px #e0c690; font-size: 12px; font-weight: 800; color: #5a3a12; }
.bk-edit-dlg .mdl-body { max-width: 560px; }
.bk-edit-fields { display: grid; gap: 14px; margin: 14px 0 6px; text-align: left; }
.bk-edit-fields label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; color: #1b2440; }
.bk-edit-fields label small { font-size: 11.5px; font-weight: 700; color: #6b7690; }
.bk-edit-fields input[type="text"], .bk-edit-fields select { height: 50px; padding: 0 12px; border-radius: 12px; border: 1.5px solid #d9dfea; font: inherit; font-size: 17px; font-weight: 800; }
.bk-edit-fields .zone-pick label { display: inline-flex; }
.bk-edit-fields .zone-pick { display: flex; flex-wrap: wrap; }
.bk-add--print { background: linear-gradient(180deg, #4f8dff, #2f66e0) !important; box-shadow: 0 5px 0 #1e4cb0 !important; }
.bk-add--print em { margin-left: 4px; padding: 2px 10px; border-radius: 99px; background: #fff; color: #2f66e0; font-style: normal; font-size: 13px; }
.bk-parent { display: grid; gap: 4px; margin: 6px 0; padding: 10px 12px; border-radius: 12px; background: #eef6ff; text-align: left; }
.bk-parent small { font-size: 11.5px; color: #4c5670; }
.bk-parent span { display: flex; gap: 6px; }
.bk-parent input { flex: 1; min-width: 0; height: 40px; padding: 0 8px; border-radius: 8px; border: 1px solid #c9d6ea; font-size: 12px; }
.bk-del-open { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 0; border-radius: 10px; background: #fff0ea; color: #b42318; font: inherit; font-weight: 800; text-align: left; cursor: pointer; }
.bk-del-warn { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: #fff0ea; color: #8a2a10; font-size: 14px; line-height: 1.7; text-align: left; }
.bk-del-confirm { display: grid; gap: 6px; font-weight: 800; font-size: 14px; text-align: left; }
.bk-del-confirm input { height: 48px; padding: 0 12px; border-radius: 12px; border: 2px solid #f1b8a8; font: inherit; font-size: 17px; }
.bk-del-btn { background: linear-gradient(180deg, #f0503c, #c82a14) !important; color: #fff !important; }

/* 子どものカード：見本どおり（木の看板・羊皮紙のタイル・イモッチがのぞく） */
.bk-stats--v2 { grid-template-rows: auto 1fr; gap: 12px; }
.bk-stats--v2 .bk-level { position: relative; padding: 14px 22px; border-radius: 14px;
  background: repeating-linear-gradient(178deg, rgba(120, 70, 20, .05) 0 2px, transparent 2px 11px), linear-gradient(180deg, #fff6e2, #f6e2bd); box-shadow: inset 0 0 0 3px #d9ae6a, inset 0 0 0 6px #fff4dc, 0 4px 0 #a87434; }
.bk-stats--v2 .bk-exp small b { font-size: 1.25em; color: #1b2440; }
.bk-peek { position: absolute; right: 18%; top: -58px; display: flex; align-items: flex-start; gap: 4px; pointer-events: none; }
.bk-peek img { width: 92px; height: auto; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .2)); animation: bk-peek 3s ease-in-out infinite; }
.bk-peek i { margin-top: 6px; padding: 8px 14px; border-radius: 18px; background: #fff; font-style: normal; font-weight: 900; font-size: 13px; line-height: 1.4; color: #3b2a14; white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
@keyframes bk-peek { 50% { transform: translateY(-5px) rotate(-3deg); } }
.bk-stats--v2 .bk-tile { position: relative; justify-content: flex-start; gap: 4px; padding: 12px 10px 14px; border-radius: 12px;
  background: radial-gradient(circle at 50% 30%, #fffdf6, #f7ead0); box-shadow: inset 0 0 0 2px #e8cf9e, 0 3px 0 #c9a46a; }
.bk-stats--v2 .bk-tile::before, .bk-stats--v2 .bk-tile::after { content: ""; position: absolute; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c4, #c6923a); }
.bk-stats--v2 .bk-tile::before { left: 8px; } .bk-stats--v2 .bk-tile::after { right: 8px; }
.bk-tile-head { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 4px; padding: 6px 16px; border-radius: 12px; color: #fff; font-weight: 900; font-size: 15px;
  background: linear-gradient(180deg, #7a4418, #5a3008); box-shadow: inset 0 0 0 2px #b07a3e, 0 2px 0 #3d1f06; }
.bk-tile-head img { width: 24px; height: 24px; }
.bk-tile-art { display: flex; align-items: flex-end; justify-content: center; height: clamp(70px, 8vw, 110px); }
.bk-tile-art img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); }
.bk-tile-art img.is-wide { height: 100%; width: auto; max-width: 100%; border-radius: 10px; }
.bk-art-visit img:first-child { height: 90%; margin-right: -12%; position: relative; z-index: 1; }
.bk-art-visit img:last-child { height: 70%; }
.bk-stats--v2 .bk-tile b { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.bk-stats--v2 .bk-tile > small { font-size: 13px; font-weight: 800; color: #3c4660; margin-top: -4px; }
.bk-stats--v2 .bk-tile em { margin-top: 4px; font-size: 12px; line-height: 1.5; color: #4c3a20; }
.bk-actions-title { display: inline-flex; align-items: center; gap: 8px; }
.bk-actions-title img { width: 28px; height: 28px; }
@media (max-width: 720px) { .bk-peek { display: none; } .bk-tile-art { height: 60px; } .bk-stats--v2 .bk-tile em { display: none; } }
.bk-tile-head { white-space: nowrap; font-size: clamp(12px, 1vw, 15px); padding: 6px 12px; }
.bk-stats--v2 .bk-level { grid-template-columns: auto auto minmax(0, 1fr); }
.bk-stats--v2 .bk-exp small { white-space: nowrap; }
@media (max-width: 1700px) {
  .bk-card { grid-template-columns: 250px minmax(0, 1fr); }
  .bk-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .bk-actions-title { display: none; }
  .bk-actions form, .bk-actions > .wood-btn { flex: 1 1 240px; }
  .bk-actions .bk-more { position: absolute; right: 0; top: -6px; }
}
.bk-sign h1 { white-space: nowrap; font-size: clamp(34px, 3.6vw, 66px); }
.bk-bubble { max-width: 300px; word-break: keep-all; overflow-wrap: anywhere; }
/* アバター：あとで作った画像をアップロード */
.bk-av-upload { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; margin: 0 22px 20px; padding: 14px 16px; border-radius: 16px; background: #fff7ec; box-shadow: inset 0 0 0 2px #ffd9b0; }
.bk-av-upload-title { grid-column: 1 / -1; margin: 0; font-weight: 800; font-size: 16px; color: #3d1f06; }
.bk-av-upload-lead { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 700; color: #6b5a3e; line-height: 1.6; }
.bk-av-upload-pick { display: flex; align-items: center; gap: 10px; min-width: 0; grid-column: 1 / 2; }
.bk-av-upload-prev { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 0 0 2px #ffd9b0; }
.bk-av-upload-pick input { max-width: 220px; font-size: 13px; }
.bk-av-upload .mdl-btn { justify-self: end; }
.bk-av-upload .mdl-btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 560px) { .bk-av-upload { grid-template-columns: 1fr; margin: 0 12px 14px; } .bk-av-upload .mdl-btn { justify-self: stretch; } }
/* カードの写真を差し替え */
.bk-avatar-frame { position: relative; }
.bk-photo-swap { position: absolute; right: 10px; bottom: 58px; z-index: 3; margin: 0; }
.bk-photo-swap label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .94); color: #5a2e0a; font-size: 13px; font-weight: 900; box-shadow: 0 3px 0 #b5760c, 0 6px 12px rgba(0, 0, 0, .2); }
.bk-photo-swap label:active { transform: translateY(2px); box-shadow: 0 1px 0 #b5760c; }
.bk-photo-swap input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bk-photo-swap span img, .bk-photo-swap span { width: 22px; height: 22px; }
.bk-photo-swap.is-busy label { opacity: .6; pointer-events: none; }
.bk-photo-swap.is-busy b::after { content: "…"; }
/* ===== スマホ：見出しの看板とカードを 画面に収める ===== */
@media (max-width: 900px) {
  .bk-card { grid-template-columns: 1fr; }
  .bk-actions .bk-more { position: static; }
}
@media (max-width: 720px) {
  .bk-hero { padding: 14px 0 8px; }
  .bk-sign { margin-left: 34px; max-width: calc(100% - 40px); padding: 12px 16px 14px 70px; transform: rotate(-2deg); }
  .bk-sign h1 { font-size: clamp(22px, 7vw, 30px); letter-spacing: .02em; white-space: normal; word-break: keep-all; }
  .bk-sign p { font-size: 12px; letter-spacing: .02em; line-height: 1.5; }
  .bk-compass { width: 72px; height: 72px; left: -28px; }
  .bk-compass svg { width: 44px; height: 44px; }
  .bk-actions form, .bk-actions > .wood-btn { flex: 1 1 100%; }
  .bk-card { padding: 16px 12px; }
}
@media (max-width: 720px) {
  .wood-btn { gap: 12px; min-height: 64px; padding: 8px 16px 8px 12px; font-size: 18px; white-space: nowrap; }
  .wood-btn-ic { width: 46px; height: 40px; }
}

/* ===== なかまたち：1人ぶんを半分の幅に（2列） ===== */
@media (min-width: 1200px) {
  .bk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-items: stretch; }
  .bk-list .bk-card { grid-template-columns: 190px minmax(0, 1fr); gap: 14px 16px; padding: 18px 16px 18px 18px; }
  .bk-list .bk-avatar { max-width: 190px; }
  .bk-list .bk-level { gap: 10px; padding: 10px 14px; }
  .bk-list .bk-level b, .bk-list .bk-level strong { font-size: 26px; }
  .bk-list .bk-stats { gap: 8px; }
  .bk-list .bk-tile-art { height: 56px; }
  .bk-list .bk-stats--v2 .bk-tile { padding: 8px 6px 10px; }
  .bk-list .bk-stats--v2 .bk-tile b { font-size: 26px; }
  .bk-list .bk-stats--v2 .bk-tile em, .bk-list .bk-tile > small:not(:first-of-type) { display: none; }
  .bk-list .bk-tile-head { font-size: 12px; padding: 4px 8px; }
  .bk-list .bk-actions { grid-column: 1 / -1; flex-direction: row; gap: 10px; }
  .bk-list .bk-actions form, .bk-list .bk-actions > .wood-btn { flex: 1 1 0; }
  .bk-list .wood-btn { min-height: 58px; gap: 8px; padding: 6px 12px 6px 8px; font-size: 16px; white-space: nowrap; }
  .bk-list .wood-btn-ic { width: 40px; height: 36px; }
  .bk-list .wood-btn .ic:last-child { width: 18px; height: 18px; }
  .bk-list .bk-peek { display: none; }
}
@media (min-width: 1200px) { .bk-list .bk-actions { flex-wrap: nowrap; } .bk-list .bk-actions > * { min-width: 0; } .bk-list .bk-actions .bk-more { position: absolute; right: -8px; top: -14px; } .bk-list .wood-btn { font-size: 15px; } }
.bk-photo-swap { right: 8px; bottom: 60px; }
.bk-photo-swap label { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.bk-photo-swap label span, .bk-photo-swap label span img { width: 26px; height: 26px; }
.bk-photo-swap.is-busy b::after { content: none; }

/* ===== なかまたちカード：見本（ChatGPT案）どおりに整理 ===== */
.bk-list .bk-card { background: repeating-linear-gradient(178deg, rgba(90, 40, 5, .08) 0 2px, transparent 2px 10px), linear-gradient(180deg, #c98a4b, #9a5d27);
  box-shadow: inset 0 0 0 3px #6b3a14, 0 10px 22px rgba(60, 30, 5, .22); border-radius: 22px; }
.bk-list .bk-avatar { background: #fffaf0; border-radius: 16px; padding: 10px; box-shadow: inset 0 0 0 2px #f1d9a8; }
.bk-list .bk-tags { display: flex; flex-wrap: nowrap; gap: 6px; }
.bk-list .bk-tags span, .bk-list .bk-tags i, .bk-list .bk-tags > * { white-space: nowrap; flex: 1 1 auto; text-align: center; font-weight: 900; }
.bk-list .bk-actions-title { display: none !important; }
.bk-list .bk-stats { background: none; }
.bk-list .bk-level, .bk-list .bk-tile { background: linear-gradient(180deg, #fffaf0, #fbefd6); box-shadow: inset 0 0 0 2px #f1d9a8; border-radius: 14px; }
.bk-list .bk-stats--v2 .bk-tile b { color: #f07400; }
.bk-list .bk-stats--v2 .bk-tile b.is-ok { color: #1f9a4b; }
.bk-list .wood-btn--brown { background: linear-gradient(180deg, #ffa14a, #ff8a1f 55%, #f07400) !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35), 0 4px 0 #c45f00 !important; color: #fff !important; }
@media (min-width: 1200px) {
  .bk-list .bk-card { grid-template-columns: 200px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: stretch; }
  .bk-list .bk-avatar { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
  .bk-list .bk-stats { grid-column: 2; grid-row: 1; }
  .bk-list .bk-actions { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; }
  .bk-list .bk-actions form, .bk-list .bk-actions > .wood-btn { min-width: 0; }
  .bk-list .bk-actions form .wood-btn { width: 100%; }
  .bk-list .wood-btn { min-height: 54px; gap: 6px; padding: 4px 8px 4px 6px; font-size: 14.5px; justify-content: center; border-radius: 14px; }
  .bk-list .wood-btn-ic { width: 34px; height: 32px; }
  .bk-list .wood-btn > .ic:last-child { display: none; }
  .bk-list .bk-actions .bk-more { position: absolute; right: -16px; top: -6px; }
}
@media (min-width: 1200px) { .bk-list .wood-btn { font-size: 13px; gap: 4px; padding: 4px 4px; letter-spacing: -.02em; white-space: nowrap; } .bk-list .wood-btn-ic { width: 26px; height: 26px; } .bk-list .wood-btn-ic img, .bk-list .wood-btn-ic .ic { width: 20px; height: 20px; } }

/* ===== なかまたち：スマホは 小さなカードの3列（ChatGPT案） ===== */
.nk-sp { display: none; }
@media (max-width: 720px) {
  .nk-sp { display: block; }
  .nk-sp ~ .bk-tools, .nk-sp ~ .bk-list, .nk-sp ~ .bk-table-wrap, .nk-sp ~ .bk-empty { display: none !important; }
  .bk:has(.nk-sp) .bk-hero { flex-direction: row; align-items: center; min-height: 0; padding: 10px 0 8px; gap: 8px; }
  .bk:has(.nk-sp) .bk-sign { margin-left: 26px; padding: 8px 16px 10px 54px; flex: none; }
  .bk:has(.nk-sp) .bk-sign h1 { font-size: 24px !important; }
  .bk:has(.nk-sp) .bk-sign p, .bk:has(.nk-sp) .bk-sign .leaf { display: none; }
  .bk:has(.nk-sp) .bk-compass { width: 60px !important; height: 60px !important; left: -22px !important; }
  .bk:has(.nk-sp) .bk-compass svg { width: 36px !important; height: 36px !important; }
  .bk:has(.nk-sp) .bk-hero::after { content: "みんなの ぼうけんの きろくを みられるよ！"; font-size: 11.5px; font-weight: 800; line-height: 1.45; color: #3b2a14; margin-right: 44px; text-shadow: 0 0 4px #fff, 0 0 2px #fff; }
  .bk:has(.nk-sp) .bk-board { padding: 10px !important; }
  .nk-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 6px; margin-bottom: 10px; }
  .nk-q { display: flex; align-items: center; gap: 4px; width: 40px; height: 38px; padding: 0 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #ecd6ad; transition: width .25s; overflow: hidden; }
  .nk-q:focus-within { width: 140px; }
  .nk-q .ic { flex: none; width: 18px; height: 18px; color: #6b5a3e; }
  .nk-q input { min-width: 0; width: 100%; border: 0; outline: none; background: none; font: inherit; font-size: 14px; font-weight: 800; }
  .nk-chips { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #ecd6ad; overflow-x: auto; scrollbar-width: none; }
  .nk-chips a { flex: none; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 900; color: #3b2a14; text-decoration: none; white-space: nowrap; }
  .nk-chips a.is-on { background: linear-gradient(180deg, #ffa14a, #ff8a1f); color: #fff; box-shadow: 0 2px 0 #c45f00; }
  .nk-ic { position: relative; display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 0 10px; border-radius: 12px; background: #fff; color: #3b2a14; font-size: 13px; font-weight: 900; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1.5px #ecd6ad, 0 2px 0 #e2c690; }
  .nk-ic--add { background: linear-gradient(180deg, #ffa14a, #ff8a1f); color: #fff; box-shadow: 0 3px 0 #c45f00; }
  .nk-ic--add b { font-size: 16px; }
  .nk-ic em { position: absolute; right: -6px; top: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #ff3b5c; color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
  .nk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .nk-card { position: relative; display: grid; justify-items: center; gap: 2px; padding: 8px 4px 8px; border-radius: 16px; background: linear-gradient(180deg, #fffaf0, #fbefd6); box-shadow: inset 0 0 0 1.5px #f1d9a8, 0 3px 0 #e2c690; }
  .nk-card.is-paused { filter: grayscale(.7); opacity: .7; }
  .nk-face { width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; cursor: pointer; background: radial-gradient(circle at 50% 35%, #fff, #cfeaff); box-shadow: 0 0 0 3px #fff, 0 3px 6px rgba(0, 0, 0, .15); }
  .nk-face img { width: 118%; height: 118%; margin: -4% 0 0 -9%; object-fit: cover; object-position: 50% 12%; }
  .nk-edit { position: absolute; right: 4px; top: 4px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: #fff; font-size: 13px; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 0, 0, .18), inset 0 0 0 1.5px #ffcf8a; }
  .nk-name { max-width: 100%; margin-top: 2px; font-size: 13.5px; font-weight: 900; color: #1b2440; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nk-meta { display: flex; align-items: center; gap: 4px; }
  .nk-lv { padding: 1px 7px; border-radius: 999px; background: linear-gradient(180deg, #ffe08a, #f5b82e); color: #5a2e0a; font-style: normal; font-size: 11px; font-weight: 900; }
  .nk-rr { display: inline-flex; align-items: center; gap: 1px; font-style: normal; font-size: 12px; font-weight: 900; color: #3b2a14; }
  .nk-rr img { width: 15px; height: 15px; }
}
/* 2026-09-27 スマホ：看板の説明文・吹き出しは出さない（見出しで わかる／看板と重なるため） */
@media (max-width: 720px) {
  .bk-hero .bk-bubble, .bk-hero .bk-sign > p { display: none !important; }
}
/* 2026-09-27 編集ダイアログ：学年と年齢は横ならび、ラベル横に小さく注意 */
.bk-edit-fields { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.bk-edit-fields > .bk-ef-wide, .bk-edit-fields > .zone-pick { grid-column: 1 / -1; }
.bk-edit-fields > label { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.bk-edit-fields > label > input, .bk-edit-fields > label > select { flex: 1 0 100%; height: 46px !important; min-width: 0; }
.bk-edit-fields > label:not(.bk-ef-wide) > small { display: none; }
.bk-edit-fields .zone-pick { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; padding: 0; border: 0; }
.bk-edit-fields .zone-pick legend { grid-column: 1 / -1; margin-bottom: 4px; font-weight: 800; font-size: 14px; }
.bk-edit-fields .zone-pick legend small { display: none; }
.bk-edit-fields .zone-pick label { display: block !important; margin: 0; }
.bk-edit-fields .zone-pick label span { display: grid; place-items: center; min-height: 42px; width: 100%; font-size: 13px; }
.bk-edit-dlg .bk-parent small { display: block; }
.bk-edit-fields .zone-pick label span { padding: 0 2px !important; white-space: nowrap; font-size: 12.5px !important; letter-spacing: -.02em; }
.bk-edit-dlg .mdl-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
.bk-edit-dlg .mdl-actions .mdl-btn--orange { order: 2; }
.bk-edit-dlg .mdl-actions .mdl-btn { white-space: nowrap; min-width: 0; padding: 0 8px; }
.bk-edit-dlg { width: min(560px, calc(100% - 32px)); }
