/* The Corkulous HTML exporter's item styles, scoped to live boards (.lb-canvas).
   Generated by scripts/extract-board.py from an export; edit the exporter, not this file. */

.lb-canvas * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.lb-canvas .node {
  position: absolute;
  z-index: 10;
  box-sizing: border-box;
}

.lb-canvas .node-card {
  background: linear-gradient(145deg, #fff9e6, #f5ebd3);
  border: 1px solid #d4c4a8;
  border-radius: 4px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.15);
  padding: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lb-canvas .node-card .title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  border-bottom: 1px solid #e0d5c0;
  padding-bottom: 6px;
}

.lb-canvas .node-card .body {
  font-size: 14px;
  color: #555;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.lb-canvas .node-note {
  background: #ffeb3b;
  border: none;
  border-radius: 2px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
  padding: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lb-canvas .node-note.note-green {
  background: #8bc34a;
}

.lb-canvas .node-note.note-blue {
  background: #64b5f6;
}

.lb-canvas .node-note.note-pink {
  background: #f48fb1;
}

.lb-canvas .node-note.note-neonpink {
  background: #ff4081;
}

.lb-canvas .node-note.note-neongreen {
  background: #76ff03;
}

.lb-canvas .node-note .body {
  font-size: 14px;
  color: #333;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.2;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.lb-canvas .body ul,
.lb-canvas .body ol {
  margin: 2px 0;
  padding-left: 8px;
  list-style-position: inside;
}

.lb-canvas .body li {
  margin: 1px 0;
}

.lb-canvas .node-label {
  background: #FFC778;
  padding: 8px 16px;
  box-shadow: 2px 3px 6px rgba(0,0,0,0.3);
  border: 1px solid rgba(0,0,0,0.2);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-canvas .node-label .title {
  font-weight: bold;
  white-space: nowrap;
  color: #000;
}

.lb-canvas .node-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}

.lb-canvas .node-shape .body {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.lb-canvas .node-photo {
  background: transparent;
  overflow: visible;
}

.lb-canvas .node-photo .photo-frame {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.lb-canvas .node-photo .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.lb-canvas .node-sketch {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
}

.lb-canvas .node-sketch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lb-canvas .node-contact {
  width: 142px;
  height: 173px;
  background: linear-gradient(180deg, #f8f4f4 0%, #e8e4e4 50%, #cccccc 100%);
  border-radius: 4px 4px 8px 8px;
  border: 1px solid #a0a0a0;
}

.lb-canvas .node-contact.with-shadow {
  filter: drop-shadow(0 3px 5px rgba(85, 85, 85, 0.5));
}

.lb-canvas .node-contact .contact-content {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-canvas .node-contact .photo-frame {
  width: 96px;
  height: 96px;
  position: relative;
}

.lb-canvas .node-contact .initials {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: white;
  position: absolute;
  top: 6px;
  left: 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.lb-canvas .node-contact .glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.lb-canvas .node-contact .name {
  font-size: 13px;
  font-weight: bold;
  margin-top: 8px;
  color: #333;
  text-align: center;
}

.lb-canvas .node-contact .org {
  font-size: 12px;
  color: #666;
  text-align: center;
}

.lb-canvas .node-video {
  background: #000;
  border-radius: 8px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}

.lb-canvas .node-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lb-canvas .node-audio {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lb-canvas .node-audio .audio-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  position: relative;
}

.lb-canvas .node-audio .play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e94560, #c73e54);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4), 0 0 0 4px rgba(233, 69, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s ease;
  position: relative;
}

.lb-canvas .node-audio .play-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5), 0 0 0 6px rgba(233, 69, 96, 0.15);
}

.lb-canvas .node-audio .play-button:active {
  transform: scale(0.98);
}

.lb-canvas .node-audio .play-button .play-icon {
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  margin-left: 6px;
  transition: opacity 0.15s ease;
}

.lb-canvas .node-audio .play-button .pause-icon {
  display: flex;
  gap: 6px;
  position: absolute;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lb-canvas .node-audio .play-button .pause-icon span {
  width: 6px;
  height: 24px;
  background: #fff;
  border-radius: 2px;
}

.lb-canvas .node-audio.playing .play-button .play-icon {
  opacity: 0;
}

.lb-canvas .node-audio.playing .play-button .pause-icon {
  opacity: 1;
}

.lb-canvas .node-audio .waveform {
  width: 90%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 16px;
}

.lb-canvas .node-audio .waveform span {
  width: 4px;
  background: linear-gradient(to top, #4a5568, #718096);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.lb-canvas .node-audio.playing .waveform span {
  animation: waveform-dance 0.8s ease-in-out infinite;
  background: linear-gradient(to top, #e94560, #f472b6);
}

@keyframes waveform-dance {
        0%, 100% { transform: scaleY(1); }
        50% { transform: scaleY(0.5); }
    }

.lb-canvas .node-audio .waveform span:nth-child(odd) {
  animation-delay: 0.1s;
}

.lb-canvas .node-audio .waveform span:nth-child(3n) {
  animation-delay: 0.2s;
}

.lb-canvas .node-audio .waveform span:nth-child(4n) {
  animation-delay: 0.3s;
}

.lb-canvas .node-audio .progress-container {
  width: 90%;
  margin-bottom: 8px;
}

.lb-canvas .node-audio .progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.lb-canvas .node-audio .progress-bar .progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e94560, #f472b6);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.lb-canvas .node-audio .time-display {
  width: 90%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #718096;
  font-family: -apple-system, BlinkMacSystemFont, monospace;
}

.lb-canvas .node-audio .audio-info {
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.lb-canvas .node-audio .audio-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-canvas .node-audio .audio-subtitle {
  color: #718096;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-canvas .node-audio .audio-subtitle::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #e94560;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lb-canvas .node-audio.playing .audio-subtitle::before {
  opacity: 1;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.5; transform: scale(0.8); }
    }

.lb-canvas .node-audio audio {
  display: none;
}

.lb-canvas .node-pdf {
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.15);
  overflow: hidden;
}

.lb-canvas .node-pdf embed {
  width: 100%;
  height: 100%;
}

.lb-canvas .node-file {
  background: #F1E6CC;
  border-radius: 10px;
  box-shadow: 2px 3px 10px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lb-canvas .node-file .file-header {
  background: rgba(0,0,0,0.1);
  padding: 6px 10px;
  min-height: 24px;
}

.lb-canvas .node-file .file-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.lb-canvas .node-file .file-body img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.lb-canvas .node-file .file-footer {
  background: rgba(0,0,0,0.03);
  padding: 10px 12px;
  min-height: 50px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.lb-canvas .node-file .file-title {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.lb-canvas .node-file .file-subtitle {
  font-size: 10px;
  color: #666;
}

.lb-canvas a.node-file {
  display: flex;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lb-canvas a.node-file:hover {
  transform: scale(1.02);
  box-shadow: 4px 6px 15px rgba(0,0,0,0.35);
}

.lb-canvas a.node-file .file-subtitle {
  color: #4a90d9;
}

.lb-canvas a.node-file:hover .file-subtitle {
  text-decoration: underline;
}

.lb-canvas .node-link-preview {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.15);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.lb-canvas .node-link-preview:hover {
  box-shadow: 2px 3px 12px rgba(0,0,0,0.25);
}

.lb-canvas .node-link-preview .link-image {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.lb-canvas .node-link-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lb-canvas .node-link-preview .link-info {
  background: rgba(80, 80, 80, 0.9);
  padding: 10px 12px;
  color: #fff;
  flex-shrink: 0;
}

.lb-canvas .node-link-preview .link-info .link-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.lb-canvas .node-link-preview .link-info .link-domain {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-canvas .node-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.lb-canvas .node-board {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #d4c4a8, #c4b498);
}

.lb-canvas .node-board-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: filter 120ms ease-out, transform 120ms ease-out;
}

.lb-canvas .node-board-link:hover {
  filter: brightness(1.05);
}

.lb-canvas .node-board.with-frame {
  padding: 8px;
  background: linear-gradient(145deg, #5c4a36, #3d2e1f);
  border: 3px solid #2a1f14;
  border-radius: 4px;
  box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.1),
            inset 0 -1px 0 rgba(0,0,0,0.3),
            2px 3px 10px rgba(0,0,0,0.4);
}

.lb-canvas .node-board.with-frame::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid #8B7355;
  border-radius: 2px;
  pointer-events: none;
}

.lb-canvas .node-board .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.lb-canvas .node-board .board-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #d4c4a8, #c4b498);
  border-radius: 2px;
}

.lb-canvas .node-board .board-title-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: max-content;
  min-width: 100px;
  max-width: min(720px, calc(100vw - 24px));
  padding: 15px 25px;
  color: #000;
  background:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.18)),
            var(--board-label-bg, #D4D1C9);
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-canvas .node-board .board-title-label .markdown {
  font-weight: bold;
}

.lb-canvas .node-task {
  background: #D4D1C9;
  border-radius: 8px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Marker Felt', 'Bradley Hand', cursive;
}

.lb-canvas .node-task .checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #333;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-canvas .node-task.completed .checkbox::after {
  content: '\2713';
  color: #333;
  font-size: 16px;
  font-weight: bold;
}

.lb-canvas .node-task .title {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-canvas .node-task.completed .title {
  opacity: 0.5;
}

.lb-canvas .markdown strong {
  font-weight: bold;
}

.lb-canvas .markdown em {
  font-style: italic;
}

.lb-canvas .markdown a {
  color: #007aff;
  text-decoration: underline;
}

.lb-canvas .markdown h1,
.lb-canvas .markdown h2,
.lb-canvas .markdown h3,
.lb-canvas .markdown h4,
.lb-canvas .markdown h5,
.lb-canvas .markdown h6 {
  line-height: 1.15;
  margin-top: 12px;
  margin-bottom: 6px;
}

.lb-canvas .markdown h1 {
  font-size: 2.45em;
}

.lb-canvas .markdown h2 {
  font-size: 1.85em;
}

.lb-canvas .markdown h3 {
  font-size: 1.65em;
}

.lb-canvas .markdown h4 {
  font-size: 1.65em;
}

.lb-canvas .markdown h5 {
  font-size: 1.35em;
}

.lb-canvas .markdown h6 {
  font-size: 1.2em;
}

.lb-canvas .markdown ul,
.lb-canvas .markdown ol {
  margin: 2px 0;
  padding-left: 8px;
  list-style-position: inside;
}

.lb-canvas .markdown ol.md-ordered-list {
  list-style: none;
  padding-left: 0;
}

.lb-canvas .markdown ol.md-ordered-list > li {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
}

.lb-canvas .markdown .md-list-marker {
  flex-shrink: 0;
}

.lb-canvas .markdown .md-list-content {
  min-width: 0;
}

.lb-canvas .markdown code {
  font-family: inherit;
  font-size: 1em;
  color: #bd003a;
  background: #f7eef1;
  padding: 0 2px;
  border-radius: 0;
  white-space: pre-wrap;
}

.lb-canvas .markdown blockquote {
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 3px solid #808080;
}

.lb-canvas .markdown blockquote,
.lb-canvas .markdown table {
  margin: 2px 0;
}

.lb-canvas .markdown img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 4px 0;
}

.lb-canvas .markdown .md-image-missing {
  color: #777;
  font-style: italic;
}

.lb-canvas .connector-textbox {
  position: absolute;
  background: white;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.lb-canvas .string-textbox {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.28);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  line-height: 1.08;
  max-width: 180px;
  transform: translate(-50%, -50%);
  white-space: normal;
  z-index: 110;
}

.lb-canvas .node.with-shadow:not(.node-shape):not(.node-photo):not(.node-sketch):not(.node-emoji) {
  box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.35);
}

.lb-canvas .node-emoji.with-shadow {
  filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.35));
}

.lb-canvas .node-shape.with-shadow svg {
  filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.35));
}

.lb-canvas .node-photo.with-shadow .photo-frame,
.lb-canvas .node-sketch.with-shadow img {
  filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.35));
}
