/* common */
:root {
  --f7-theme-color: #0F63BD;
  --f7-theme-color-shade: #074f9c;
  --f7-theme-color-tint: #9FC0E5;
  --f7-theme-color-rgb: 15, 99, 189;
  --app-header-background: #0f63bd;
  --app-header-shadow: 0 5px 18px rgba(9, 62, 116, 0.16);
  --app-ai-chrome-background: #eef4fa;
}

body {
  font-size: 1.1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", YuGothic, "Yu Gothic", Verdana, Meiryo, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.02em;

}

html.app-ai-chrome-active,
html.app-ai-chrome-active body,
html.app-ai-chrome-active #app,
html.app-ai-chrome-active .views,
html.app-ai-chrome-active .view {
  background-color: var(--app-ai-chrome-background) !important;
}

html.app-ai-chrome-active body::before {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  left: 0;
  height: env(safe-area-inset-top);
  background: var(--app-ai-chrome-background);
  content: '';
  pointer-events: none;
}

/*
 * Framework7 moves the home navbar outside of its page when dynamic navbars are
 * enabled. While an AI route is active that transparent navbar can therefore
 * remain above the custom AI header and steal taps from its controls.
 */
html.app-ai-chrome-active .navbar.app-header,
html.app-ai-chrome-active .navbar.app-header * {
  pointer-events: none !important;
}

.app-header-brand {
  margin-left: 16px;
}

.app-header,
.navbar.app-menu-navbar {
  background: var(--app-header-background);
}

.ios .navbar.app-header .navbar-bg {
  background: transparent;
}

.navbar-bg.app-brand-navbar-bg {
  background: var(--app-header-background) !important;
  background-color: var(--app-header-background) !important;
  background-image: none !important;
}

.app-header-logo {
  display: block;
  width: min(180px, 48vw);
  height: auto;
}

.app-header-actions {
  gap: 8px;
  margin-right: 8px;
}

.ios .navbar .app-header-actions .app-header-action + .app-header-action {
  margin-left: 0;
}

.app-header-action {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.app-header-action .badge {
  position: absolute;
  top: 2px;
  right: 0;
}

.app-tabbar {
  --app-tab-index: 0;
  position: fixed;
  z-index: 5000;
  right: calc(8px + env(safe-area-inset-right));
  bottom: calc(8px + env(safe-area-inset-bottom));
  left: calc(8px + env(safe-area-inset-left));
  height: 72px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(229, 245, 255, 0.34));
  box-shadow: 0 7px 24px rgba(18, 42, 66, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  box-sizing: border-box;
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-touch-callout: none;
  touch-action: none;
  user-select: none;
  transition: box-shadow 180ms ease, transform 180ms ease, opacity 160ms ease;
}

html.app-ai-overview-active .app-tabbar,
html.app-ai-timelapse-fullscreen-active .app-tabbar,
html.app-ai-filter-sheet-active .app-tabbar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
}

.app-tabbar-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  height: 100%;
}

.app-tab-indicator {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% / 4);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 27px;
  background: linear-gradient(145deg, rgba(211, 222, 231, 0.58), rgba(244, 249, 252, 0.32));
  box-shadow: 0 3px 10px rgba(32, 58, 78, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  box-sizing: border-box;
  pointer-events: none;
  transform: translate3d(calc(var(--app-tab-index) * 100%), 0, 0);
  transition: transform 260ms cubic-bezier(0.22, 0.72, 0, 1), background-color 180ms ease;
  will-change: transform;
}

.app-tabbar.is-pressing {
  box-shadow: 0 9px 28px rgba(18, 42, 66, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: scale(1.005);
}

.app-tabbar.is-scrubbing .app-tab-indicator {
  background: linear-gradient(145deg, rgba(190, 216, 239, 0.6), rgba(239, 248, 255, 0.38));
  transition-duration: 90ms;
}

.app-tab-link {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 0;
  border-radius: 27px;
  background: transparent;
  color: #17212b;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms ease, transform 150ms ease;
}

.app-tab-link.active {
  color: var(--f7-theme-color);
  background: transparent;
}

.app-tabbar.is-scrubbing .app-tab-link.active {
  transform: scale(1.04);
}

.app-tab-icon-wrap {
  position: relative;
  display: inline-flex;
}

.app-tab-icon-wrap .badge {
  position: absolute;
  top: -4px;
  right: -10px;
}

.app-tab-icon {
  width: auto;
  height: 30px;
  font-size: 29px;
  line-height: 30px;
}

.app-ai-tab-icon {
  width: 34px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.app-ai-tab-icon .app-ai-tab-spark {
  fill: currentColor;
  stroke: none;
}

.app-tab-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-menu-content {
  padding-top: calc(var(--f7-page-navbar-offset, 0px) + var(--f7-page-toolbar-top-offset, 0px) + var(--f7-page-subnavbar-offset, 0px) + var(--f7-page-searchbar-offset, 0px) + 22px);
  padding-right: 16px;
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  padding-left: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(15, 99, 189, 0.12), transparent 240px),
    linear-gradient(180deg, #eef4fa 0%, #f7f9fb 42%, #eef3f8 100%);
}

.ios .navbar.app-menu-navbar .navbar-bg {
  background: transparent;
  box-shadow: none;
}

.ios .navbar.app-menu-navbar {
  box-shadow: var(--app-header-shadow);
}

.navbar.app-menu-navbar .navbar-bg::after {
  background-color: rgba(255, 255, 255, 0.12);
}

.navbar.app-menu-navbar .title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ios .navbar.app-menu-navbar-root .navbar-inner {
  padding-right: calc(20px + var(--f7-safe-area-right));
  padding-left: calc(20px + var(--f7-safe-area-left));
}

.navbar.app-menu-navbar a.link,
.ios .navbar.app-menu-navbar a.icon-only {
  color: #fff;
}

.app-menu-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.app-menu-section {
  margin-bottom: 24px;
}

.app-menu-section-title {
  margin: 0 5px 9px;
  color: #64758a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 20px;
}

.app-menu-list {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(24, 54, 84, 0.08), 0 1px 2px rgba(24, 54, 84, 0.04);
}

.app-menu-list ul {
  background: transparent;
}

.app-menu-list ul::before,
.app-menu-list ul::after {
  display: none;
}

.app-menu-list.links-list .app-menu-row,
.app-menu-danger-list .app-menu-row {
  display: flex;
  min-height: 64px;
  height: auto;
  padding: 8px 42px 8px 12px;
  align-items: center;
  box-sizing: border-box;
  color: #17212b;
  text-align: left;
  white-space: normal;
}

.app-menu-list.links-list .app-menu-row::after {
  left: 68px;
  background-color: rgba(24, 54, 84, 0.09);
}

.app-menu-list .app-menu-row.active-state {
  background: rgba(15, 99, 189, 0.06);
}

.app-menu-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-right: 14px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
}

.app-menu-icon .material-icons {
  width: auto;
  height: 24px;
  font-size: 23px;
  line-height: 24px;
}

.app-menu-icon-blue {
  color: #0f63bd;
  background: rgba(15, 99, 189, 0.12);
}

.app-menu-icon-purple {
  color: #6853b8;
  background: rgba(104, 83, 184, 0.12);
}

.app-menu-icon-teal {
  color: #087f79;
  background: rgba(8, 127, 121, 0.12);
}

.app-menu-icon-orange {
  color: #bd6817;
  background: rgba(189, 104, 23, 0.13);
}

.app-menu-icon-red {
  color: #d54848;
  background: rgba(213, 72, 72, 0.11);
}

.app-menu-icon-gray {
  color: #52667c;
  background: rgba(82, 102, 124, 0.12);
}

.app-menu-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.app-menu-title {
  overflow: hidden;
  color: #17212b;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-menu-description {
  overflow: hidden;
  color: #7b8da3;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-menu-trailing {
  margin-right: 5px;
  margin-left: 8px;
  flex: 0 0 auto;
}

.app-menu-danger-list .app-menu-row {
  position: relative;
  padding-right: 14px;
  transition: background-color 180ms ease;
}

.app-menu-danger-list li + li .app-menu-row::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 68px;
  height: 1px;
  background: rgba(24, 54, 84, 0.09);
  content: '';
  transform: scaleY(0.5);
  transform-origin: center top;
}

.app-menu-danger-row .app-menu-title {
  color: #cf3e3e;
}

.app-info-list li {
  position: relative;
  display: flex;
  min-height: 54px;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  gap: 18px;
}

.app-info-list li + li::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 16px;
  height: 1px;
  background: rgba(24, 54, 84, 0.09);
  content: '';
  transform: scaleY(0.5);
  transform-origin: center top;
}

.app-info-label {
  color: #64758a;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.app-info-value {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #17212b;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

/* AI検知イベント */
.page[data-name="ai-events"],
.page[data-name="ai-event-detail"] {
  --f7-page-navbar-offset: 0px;
  --app-ai-navbar-height: calc(64px + var(--f7-safe-area-top));
  padding-top: 0;
  background: #eef4fa;
}

.app-ai-navbar {
  position: absolute;
  z-index: 12600;
  top: 0;
  right: 0;
  left: 0;
  height: var(--app-ai-navbar-height);
  background: var(--app-ai-chrome-background);
  box-shadow: 0 1px 0 rgba(24, 54, 84, 0.1), 0 5px 18px rgba(24, 54, 84, 0.06);
  box-sizing: border-box;
  isolation: isolate;
  pointer-events: auto;
}

#app > .app-ai-navbar.app-ai-navbar-portal {
  --app-ai-navbar-height: calc(64px + var(--f7-safe-area-top));
  position: fixed;
  z-index: 15000;
}

.app-ai-navbar::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: var(--f7-safe-area-top);
  background: var(--app-ai-chrome-background);
  content: '';
  pointer-events: none;
}

.app-ai-navbar-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
  padding-top: var(--f7-safe-area-top);
  padding-right: calc(10px + var(--f7-safe-area-right));
  padding-left: calc(10px + var(--f7-safe-area-left));
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  pointer-events: auto;
}

.app-ai-navbar-filter {
  min-width: 0;
  margin-right: 6px;
  flex: 1;
}

.app-ai-navbar-filter-button {
  position: relative;
  display: inline-flex;
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--f7-theme-color);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  gap: 4px;
}

.app-ai-navbar-filter-button::before {
  position: absolute;
  z-index: 0;
  top: 4px;
  right: 0;
  bottom: 4px;
  left: 0;
  border: 1px solid rgba(15, 99, 189, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 0.5px rgba(15, 99, 189, 0.08), 0 2px 8px rgba(24, 54, 84, 0.05);
  content: '';
  pointer-events: none;
}

.app-ai-navbar-filter-button > * {
  position: relative;
  z-index: 1;
}

.app-ai-navbar-filter-button .material-icons {
  font-size: 18px;
}

.app-ai-navbar-filter-button .app-ai-filter-more {
  font-size: 16px;
}

.app-ai-navbar-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.app-ai-navbar-action {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--f7-theme-color);
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.app-ai-navbar-action .icon {
  font-size: 24px;
}

.app-ai-navbar-action .badge {
  position: absolute;
  top: 3px;
  right: 1px;
}

.app-ai-navbar a.link,
.app-ai-navbar a.icon-only {
  color: var(--f7-theme-color);
}

.app-ai-content {
  padding-top: var(--app-ai-navbar-height);
  padding-right: 14px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
  padding-left: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(15, 99, 189, 0.12), transparent 260px),
    linear-gradient(180deg, #eef4fa 0%, #f8fafc 44%, #eef3f8 100%);
  box-sizing: border-box;
}

.app-ai-shell {
  width: 100%;
  max-width: 620px;
  margin: 16px auto 0;
}

.app-ai-filter-sheet-spacer {
  height: 0;
  pointer-events: none;
}

.app-ai-detail-heading h1 {
  margin: 0;
  color: #17212b;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 30px;
}

.app-ai-status-tabs,
.app-ai-type-tabs {
  display: flex;
  margin: 0 -14px 8px;
  padding: 0 14px 3px;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-ai-status-tabs::-webkit-scrollbar,
.app-ai-type-tabs::-webkit-scrollbar {
  display: none;
}

.app-ai-status-tabs button,
.app-ai-type-tabs button {
  min-width: max-content;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(24, 54, 84, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.86);
  color: #52667c;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.app-ai-status-tabs button span {
  margin-left: 3px;
  color: #8292a4;
  font-variant-numeric: tabular-nums;
}

.app-ai-status-tabs button.active,
.app-ai-type-tabs button.active {
  border-color: var(--f7-theme-color);
  background: var(--f7-theme-color);
  box-shadow: 0 5px 13px rgba(15, 99, 189, 0.2);
  color: #fff;
}

.app-ai-status-tabs button.active span {
  color: rgba(255, 255, 255, 0.84);
}

.app-ai-type-tabs {
  margin-bottom: 10px;
}

.app-ai-filter-bar {
  display: flex;
  min-height: 22px;
  margin: 0 0 10px;
  align-items: center;
  justify-content: flex-start;
}

.app-ai-filter-bar p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #52667c;
  font-size: 13px;
  font-weight: 650;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-modal.app-ai-filter-sheet {
  --app-ai-filter-drag-y: 0px;
  display: block;
  height: min(52vh, 430px);
  min-height: 340px;
  max-height: calc(100vh - env(safe-area-inset-top) - 12px);
  padding-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 100%, 0);
  transition: transform 240ms cubic-bezier(0.22, 0.72, 0, 1), visibility 0s linear 240ms;
  box-sizing: border-box;
}

.sheet-modal.app-ai-filter-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, var(--app-ai-filter-drag-y), 0);
  transition-delay: 0s;
}

.sheet-modal.app-ai-filter-sheet.is-dragging {
  transition: none;
}

.app-ai-filter-sheet .sheet-modal-inner {
  height: 100%;
  min-height: 0;
}

.app-ai-filter-sheet .sheet-modal-inner {
  display: grid;
  grid-template-rows: 22px minmax(0, 1fr);
}

.app-ai-filter-handle {
  display: flex;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: none;
}

.app-ai-filter-handle span {
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: #cbd3dc;
}

.app-ai-filter-form {
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.app-ai-filter-scroll {
  height: 100%;
  min-height: 0;
  padding: 0 20px;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.app-ai-filter-section {
  margin-top: 22px;
}

.app-ai-filter-section h3 {
  margin: 0 0 10px;
  color: #27384a;
  font-size: 15px;
  font-weight: 750;
  line-height: 22px;
}

.app-ai-filter-options.app-ai-status-tabs,
.app-ai-filter-options.app-ai-type-tabs {
  margin: 0 -20px;
  padding: 0 20px 3px;
  flex-wrap: nowrap;
  gap: 8px;
}

.app-ai-filter-options.app-ai-status-tabs button,
.app-ai-filter-options.app-ai-type-tabs button {
  position: relative;
  z-index: 1;
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
  touch-action: manipulation;
}

.app-ai-filter-dates {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 8px;
}

.app-ai-filter-dates label {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.app-ai-filter-dates label > span {
  color: #718399;
  font-size: 12px;
  font-weight: 650;
}

.app-ai-filter-date-input {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.app-ai-filter-date-input > .material-icons {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 10px;
  color: #718399;
  font-size: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.app-ai-filter-dates input {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 38px 0 10px;
  border: 1px solid rgba(24, 54, 84, 0.16);
  border-radius: 10px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  color: #27384a;
  font: inherit;
  font-size: 16px;
  line-height: 42px;
  text-align: left;
  box-sizing: border-box;
}

.app-ai-filter-dates input::-webkit-date-and-time-value {
  min-height: 42px;
  margin: 0;
  padding: 0;
  line-height: 42px;
  text-align: left;
}

.app-ai-filter-dates input::-webkit-datetime-edit {
  padding: 0;
  line-height: 42px;
}

.app-ai-filter-dates input::-webkit-calendar-picker-indicator {
  width: 30px;
  height: 100%;
  margin: 0 -30px 0 0;
  padding: 0;
  opacity: 0;
}

.app-ai-filter-dates input:focus {
  border-color: var(--f7-theme-color);
  box-shadow: 0 0 0 2px rgba(15, 99, 189, 0.1);
}

.app-ai-filter-date-separator {
  padding-bottom: 12px;
  color: #718399;
  font-size: 16px;
}

.app-ai-filter-actions {
  position: static;
  z-index: 2;
  display: flex;
  margin: 18px 0 0;
  padding: 0 0 calc(12px + env(safe-area-inset-bottom));
  justify-content: flex-end;
}

.app-ai-filter-actions button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--f7-theme-color);
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  touch-action: manipulation;
}

.app-ai-filter-reset {
  background: #fff;
  color: var(--f7-theme-color);
}

.app-ai-search {
  display: flex;
  height: 42px;
  margin-bottom: 0;
  padding: 0 12px;
  align-items: center;
  border: 1px solid rgba(24, 54, 84, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 18px rgba(24, 54, 84, 0.06);
  box-sizing: border-box;
  gap: 8px;
}

.app-ai-search > .material-icons {
  color: #718399;
  font-size: 22px;
}

.app-ai-search input {
  min-width: 0;
  height: 100%;
  padding: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17212b;
  font: inherit;
  font-size: 16px;
}

.app-ai-search button {
  display: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8797a8;
}

.app-ai-search.has-value button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-ai-search button .material-icons {
  font-size: 19px;
}

.app-ai-event-list {
  display: grid;
  gap: 14px;
}

.app-ai-site-group {
  overflow: hidden;
  border: 1px solid rgba(24, 54, 84, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(24, 54, 84, 0.07), 0 1px 2px rgba(24, 54, 84, 0.04);
}

.app-ai-site-heading,
.app-ai-camera-heading {
  display: grid;
  margin: 0;
  align-items: center;
  color: #24374a;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.app-ai-site-heading {
  min-height: 50px;
  padding: 8px 13px;
  background: #fff;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 750;
  gap: 9px;
}

.app-ai-camera-heading {
  min-height: 42px;
  padding: 7px 13px 7px 18px;
  border-top: 1px solid rgba(24, 54, 84, 0.07);
  border-bottom: 1px solid rgba(24, 54, 84, 0.07);
  background: #f5f8fb;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
}

.app-ai-hierarchy-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(15, 99, 189, 0.09);
  color: var(--f7-theme-color);
}

.app-ai-camera-heading .app-ai-hierarchy-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(82, 102, 124, 0.09);
  color: #60758b;
}

.app-ai-hierarchy-icon .material-icons {
  font-size: 17px;
}

.app-ai-camera-heading .app-ai-hierarchy-icon .material-icons {
  font-size: 15px;
}

.app-ai-hierarchy-label {
  min-width: 0;
  overflow: hidden;
  line-height: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-ai-hierarchy-count {
  color: #8292a3;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.app-ai-camera-events {
  display: grid;
}

.app-ai-event-card.is-hierarchy-event {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.app-ai-event-card.is-hierarchy-event + .app-ai-event-card.is-hierarchy-event {
  border-top: 1px solid rgba(24, 54, 84, 0.07);
}

.app-ai-event-card.is-hierarchy-event button {
  display: block;
}

.app-ai-event-card.is-hierarchy-event .app-ai-event-media {
  height: clamp(180px, 55vw, 250px);
  min-height: 180px;
  border-right: 0;
  border-bottom: 1px solid rgba(24, 54, 84, 0.06);
}

.app-ai-event-card.is-hierarchy-event .app-ai-event-body {
  min-width: 0;
  padding: 12px 14px 14px;
  box-sizing: border-box;
}

.app-ai-event-card.is-hierarchy-event .app-ai-event-body.is-title-first .app-ai-event-title {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  font-size: 16px;
  line-height: 22px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.app-ai-event-card.is-hierarchy-event .app-ai-event-body.is-title-first .app-ai-event-meta {
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 8px;
}

.app-ai-event-card.is-hierarchy-event .app-ai-status-badge {
  min-height: 23px;
  padding: 1px 8px;
  font-size: 11px;
}

.app-ai-event-card.is-hierarchy-event .app-ai-event-time {
  font-size: 11.5px;
}

.app-ai-event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 54, 84, 0.08), 0 1px 2px rgba(24, 54, 84, 0.04);
}

.app-ai-event-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.app-ai-event-media,
.app-ai-detail-image {
  position: relative;
  height: 220px;
  height: clamp(180px, 55vw, 310px);
  overflow: hidden;
  background: #dfe7ef;
}

.app-ai-event-media img,
.app-ai-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-ai-image-empty {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #78899b;
  font-size: 13px;
  gap: 5px;
}

.app-ai-image-empty .material-icons {
  font-size: 34px;
}

.app-ai-hitboxes {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.app-ai-hitboxes polygon,
.app-ai-hitboxes rect {
  fill: rgba(255, 88, 77, 0.12);
  stroke: #ff584d;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.app-ai-event-body {
  padding: 13px 15px 15px;
}

.app-ai-event-meta,
.app-ai-detail-heading-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.app-ai-event-meta.is-status-hidden {
  justify-content: flex-start;
}

.app-ai-event-time,
.app-ai-detail-heading time {
  color: #718399;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.app-ai-status-badge {
  display: inline-flex;
  min-height: 25px;
  padding: 2px 10px;
  align-items: center;
  border-radius: 999px;
  background: rgba(15, 99, 189, 0.1);
  color: var(--f7-theme-color);
  box-sizing: border-box;
  font-size: 12px;
  font-weight: 700;
}

.app-ai-status-badge.tone-red {
  background: rgba(213, 72, 72, 0.11);
  color: #c63e3e;
}

.app-ai-status-badge.tone-green {
  background: rgba(27, 132, 92, 0.12);
  color: #167c57;
}

.app-ai-status-badge.tone-orange {
  background: rgba(189, 104, 23, 0.13);
  color: #ae5c11;
}

.app-ai-event-title {
  margin: 8px 0 6px;
  color: #17212b;
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
}

.app-ai-event-body.is-title-first .app-ai-event-title {
  margin: 0 0 5px;
}

.app-ai-event-body.is-title-first .app-ai-event-meta {
  margin-bottom: 7px;
  justify-content: flex-start;
}

.app-ai-event-place {
  display: flex;
  margin-top: 3px;
  align-items: flex-start;
  color: #607287;
  font-size: 13px;
  line-height: 19px;
  gap: 6px;
}

.app-ai-event-place .material-icons {
  margin-top: 1px;
  color: #8797a8;
  font-size: 17px;
  line-height: 18px;
}

.app-ai-event-chevron {
  position: absolute;
  right: 12px;
  bottom: 16px;
  color: #a4b0bc;
  font-size: 21px;
  pointer-events: none;
}

.app-ai-list-state,
.app-ai-load-more {
  display: flex;
  min-height: 110px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #718399;
  font-size: 13px;
  gap: 10px;
}

.app-ai-load-more {
  min-height: 76px;
}

.app-ai-list-state .preloader,
.app-ai-load-more .preloader {
  width: 26px;
  height: 26px;
}

.app-ai-empty-state {
  padding: 50px 22px;
  border: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #718399;
  text-align: center;
}

.app-ai-empty-state .material-icons {
  display: block;
  margin-bottom: 8px;
  color: #9cb4cc;
  font-size: 42px;
}

.app-ai-empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: #2c3b4a;
  font-size: 16px;
}

.app-ai-retry {
  display: block;
  min-width: 180px;
  height: 44px;
  margin: 16px auto;
  padding: 0 18px;
  border: 0;
  border-radius: 22px;
  background: var(--f7-theme-color);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.app-ai-retry[hidden],
.app-ai-list-state[hidden],
.app-ai-load-more[hidden] {
  display: none;
}

.app-ai-detail-content {
  padding-top: var(--app-ai-navbar-height);
  padding-right: 0;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  padding-left: 0;
  overflow-x: hidden;
}

.app-ai-detail-content .app-ai-shell {
  max-width: none;
  margin-top: 0;
}

.app-ai-detail {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 14px;
}

.app-ai-detail[hidden] {
  display: none;
}

.app-ai-detail-card,
.app-ai-detail-media,
.app-ai-detail-heading {
  overflow: hidden;
  border: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(24, 54, 84, 0.08), 0 1px 2px rgba(24, 54, 84, 0.04);
}

.app-ai-detail-hero {
  display: contents;
}

.app-ai-detail-media {
  --app-ai-player-height: clamp(180px, 55vw, 310px);
  position: relative;
  position: sticky;
  z-index: 30;
  top: 0;
  width: 100%;
  height: var(--app-ai-player-height);
  margin-bottom: -14px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.app-ai-detail-media .app-ai-detail-image {
  height: 100%;
}

.app-ai-detail-heading {
  padding: 14px 16px 17px;
  border-top: 0;
  border-radius: 0 0 20px 20px;
}

.app-ai-detail-heading h1 {
  margin-bottom: 9px;
}

.app-ai-overview-button {
  display: flex;
  width: 100%;
  margin-top: 13px;
  padding: 11px 0 0;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid rgba(24, 54, 84, 0.08);
  background: transparent;
  color: #3e5369;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.app-ai-overview-button > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-ai-overview-button .material-icons {
  color: #718399;
  font-size: 19px;
}

.app-ai-overview-button > .material-icons:last-child {
  color: #a1adba;
  font-size: 21px;
}

.app-ai-detail-status-time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-ai-event-actions-button {
  display: flex;
  width: 34px;
  height: 34px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f8;
  color: #52677d;
  box-sizing: border-box;
}

.app-ai-event-actions-button .material-icons {
  font-size: 21px;
}

.app-ai-event-actions-button.is-reported {
  background: #ffeded;
  color: #e34848;
}

.app-ai-event-actions-button:disabled {
  opacity: 0.72;
}

.app-ai-overview-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12500;
  height: var(--app-ai-overview-panel-height, 56vh);
  overflow: hidden;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 -6px 22px rgba(15, 36, 57, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  box-sizing: border-box;
}

.app-ai-overview-panel.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(var(--app-ai-overview-drag-y, 0px));
}

.app-ai-overview-panel.is-dragging {
  transition: none;
}

.app-ai-overview-panel-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.app-ai-overview-panel-handle {
  display: grid;
  height: 16px;
  flex: 0 0 16px;
  place-items: center;
  touch-action: none;
}

.app-ai-overview-panel-handle span {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: #d6dde5;
}

.app-ai-detail-content.app-ai-overview-background-locked {
  overflow: hidden;
  touch-action: none;
}

.app-ai-overview-panel-header {
  display: flex;
  min-height: 48px;
  padding: 0 16px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(24, 54, 84, 0.08);
}

.app-ai-overview-panel-header h2 {
  margin: 0;
  color: #17212b;
  font-size: 18px;
}

.app-ai-overview-panel-header button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #263442;
}

.app-ai-overview-panel-header .material-icons {
  font-size: 21px;
}

.app-ai-overview-panel-scroll {
  width: 100%;
  height: 0;
  min-height: 0;
  padding: 0 18px calc(24px + env(safe-area-inset-bottom));
  flex: 1 1 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.app-ai-overview-panel .app-ai-detail-card {
  padding: 20px 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-ai-overview-panel .app-ai-detail-card:last-child {
  border-bottom: 0;
}

.app-ai-detail-card {
  padding: 16px;
}

.app-ai-detail-card h2 {
  margin: 0 0 12px;
  color: #53677e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.app-ai-context-heading {
  display: flex;
  margin-bottom: 12px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.app-ai-context-heading h2 {
  margin: 0;
}

.app-ai-context-heading > span {
  color: #8797a8;
  font-size: 11px;
  white-space: nowrap;
}

.app-ai-context-state {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #718399;
  font-size: 12px;
  gap: 9px;
}

.app-ai-context-state .preloader {
  width: 24px;
  height: 24px;
}

.app-ai-related-strip {
  display: flex;
  margin: 0 -16px;
  padding: 0 16px 5px;
  overflow-x: auto;
  gap: 10px;
  scroll-padding: 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-ai-related-strip::-webkit-scrollbar {
  display: none;
}

.app-ai-related-item {
  display: block;
  min-width: 0;
  padding: 0;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(24, 54, 84, 0.1);
  border-radius: 14px;
  background: #f8fafc;
  color: inherit;
  font: inherit;
  text-align: left;
  scroll-snap-align: start;
}

.app-ai-related-media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #dfe7ef;
}

.app-ai-related-media {
  height: 94px;
}

.app-ai-related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-ai-related-item {
  width: 218px;
}

.app-ai-related-item.is-compact .app-ai-related-media {
  height: auto;
  aspect-ratio: 16 / 9;
}

.app-ai-related-item.is-compact .app-ai-related-body {
  padding: 9px 10px;
}

.app-ai-related-item.is-compact .app-ai-related-meta {
  margin-bottom: 0;
}

.app-ai-unreviewed-feed {
  width: 100%;
  min-width: 0;
  margin-bottom: 82px;
  padding: 16px 14px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.app-ai-unreviewed-heading {
  display: flex;
  margin: 0 0 12px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.app-ai-unreviewed-heading h2 {
  margin: 0;
  color: #53677e;
  font-size: 15px;
  font-weight: 750;
}

.app-ai-unreviewed-type-tabs {
  position: sticky;
  z-index: 20;
  top: clamp(180px, 55vw, 310px);
  width: calc(100% + 28px);
  min-width: 0;
  max-width: calc(100% + 28px);
  max-height: 0;
  margin: 0 -14px;
  padding: 0 10px;
  visibility: hidden;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  box-sizing: border-box;
  background: rgba(248, 250, 252, 0.96);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: max-height 150ms ease, padding 150ms ease, opacity 120ms ease, transform 150ms ease, visibility 150ms;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-ai-unreviewed-type-tabs.is-visible {
  max-height: 36px;
  margin-bottom: 6px;
  padding: 4px 8px;
  visibility: visible;
  box-shadow: 0 4px 10px rgba(24, 54, 84, 0.05);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.app-ai-unreviewed-type-tabs button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(63, 82, 102, 0.14);
  border-radius: 7px;
  background: #e3e8ed;
  color: #35495e;
  font-size: 11.5px;
  box-shadow: 0 1px 2px rgba(24, 54, 84, 0.08);
  transition: background-color 100ms ease, transform 100ms ease;
}

.app-ai-unreviewed-type-tabs button:active {
  background: #d5dde5;
  transform: scale(0.97);
}

.app-ai-unreviewed-type-tabs button.active {
  border-color: var(--f7-theme-color);
  box-shadow: 0 1px 3px rgba(15, 99, 189, 0.2);
}

.app-ai-unreviewed-type-tabs [data-ai-detail-event-status] {
  min-width: 64px;
}

.app-ai-unreviewed-type-tabs [data-ai-unreviewed-event-type] {
  min-width: 96px;
}

.app-ai-unreviewed-type-tabs .app-ai-filter-divider {
  width: 1px;
  height: 18px;
  flex: 0 0 1px;
  align-self: center;
  background: rgba(82, 102, 124, 0.2);
}

.app-ai-unreviewed-filter-sentinel {
  width: 100%;
  height: 0;
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) {
  border-color: rgba(24, 54, 84, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 54, 84, 0.09), 0 1px 2px rgba(24, 54, 84, 0.05);
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-media {
  border-bottom: 1px solid rgba(24, 54, 84, 0.06);
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-body {
  padding: 14px 16px 16px;
  background: #fff;
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-title {
  color: #17212b;
  font-size: 16px;
  font-weight: 750;
  line-height: 22px;
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-time {
  color: #7b8da1;
  font-size: 12px;
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-place {
  color: #52667c;
  font-size: 12.5px;
  line-height: 19px;
}

.app-ai-unreviewed-feed .app-ai-event-card:not(.is-hierarchy-event) .app-ai-event-chevron {
  display: none;
}

.app-ai-related-body {
  display: block;
  padding: 9px 10px 10px;
}

.app-ai-related-meta {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.app-ai-related-meta time {
  color: #718399;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.app-ai-related-meta .app-ai-status-badge {
  min-height: 20px;
  padding: 1px 7px;
  font-size: 10px;
}

.app-ai-related-body strong,
.app-ai-related-body small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-ai-related-body strong {
  color: #263442;
  font-size: 13px;
}

.app-ai-related-body small {
  margin-top: 3px;
  color: #718399;
  font-size: 11px;
}

.app-ai-context-retry {
  display: block;
  height: 36px;
  margin: 4px auto 0;
  padding: 0 16px;
  border: 1px solid rgba(15, 99, 189, 0.2);
  border-radius: 18px;
  background: rgba(15, 99, 189, 0.07);
  color: var(--f7-theme-color);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.app-ai-timelapse-stage-toggle {
  position: absolute;
  z-index: 4;
  display: flex;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #fff;
  touch-action: manipulation;
  transform: translate(-50%, -50%);
}

.app-ai-timelapse-loading {
  position: absolute;
  z-index: 7;
  display: grid;
  background: rgba(8, 25, 42, 0.24);
  pointer-events: none;
  place-items: center;
  inset: 0;
}

.app-ai-timelapse-loading .preloader {
  width: 34px;
  height: 34px;
}

.app-ai-timelapse-stage-toggle > span {
  display: inline-flex;
  width: 62px;
  height: 62px;
  align-items: center;
  justify-content: center;
  border: 1.25px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(8, 25, 42, 0.14);
  box-shadow: 0 2px 8px rgba(8, 25, 42, 0.12), inset 0 0 0 1px rgba(8, 25, 42, 0.05);
  opacity: 1;
  transition: opacity 160ms ease;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.app-ai-timelapse-stage-toggle.is-playing > span,
.app-ai-timelapse-stage-toggle.is-seeking > span {
  opacity: 0;
}

.app-ai-detail-media.is-center-control-visible .app-ai-timelapse-stage-toggle.is-playing > span {
  opacity: 1;
}

.app-ai-timelapse-stage-toggle.is-seeking {
  pointer-events: none;
}

.app-ai-detail-media.is-center-control-visible .app-ai-timelapse-stage-toggle.is-seeking > span {
  opacity: 0;
}

.app-ai-timelapse-stage-toggle .material-icons {
  font-size: 38px;
  text-shadow: 0 1px 3px rgba(8, 25, 42, 0.34);
}

.app-ai-inline-timelapse-controls {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 9px;
  background: linear-gradient(transparent, rgba(5, 17, 29, 0.82));
  color: #fff;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms;
}

.app-ai-detail-media.is-controls-visible .app-ai-inline-timelapse-controls {
  visibility: visible;
  opacity: 1;
}

.app-ai-inline-timelapse-meta {
  display: flex;
  min-height: 22px;
  padding-right: 54px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.app-ai-inline-timelapse-meta strong.is-detection {
  color: #7bc0ff;
}

.app-ai-inline-timelapse-slider {
  position: relative;
  height: 16px;
}

.app-ai-inline-timelapse-slider input {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  accent-color: #1687ed;
  pointer-events: auto;
}

.app-ai-inline-timelapse-slider > span {
  position: absolute;
  z-index: 1;
  top: -1px;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: #ff6259;
  transform: translateX(-1px);
  pointer-events: none;
}

.app-ai-timelapse-fullscreen {
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 32px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  visibility: hidden;
  background: transparent;
  color: #fff;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 160ms;
  touch-action: manipulation;
}

.app-ai-timelapse-fullscreen::before {
  position: absolute;
  border: 1.25px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(8, 25, 42, 0.14);
  box-shadow: 0 2px 7px rgba(8, 25, 42, 0.12), inset 0 0 0 1px rgba(8, 25, 42, 0.05);
  content: '';
  inset: 4px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.app-ai-detail-media.is-controls-visible .app-ai-timelapse-fullscreen {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.app-ai-timelapse-fullscreen .f7-icons {
  position: relative;
  z-index: 1;
  font-size: 21px;
  text-shadow: 0 1px 2px rgba(8, 25, 42, 0.34);
}

html.app-ai-timelapse-fullscreen-active {
  overflow: hidden;
}

.app-ai-detail-media.is-fullscreen {
  position: fixed;
  z-index: 20000;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.app-ai-detail-media.is-fullscreen .app-ai-detail-image {
  height: 100%;
  background: #000;
}

.app-ai-detail-media.is-fullscreen .app-ai-detail-image img {
  object-fit: contain;
}

.app-ai-detail-media.is-fullscreen .app-ai-inline-timelapse-controls {
  padding-bottom: calc(9px + env(safe-area-inset-bottom));
}

.app-ai-detail-media.is-fullscreen .app-ai-timelapse-fullscreen {
  bottom: calc(32px + env(safe-area-inset-bottom));
}

.app-ai-context-state[hidden],
.app-ai-related-strip[hidden],
.app-ai-timelapse-loading[hidden],
.app-ai-timelapse-stage-toggle[hidden],
.app-ai-timelapse-fullscreen[hidden],
.app-ai-inline-timelapse-controls[hidden],
.app-ai-context-retry[hidden] {
  display: none;
}

.app-ai-detail-properties {
  margin: 0;
}

.app-ai-detail-properties > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 10px 0;
  align-items: start;
  border-top: 1px solid rgba(24, 54, 84, 0.08);
  gap: 10px;
}

.app-ai-detail-properties > div:first-child {
  padding-top: 2px;
  border-top: 0;
}

.app-ai-detail-properties dt {
  display: flex;
  align-items: center;
  color: #718399;
  font-size: 13px;
  gap: 5px;
}

.app-ai-detail-properties dt .material-icons {
  font-size: 17px;
}

.app-ai-detail-properties dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #263442;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.app-ai-detail-summary {
  margin: 0 0 12px;
  color: #314151;
  font-size: 14px;
  line-height: 22px;
}

.app-ai-confidence {
  display: flex;
  margin-bottom: 10px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: rgba(15, 99, 189, 0.07);
  color: #5c7086;
  font-size: 13px;
}

.app-ai-confidence strong {
  color: var(--f7-theme-color);
  font-size: 17px;
}

.app-ai-annotation-list {
  display: grid;
  gap: 8px;
}

.app-ai-annotation {
  padding: 11px 12px;
  border: 1px solid rgba(24, 54, 84, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.app-ai-annotation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-ai-annotation-head strong {
  color: #263442;
  font-size: 14px;
}

.app-ai-annotation-head span {
  color: var(--f7-theme-color);
  font-size: 13px;
  font-weight: 700;
}

.app-ai-annotation p {
  margin: 4px 0 0;
  color: #718399;
  font-size: 12px;
  line-height: 18px;
}

.app-ai-event-id-card p {
  margin: 0;
  overflow-wrap: anywhere;
  color: #64758a;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 18px;
}

.app-ai-event-id-value {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-ai-event-id-value p {
  min-width: 0;
  flex: 1 1 auto;
}

.app-ai-event-id-value button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 99, 189, 0.1);
  color: var(--f7-theme-color);
}

.app-ai-event-id-value button .material-icons {
  font-size: 16px;
}

.navbar-bg:after {
  background-color: transparent;
}

.ios .navbar:not(.navbar-large):not(.app-menu-navbar) .navbar-bg {
  background: var(--f7-theme-color);
}

.app-header .subnavbar {
  background: var(--app-header-background);
  box-shadow: var(--app-header-shadow);
}

.app-header .subnavbar-inner {
  position: relative;
  padding: 0 16px;
}

.app-header .subnavbar-inner::after {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(90deg, rgba(15, 99, 189, 0), rgba(15, 99, 189, 0.96) 78%);
  content: '';
  pointer-events: none;
}

.ios .item-input-wrap{
  margin-top: 0px;
  margin-bottom: 0px;
}

.block-title {
  margin-top: 0;
}

.navbar .title {
  color: #fff;
  font-size: 1.1rem;
  /* display: none; */
}

.navbar a.link {
  color: #fff;
}

.radio {
  display: flex;
  margin-right: 15px;
}

.radio span {
  margin-left: 7px;
}

.list ul ul {
  padding-left: 0;
}

.ios .navbar a.icon-only {
  color: #fff;
}

.ios .navbar .right a.setting,
.ios .navbar .right a.menu {
  margin-left: 0px;
}

.ios .searchbar-expandable .searchbar-disable-button {
  color: var(--f7-theme-color-tint);
}

a.menu {
  position: relative;
}

a.menu .badge {
  position: absolute;
  top: -2px;
  right: -1px;
}

.panel .link {
  position: relative;
}

.panel .link .badge {
  margin-top: -3px;
}

.voice-noreaction {
  display: none;
}

.navbar a {
  color: #fff;
}

.panel {
  padding: 20px;
  padding-top: calc(var(--f7-safe-area-top) + 30px);
}

.panel .links {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.panel .links a {
  display: block;
  color: var(--f7-theme-color);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 25px;
}

.chip.pref {
  margin-right: 7px;
  margin-top: -1px;
}

.chip.color-blue.pref {
  color: var(--f7-theme-color);
  border-color: var(--f7-theme-color);
}

.searchbar-inner {
  background: var(--f7-theme-color);
  padding: 0 calc(var(--f7-searchbar-inner-padding-right) + var(--f7-safe-area-right) + 7px) 7px calc(var(--f7-searchbar-inner-padding-left) + var(--f7-safe-area-left) + 7px);
}

.searchbar input[type=search],
.searchbar input[type=text] {
  background-color: #fff;
  border-radius: 5px;
}

.searchbar-voice .searchbar-inner {
  background: #fff;
}

.searchbar-voice input[type=search],
.searchbar-voice input[type=text] {
  background-color: #efefef;
  border-radius: 5px;
  padding: 5px 10px 5px 30px;
  margin-top: 5px;
  width: 100%;
}

.ios .searchbar-voice .searchbar-icon {
  left: 25px;
}

.searchbar-voice .searchbar-input-wrap {
  width: 100%;
}

.searchbar-voice .input-clear-button {
  right: 90px;
}

.searchbar-voice .subnavbar:before {
  height: 0;
}

.page {
  padding-top: 35px;
  background: #D2DBE6;
}

.page[data-name="home"] {
  padding-top: 0;
}

.page-content {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.page[data-name="home"] .ptr-content:not(.ptr-pull-down):not(.ptr-pull-up):not(.ptr-refreshing) .ptr-arrow {
  visibility: hidden;
  opacity: 0;
}

.page-content.voice .list {
  margin: 0px;
}

.page-content.voice .created {
  /* background: #ebf8fd */
}

.dialog input {
  font-size: 16px !important;
}

.smart-select-sheet .page-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.smart-select-sheet {
  height: 30vh !important;
}

.text-disabled {
  color: #aaa;
}

.calendar-day .calendar-day-number {
  font-size: .83rem;
  white-space: nowrap;
}

.input-dropdown-wrap:before,
.input-dropdown:before {
  right: 12px;
}

.input-dropdown-wrap select,
.item-input-wrap input {
  background: #F4F4F4;
  padding: 6px 25px 6px 10px;
  border-radius: 4px;
}

.input-dropdown-wrap select {
  font-size: 1rem
}

.sheet-body .item-input-wrap {
  max-width: 130px;
}

.sheet-body .item-input-wrap.voice {
  max-width: 90%;
  margin: 10px auto;
}

.sheet-body .item-input-wrap.voice label {
  padding-bottom: 7px;
}

.sheet-body .item-input-wrap input {
  padding: 8px 35px 8px 10px;
  margin-top: 3px;
  width: 100%;
}

.sheet-body .share-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
}

.sheet-body .share-message,
.sheet-body .voice-message {
  background: #e9e9e9;
  padding: 10px;
  width: 100%;
  border-radius: 3px;
  margin-bottom: 5px;
  font-size: 16px;
  overflow-y: scroll;
}

.sheet-body .voice-message {
  width: 90%;
  margin: 0 auto;
}

.voice-sheet {
  transition: all 0.5s 0s ease;
}

.voice-sheet #voice-step2,
.voice-sheet #voice-step3,
.voice-sheet #voice-step4,
.voice-sheet #voice-step5,
.voice-sheet #voice-step6,
.voice-sheet #voice-step7 {
  display: none;
}

.voice-sheet .introduction {
  font-size: 1.1rem;
}

.voice-sheet .voice-start,
.voice-sheet .voice-end {
  width: 180px;
  height: 180px;
  border-radius: 180px;
  border: 10px solid #dfdfdf;
  margin: 30px auto 0;
  position: relative;
}

.voice-sheet .voice-start i,
.voice-sheet .voice-end i {
  font-size: 4rem;
  position: absolute;
  color: #dfdfdf;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

.voice-sheet .voice-end {
  display: block;
  position: relative;
  border: 10px solid var(--f7-theme-color);
  border: none;
  background: var(--f7-theme-color);
  transition: background-color cubic-bezier(0.215, 0.61, 0.355, 1) .4s;
}

.voice-sheet .voice-end:after {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: opacity linear 0.4s;
  content: ''
}

.voice-sheet .voice-end i {
  color: #fff;
  position: absolute;
  z-index: 10;
}

@keyframes pulseMotion {
  0% {
    transform: translate(-50%, -50%) scale(1, 1);
    background-color: rgba(15, 99, 189, 0.4)
  }

  100% {
    transform: translate(-50%, -50%) scale(1.8, 1.8);
    background-color: rgba(15, 99, 189, 0)
  }
}

.voice-sheet .voice-end.-active:after {
  animation: pulseMotion 1.4s linear infinite;
}

.voice-sheet #timer {
  color: var(--f7-theme-color);
  font-size: 1.9rem;
  font-weight: bold;
}

.voice-sheet .progressbar-infinite {
  width: 60%;
  margin: 0 auto;
  height: 6px;
  border-radius: 6px;
}

.voice-sheet .voice-title,
.voiceplay-sheet .voice-title {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 7px;
  margin-bottom: 7px;
  padding-top: 10px;
}

.voice-sheet .voice-title.no-border {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.voice-sheet #audio-wrap,
.voiceplay-sheet #audio-play-wrap {
  width: 80%;
  text-align: center;
  margin: 18px auto 10px;
}

.voice-sheet #voice-step3 div {
  padding-top: 100px;
}

.voice-sheet #voice-step5 .list {
  max-height: 350px;
  overflow-y: scroll;
}

.voice-sheet #voice-step6 .icon-voice-save,
.voice-sheet #voice-step7 .icon-voice-save {
  text-align: center;
  padding-top: 40px;
}

.voice-sheet #voice-step6 .icon-voice-save i,
.voice-sheet #voice-step7 .icon-voice-save i {
  color: var(--f7-theme-color);
  font-size: 5.2rem;
}

.voice-sheet #voice-step6 h3,
.voice-sheet #voice-step7 h3 {
  text-align: center;
  color: var(--f7-theme-color);
  font-size: 1.6rem;
}

.voice-sheet #voice-step6 p,
.voice-sheet #voice-step7 p {
  text-align: center;
}

.voice-sheet #voice-step7 .attention {
  color: #333;
  font-size: .9rem;
  background: #ededed;
  width: 80%;
  margin: 20px auto 0;
  padding: 10px;
  border-radius: 5px;
}

.voice-sheet .voice-message-wrap {
  position: relative;
}

.voiceplay-sheet .voice-message-wrap {
  width: 90%;
  margin: 15px auto;
  max-height: 150px;
  overflow-y: scroll;
  background-color: #efefef;
  padding: 10px;
  border-radius: 5px;
}

.button-voice-share-member {
  border-radius: 50px;
  border: 1px solid var(--f7-theme-color);
  color: var(--f7-theme-color);
  background: #fff;
  padding: 5px 10px;
  font-size: .85rem;
  margin: 0 auto;
}

.button-voice-share-member span {
  margin-left: 6px;
}

.item-voice-text {
  font-size: .9rem;
  line-height: 150%;
  max-height: 93px;
  overflow-y: scroll;
  white-space: pre-wrap;
  margin-top: 6px;
  margin-bottom: 9px;
  padding: 0 10px;
}

#voice-wrap ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#voice-wrap ul li {
  background: #fff;
  border-bottom: .5px solid var(--f7-list-border-color);
  margin-bottom: 5px;
}

#voice-wrap ul li .item-content {
  display: flex;
  padding: 10px;
}

#voice-wrap ul li .item-content .item-title {
  padding: 10px;
  width: 50%;
}

#voice-wrap ul li .item-content .item-title .chip {
  height: auto;
}

#voice-wrap ul li .item-content .item-title .chip-label {
  line-height: 16px;
  white-space: normal;
}

#voice-wrap ul li .item-content .item-media {
  position: relative;
  width: 50%;
}

#voice-wrap ul li audio {
  padding: 0 10px;
}

#voice-wrap img {
  border-radius: 3px;
  width: 100%;
  max-height: 120px;
  object-fit: cover;
}

#voice-wrap .voice-action-wrap {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: #efefef;
}

#voice-wrap .voice-action-wrap .action {
  background: #fff;
  color: #959595;
  padding: 5px 0;
  border-radius: 20px;
  font-size: .85rem;
  text-align: center;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  width: 31.5%;
}

#voice-wrap .voice-action-wrap .action.active {
  background: var(--f7-theme-color);
  color: #fff;
}


.item-readonly {
  margin: 5px 0;
  padding: 8px;
  border-radius: 3px;
  background: #eff1f1;
  color: #777
}

.btn {
  display: inline-block;
  padding: .375rem .75rem;
  border-radius: .25rem;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  font-size: .95rem;
  font-weight: bold;
  width: auto;
  border: none;
}

.btn.backward,
.btn.pause,
.btn.play,
.btn.forward {
  padding: .375rem .95rem;
}

.btn i {
  font-size: .85rem;
}

.btn-primary {
  color: #fff;
  background: var(--f7-theme-color);
}

.btn-secondary {
  color: #fff;
  background: #6c757d;
}

.btn-warning {
  color: #212529;
  background: #ffc107;
}

.home-tab {
  width: 100%;
  height: 100%;
  background: transparent;
  margin: 0;
  display: flex;
  align-items: stretch;
  list-style-type: none;
  font-weight: bold;
  padding: 0 24px 0 0;
  color: var(--f7-theme-color-tint);
  font-size: .95rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.home-tab li {
  display: flex;
  flex: none;
  align-items: center;
  box-sizing: border-box;
  margin-right: 20px;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
}

.home-tab li.active {
  color: #fff;
  border-bottom: 4px solid #fff;
}

.button-primary {
  display: block;
  width: 100%;
  padding: 12px 0;
  text-align: center;
  line-height: 1;
  border-radius: 50px;
  color: #fff;
  background: var(--f7-theme-color);
}

.bold {
  color: var(--f7-theme-color);
  font-weight: bold;
}

.white {
  color: #fff;
}

.sheet-modal {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: auto;
  padding-bottom: env(safe-area-inset-bottom);
  /* height: calc(60% + env(safe-area-inset-bottom)); */
}

.sheet-modal.calendar-sheet {
  height: calc(60% + env(safe-area-inset-bottom));
}

.sheet-modal.expand {
  height: calc(85% + env(safe-area-inset-bottom));
  transition: all 0.5s 0s ease;
}

.swipe-handler {
  height: 16px;
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  background: #fff;
  cursor: pointer;
  z-index: 10;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.swipe-handler:after {
  content: '';
  width: 36px;
  height: 6px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -18px;
  margin-top: -3px;
  border-radius: 3px;
  background: #666;
}

.sheet-header {
  font-size: .9rem;
}

.sheet-header .site-name {
  font-size: 1.2rem;
  font-weight: bold;
}

.sheet-body {
  margin-top: 10px;
}

.sheet-body ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sheet-body ul li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dfdfdf;
  padding-bottom: 10px;
  padding-top: 10px;
}

.sheet-body ul li span.label {
  padding-top: 2px;
  min-width: 140px;
}

.sheet-body ul li.url {
  font-size: .85rem;
  display: block;
  text-align: center;
  color: #5D686F;
  background: #F4F4F4;
  padding: 10px 10px;
  overflow-x: scroll;
}

.sheet-body ul li.link {
  display: block;
  text-align: center;
  color: var(--f7-theme-color);
  font-weight: bold;
}

.voice-sheet .sheet-body ul li {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dfdfdf;
  padding-bottom: 5px;
  padding-top: 5px;
}

.item-inner:after {
  background-color: transparent;
}

.voice-sheet .list .item-content {
  width: 100%;
  justify-content: initial;
}

/* index */
.logo {
  width: 35%;
  margin: 0 auto;
}

.logo img {
  width: 100%;
}

.title-wrap {
  padding: 0 10px;
  margin: 15px 0 7px;
  line-height: 130%;
  font-weight: bold;
}

#site-wrap {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-batch-loader {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
  background: #fff;
  overflow-anchor: none;
}

.site-batch-loader .simple-spinner {
  width: 24px;
  height: 24px;
}

.site-batch-pending {
  display: none !important;
}

.camera-batch-pending {
  display: none !important;
}

#btnRealtime {
  border-radius: 5px 0 0 5px;
}

#btnAll {
  border-radius: 0 5px 5px 0;
}

.image-wrap {
  position: relative;
}

.image-wrap img {
  width: 100%;
}

.image-wrap .date {
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  bottom: 15px;
  background: #808E9A;
  color: #fff;
  width: 120px;
  left: calc(50% - 60px);
  border-radius: 50px;
  text-align: center;
  padding: 0;
  border: 1px solid #fff;
}

.site-page-wrap {
  padding-bottom: calc(42px + env(safe-area-inset-bottom));

}

.reload-wrap {
  display: flex;
  min-height: 40px;
  padding: 6px 16px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 6px;
  border-bottom: 1px solid rgba(24, 54, 84, 0.08);
  background: #f3f7fb;
  color: #5d6e80;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.reload-status-icon {
  width: 18px;
  height: 18px;
  color: var(--f7-theme-color);
  font-size: 17px;
  line-height: 18px;
}

.reload-wrap .reload-label {
  color: #5d6e80;
}

.reload-wrap .countdown {
  min-width: 32px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 99, 189, 0.1);
  color: var(--f7-theme-color);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 20px;
}

.reload {
  position: fixed;
  right: 15px;
  bottom: 20px;
  z-index: 11;
}

.reload .circle {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #7D8F9B;
  border: 1px solid #fff;
  color: #fff;
}

.reload .circle span {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 45px;
  text-align: center;
}

/* .reload i{
  font-size: 2.8rem;
  color: #7D8F9B;
} */

.loading-wrap {
  font-size: 1rem;
  position: fixed;
  bottom: 0px;
  padding: 5px 5%;
  padding-bottom: calc(env(safe-area-inset-bottom));
  background: #7D8F9B;
  width: 90%;
  color: #fff;
  z-index: 10;
  /* text-align: center; */
}

#loading,
#loading-voiceplay {
  width: 64px;
  height: 64px;
  transition: all 1s;
  z-index: 9999;
}

#loading.voice-loading {
  position: absolute;
  left: calc(50% - 32px);
  top: 0;
}

#loading-voiceplay.voice-loading {
  display: none;
  margin: 20px auto;
}

/* .loader,
.loader:before,
.loader:after {
  background: var(--f7-theme-color);
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loader {
  color: var(--f7-theme-color);
  text-indent: -9999em;
  margin: 50px auto;
  position: relative;
  font-size: 7px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  position: absolute;
  top: 0;
  content: '';
}

.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@-webkit-keyframes load1 {

  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

@keyframes load1 {

  0%,
  80%,
  100% {
    box-shadow: 0 0;
    height: 4em;
  }

  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
} */

.simple-loader-wrap {
  height: 150px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-spinner {
  width: 34px;
  height: 34px;
  border: 2px solid var(--f7-theme-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: simple-spin 0.8s linear infinite;
}

@keyframes simple-spin {
  to { transform: rotate(360deg); }
}

.voice-loader,
.voice-loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

.voice-loader {
  margin: 40px auto 0;
  font-size: 5px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.3em solid var(--f7-theme-color);
  border-right: 1.3em solid var(--f7-theme-color);
  border-bottom: 1.3em solid var(--f7-theme-color);
  border-left: 1.3em solid #fff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.voice-close {
  width: 70%;
  margin: 0 auto;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.box-wrap {
  margin-top: 15px;
  background: #fff;
}

.box-wrap .header {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.box-wrap .header .icon {
  /* margin-top: 5px; */
  font-size: 2.15rem;
  color: #ccc;
}

/* .box-wrap .header .icon.icon-voice {
  color: var(--f7-theme-color);
  margin-right: 6px;
} */

.box-wrap .header .icon.favorite.active {
  color: #FF766A;
}

.box-wrap .header .icon.share {
  color: var(--f7-theme-color);
  margin-left: 5px;
}

.box-wrap .header .site-name {
  font-weight: bold;
  font-size: 1.1rem;
  padding-top: 4px;
  letter-spacing: 1;
}

.box-wrap .header .update {
  font-size: .8rem;
}

.box-wrap .header .people-open {
  display: inline-block;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 5px 8px;
  white-space: nowrap;
  margin-right: 6px;
  font-size: .95rem;
  line-height: 1;
}

.box-wrap .header .people-open .icon{
  font-size: 1.55rem;
  color: #333;
  padding: 0;
}

.box-wrap .header .people-open .people-header-count{
  color: #333;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.box-wrap .header-live-wrap {
  background: #F5EFB0;
  display: none;
  justify-content: space-between;
  padding: 8px 12px;
}

.box-wrap .header-live-wrap .header-live-message {
  font-size: .95rem;
  line-height: 40px;
  display: flex;
  color: #29500A;
  font-weight: bold;
}

.box-wrap .header-live-wrap .header-live-message:before {
  content: "";
  width: 14px;
  height: 14px;
  display: block;
  position: relative;
  background: #74C33A;
  border-radius: 50%;
  margin-top: 12px;
  margin-right: 6px;
}


.box-wrap .body {
  position: relative;
  min-height: 120px;
  background: #333;
}

.box-wrap .body img {
  width: 100%;
}

.box-wrap .body .date,
.box-wrap .digest .date {
  font-size: 12.5px;
  /* font-weight: bold; */
  position: absolute;
  top: 0;
  left: 0;
  background: #808E9A;
  color: #fff;
  text-align: center;
  padding: 0 30px;
  letter-spacing: 1.4;
  z-index: 9;
}

.box-wrap .icon-expand {
  position: absolute;
  font-size: 10px;
  right: 15px;
  bottom: 15px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-expand .icon-expand-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-expand .icon-expand-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 23px;
}

#voice-wrap .icon-expand {
  position: absolute;
  font-size: 10px;
  right: 5px;
  bottom: 12px;
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

#voice-wrap .icon-expand .icon-expand-sub {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
}

#voice-wrap .icon-expand .icon-expand-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 22px;
  text-align: center;
  font-size: 17px;
}

#voice-share-member-wrap li {
  /* display: flex;
  justify-content: space-between; */
  padding: 10px 0;
  border-bottom: .5px solid var(--f7-list-border-color);
}

#voice-share-member-wrap li .item-title {
  margin-bottom: 4px;
  margin-left: 5px;
}

#voice-share-member-wrap li .action-wrap {
  display: flex;
  justify-content: space-between;
}

#voice-share-member-wrap li .action-wrap>div {
  line-height: 18px;
  width: 31%
}

#voice-share-member-wrap li .action-wrap .action {
  background: #EDEDED;
  color: #959595;
  padding: 6px;
  border-radius: 20px;
  font-size: .82rem;
  text-align: center;
}

#voice-share-member-wrap li .action-wrap .action.active {
  background: var(--f7-theme-color);
  color: #fff;
}

#voice-share-member-wrap li .action-wrap span {
  display: block;
  text-align: center;
  font-size: .7rem;
  color: #959595;
}

.box-wrap .icon-share {
  position: absolute;
  font-size: 10px;
  right: 63px;
  bottom: 15px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-hidden {
  display: none;
}

.box-wrap .icon-share .icon-share-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-share .icon-share-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 20px;
}

.box-wrap .icon-expand {
  position: absolute;
  font-size: 10px;
  right: 15px;
  bottom: 15px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-expand {
  position: absolute;
  font-size: 10px;
  right: 15px;
  bottom: 15px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-snapshot {
  position: absolute;
  font-size: 10px;
  right: 15px;
  top: 10px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-snapshot .icon-snapshot-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-snapshot .icon-snapshot-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 20px;
}

.box-wrap .icon-voice {
  position: absolute;
  font-size: 10px;
  right: 115px;
  bottom: 15px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-voice .icon-voice-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-voice .icon-voice-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 20px;
}

.box-wrap .icon-voiceplay {
  position: absolute;
  font-size: 10px;
  right: 15px;
  top: 10px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-voiceplay .icon-voiceplay-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-voiceplay .icon-voiceplay-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 20px;
}

.box-wrap .icon-stream {
  position: absolute;
  font-size: 10px;
  right: 15px;
  top: 10px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #333;
  border: 1px solid #fff;
  color: #fff;
  z-index: 9;
}

.box-wrap .icon-stream .icon-stream-sub {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.box-wrap .icon-stream .icon-stream-sub i {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 35px;
  text-align: center;
  font-size: 20px;
}

.box-wrap .icon-prev-next.prev {
  position: absolute;
  left: 15px;
  top: calc(50% - 15px);
  display: inline-block;
  height: 30px;
  z-index: 9;
}

.box-wrap .icon-prev-next.next {
  position: absolute;
  right: 15px;
  top: calc(50% - 15px);
  display: inline-block;
  height: 30px;
  z-index: 9;
}

.box-wrap .icon-prev-next i {
  font-size: 2.3rem;
  color: #fff;
  opacity: .8;
}

.box-wrap .loader-nextprev {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  position: absolute;
  top: 0;
  z-index: 15;
  display: none;
}

.box-wrap .loader-nextprev .progressbar-infinite {
  height: 6px;
  width: 70%;
  margin: 0 auto;
  position: absolute;
  top: calc(50% - 3px);
  left: 15%;
}

.box-wrap .body .ch-div-wrap {
  position: relative;
}

.box-wrap .body .date.alert {
  background: #F0685C;
}

.box-wrap .attention {
  color: #222222;
  background: #e7e7e7;
  text-align: center;
  font-size: .88rem;
  padding: 3px 0;
}

.box-wrap .body.border,
.box-wrap .digest.border {
  border-top: 7px solid #D2DBE6;
}

.box-wrap .body .overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  z-index: 9;
  display: none;
}

.box-wrap .body .overlay .wrap {
  position: relative;
  height: 100%;
}

.box-wrap .body .overlay .wrap .link-box {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  display: block;
}

.box-wrap .body .overlay .wrap .link-box a {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  margin-bottom: 15px;
}

.box-wrap .body .overlay .wrap .link-box a i {
  font-size: 1.2rem;
}

.box-wrap .digest {
  display: none;
  background: #333;
}

.box-wrap .digest .ch-div-wrap {
  position: relative;
}

.box-wrap .digest img {
  width: 100%;
}

.box-wrap .loader {
  display: none;
  padding: 105px 40px 115px;
}

.box-wrap .loader .progressbar-infinite {
  padding: 2px 0;
}

.box-wrap .thumbnail {
  display: flex;                   
  position: relative;              
  overflow: scroll;                
  padding: 0;                      
  height: auto;                    
  width: 100%;                     
  gap: 5px;                          
  scroll-snap-type: x mandatory;
  margin-top: 8px;
}

.thumbnail-active {
  position: sticky;               
  top: 0;                         
  left: 0;                        
  border: 4px solid var(--f7-theme-color); 
  background: rgba(167, 80, 80, 0.8); 
  z-index: 100;                    
  transform: none;                 
  opacity: 1;                      
  transition: transform 0.2s ease, opacity 0.3s ease; 
  box-sizing: border-box;          
}

.thumbnail-img {
  display: inline-block;
  width: 100px;                     
  height: 60px;                     
  transition: transform 0.2s ease, opacity 0.3s ease; 
  opacity: 1;
  gap: 5px;
  position: relative;               
  cursor: pointer;                  
  scroll-snap-align: start;         
  flex-shrink: 0;                   
  object-fit: cover;
  border-radius: 3px;
}

.thumbnail-img.inactive {
  opacity: 0.8;                     
  transform: scale(0.9);            
}

.thumbnail-act .box-wrap {
  display: flex;
  justify-content: flex-start;       
  margin: 0;                         
  gap: 5px;                          
}

.box-wrap .footer {
  display: flex;
  justify-content: space-between;
  padding: 10px 10px 10px 0;
  border-top: 1px solid #dfdfdf;
}

.box-wrap .footer .digest-controller {
  display: flex;
}

.box-wrap .footer .digest-controller>div {
  display: flex;
  padding: 0 10px;
  border-right: 1px solid #dfdfdf;
  color: var(--f7-theme-color);
  font-weight: bold;
  font-size: 1rem;
}

.box-wrap .footer .digest-controller .icon {
  font-size: 1.4rem;
  padding: 2px 5px 0 0;
}

.box-wrap .footer .detail .icon {
  font-size: 1.4rem;
  padding: 0 5px 0 0;
  color: #ccc;
}

.box-wrap .footer-detail {
  padding: 10px 10px 15px 10px;
  display: none;
}

.box-wrap .footer-detail.show {
  display: flex;
}

.box-wrap .footer-detail>div {
  margin-right: 10px;
}

.box-wrap .control {
  display: none;
  justify-content: space-between;
  padding: 8px 10px 10px 7px;
}

.box-wrap .control>button {
  margin-right: 10px;
}

.box-wrap .control-button {
  display: flex;
  justify-content: space-between;
}

.box-wrap .control-button .pause,
.box-wrap .control-button .play {
  margin: 0 5px;
}

.box-wrap .control-speed {
  display: flex;
  margin-top: 3px;
}

.btn.play {
  display: none;
}

.btn.latest {
  color: #333;
  display: none;
  font-size: .85rem;
  white-space: nowrap; 
}

#cert-wrap {
  display: none;
}

#regist-wrap {
  display: none;
}

.push-type-wrap {
  display: flex;
  padding: 10px 0;
}

.push-time-wrap {
  display: flex;
  padding: 10px 0;
}

.push-time-wrap>div {
  margin-right: 10px;
}

.push-week-wrap {
  padding: 10px 0;
}

.push-week-wrap ul {
  display: flex;
}

.push-week-wrap ul li {
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, .125);
  border-right: none;
}

.push-week-wrap ul li:first-child {
  border-bottom-left-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
}

.push-week-wrap ul li:last-child {
  border-bottom-right-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  border-right: 1px solid rgba(0, 0, 0, .125);
}

.push-week-wrap ul .active {
  background: var(--f7-theme-color);
  color: #fff;
}

.list input[type=date] {
  background: #F4F4F4;
  padding: 0 12px;
}

.setting-alert {
  color: #555;
  padding: 5px 17px 0px;
  font-size: .85rem;
}

#week-wrap,
#date-wrap,
#time-wrap {
  display: none;
}


/* general */
.mt0 {
  margin-top: 0px;
}

.mr0 {
  margin-right: 0px;
}

.mb0 {
  margin-bottom: 0px;
}

.ml0 {
  margin-left: 0px;
}

.pt0 {
  padding-top: 0px;
}

.pr0 {
  padding-right: 0px;
}

.pb0 {
  padding-bottom: 0px;
}

.pl0 {
  padding-left: 0px;
}

.mt5 {
  margin-top: 5px;
}

.mr5 {
  margin-right: 5px;
}

.mb5 {
  margin-bottom: 5px;
}

.ml5 {
  margin-left: 5px;
}

.pt5 {
  padding-top: 5px;
}

.pr5 {
  padding-right: 5px;
}

.pb5 {
  padding-bottom: 5px;
}

.pl5 {
  padding-left: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.ml10 {
  margin-left: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pr10 {
  padding-right: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.pl10 {
  padding-left: 10px;
}

.mt15 {
  margin-top: 15px;
}

.mr15 {
  margin-right: 15px;
}

.mb15 {
  margin-bottom: 15px;
}

.ml15 {
  margin-left: 15px;
}

.pt15 {
  padding-top: 15px;
}

.pr15 {
  padding-right: 15px;
}

.pb15 {
  padding-bottom: 15px;
}

.pl15 {
  padding-left: 15px;
}

.mt20 {
  margin-top: 20px;
}

.mr20 {
  margin-right: 20px;
}

.mb20 {
  margin-bottom: 20px;
}

.ml20 {
  margin-left: 20px;
}

.pt20 {
  padding-top: 20px;
}

.pr20 {
  padding-right: 20px;
}

.pb20 {
  padding-bottom: 20px;
}

.pl20 {
  padding-left: 20px;
}

.mt25 {
  margin-top: 25px;
}

.mr25 {
  margin-right: 25px;
}

.mb25 {
  margin-bottom: 25px;
}

.ml25 {
  margin-left: 25px;
}

.pt25 {
  padding-top: 25px;
}

.pr25 {
  padding-right: 25px;
}

.pb25 {
  padding-bottom: 25px;
}

.pl25 {
  padding-left: 25px;
}

.mt30 {
  margin-top: 30px;
}

.mr30 {
  margin-right: 30px;
}

.mb30 {
  margin-bottom: 30px;
}

.ml30 {
  margin-left: 30px;
}

.pt30 {
  padding-top: 30px;
}

.pr30 {
  padding-right: 30px;
}

.pb30 {
  padding-bottom: 30px;
}

.pl30 {
  padding-left: 30px;
}

.mt35 {
  margin-top: 35px;
}

.mr35 {
  margin-right: 35px;
}

.mb35 {
  margin-bottom: 35px;
}

.ml35 {
  margin-left: 35px;
}

.pt35 {
  padding-top: 35px;
}

.pr35 {
  padding-right: 35px;
}

.pb35 {
  padding-bottom: 35px;
}

.pl35 {
  padding-left: 35px;
}

.mt40 {
  margin-top: 40px;
}

.mr40 {
  margin-right: 40px;
}

.mb40 {
  margin-bottom: 40px;
}

.ml40 {
  margin-left: 40px;
}

.pt40 {
  padding-top: 40px;
}

.pr40 {
  padding-right: 40px;
}

.pb40 {
  padding-bottom: 40px;
}

.pl40 {
  padding-left: 40px;
}

.mt45 {
  margin-top: 45px;
}

.mr45 {
  margin-right: 45px;
}

.mb45 {
  margin-bottom: 45px;
}

.ml45 {
  margin-left: 45px;
}

.pt45 {
  padding-top: 45px;
}

.pr45 {
  padding-right: 45px;
}

.pb45 {
  padding-bottom: 45px;
}

.pl45 {
  padding-left: 45px;
}

.mt50 {
  margin-top: 50px;
}

.mr50 {
  margin-right: 50px;
}

.mb50 {
  margin-bottom: 50px;
}

.ml50 {
  margin-left: 50px;
}

.pt50 {
  padding-top: 50px;
}

.pr50 {
  padding-right: 50px;
}

.pb50 {
  padding-bottom: 50px;
}

.pl50 {
  padding-left: 50px;
}

.mt55 {
  margin-top: 55px;
}

.mr55 {
  margin-right: 55px;
}

.mb55 {
  margin-bottom: 55px;
}

.ml55 {
  margin-left: 55px;
}

.pt55 {
  padding-top: 55px;
}

.pr55 {
  padding-right: 55px;
}

.pb55 {
  padding-bottom: 55px;
}

.pl55 {
  padding-left: 55px;
}

.mt60 {
  margin-top: 60px;
}

.mr60 {
  margin-right: 60px;
}

.mb60 {
  margin-bottom: 60px;
}

.ml60 {
  margin-left: 60px;
}

.pt60 {
  padding-top: 60px;
}

.pr60 {
  padding-right: 60px;
}

.pb60 {
  padding-bottom: 60px;
}

.pl60 {
  padding-left: 60px;
}

.mt65 {
  margin-top: 65px;
}

.mr65 {
  margin-right: 65px;
}

.mb65 {
  margin-bottom: 65px;
}

.ml65 {
  margin-left: 65px;
}

.pt65 {
  padding-top: 65px;
}

.pr65 {
  padding-right: 65px;
}

.pb65 {
  padding-bottom: 65px;
}

.pl65 {
  padding-left: 65px;
}

.mt70 {
  margin-top: 70px;
}

.mr70 {
  margin-right: 70px;
}

.mb70 {
  margin-bottom: 70px;
}

.ml70 {
  margin-left: 70px;
}

.pt70 {
  padding-top: 70px;
}

.pr70 {
  padding-right: 70px;
}

.pb70 {
  padding-bottom: 70px;
}

.pl70 {
  padding-left: 70px;
}

.mt75 {
  margin-top: 75px;
}

.mr75 {
  margin-right: 75px;
}

.mb75 {
  margin-bottom: 75px;
}

.ml75 {
  margin-left: 75px;
}

.pt75 {
  padding-top: 75px;
}

.pr75 {
  padding-right: 75px;
}

.pb75 {
  padding-bottom: 75px;
}

.pl75 {
  padding-left: 75px;
}

.mt80 {
  margin-top: 80px;
}

.mr80 {
  margin-right: 80px;
}

.mb80 {
  margin-bottom: 80px;
}

.ml80 {
  margin-left: 80px;
}

.pt80 {
  padding-top: 80px;
}

.pr80 {
  padding-right: 80px;
}

.pb80 {
  padding-bottom: 80px;
}

.pl80 {
  padding-left: 80px;
}

.mt85 {
  margin-top: 85px;
}

.mr85 {
  margin-right: 85px;
}

.mb85 {
  margin-bottom: 85px;
}

.ml85 {
  margin-left: 85px;
}

.pt85 {
  padding-top: 85px;
}

.pr85 {
  padding-right: 85px;
}

.pb85 {
  padding-bottom: 85px;
}

.pl85 {
  padding-left: 85px;
}

.mt90 {
  margin-top: 90px;
}

.mr90 {
  margin-right: 90px;
}

.mb90 {
  margin-bottom: 90px;
}

.ml90 {
  margin-left: 90px;
}

.pt90 {
  padding-top: 90px;
}

.pr90 {
  padding-right: 90px;
}

.pb90 {
  padding-bottom: 90px;
}

.pl90 {
  padding-left: 90px;
}

.mt95 {
  margin-top: 95px;
}

.mr95 {
  margin-right: 95px;
}

.mb95 {
  margin-bottom: 95px;
}

.ml95 {
  margin-left: 95px;
}

.pt95 {
  padding-top: 95px;
}

.pr95 {
  padding-right: 95px;
}

.pb95 {
  padding-bottom: 95px;
}

.pl95 {
  padding-left: 95px;
}

.mt100 {
  margin-top: 100px;
}

.mr100 {
  margin-right: 100px;
}

.mb100 {
  margin-bottom: 100px;
}

.ml100 {
  margin-left: 100px;
}

.pt100 {
  padding-top: 100px;
}

.pr100 {
  padding-right: 100px;
}

.pb100 {
  padding-bottom: 100px;
}

.pl100 {
  padding-left: 100px;
}

.mx0 {
  margin-left: 0px;
  margin-right: 0px;
}

.my0 {
  margin-top: 0px;
  margin-bottom: 0px;
}

.px0 {
  padding-left: 0px;
  padding-right: 0px;
}

.py0 {
  padding-top: 0px;
  padding-bottom: 0px;
}

.m0 {
  margin: 0px;
}

.p0 {
  padding: 0px;
}

.mx5 {
  margin-left: 5px;
  margin-right: 5px;
}

.my5 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.px5 {
  padding-left: 5px;
  padding-right: 5px;
}

.py5 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.m5 {
  margin: 5px;
}

.p5 {
  padding: 5px;
}

.mx10 {
  margin-left: 10px;
  margin-right: 10px;
}

.my10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.px10 {
  padding-left: 10px;
  padding-right: 10px;
}

.py10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.m10 {
  margin: 10px;
}

.p10 {
  padding: 10px;
}

.mx15 {
  margin-left: 15px;
  margin-right: 15px;
}

.my15 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.px15 {
  padding-left: 15px;
  padding-right: 15px;
}

.py15 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.m15 {
  margin: 15px;
}

.p15 {
  padding: 15px;
}

.mx20 {
  margin-left: 20px;
  margin-right: 20px;
}

.my20 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.px20 {
  padding-left: 20px;
  padding-right: 20px;
}

.py20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.m20 {
  margin: 20px;
}

.p20 {
  padding: 20px;
}

.mx25 {
  margin-left: 25px;
  margin-right: 25px;
}

.my25 {
  margin-top: 25px;
  margin-bottom: 25px;
}

.px25 {
  padding-left: 25px;
  padding-right: 25px;
}

.py25 {
  padding-top: 25px;
  padding-bottom: 25px;
}

.m25 {
  margin: 25px;
}

.p25 {
  padding: 25px;
}

.mx30 {
  margin-left: 30px;
  margin-right: 30px;
}

.my30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.px30 {
  padding-left: 30px;
  padding-right: 30px;
}

.py30 {
  padding-top: 30px;
  padding-bottom: 30px;
}

.m30 {
  margin: 30px;
}

.p30 {
  padding: 30px;
}

.mx35 {
  margin-left: 35px;
  margin-right: 35px;
}

.my35 {
  margin-top: 35px;
  margin-bottom: 35px;
}

.px35 {
  padding-left: 35px;
  padding-right: 35px;
}

.py35 {
  padding-top: 35px;
  padding-bottom: 35px;
}

.m35 {
  margin: 35px;
}

.p35 {
  padding: 35px;
}

.mx40 {
  margin-left: 40px;
  margin-right: 40px;
}

.my40 {
  margin-top: 40px;
  margin-bottom: 40px;
}

.px40 {
  padding-left: 40px;
  padding-right: 40px;
}

.py40 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.m40 {
  margin: 40px;
}

.p40 {
  padding: 40px;
}

.mx45 {
  margin-left: 45px;
  margin-right: 45px;
}

.my45 {
  margin-top: 45px;
  margin-bottom: 45px;
}

.px45 {
  padding-left: 45px;
  padding-right: 45px;
}

.py45 {
  padding-top: 45px;
  padding-bottom: 45px;
}

.m45 {
  margin: 45px;
}

.p45 {
  padding: 45px;
}

.mx50 {
  margin-left: 50px;
  margin-right: 50px;
}

.my50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.px50 {
  padding-left: 50px;
  padding-right: 50px;
}

.py50 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.mx-auto {
  margin: 0 auto;
}

.m50 {
  margin: 50px;
}

.p50 {
  padding: 50px;
}

.fz10 {
  font-size: 10px;
}

.fz11 {
  font-size: 11px;
}

.fz12 {
  font-size: 12px;
}

.fz13 {
  font-size: 13px;
}

.fz14 {
  font-size: 14px;
}

.fz15 {
  font-size: 15px;
}

.fz16 {
  font-size: 16px;
}

.fz17 {
  font-size: 17px;
}

.fz18 {
  font-size: 18px;
}

.fz19 {
  font-size: 19px;
}

.fz20 {
  font-size: 20px;
}

.fz21 {
  font-size: 21px;
}

.fz22 {
  font-size: 22px;
}

.fz23 {
  font-size: 23px;
}

.fz24 {
  font-size: 24px;
}

.fz25 {
  font-size: 25px;
}

.fz26 {
  font-size: 26px;
}

.fz27 {
  font-size: 27px;
}

.fz28 {
  font-size: 28px;
}

.fz29 {
  font-size: 29px;
}

.fz30 {
  font-size: 30px;
}

.fz31 {
  font-size: 31px;
}

.fz32 {
  font-size: 32px;
}

.fz33 {
  font-size: 33px;
}

.fz34 {
  font-size: 34px;
}

.fz35 {
  font-size: 35px;
}

.fz36 {
  font-size: 36px;
}

.fz37 {
  font-size: 37px;
}

.fz38 {
  font-size: 38px;
}

.fz39 {
  font-size: 39px;
}

.fz40 {
  font-size: 40px;
}

.u-m--a {
  margin: auto;
}

.u-mx--a {
  margin-left: auto;
  margin-right: auto;
}

.mb2 {
  margin-bottom: 2px;
}

.mb3 {
  margin-bottom: 3px;
}

.mb4 {
  margin-bottom: 4px;
}

.w5 {
  width: 5%;
}

.w5-5 {
  width: calc(5% - 5px);
}

.w5-10 {
  width: calc(5% - 10px);
}

.w5-15 {
  width: calc(5% - 15px);
}

.w5-20 {
  width: calc(5% - 20px);
}

.w10 {
  width: 10%;
}

.w10-5 {
  width: calc(10% - 5px);
}

.w10-10 {
  width: calc(10% - 10px);
}

.w10-15 {
  width: calc(10% - 15px);
}

.w10-20 {
  width: calc(10% - 20px);
}

.w15 {
  width: 15%;
}

.w15-5 {
  width: calc(15% - 5px);
}

.w15-10 {
  width: calc(15% - 10px);
}

.w15-15 {
  width: calc(15% - 15px);
}

.w15-20 {
  width: calc(15% - 20px);
}

.w20 {
  width: 20%;
}

.w20-5 {
  width: calc(20% - 5px);
}

.w20-10 {
  width: calc(20% - 10px);
}

.w20-15 {
  width: calc(20% - 15px);
}

.w20-20 {
  width: calc(20% - 20px);
}

.w25 {
  width: 25%;
}

.w25-5 {
  width: calc(25% - 5px);
}

.w25-10 {
  width: calc(25% - 10px);
}

.w25-15 {
  width: calc(25% - 15px);
}

.w25-20 {
  width: calc(25% - 20px);
}

.w30 {
  width: 30%;
}

.w30-5 {
  width: calc(30% - 5px);
}

.w30-10 {
  width: calc(30% - 10px);
}

.w30-15 {
  width: calc(30% - 15px);
}

.w30-20 {
  width: calc(30% - 20px);
}

.w35 {
  width: 35%;
}

.w35-5 {
  width: calc(35% - 5px);
}

.w35-10 {
  width: calc(35% - 10px);
}

.w35-15 {
  width: calc(35% - 15px);
}

.w35-20 {
  width: calc(35% - 20px);
}

.w40 {
  width: 40%;
}

.w40-5 {
  width: calc(40% - 5px);
}

.w40-10 {
  width: calc(40% - 10px);
}

.w40-15 {
  width: calc(40% - 15px);
}

.w40-20 {
  width: calc(40% - 20px);
}

.w45 {
  width: 45%;
}

.w45-5 {
  width: calc(45% - 5px);
}

.w45-10 {
  width: calc(45% - 10px);
}

.w45-15 {
  width: calc(45% - 15px);
}

.w45-20 {
  width: calc(45% - 20px);
}

.w50 {
  width: 50%;
}

.w50-5 {
  width: calc(50% - 5px);
}

.w50-10 {
  width: calc(50% - 10px);
}

.w50-15 {
  width: calc(50% - 15px);
}

.w50-20 {
  width: calc(50% - 20px);
}

.w55 {
  width: 55%;
}

.w55-5 {
  width: calc(55% - 5px);
}

.w55-10 {
  width: calc(55% - 10px);
}

.w55-15 {
  width: calc(55% - 15px);
}

.w55-20 {
  width: calc(55% - 20px);
}

.w60 {
  width: 60%;
}

.w60-5 {
  width: calc(60% - 5px);
}

.w60-10 {
  width: calc(60% - 10px);
}

.w60-15 {
  width: calc(60% - 15px);
}

.w60-20 {
  width: calc(60% - 20px);
}

.w65 {
  width: 65%;
}

.w65-5 {
  width: calc(65% - 5px);
}

.w65-10 {
  width: calc(65% - 10px);
}

.w65-15 {
  width: calc(65% - 15px);
}

.w65-20 {
  width: calc(65% - 20px);
}

.w70 {
  width: 70%;
}

.w70-5 {
  width: calc(70% - 5px);
}

.w70-10 {
  width: calc(70% - 10px);
}

.w70-15 {
  width: calc(70% - 15px);
}

.w70-20 {
  width: calc(70% - 20px);
}

.w75 {
  width: 75%;
}

.w75-5 {
  width: calc(75% - 5px);
}

.w75-10 {
  width: calc(75% - 10px);
}

.w75-15 {
  width: calc(75% - 15px);
}

.w75-20 {
  width: calc(75% - 20px);
}

.w80 {
  width: 80%;
}

.w80-5 {
  width: calc(80% - 5px);
}

.w80-10 {
  width: calc(80% - 10px);
}

.w80-15 {
  width: calc(80% - 15px);
}

.w80-20 {
  width: calc(80% - 20px);
}

.w85 {
  width: 85%;
}

.w85-5 {
  width: calc(85% - 5px);
}

.w85-10 {
  width: calc(85% - 10px);
}

.w85-15 {
  width: calc(85% - 15px);
}

.w85-20 {
  width: calc(85% - 20px);
}

.w90 {
  width: 90%;
}

.w90-5 {
  width: calc(90% - 5px);
}

.w90-10 {
  width: calc(90% - 10px);
}

.w90-15 {
  width: calc(90% - 15px);
}

.w90-20 {
  width: calc(90% - 20px);
}

.w95 {
  width: 95%;
}

.w95-5 {
  width: calc(95% - 5px);
}

.w95-10 {
  width: calc(95% - 10px);
}

.w95-15 {
  width: calc(95% - 15px);
}

.w95-20 {
  width: calc(95% - 20px);
}

.w100 {
  width: 100%;
}

.w100-5 {
  width: calc(100% - 5px);
}

.w100-10 {
  width: calc(100% - 10px);
}

.w100-15 {
  width: calc(100% - 15px);
}

.w100-20 {
  width: calc(100% - 20px);
}

.w33 {
  width: calc(100% / 3);
}

.w66 {
  width: calc(100% / 3 * 2);
}

.w33-5 {
  width: calc(100% / 3 - 5px);
}

.w66-5 {
  width: calc(100% / 3 * 2 - 5px);
}

.w33-10 {
  width: calc(100% / 3 - 10px);
}

.w66-10 {
  width: calc(100% / 3 * 2 - 10px);
}

.w33-15 {
  width: calc(100% / 3 - 15px);
}

.w66-15 {
  width: calc(100% / 3 * 2 - 15px);
}

.w33-20 {
  width: calc(100% / 3 - 20px);
}

.w66-20 {
  width: calc(100% / 3 * 2 - 20px);
}

.h100 {
  height: 100%;
}

.u-tac {
  text-align: center;
}

.u-tal {
  text-align: left;
}

.u-tar {
  text-align: right;
}

.fs-70 {
  font-size: 70%;
}

.fs-80 {
  font-size: 80%;
}

.fs-90 {
  font-size: 90%;
}

/* 拡大画像をフォトブラウザのナビゲーションバーより下に表示する */
.photo-browser-slide iframe {
  position: absolute;
  top: calc(var(--f7-navbar-height) + var(--f7-safe-area-top));
  left: 0;
  width: 100%;
  height: calc(100% - var(--f7-navbar-height) - var(--f7-safe-area-top));
  border: 0;
  background: #fff;
}
