:root{
  --brown: #624e33;
  --green: #e5f4ee;
  --dgreen: #B9DDD3;
  --pink: #b6d2fd;
  --lpink: #839dcd;
  --shadow-cute: 0 4px 12px rgba(0,0,0,0.05);
}
*, *::before, *::after{ box-sizing: border-box; }

body{
  margin: 0 auto;
  position: relative;
  padding: 20px;
  padding-bottom: 30px;
  overflow-x: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);

  /* Responsive background fit */
  background-image: url('new/clouds.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  cursor: url("new/doggie (3).svg"), auto;
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #5a463f;
}
a{ color: #0592ff; transition: color .2s ease-in; text-decoration: none; }
a:visited{ color: #db82ad; }
a:hover{ color: #70c3a5; cursor: url("new/rillacursor.svg"), pointer; }

::-webkit-scrollbar { width: 10px; height: 12px; background: #fffcfd; border-radius: 10px; }
::-webkit-scrollbar-track { border: 2px solid #FFABD733; border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #FFA4D188; border-radius: 10px; border: 2px solid #fffcfd; }
::-webkit-scrollbar-thumb:hover { background: #db82ad; }

@font-face{ font-family: 'spirit'; src:url(https://dl.dropbox.com/scl/fi/bqitfm4rr6tfgt3ea2jrq/Spirit.ttf?rlkey=r8hrj9c01d3cmv2iqt3vxm9tp&dl=0); }
@font-face{ font-family: KiwiSoda; src: url(new/KiwiSoda.ttf); }

/* Pantone-style Color Blocks */
.pal-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 5px;
  min-height: 140px;
  text-align: center;
  box-shadow: var(--shadow-cute);
  transition: transform 0.2s ease;
}
.pal-block-label {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
  margin-bottom: 0px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.pal-block-hex {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.realholder {
  width: 80%;
  margin: 0 auto;
  position: relative;
  padding: 20px;
  padding-bottom: 30px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 0 40px rgba(0,0,0,0.05);
background-color: rgba(255, 255, 255, .6);
}
@media (max-width: 980px) {
  .realholder {
    width: 100%;
    border-radius: 0;
    padding: 14px;
  }
}

.space-between{ width: auto; height: 20px; background: white; padding: 3px 0px; border-radius: 20px; margin-bottom: 10px; }

.border{ position: absolute; top: 0; width: 5000px; height: 50px; background: url('new/blacklace.svg'); z-index: 10; }
#b-left{ left: 50px; transform-origin: top left; transform: rotate(90deg); }
#b-right{ right: 0px; transform-origin: top right; transform: rotate(90deg) scaleY(-1); }

.title{
  height: 110px !important; width: auto !important; margin: 30px auto 10px auto !important; position: relative;
  background: #ffffffdd; border: 4px dashed var(--pink); border-radius: 24px;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease;
}
.title:hover { transform: scale(1.01); }
.title-holder{ position: absolute; top: 15px; left: 50px; }
.title-holder h1{ display: inline; font-family: 'spirit', cursive; font-size: 64px; color: #7F6565; margin: 0; line-height: 1; }
.title-url{ position: absolute; top: 65px; left: 290px; }
.title-url h1{ display: inline; font-size: 28px; background: #db82ad; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Kiwisoda'; letter-spacing: 1px; margin: 0; }
#title-img {
  position: absolute; right: 10px; top: -35px; width: 270px; height: 145px;
  background: url('new/kummaknits.svg') 30px / 180px no-repeat; z-index: 40; filter: hue-rotate(5deg);
}#title-img:hover { transform: rotate(-8deg) scale(1.05); }

@media (max-width: 680px) {
  .title-holder{ left: 20px; }
  .title-holder h1{ font-size: 42px; }
  .title-url{ left: 190px; top: 62px; }
  .title-url h1{ font-size: 20px; }
  #title-img{ right: 12px; font-size: 60px; top: 10px; }
}

/* --- status banner --- */
.status-banner{
  margin: 12px 4px 16px 4px; font-family: 'Zen Maru Gothic', sans-serif; font-size: 13px; color: var(--brown);
  background: #fff; border-radius: 16px; padding: 12px 20px; border: 2px solid var(--lpink);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.status-banner.editing{ border-color: #70c3a5; background: #f2fbf7; }
.status-banner b{ color: #d1568f; }
.status-banner .actions{ display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.pbtn{
  font-family: 'Zen Maru Gothic', sans-serif; font-weight: 700; font-size: 13px;
  background: white; color: #8a4f68; border: 2px solid var(--lpink); border-radius: 20px;
  padding: 6px 14px; cursor: pointer; transition: all .2s ease;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 4px;
}
.pbtn:hover{ background: var(--pink); color: white; border-color: var(--pink); cursor: url("new/rillacursor.svg"), pointer; }
.pbtn.good{ background: #70c3a5; color: white; border-color: #70c3a5; }
.pbtn.good:hover{ background: #56a88a; border-color: #56a88a; }
.pbtn.danger{ background: #fff; color: #b33; border-color: #ff8a8a; }
.pbtn.danger:hover{ background: #ff8a8a; color: white; }

/* --- navigation & subcategories --- */
.nav-container { display: flex; flex-direction: column; gap: 10px; margin: 0 4px 20px 4px; }
.tabs{ display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tab{
  font-family: 'Audiowide', sans-serif; font-size: 13px; color: #8a4f68; background: white;
  border: 2px solid var(--lpink); border-radius: 20px; padding: 8px 18px; cursor: pointer; transition: all .2s ease;
  user-select: none;
}
.tab:hover{ border-color: var(--pink); cursor: url("new/rillacursor.svg"), pointer; }
.tab.active{ background: var(--pink); color: white; border-color: var(--pink); }
.tab .count{ font-family: 'Zen Maru Gothic'; font-size: 11px; opacity: .9; margin-left: 6px; background: rgba(255,255,255,0.3); padding: 2px 6px; border-radius: 10px; }

.subcat-row { display: flex; gap: 8px; flex-wrap: wrap; padding-left: 10px; }
.search-row { padding-left: 10px; margin-top: 2px; }
.search-wrap { position: relative; max-width: 280px; }
.search-input {
  width: 100%; font-family: 'Zen Maru Gothic', sans-serif; font-size: 13px; color: #5a463f;
  background: #fff; border: 2px solid var(--lpink); border-radius: 20px; padding: 7px 32px 7px 14px; outline: none; transition: border-color .15s ease;
}
.search-input:focus { border-color: var(--pink); }
.search-input::placeholder { color: rgba(90,70,63,0.45); }
.search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: none; background: rgba(0,0,0,0.06); color: #8a4f68; width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 700; cursor: pointer; display: none; align-items: center; justify-content: center; padding: 0;
}
.search-clear:hover { background: #ff8a8a; color: white; }
.search-clear.show { display: inline-flex; }
.search-result-note { font-size: 12px; opacity: .65; margin-top: 4px; font-style: italic; }
.subcat-btn {
  font-family: 'Zen Maru Gothic', sans-serif; font-size: 12px; font-weight: 700; color: #8a4f68; background: #ffffffd0;
  border: 2px dashed var(--lpink); border-radius: 14px; padding: 4px 12px; cursor: pointer; transition: all .15s ease;
}
.subcat-btn:hover { border-color: var(--pink); background: white; }
.subcat-btn.active { background: #db82ad; color: white; border-style: solid; border-color: #db82ad; }

.add-row{ display: flex; align-items: center; gap: 8px; margin: 0 4px 16px 4px; flex-wrap: wrap; }
.add-menu-wrap{ position: relative; }
.add-menu{
  position: absolute; top: calc(100% + 6px); left: 0; background: white; border: 2px solid var(--lpink); border-radius: 16px;
  padding: 8px; display: none; flex-direction: column; gap: 4px; z-index: 50; box-shadow: var(--shadow-cute); min-width: 170px;
}
.add-menu.open{ display: flex; }
.add-menu button{
  text-align: left; border: none; background: none; font-family: 'Zen Maru Gothic', sans-serif; font-size: 13px; font-weight: 500;
  color: #5a463f; padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: background 0.15s ease;
}
.add-menu button:hover{ background: var(--pink); color: white; }

/* --- 4 Columns Board Layout --- */
.board {
  position: relative;
  margin: 0 4px 20px 4px;
  min-height: 400px;
}

.empty-hint{
  font-family: 'Zen Maru Gothic', sans-serif; font-size: 14px; color: rgba(90,70,63,.55);
  text-align: center; padding: 50px 14px; border: 3px dashed rgba(253, 182, 217, 0.6); border-radius: 20px; background: rgba(255,255,255,0.6);
  width: 100%;
}

/* 4 Columns Grid: all cards have equal width, each height is respective, stacked per column */
.board-columns-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  width: 100%;
}
@media (max-width: 990px) {
  .board-columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 580px) {
  .board-columns-4 {
    grid-template-columns: 1fr;
  }
}

.board-col-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 140px;
  border-radius: 18px;
  padding: 4px;
  transition: background-color 0.2s ease, outline 0.2s ease;
}
.board-col-stack.col-drag-hover {
  background: rgba(182, 210, 253, 0.22);
  outline: 2px dashed #839dcd;
}

.col-header-label {
  text-align: center;
  font-family: 'Audiowide', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #839dcd;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(131, 157, 205, 0.3);
  margin-bottom: 2px;
  user-select: none;
}

.card {
  width: 100%;
  display: flex; 
  flex-direction: column;
  border-radius: 5px; 
  font-family: 'Zen Maru Gothic', sans-serif; 
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.card.dragging{ opacity: 0.35; transform: scale(0.98); }

/* Drop Insertion Line Preview */
.drop-line-indicator {
  height: 4px;
  border-radius: 2px;
  background: #db82ad;
  box-shadow: 0 0 8px rgba(219, 130, 173, 0.9);
  margin: -4px 0;
  z-index: 20;
}

/* Section Container Box */
.card-container_box {
  width: 100%; 
  background: #ffffffb0; 
  border: 1px solid rgba(20,10,10,0.08); 
  border-radius: 16px;
  padding: 14px; 
  box-shadow: var(--shadow-cute);
  resize: vertical;
  overflow: auto; 
  min-height: 120px;
  margin-bottom: 20px;
}
.card-container_box.cnt-drop-hover {
  background: #f0f7ff;
  border-color: #70c3a5;
}
.container-title-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; border-bottom: 1px solid rgba(20,10,10,0.08); padding-bottom: 8px; }
.container-title { font-family: 'Audiowide', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .5px; color: var(--brown); flex: 1; }
.subcat-select { font-family: 'Zen Maru Gothic'; font-size: 11px; font-weight: 700; border: 1px solid var(--lpink); border-radius: 10px; background: #fff; color: #8a4f68; padding: 3px 8px; outline: none; cursor: pointer; }

/* Card Header — minimal, no background tint or divider line (Milanote-style) */
.drag-handle{ cursor: grab; opacity: .35; font-size: 14px; padding: 0 4px; user-select: none; transition: opacity .15s ease; flex-shrink: 0; }
.drag-handle:hover { opacity: 1; color: #db82ad; }
.card-type-label{ font-size: 10px; opacity: .55; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #8a4f68; }
.card-swatches{ display: flex; gap: 4px; flex-shrink: 0; }
.swatch-dot{ width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); cursor: pointer; transition: transform 0.15s ease; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); flex-shrink: 0; }
.swatch-dot:hover{ transform: scale(1.25); }
.cat-move{ font-family: 'Zen Maru Gothic'; font-size: 11px; font-weight: 500; border: 1px solid rgba(0,0,0,0.08); border-radius: 8px; background: rgba(0,0,0,0.03); padding: 2px 4px; outline: none; cursor: pointer; min-width: 0; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.col-selector{ font-family: 'Audiowide', monospace; font-size: 10px; font-weight: 700; border: 1px solid rgba(0,0,0,0.08); border-radius: 6px; background: rgba(0,0,0,0.03); padding: 2px 3px; color: #7b5969; cursor: pointer; min-width: 0; max-width: 52px; flex-shrink: 0; }
.card-del{ border: 1px solid rgba(179,51,51,0.25); background: #fff; color: #c94b4b; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.12); transition: background .15s ease, color .15s ease; margin-left: auto; }
.card-del:hover{ background: #ff8a8a; color: white; border-color: #ff8a8a; }
.card-dup{ border: 1px solid rgba(131,157,205,0.35); background: #fff; color: #6b7fb0; width: 22px; height: 22px; min-width: 22px; border-radius: 50%; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,0.12); transition: background .15s ease, color .15s ease; }
.card-dup:hover{ background: var(--lpink); color: white; border-color: var(--lpink); }

.card-body{ padding: 10px 14px 14px 14px; font-size: 13px; color: #5a463f; }

/* --- scale card content down on small screens so cards don't feel oversized --- */
@media (max-width: 580px) {
  .board-columns-4{ gap: 10px; }
  .board-col-stack{ gap: 10px; }
  .card{ border-top-width: 4px; border-radius: 12px; }
  .card-header{ min-height: 26px; padding: 5px 8px 0 8px; }
  .card-type-label{ font-size: 9px; }
  .drag-handle{ font-size: 12px; }
  .card-del{ width: 17px; height: 17px; font-size: 12px; }
  .swatch-dot{ width: 10px; height: 10px; }
  .card-body{ padding: 9px 10px 10px 10px; font-size: 12px; }
  .note-text{ font-size: 13px; }
  .chk-title{ font-size: 13px; margin-bottom: 6px; }
  .chk-item{ margin-bottom: 4px; }
  .pat-title{ font-size: 14px; margin-bottom: 6px; }
  .pat-field{ font-size: 11px; }
  .pat-progress-wrap{ padding: 6px 8px; margin: 8px 0; }
  .img-preview{ max-height: 190px; }
  .embed-container{ min-height: 160px; max-height: 320px; }
  .embed-iframe{ height: 240px; }
  .embed-iframe-yt{height: 100px; }
  .link-card a.link-title{ font-size: 12px; }
  .web-link-compact{ padding: 6px 8px; }
  .pal-title{ font-size: 13px; }
  .pal-block{ padding: 20px 14px; min-height: 100px; margin-bottom: 10px; border-radius: 14px; }
  .pal-block-label{ font-size: 22px; margin-bottom: 4px; }
  .pal-block-hex{ font-size: 11px; }
  .card-container_box{ padding: 9px; min-height: 90px; }
  .container-title{ font-size: 12px; }
  .search-wrap{ max-width: 100%; }
  .img-drop-zone{ padding: 10px 8px; }
  .img-file-btn{ font-size: 11px; padding: 5px 10px; }
}
.editable{ outline: none; min-height: 1.3em; line-height: 1.5; padding: 2px 4px; border-radius: 6px; }
.editable:focus { background: rgba(255,255,255,0.85); }
.editable:empty:before{ content: attr(data-placeholder); color: rgba(90,70,63,0.4); font-style: italic; }
.editable.locked{ user-select: text; }
.note-text{ font-size: 14px; white-space: pre-wrap; }

/* checklist */
.chk-title{ font-weight: 700; font-size: 14px; margin-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 7px; }
.chk-item{ display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; }
.chk-item input[type=checkbox]{ margin-top: 4px; accent-color: #db82ad; width: 14px; height: 14px; cursor: pointer; }
.chk-text{ flex: 1; line-height: 1.4; }
.chk-text.done{ text-decoration: line-through; opacity: 0.45; }
.chk-item-del{ border: none; background: rgba(255,138,138,0.15); color: #d64545; cursor: pointer; font-size: 14px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; opacity: 0.85; transition: opacity .15s ease, background .15s ease; }
.chk-item-del:hover, .chk-item:hover .chk-item-del { opacity: 1; background: #ff8a8a; color: white; }
.chk-add{ margin-top: 8px; border: none; background: rgba(0,0,0,0.035); border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 12px; color: #8a4f68; padding: 7px 10px; cursor: pointer; width: 100%; transition: all 0.15s ease; }
.chk-add:hover{ background: rgba(182,210,253,0.35); color: #6b5a8f; }

/* pattern with sliding progress bar */
.pat-title{ font-weight: 900; font-size: 16px; margin-bottom: 8px; }
.pat-grid{ display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.pat-field{ display: flex; gap: 6px; font-size: 12px; align-items: baseline; }
.pat-field-label{ font-weight: 700; opacity: 0.85; flex-shrink: 0; background: rgba(0,0,0,0.035); padding: 1px 6px; border-radius: 6px; }
.pat-field-val{ flex: 1; }

.pat-progress-wrap{ margin: 10px 0; background: rgba(0,0,0,0.03); border-radius: 12px; padding: 8px 10px; }
.progress-label-row{ display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; opacity: 0.85; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.progress-slider{ width: 100%; cursor: pointer; accent-color: #db82ad; }

.pat-notes{ font-size: 12px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 8px; margin-top: 6px; line-height: 1.5; }

/* image — shown bare, like a photo on the board, not boxed inside a card */
.img-hint{ font-size: 12px; opacity: 0.7; margin-bottom: 0px; text-align: center; font-style: italic; }
.img-drop-zone{ border: 2px dashed rgba(131,157,205,0.5); border-radius: 12px; padding: 12px 10px; margin-bottom: 8px; text-align: center; transition: all .15s ease; background: rgba(131,157,205,0.04); }
.img-drop-zone.drag-hover{ border-color: var(--pink); background: rgba(182,210,253,0.18); }
.img-drop-zone .img-hint{ margin-bottom: 8px; }
.img-file-row{ display: flex; justify-content: center; }
.img-file-btn{ position: relative; display: inline-flex; align-items: center; gap: 4px; font-family: 'Zen Maru Gothic', sans-serif; font-size: 12px; font-weight: 700; color: #8a4f68; background: white; border: 2px solid var(--lpink); border-radius: 20px; padding: 6px 14px; cursor: pointer; transition: all .15s ease; }
.img-file-btn:hover{ background: var(--pink); color: white; border-color: var(--pink); }
.img-file-input{ position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.img-url-input{ width: 100%; font-family: inherit; font-size: 12px; padding: 6px 10px; border-radius: 10px; border: 2px solid rgba(0,0,0,0.1); margin-bottom: 8px; outline: none; }
.img-url-input:focus { border-color: var(--pink); }
.img-preview{ width: 100%; border-radius: 5px; display: block; margin-bottom: 0px; object-fit: cover; max-height: 100%;  }
.image-body.flush .img-preview{ margin-bottom: 0px; }
.img-change-btn{ border: none; background: rgba(0,0,0,0.05); border-radius: 10px; font-size: 11px; font-weight: 700; padding: 4px 10px; cursor: pointer; color: #8a4f68; margin-bottom: 6px; }
.img-caption{ font-size: 12px; opacity: 0.9; text-align: center; background: rgba(0,0,0,0.035); padding: 4px 8px; border-radius: 8px; }
/* small note box that sits below a bare (card-less) image */
.img-caption-pill{
  margin-top: 8px; font-size: 12px; line-height: 1.4; text-align: center;
  background: #fffefc; 
  padding: 3px 5px; box-shadow: var(--shadow-cute);
}

/* link & social media embeds vs. compact website link */
.link-card a.link-title{ font-weight: 700; font-size: 13px; display: block; margin-bottom: 0px; word-break: break-word; color: #5a463f; }
.link-card a.link-title:hover { color: #db82ad; }
.link-note{ font-size: 12px; opacity: .85; line-height: 1.5; margin-top: 4px; }
.link-field{ width: 100%; font-family: inherit; font-size: 12px; padding: 5px 8px; border-radius: 8px; border: 1.5px solid rgba(0,0,0,0.1); margin-bottom: 6px; outline: none; background: rgba(255,255,255,0.8); }
.link-field:focus { border-color: var(--pink); background: #fff; }

/* Social media tall embed container */
.embed-container { width: 100%; min-height: 100px; max-height: 500px; margin-bottom: 8px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,0.08); position: relative; }
.embed-iframe { width: 100%; height: 285px; border: none; }
.embed-iframe-tt { width: 100%; height: 250px; border: none; }
.embed-iframe-yt {width: 100%; height: 220px; border: none;}

/* YouTube click-to-play thumbnail preview */
.yt-poster{ position: relative; width: 100%; aspect-ratio: 16 / 9; cursor: pointer; background: #000; overflow: hidden; }
.yt-thumb{ width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play-btn{
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,0.6);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; padding-left: 3px;
  transition: background .15s ease, transform .15s ease;
}
.yt-poster:hover .yt-play-btn{ background: #ff3b3b; transform: translate(-50%, -50%) scale(1.08); }

/* Short compact box for regular website URLs (not social media) */
.web-link-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(20,10,10,0.08);
  border-radius: 12px;
  padding: 8px 10px;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}
.web-link-compact:hover {
  background: #fff;
  border-color: var(--pink);
  transform: translateY(-1px);
}
.web-link-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.web-link-text { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.web-link-label { font-weight: 700; font-size: 12px; color: #5a463f; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-link-domain { font-size: 10px; color: #839dcd; font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.web-link-visit {
  font-size: 11px;
  font-weight: 700;
  color: #8a4f68;
  background: #fff0f5;
  border: 1px solid #ffcce0;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.web-link-visit:hover { background: #db82ad; color: white; }

/* palette */
.pal-title{ font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.pal-row{ display: flex; align-items: center; gap: 8px; margin-bottom: 0px; background: rgba(255,255,255,0.5);  border-radius: 10px; }
.pal-row input[type=color]{ width: 26px; height: 26px; border: none; border-radius: 8px; padding: 0; cursor: pointer; flex-shrink: 0; }
.pal-row input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.pal-row input[type=color]::-webkit-color-swatch { border: none; border-radius: 8px; }
.pal-swatch-static{ width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.8); }
.pal-label{ flex: 1; min-width: 0; font-size: 12px; border: none; background: transparent; border-radius: 6px; padding: 3px 6px; font-family: inherit; font-weight: 500; outline: none; }
.pal-hex{ font-size: 11px; opacity: .75; width: 62px; flex-shrink: 0; font-family: 'Audiowide', monospace; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; }
.pal-add{ margin-top: 6px; border: 2px dashed rgba(0,0,0,0.15); background: rgba(255,255,255,0.5); border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 12px; color: #8a4f68; padding: 6px 10px; cursor: pointer; width: 100%; transition: all 0.15s ease; }
.pal-add:hover{ background: white; border-color: var(--pink); color: var(--pink); }
.pal-del{ border: none; background: rgba(255,138,138,0.15); color: #d64545; cursor: pointer; font-size: 14px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; padding: 0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; opacity: 0.85; transition: opacity .15s ease, background .15s ease; }
.pal-del:hover{ opacity: 1; background: #ff8a8a; color: white; }

#footer{ text-align: center; padding: 10px; background: rgba(255,255,255,0.7); border-radius: 20px; margin-top: 10px; }
#footer p{ display: inline; font-family: "Audiowide", sans-serif; font-size: 13px; color: var(--lpink); font-weight: 900; letter-spacing: 1px; }
