@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

.jjr-top {
  position: sticky; top: 0; z-index: 140;
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid #E8E3DA;
  box-shadow: 0 8px 22px rgba(38, 36, 33, .08);
  backdrop-filter: blur(12px);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  letter-spacing: -.015em;
}
.jjr-top__row {
  max-width: 430px; margin: 0 auto;
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px 0;
}
.jjr-top__logo { flex: none; display: block; line-height: 0; }
.jjr-top__logo img { width: 30px; height: 30px; border-radius: 9px; }
.jjr-top__title {
  flex: 1; min-width: 0;
  display: flex; align-items: baseline; gap: 10px;
}
.jjr-top__title b {
  flex: 1; min-width: 0; display: block;
  color: #262421; font-size: 16px; font-weight: 950;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jjr-top__title span {
  flex: none; max-width: 45%;
  color: #9D3D1C; font-size: 13px; font-weight: 900;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.jjr-top__icon {
  flex: none !important; width: 40px !important; height: 40px !important; border-radius: 0 !important;
  display: grid !important; place-items: center !important;
  background: transparent !important; color: #111 !important; text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
}
.jjr-top__icon:hover { background: transparent !important; color: #111 !important; border: 0 !important; box-shadow: none !important; }
.jjr-top__icon:disabled { opacity: .45; cursor: wait; }
.jjr-top__icon:active { background: transparent !important; color: #111 !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
.jjr-top__icon svg {
  width: 24px !important; height: 24px !important;
  fill: none !important; stroke: #111 !important; stroke-width: 1.95 !important;
  stroke-linecap: round; stroke-linejoin: round;
}
.jjr-top #locate {
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: #111 !important;
}
.jjr-top__login { position: relative; color: #111; }
.jjr-top__login svg {
  width: 28px !important; height: 28px !important;
  stroke-width: 2.15 !important;
}
.jjr-top__login.is-on {
  background: transparent !important; color: #111 !important; border: 0 !important; box-shadow: none !important;
}
.jjr-top #menu-btn {
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: #111 !important;
}
.jjr-top #menu-btn[aria-expanded="true"] {
  background: transparent !important; border: 0 !important; box-shadow: none !important; color: #111 !important;
}
.jjr-top__badge {
  display: none;
}
.jjr-top__badge[hidden] { display: none; }
.desktop-left-panel,
.desktop-right-panel { display: none; }
@media (min-width: 1180px) {
  html, body { background: #fff; }
  .desktop-right-panel {
    position: fixed; top: 72px;
    right: max(24px, calc(50% - 505px)); z-index: 30;
    display: block; width: 224px; min-height: 0; overflow: visible;
  }
  .desktop-right-panel a { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 14px 14px; color: #18284a; text-align: center; text-decoration: none; }
  .desktop-right-panel__owner { position: relative; margin: 0; padding: 0; overflow: hidden; border: 2px solid #6b3f1f; border-radius: 15px; background: #f7ead6; box-shadow: 0 4px 0 #6b3f1f; }
  .desktop-right-panel__owner img { display: block; width: 100%; height: 104px; object-fit: cover; object-position: 50% 50%; }
  .desktop-right-panel__owner b { position: absolute; left: 10px; right: 10px; bottom: 9px; padding: 7px 8px; border-radius: 11px; background: rgba(107,63,31,.92); color: #fffaf1; font-size: 13px; line-height: 1.15; font-weight: 950; }
  .desktop-right-panel__owner strong { position: absolute; top: 9px; left: -7px; z-index: 2; display: block; padding: 8px 13px 8px 15px; border: 2px solid #6b3f1f; border-left: 0; border-radius: 0 12px 12px 0; background: #e84b55; color: #fffaf1; font-size: 15px; line-height: 1; font-weight: 950; box-shadow: 0 4px 0 #6b3f1f, 0 10px 18px rgba(232,75,85,.22); }
  .desktop-right-panel__lucky { position: relative; display: block !important; max-height: calc(100vh - 106px); overflow-y: auto; margin-top: 12px; padding: 8px 6px 6px !important; border: 1px solid #e9e9ed; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(17,17,20,.10); text-align: left !important; }
  .desktop-right-panel__lucky[hidden] { display: none !important; }
  .desktop-right-panel__lucky-title { display: block; width: 100%; height: 46px; margin: 0 0 8px; object-fit: contain; object-position: center; }
  .desktop-right-panel__lucky-list { display: flex; flex-direction: column; gap: 10px; width: 100%; overflow: visible; }
  .desktop-right-panel__lucky-item { position: relative; display: block !important; min-width: 0; padding: 0 0 10px !important; border: 1px solid #ece8df; border-radius: 14px; overflow: hidden; background: #fffdf8; color: #25252a !important; text-align: left !important; box-shadow: 0 4px 12px rgba(17,17,20,.08); }
  .desktop-right-panel__lucky-item:last-child { padding-bottom: 10px !important; border-bottom: 1px solid #ece8df; }
  .desktop-right-panel__lucky-item img { display: block; width: 100%; height: 216px; padding: 0; border-radius: 0; object-fit: contain; background: #f7f2e8; box-sizing: border-box; }
  .desktop-right-panel__lucky-item b { display: -webkit-box; min-width: 0; margin: 10px 10px 0; overflow: hidden; color: #25252a; font-size: 15px; line-height: 1.25; font-weight: 950; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .desktop-right-panel__lucky-item small { position: absolute; right: -6px; top: 10px; z-index: 2; min-width: 80px; padding: 7px 13px 7px 15px; border-radius: 999px 0 0 999px; background: #ef404b; color: #fff; font-size: 12.5px; font-weight: 950; line-height: 1; text-align: center; white-space: nowrap; box-shadow: 0 4px 10px rgba(239,64,75,.28); }
  .desktop-right-panel__lucky-item small::before { content: ''; position: absolute; right: 0; bottom: -6px; border-style: solid; border-width: 6px 6px 0 0; border-color: #9f1f28 transparent transparent transparent; }
  .desktop-left-panel {
    position: fixed; top: 72px; bottom: 24px;
    left: max(24px, calc(50% - 505px)); z-index: 30;
    display: flex; flex-direction: column; width: 224px;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
      'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  }
  .desktop-left-panel__brand {
    display: block; width: 100%; height: 68px; margin: 0 0 20px;
    overflow: hidden; border-radius: 14px; text-decoration: none;
  }
  .desktop-left-panel__brand img {
    display: block; width: 100%; height: 68px; object-fit: fill;
  }
  .desktop-left-panel__nav { display: grid; gap: 4px; }
  .desktop-left-panel__nav a {
    display: flex; align-items: center; gap: 11px; min-height: 46px;
    padding: 0 14px; border: 1px solid #e6e8f0; border-radius: 15px; color: #18284a;
    background: #fff; font-size: 14px; font-weight: 900; text-decoration: none;
    box-shadow: 0 3px 0 rgba(24,40,74,.08);
    transition: transform .18s cubic-bezier(0.23, 1, 0.32, 1), border-color .18s cubic-bezier(0.23, 1, 0.32, 1), background-color .18s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .18s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .desktop-left-panel__nav a:hover { transform: translateY(-1px); border-color: #b9c9ee; }
  .desktop-left-panel__nav a:active { transform: scale(.98); }
  .desktop-left-panel__nav a:focus-visible { outline: 3px solid rgba(24,40,74,.24); outline-offset: 2px; }
  .desktop-left-panel__nav a.is-active { border-color: #ffc928; background: #fff8d9; color: #18284a; box-shadow: 0 3px 0 #ffc928; }
  .desktop-left-panel__nav a:nth-child(2) svg { color: #f04b52; }
  .desktop-left-panel__nav a:nth-child(3) svg { color: #7b50e8; }
  .desktop-left-panel__nav a:nth-child(4) svg { color: #16a66b; }
  .desktop-left-panel__nav a:nth-child(5) svg { color: #2d82e8; }
  .desktop-left-panel__nav svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .desktop-left-panel__invite {
    display: block; margin: 0; overflow: hidden; border: 2px solid #18284a;
    border-radius: 18px; background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    color: #18284a; text-decoration: none;
    box-shadow: 0 6px 0 #18284a, 0 18px 34px rgba(24,40,74,.18);
    transition: transform .18s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .18s cubic-bezier(0.23, 1, 0.32, 1);
  }
  .desktop-left-panel__invite:active { transform: scale(.98); }
  .desktop-left-panel__invite:hover { transform: translateY(-3px); box-shadow: 0 9px 0 #18284a, 0 24px 42px rgba(24,40,74,.22); }
  .desktop-left-panel__invite img { display: block; width: 100%; height: 108px; object-fit: cover; object-position: 50% 50%; background: #eef6ff; }
  .desktop-left-panel__invite-kicker { display: block; margin: 10px 12px 0; color: #e84b55; font-size: 11px; font-weight: 950; }
  .desktop-left-panel__invite strong { display: block; margin: 2px 12px 0; font-size: 16px; line-height: 1.18; font-weight: 950; }
  .desktop-left-panel__invite strong b { color: #e84b55; }
  .desktop-left-panel__invite small { display: block; margin: 5px 12px 0; color: #77747a; font-size: 11px; font-weight: 700; }
  .desktop-left-panel__app-download { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; margin: auto 0 12px; padding: 16px 14px 14px; border: 2px solid #6b3f1f; border-radius: 18px; background: #fffaf1; color: #18284a; text-align: center; text-decoration: none; box-shadow: 0 4px 0 #6b3f1f, 0 10px 18px rgba(107,63,31,.12); }
  .desktop-left-panel__app-download img { flex: none; width: 118px; height: 118px; border-radius: 26px; object-fit: cover; box-shadow: 0 8px 22px rgba(107,63,31,.16); }
  .desktop-left-panel__app-download b, .desktop-left-panel__app-download small, .desktop-left-panel__app-download span { display: block; }
  .desktop-left-panel__app-download b { font-size: 18px; line-height: 1.15; font-weight: 950; }
  .desktop-left-panel__app-download small { color: #6f727a; font-size: 12px; line-height: 1.35; font-weight: 750; word-break: keep-all; }
  .desktop-left-panel__app-download span { width: 100%; margin-top: 2px; padding: 11px 10px; border: 2px solid #6b3f1f; border-radius: 14px; background: #67b84d; color: #fffaf1; font-size: 13px; font-weight: 950; box-shadow: 0 4px 0 #6b3f1f; }
  .desktop-left-panel__invite-action { display: block; margin: 10px 12px 13px; padding: 11px 10px; border-radius: 999px; background: #18284a; border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13px; font-weight: 950; text-align: center; text-decoration: none; box-shadow: 0 4px 0 #0f1d38, 0 10px 18px rgba(24,40,74,.2); transition: transform .18s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .18s cubic-bezier(0.23, 1, 0.32, 1); }
  .desktop-left-panel__invite-action:active { transform: scale(.98); }
  .desktop-left-panel__invite-action i { color: #e84b55; font-size: 18px; font-style: normal; vertical-align: -1px; }
}
.jjr-drawer { position: fixed; inset: 0; z-index: 240; }
html.jjr-lock, body.jjr-lock { overflow: hidden; }
.jjr-drawer[hidden] { display: none; }
.jjr-drawer__dim { position: absolute; inset: 0; background: rgba(43, 42, 40, .36); touch-action: none; }
/* 콘텐츠 칼럼은 min(100%, 430px) 로 가운데 정렬돼 있다. 패널을 뷰포트
   끝에 붙이면 넓은 화면에서 본문과 뚝 떨어져 뜬다. 칼럼의 왼쪽 모서리에
   맞춰 왼쪽에서 연다(좁은 화면에서는 값이 0 이라 화면을 꽉 채운다). */
.jjr-drawer__box {
  position: absolute; top: 0; left: max(0px, calc(50% - 215px)); bottom: 0;
  display: flex; flex-direction: column;
  width: min(92%, 390px); padding-top: max(10px, env(safe-area-inset-top, 0px));
  background: #fff; overflow: hidden;
  border-right: 1px solid #E8E3DA;
  box-shadow: 12px 0 32px rgba(43, 42, 40, .18);
}
.jjr-drawer__head {
  position: sticky; top: 0; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 0 12px 0 18px;
  background: #fff; border-bottom: 1px solid #E8E3DA;
}
.jjr-drawer__head b { flex: 1; color: #262421; font-size: 19px; font-weight: 950; }
.jjr-drawer__x {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 12px; background: #F6F2EA; color: #6B665F;
  font: inherit; font-size: 22px; cursor: pointer;
}
.jjr-drawer__scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 22px; }
.jjr-drawer__download {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex: 0 0 auto; min-height: 278px; margin: 10px 16px max(12px, env(safe-area-inset-bottom, 0px));
  padding: 18px 0 16px; border: 0; border-radius: 0;
  background: #fff; color: #2B2A28; text-decoration: none;
  box-shadow: none;
}
.jjr-drawer__download-qr { display: block; width: 180px; height: 180px; padding: 7px; border: 1px solid #D8D4CE; border-radius: 4px; background: #fff; image-rendering: pixelated; }
.jjr-drawer__download-copy { min-width: 0; width: 100%; text-align: center; }
.jjr-drawer__download-copy b { display: block; color: #2B2A28; font-size: 25px; line-height: 1.15; font-weight: 950; }
.jjr-drawer__download-copy small { display: block; margin-top: 7px; color: #6B665F; font-size: 13px; line-height: 1.4; font-weight: 750; }
.jjr-drawer__download:hover { background: #fff; }
.jjr-drawer__download:active { transform: translateY(1px); }
.jjr-drawer-member {
  margin: 14px 16px; border: 1px solid #E8E3DA; border-radius: 18px;
  background: #fff; overflow: hidden; box-shadow: 0 5px 16px rgba(43,42,40,.06);
}
.jjr-drawer-member__card {
  display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center;
  padding: 14px;
}
.jjr-drawer-member__card::before {
  content: ''; width: 46px; height: 46px; border-radius: 0;
  background: url('/home/logo.png') center / contain no-repeat;
}
.jjr-drawer-member__card b {
  display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: #262421; font-size: 17px; font-weight: 950;
}
.jjr-drawer-member__card em {
  display: block; margin-top: 2px; color: #6B665F;
  font-style: normal; font-size: 13px; font-weight: 750;
}
.jjr-drawer-member__card strong { color: #9D3D1C; font-size: 18px; font-weight: 950; }
.jjr-drawer-login {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 13px; border-radius: 999px;
  background: #D85C32; color: #fff; font-size: 14px; font-weight: 950; text-decoration: none;
}
.jjr-drawer-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #E8E3DA; }
.jjr-drawer-shortcuts a {
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 62px; padding: 9px 5px; color: #262421; text-align: center; text-decoration: none;
}
.jjr-drawer-shortcuts a + a { border-left: 1px solid #E8E3DA; }
.jjr-drawer-shortcuts b { font-size: 14px; font-weight: 950; }
.jjr-drawer-shortcuts small { color: #6B665F; font-size: 11px; font-weight: 800; }
.jjr-drawer__k {
  width: calc(100% - 32px); min-height: 44px; margin: 16px 16px 8px;
  display: flex; align-items: center; justify-content: space-between;
  border: 0; background: transparent; color: #262421;
  font: inherit; font-size: 18px; font-weight: 950; text-align: left; cursor: pointer;
}
.jjr-drawer__k::after {
  content: ''; width: 8px; height: 8px; margin-right: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.jjr-drawer__k[aria-expanded="false"]::after { transform: rotate(-45deg); }
.jjr-drawer__direct {
  position: relative; display: flex; align-items: center; min-height: 56px;
  margin: 16px 16px 8px; padding: 0 42px 0 16px;
  border: 1px solid #E8E3DA; border-radius: 16px; background: #fff;
  color: #262421; font-size: 16px; font-weight: 900; text-decoration: none;
}
.jjr-drawer__direct::after {
  content: ''; position: absolute; right: 15px; top: 50%;
  width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid #BDB7AD; border-bottom: 2px solid #BDB7AD;
  transform: rotate(-45deg);
}
.jjr-drawer__group {
  margin: 0 16px; overflow: hidden; border: 1px solid #E8E3DA;
  border-radius: 16px; background: #fff;
}
.jjr-drawer__group[hidden] { display: none; }
.jjr-drawer__wiki {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin-top: 16px; padding: 8px; overflow: visible;
  border: 0; background: transparent;
}
.jjr-drawer__wiki-pair { display: contents; }
.jjr-drawer__wiki-pair > a,
.jjr-drawer__wiki > a:not(.jjr-drawer__map) {
  position: relative; display: flex; align-items: center; min-height: 56px;
  padding: 0 32px 0 14px; border: 1px solid #E8E3DA; border-radius: 12px;
  background: #fff; color: #262421; font-size: 15px; font-weight: 900;
  line-height: 1.2; text-decoration: none;
}
.jjr-drawer__wiki-pair > a::after,
.jjr-drawer__wiki > a:not(.jjr-drawer__map)::after {
  content: ''; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
  margin-top: -4px; border-right: 2px solid #BDB7AD; border-bottom: 2px solid #BDB7AD;
  transform: rotate(-45deg);
}
.jjr-drawer__group a {
  position: relative; display: flex; align-items: center; min-height: 56px;
  padding: 0 42px 0 16px; background: #fff; color: #262421;
  font-size: 16px; font-weight: 900; text-decoration: none;
}
.jjr-drawer__group a + a { border-top: 1px solid #E8E3DA; }
.jjr-drawer__group a::after {
  content: ''; position: absolute; right: 15px; top: 50%;
  width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid #BDB7AD; border-bottom: 2px solid #BDB7AD;
  transform: rotate(-45deg);
}
.jjr-drawer__group a.jjr-drawer__map {
  grid-column: 1 / -1; justify-content: center; min-height: 48px; margin: 0; padding: 0 16px;
  border: 0; border-radius: 12px; background: #262421; color: #fff;
  font-size: 15px; font-weight: 950;
}
.jjr-drawer__group a.jjr-drawer__map::after { display: none; }
.jjr-confirm {
  position: fixed; inset: 0; z-index: 250;
  display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
}
.jjr-confirm[hidden] { display: none; }
.jjr-confirm__dim { position: absolute; inset: 0; background: rgba(43, 42, 40, .46); }
.jjr-confirm__box {
  position: relative; width: min(100%, 360px);
  padding: 20px; border-radius: 18px;
  background: #fff; color: #262421;
  border: 1px solid #E8E3DA;
  box-shadow: 0 18px 44px rgba(43, 42, 40, .20);
}
.jjr-confirm__t {
  margin: 0; font-size: 19px; line-height: 1.32; font-weight: 950;
}
.jjr-confirm__d {
  margin: 7px 0 0; color: #6B665F; font-size: 14px; line-height: 1.45; font-weight: 760;
}
.jjr-confirm__r {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px;
}
.jjr-confirm__no,
.jjr-confirm__ok {
  min-height: 46px; border: 0; border-radius: 14px;
  font: inherit; font-size: 15px; font-weight: 950; cursor: pointer;
}
.jjr-confirm__no { background: #F6F2EA; color: #6B665F; }
.jjr-confirm__ok { background: #D85C32; color: #fff; }
.jjr-download-fixed {
  position: fixed; z-index: 20; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 11px; align-items: center;
  width: min(calc(100% - 16px), 430px); min-height: 76px; padding: 10px 12px;
  border: 1px solid #474440; border-radius: 16px; background: #2B2A28; color: #fff;
  box-shadow: 0 8px 24px rgba(20,18,16,.28); font-size: 14px; text-decoration: none;
}
.jjr-download-fixed img { display: block; width: 44px; height: 44px; border-radius: 13px; background: #FFF8F2; }
.jjr-download-fixed span { min-width: 0; }
.jjr-download-fixed b, .jjr-download-fixed small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jjr-download-fixed b { font-size: 16px; line-height: 1.25; font-weight: 950; }
.jjr-download-fixed small { margin-top: 5px; color: #CFC8BD; font-size: 12px; line-height: 1.25; font-weight: 750; }
.jjr-download-fixed strong { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 13px; border-radius: 10px; background: #E8734A; color: #fff; font-size: 13px; font-weight: 950; white-space: nowrap; }
.jjr-download-fixed i { font-style: normal; font-size: 17px; }
@media (max-width: 480px) { .jjr-download-fixed { grid-template-columns: 44px minmax(0, 1fr); } .jjr-download-fixed strong { display: none; } }

/* 정적 .app-top 헤더(푼상점·앱테크·동네소식·설정)에서 header.js 가 끼우는 푼 칩 */
.app-pun {
  flex: none;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a5600;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.app-pun[hidden] { display: none; }

/* 푼 내역 시트 — 상단 푼 칩에서 연다 */
/* 레이어 순서: 하단 네비 210 < 토스트 220 < 시트 230 < 드로어 240 < 확인창 250.
   210 보다 낮으면 시트가 하단 네비에 가린다. */
.jjr-ledger { position: fixed; inset: 0; z-index: 230; display: flex; align-items: flex-end; justify-content: center; }
.jjr-ledger[hidden] { display: none; }
.jjr-ledger__dim { position: absolute; inset: 0; background: rgba(17,17,20,.45); }
.jjr-ledger__box { position: relative; z-index: 1; width: min(100%, 430px); max-height: 76dvh; display: flex; flex-direction: column; padding: 14px 16px max(16px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #fff; }
.jjr-ledger__head { display: flex; align-items: center; justify-content: space-between; }
.jjr-ledger__head b { font-size: 17px; font-weight: 900; }
.jjr-ledger__head button { width: 34px; height: 34px; border-radius: 10px; background: transparent; color: #8b8f98; font-size: 22px; line-height: 1; }
.jjr-ledger__sum { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 6px; padding: 13px 14px; border-radius: 14px; background: #fff3cd; }
.jjr-ledger__sum span { color: #7a5600; font-size: 13px; font-weight: 800; }
.jjr-ledger__sum strong { color: #7a5600; font-size: 20px; font-weight: 900; }
.jjr-ledger__list { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.jjr-ledger__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #eceef1; }
.jjr-ledger__row:last-child { border-bottom: 0; }
.jjr-ledger__row b { display: block; font-size: 14px; font-weight: 800; }
.jjr-ledger__row em { display: block; margin-top: 3px; color: #8b8f98; font-size: 12px; font-style: normal; font-weight: 700; }
.jjr-ledger__row strong { font-size: 15px; font-weight: 900; white-space: nowrap; }
.jjr-ledger__row strong.plus { color: #16824a; }
.jjr-ledger__row strong.minus { color: #ff5b5b; }
.jjr-ledger__msg { padding: 28px 0; color: #8b8f98; text-align: center; font-size: 13px; font-weight: 700; }
.app-pun { border: 0; cursor: pointer; font-family: inherit; }
