html.concept-b {
  --paper: #f6f5f2;
  --paper-2: #ffffff;
  --ink: #101218;
  --muted: #5c6168;
  --line: #e2e0db;
  --accent: #4d5a66;
  --accent-soft: #eceff2;
}

html.concept-b body {
  color: var(--ink);
}

@media (max-width: 430px) {
  html.concept-b,
  html.concept-b body {
    background: var(--paper);
  }
}

.kiln.concept-b {
  font-family: "IBM Plex Sans", Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.concept-b .stow-mark {
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: 0.28em;
  font-weight: 400;
}

.concept-b .kiln-title,
.concept-b .kiln-profile h1,
.concept-b .kiln-profile-body h1,
.concept-b .kiln-preview-hero h2,
.concept-b .sheet h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.concept-b .kiln-title {
  font-size: 32px;
}

.concept-b .kiln-profile h1,
.concept-b .kiln-profile-body h1 {
  font-size: 30px;
}

.concept-b h1,
.concept-b h2,
.concept-b h3 {
  font-weight: 400;
}

.concept-b .btn {
  min-height: 44px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.concept-b .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.concept-b .btn-primary:disabled {
  background: var(--line);
  border-color: var(--line);
  color: var(--muted);
}

.concept-b .btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.concept-b .btn-ghost {
  letter-spacing: 0.08em;
  color: var(--muted);
}

.concept-b .field {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding-left: 0;
}

.concept-b .seg {
  background: transparent;
  border-radius: 0;
  padding: 0;
  gap: 16px;
}

.concept-b .seg button {
  border-radius: 0;
  border-bottom: 1px solid transparent;
  min-height: 36px;
  padding: 0;
  justify-content: flex-start;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.concept-b .seg button.is-on {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.concept-b :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.concept-b .tabbar {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.concept-b .tab {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 500;
}

.concept-b .tab.is-on {
  color: var(--ink);
}

.concept-b .tab-badge {
  background: var(--accent);
}

.concept-b .kiln-tabs .tab.is-create .tab-ic {
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  width: 28px;
  height: 28px;
}

.concept-b .kiln-using {
  border-radius: 0;
  gap: 10px;
  transition: opacity 220ms ease;
}

.concept-b .kiln-using img {
  border-radius: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
}

.concept-b .kiln-using .icon {
  transition: transform 200ms ease;
}

.concept-b .kiln-tray.is-ribbon {
  left: 12px;
  right: 12px;
  width: auto;
  border-radius: 2px;
  background: var(--paper-2);
  box-shadow: 0 8px 24px rgba(16, 18, 24, 0.1);
  padding: 12px 10px 8px;
}

.concept-b .kiln-ribbon {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.concept-b .kiln-ribbon .kiln-tray-item {
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  min-height: 0;
  padding: 8px 4px;
  border-radius: 0;
  gap: 8px;
}

.concept-b .kiln-ribbon .kiln-tray-item img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
}

.concept-b .kiln-ribbon .kiln-tray-item .copy b,
.concept-b .kiln-ribbon .kiln-tray-item .copy small {
  display: block;
  font-size: 11px;
}

.concept-b .kiln-ribbon .kiln-tray-item .mark {
  margin: 0;
}

.concept-b .kiln-ribbon .kiln-tray-item.is-on {
  box-shadow: none;
  background: var(--accent-soft);
}

.concept-b .kiln-tray-link {
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.concept-b .kiln-preview-hero {
  align-items: center;
  padding: 8px 4px;
}

.concept-b .kiln-preview-hero img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
  border-radius: 50%;
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.concept-b .kiln-select-b .kiln-strip-select {
  padding: 10px 10px 14px;
  margin-left: -10px;
  margin-right: -10px;
  gap: 14px;
}

.concept-b .kiln-mini {
  width: 88px;
  padding: 6px;
}

.concept-b .kiln-mini img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
  border-radius: 50%;
}

.concept-b .kiln-mini.is-on img {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
}

.concept-b .kiln-mini span {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.concept-b .kiln-post {
  border-bottom: 0;
  padding: 18px 0 22px;
}

.concept-b .kiln-post + .kiln-post {
  box-shadow: inset 0 1px 0 var(--line);
}

.concept-b .kiln-media {
  margin: 14px 16px 0;
}

.concept-b .kiln-media img {
  height: 236px;
  outline: 1px solid rgba(16, 18, 24, 0.1);
  outline-offset: 6px;
}

.concept-b .kiln-caption {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.concept-b .kiln-textpost .kiln-caption {
  margin: 8px 20px 0;
  font-size: 18px;
  line-height: 1.45;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}

.concept-b .kiln-thread-preview {
  margin: 14px 20px 0 20px;
  padding-left: 14px;
}

.concept-b .kiln-post-head {
  padding: 0 20px;
}

.concept-b .kiln-actions {
  padding: 4px 14px 0;
}

.concept-b .kiln-act.is-on {
  color: var(--accent);
}

.concept-b .kiln-search .kiln-post .kiln-media,
.concept-b .kiln-search .kiln-caption {
  margin-left: 0;
  margin-right: 0;
}

.concept-b .kiln-people.is-visual .kiln-result {
  background: var(--paper-2);
  padding: 16px 8px 14px;
  outline: 1px solid var(--line);
}

.concept-b .kiln-people.is-visual .handle {
  font-size: 12px;
}

.concept-b .kiln-follow {
  border-radius: 0;
  min-width: 96px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.concept-b .kiln-follow.is-on {
  background: var(--ink);
  color: var(--paper);
}

.concept-b .kiln-activity {
  padding-left: 22px;
}

.concept-b .kiln-activity .kiln-title {
  margin-left: -6px;
}

.concept-b .kiln-activity .kiln-kicker {
  margin: 18px 0 4px -6px;
  letter-spacing: 0.16em;
}

.concept-b .kiln-note {
  border-bottom: 0;
  border-left: 1px solid var(--line);
  padding: 14px 0 14px 16px;
  margin-left: 6px;
}

.concept-b .kiln-note.is-unread::before {
  left: -4px;
  background: var(--accent);
}

.concept-b .kiln-thumb {
  border-radius: 0;
}

.concept-b .kiln-profile.is-gallery .kiln-profile-body {
  padding-top: 8px;
}

.concept-b .kiln-profile.is-gallery .kiln-profile-ava {
  width: 76px;
  height: 76px;
  border-radius: 0;
  object-fit: contain;
  object-position: 50% 50%;
  background: var(--paper);
}

.concept-b .kiln-grid button {
  background: var(--paper-2);
}

.concept-b .kiln-profile.is-gallery .kiln-grid img {
  outline: 1px solid rgba(16, 18, 24, 0.08);
  outline-offset: 4px;
  height: 140px;
}

.concept-b .kiln-profile.is-gallery .text-cell {
  outline: 1px solid var(--line);
  outline-offset: 4px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 15px;
}

.concept-b .sheet {
  background: var(--paper);
  border-radius: 0;
}

.concept-b .sheet-handle {
  display: none;
}

.concept-b .kiln-comment .btn {
  border-radius: 0;
}

.concept-b .kiln-preview img {
  outline: 1px solid rgba(16, 18, 24, 0.1);
  outline-offset: 6px;
  height: 188px;
}

.concept-b .kiln-photo-add {
  min-height: 188px;
  border-style: solid;
  border-radius: 0;
}

.concept-b .kiln-composer textarea {
  font-size: 16px;
}

.concept-b .kiln-attr {
  letter-spacing: 0.01em;
}

.kiln-fire-wrap {
  position: relative;
  width: 96px;
  height: 88px;
}

.kiln-fire-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 30, 0.55), transparent 68%);
  opacity: calc(var(--p, 0) * 0.85);
  transform: scale(calc(0.5 + var(--p, 0) * 0.7));
  pointer-events: none;
}

.kiln-fire-icon {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  object-fit: contain;
  opacity: var(--p, 0);
  transform: scale(calc(0.45 + var(--p, 0) * 0.7));
}

.concept-b.is-refreshing .kiln-fire-icon {
  opacity: 1;
  animation: fire-flicker 1.04s ease both;
}

.concept-b.is-refreshing .kiln-fire-glow {
  opacity: 1;
  animation: fire-glow 1.04s ease both;
}

.ember {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: #ff6a10;
  box-shadow: 0 0 6px #ff8a2a;
  opacity: 0;
  pointer-events: none;
}

.ember:nth-child(odd) {
  width: 4px;
  height: 4px;
  background: #ffd36a;
}

.concept-b.is-refreshing .ember {
  animation: ember-up 0.9s ease-out calc(var(--i) * 0.035s) both;
}

.concept-b.is-refreshing .kiln-post {
  animation: fire-wake 0.7s ease both;
}

.concept-b.is-refreshing .kiln-post:nth-of-type(1) { animation-delay: 0.06s; }
.concept-b.is-refreshing .kiln-post:nth-of-type(2) { animation-delay: 0.12s; }
.concept-b.is-refreshing .kiln-post:nth-of-type(3) { animation-delay: 0.18s; }

@keyframes fire-flicker {
  0% {
    opacity: 0;
    transform: scale(0.25) rotate(-10deg);
  }
  14% {
    opacity: 1;
    transform: scale(1.12) rotate(5deg);
  }
  28% { transform: scale(0.9) rotate(-4deg); }
  44% { transform: scale(1.18) rotate(6deg); }
  60% { transform: scale(0.94) rotate(-3deg); }
  76% { transform: scale(1.08) rotate(4deg); }
  100% {
    opacity: 0;
    transform: scale(0.55);
  }
}

@keyframes fire-glow {
  0% { opacity: 0; transform: scale(0.4); }
  25% { opacity: 1; transform: scale(1.2); }
  70% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.6); }
}

@keyframes ember-up {
  0% {
    opacity: 0;
    transform: translate(0, 8px) scale(0.4);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--x, 0px), -64px) scale(0.2);
  }
}

@keyframes fire-wake {
  0% { opacity: 0.35; filter: brightness(1.08); }
  100% { opacity: 1; filter: none; }
}
