*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scrollbar-width: thin; scrollbar-color: #F2A49B #fff; }
html::-webkit-scrollbar { width: 6px; }
html::-webkit-scrollbar-track { background: #fff; }
html::-webkit-scrollbar-thumb { background: #F2A49B; border-radius: 99px; }

:root {
  --pink:      #E79A9B;
  --pink-soft: #FAE0D8;
  --pink-deep: #d4787a;
  --cream:     #fdf8f5;
  --ink:       #1a1a1a;
  --muted:     #888;
  --border:    #ede8e3;
  --radius:    14px;
  --shadow:    0 4px 20px rgba(0,0,0,0.07);
  --tag-color: #5b8dee;
  --tag-bg:    #eef3fd;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
.art-header { background:#fff; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50; padding:16px 0; }
.art-header-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.art-back-btn { display:flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--muted); text-decoration:none; transition:color .2s; flex-shrink:0; }
.art-back-btn:hover { color:var(--ink); }
.art-brand { display:flex; align-items:center; gap:10px; }
.art-brand-logo { width:32px; height:32px; border-radius:50%; object-fit:cover; }
.art-brand-title { font-weight:900; font-size:18px; letter-spacing:1px; color:var(--ink); }
.art-brand-sub { font-size:14px; font-weight:500; color:var(--muted); }
.art-header-right { flex:1; max-width:120px; }

/* Sidebar */
.cab-hover-island {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid #e0dbd6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
  z-index: 999;
}
.cab-hover-island.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.cab-body {
  position: relative;
  display: flex;
  min-height: calc(100vh - 65px);
  align-items: stretch;
  width: 100%;
  justify-content: center;
}

.cab-sidebar {
  flex-shrink: 0;
  width: 54px;
  align-self: center;
  background: #fff;
  border: 1.5px solid #ccc8c2;
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  z-index: 10;
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.cab-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  color: #999;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cab-nav-btn:hover {
  background: #fde8e6;
  color: #1a1a1a;
  box-shadow: 0 0 10px rgba(232, 133, 122, 0.25);
}
.cab-nav-btn.active {
  color: #E8857A;
  background: #fde8e6;
  box-shadow: 0 0 12px rgba(232, 133, 122, 0.32);
}
.cab-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cab-nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cab-nav-icon .ti {
  font-size: 20px;
  line-height: 1;
  color: currentColor;
}

/* Main */
.art-main { width:100%; max-width:1200px; margin:0 auto; padding:48px 24px 80px; box-sizing:border-box; }
@media (min-width:1280px) { .art-main { transform: translateX(27px); } }
.art-page-title-wrap { text-align:center; margin-bottom:16px; }
.art-page-title { font-size:36px; font-weight:900; letter-spacing:-.5px; color:var(--ink); margin-bottom:8px; }
.art-page-subtitle { font-size:15px; color:var(--muted); font-weight:500; }

.art-add-wrap { display:flex; justify-content:center; margin-bottom:36px; }
.art-add-btn {
  display:flex; align-items:center; gap:10px;
  background:none; border:2px dashed var(--pink); border-radius:var(--radius);
  padding:14px 32px; font-family:'Montserrat',sans-serif; font-size:14px; font-weight:700;
  color:var(--pink-deep); cursor:pointer; transition:background .2s,border-color .2s;
}
.art-add-btn:hover { background:var(--pink-soft); border-color:var(--pink-deep); }

/* Grid */
.art-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px) { .art-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:580px) { .art-grid { grid-template-columns:1fr; } }

.art-loading { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; gap:16px; padding:64px 0; color:var(--muted); font-size:14px; font-weight:500; }
.art-spinner { width:32px; height:32px; border:3px solid var(--border); border-top-color:var(--pink); border-radius:50%; animation:spin .8s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

.art-empty { grid-column:1/-1; text-align:center; padding:80px 24px; color:var(--muted); }
.art-empty-icon { font-size:48px; margin-bottom:14px; }
.art-empty-title { font-size:20px; font-weight:700; color:var(--ink); margin-bottom:6px; }
.art-empty-text  { font-size:14px; }

/* Card */
.art-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .2s, transform .2s;
    height: 100%; /* ← растягивается на всю высоту сетки */
    min-height: 380px; /* ← минимальная высота карточки */
}
.art-card-media-photo {
    width: 100%;
    aspect-ratio: 35/27; /* ← ФИКСИРОВАННОЕ СООТНОШЕНИЕ 16:9 */
    overflow: hidden;
    background: #f5f0ec;
    flex-shrink: 0; /* ← НЕ СЖИМАТЬСЯ */
}

.art-card-media-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-card-media-video {
    aspect-ratio: 35/27; /* ← ФИКСИРОВАННОЕ СООТНОШЕНИЕ 16:9 */
    overflow: hidden;
    flex-shrink: 0;
}

.art-card-media-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.art-card-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
}

.art-card-video-play div {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ ФИКСИРОВАННЫЙ РАЗМЕР ДЛЯ ПЛЕЙСХОЛДЕРА (если нет медиа) */
.art-card-placeholder {
    aspect-ratio: 35/27;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f0ec;
    color: #b8a89a;
    font-size: 14px;
    flex-shrink: 0;
}

/* ✅ КОНТЕНТ КАРТОЧКИ РАСТЯГИВАЕТСЯ */
.art-card-body {
    flex: 1; /* ← ЗАНИМАЕТ ВСЁ ОСТАВШЕЕСЯ ПРОСТРАНСТВО */
    padding: 16px 18px 10px;
    display: flex;
    flex-direction: column;
    min-height: 80px; /* ← МИНИМАЛЬНАЯ ВЫСОТА ДЛЯ ТЕКСТА */
}

.art-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* ← ОБРЕЗАЕМ ПОСЛЕ 2 СТРОК */
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.art-card-readmore {
    margin-top: auto; /* ← ПРИЖИМАЕТ КНОПКУ К НИЗУ */
    align-self: flex-start;
    background: none;
    border: none;
    color: #F2A49B;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
}

/* ✅ ФУТЕР КАРТОЧКИ */
.art-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px 16px;
    border-top: 1px solid #f0ece8;
    margin-top: auto; /* ← ПРИЖИМАЕТ К НИЗУ */
    flex-shrink: 0;
}

/* ✅ СЕТКА ДОЛЖНА БЫТЬ С ФИКСИРОВАННОЙ ВЫСОТОЙ СТРОК */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    /* ✅ КАРТОЧКИ В ОДНОЙ СТРОКЕ БУДУТ ОДИНАКОВОЙ ВЫСОТЫ */
    grid-auto-rows: 1fr;
}

/* ✅ ОБЁРТКА КАРТОЧКИ — РАСТЯГИВАЕТСЯ НА ВСЮ ВЫСОТУ ЯЧЕЙКИ */
.art-card-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.art-card-views { display:flex; align-items:center; gap:4px; font-size:12px; font-weight:600; color:var(--muted); }
.art-card-time { font-size:11px; font-weight:600; color:var(--muted); white-space:nowrap; }

.art-card-admin { display:flex; gap:6px; padding:6px 18px 10px; }
.art-card-edit-btn, .art-card-delete-btn { background:none; border:none; cursor:pointer; padding:4px; display:flex; align-items:center; justify-content:center; transition:opacity .15s; border-radius:6px; }
.art-card-edit-btn   { color:var(--pink-deep); }
.art-card-delete-btn { color:#e05a5a; }
.art-card-edit-btn:hover, .art-card-delete-btn:hover { opacity:.55; }

/* Compose overlay */
.art-compose-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:300;
  display:flex; align-items:center; justify-content:center; padding:16px;
  opacity:0; pointer-events:none; transition:opacity .25s ease;
}
.art-compose-overlay.active { opacity:1; pointer-events:all; }

.art-compose-wrap { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; max-width:820px; padding:0 16px; }

.art-compose-modal {
  background:#fff; border-radius:20px; width:100%; max-width:640px; max-height:70vh;
  display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,.22);
  transform:translateY(24px) scale(.97);
  transition:transform .28s cubic-bezier(.34,1.3,.64,1);
  flex-shrink:1; min-width:0;
}
.art-compose-overlay.active .art-compose-modal { transform:translateY(0) scale(1); }

.art-compose-left { flex:1; display:flex; flex-direction:column; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--pink) #fff; min-height:0; }
.art-compose-left::-webkit-scrollbar { width:4px; }
.art-compose-left::-webkit-scrollbar-thumb { background:var(--pink); border-radius:99px; }

.art-compose-title-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--border);
  border-radius: 0;
  padding: 16px 20px 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  outline: none;
  flex-shrink: 0;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}
.art-compose-title-input::placeholder { color: #ccc; font-weight: 500; }
.art-compose-title-input:focus { border-bottom-color: var(--pink); background: #fff; }

.art-compose-media-preview { display:flex; flex-wrap:wrap; gap:8px; padding:12px 16px; border-bottom:1px solid var(--border); background:var(--cream); flex-shrink:0; }
.art-compose-media-preview:empty { display:none; }

.art-compose-preview-item { position:relative; border-radius:8px; overflow:hidden; background:#f5f0ec; border:1px solid var(--border); }
.art-compose-preview-item.type-photo { width:80px; height:80px; }
.art-compose-preview-item.type-video { width:120px; height:80px; }
.art-compose-preview-item img, .art-compose-preview-item video { width:100%; height:100%; object-fit:cover; display:block; }
.art-compose-preview-remove { position:absolute; top:3px; right:3px; width:18px; height:18px; background:rgba(0,0,0,.6); color:#fff; border:none; border-radius:50%; font-size:12px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.art-compose-preview-label { position:absolute; bottom:3px; left:3px; font-size:8px; font-weight:700; color:#fff; background:rgba(0,0,0,.5); border-radius:3px; padding:1px 4px; text-transform:uppercase; }

.art-compose-editor {
  flex:1; min-height:280px; padding:20px; outline:none;
  font-size:15px; line-height:1.75; color:#333;
  font-family:'Lora',Georgia,serif; caret-color:var(--pink);
  -webkit-user-select:text; user-select:text;
  word-break:break-word; overflow-wrap:break-word;
  overflow-y:auto;
}
.art-compose-editor:empty::before { content:attr(data-placeholder); color:#ccc; pointer-events:none; }
.art-compose-editor h2 { font-family:'Montserrat',sans-serif; font-size:19px; font-weight:800; color:var(--ink); margin:18px 0 8px; }
.art-compose-editor h3 { font-family:'Montserrat',sans-serif; font-size:16px; font-weight:700; color:var(--ink); margin:14px 0 6px; }
.art-compose-editor blockquote { border-left:4px solid var(--pink); margin:14px 0; padding:8px 16px; background:var(--pink-soft); border-radius:0 8px 8px 0; font-style:italic; color:#555; }
.art-compose-editor hr { border:none; border-top:2px solid var(--border); margin:18px 0; }
.art-compose-editor ul, .art-compose-editor ol { padding-left:20px; margin:8px 0; }
.art-compose-editor li { margin-bottom:4px; }
.art-compose-editor a { color:var(--pink-deep); text-decoration:underline; }

.art-hashtag { color:var(--tag-color); font-weight:700; background:var(--tag-bg); border-radius:4px; padding:0 3px; }

.art-compose-actions { display:flex; align-items:center; justify-content:space-between; padding:10px 16px; border-top:1px solid var(--border); background:#fff; flex-shrink:0; }

.art-send-btn { width:38px; height:38px; background:var(--pink); color:#fff; border:none; border-radius:10px; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:opacity .2s,transform .15s; }
.art-send-btn:hover { opacity:.88; transform:scale(1.05); }

.art-toolbar-toggle { display:none; }

.art-attach-btn { width:38px; height:38px; background:var(--pink-soft); color:var(--pink-deep); border:none; border-radius:10px; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s; }
.art-attach-btn:hover { background:#f5c8c3; }

/* Right panel */
.art-compose-right {
  width:88px; flex-shrink:0;
  background:#fff; border:1px solid var(--border); border-radius:20px;
  box-shadow:0 8px 32px rgba(0,0,0,.13),0 2px 8px rgba(231,154,155,.13);
  display:flex; flex-direction:column; align-items:center;
  padding:8px 6px; gap:2px;
  overflow-y:auto; overflow-x:visible;
  scrollbar-width:none; max-height:70vh; align-self:center;
  opacity:0; transform:translateX(12px);
  transition:opacity .25s ease,transform .25s ease;
}
.art-compose-right::-webkit-scrollbar { display:none; }
.art-compose-overlay.active .art-compose-right { opacity:1; transform:translateX(0); }

.art-cancel-btn { width:38px; height:38px; background:none; color:var(--muted); border:none; border-radius:10px; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; margin-top:auto; transition:color .2s,background .2s; }
.art-cancel-btn:hover { color:#e05a5a; background:#fff0f0; }

/* Toolbar */
.art-tb-sep { width:80%; height:1px; background:var(--border); margin:3px auto; flex-shrink:0; }
.art-toolbar { display:flex; flex-direction:column; align-items:stretch; gap:2px; width:100%; }
.art-tb-row { display:flex; gap:2px; width:100%; justify-content:center; }

.art-tb-btn {
  width:38px; height:32px; border:none; background:none; border-radius:7px;
  font-family:'Montserrat',sans-serif; font-size:12px; font-weight:700; color:var(--ink);
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .15s; flex-shrink:0; gap:3px;
}
.art-tb-btn:hover { background:var(--pink-soft); }
.art-tb-btn-sm { font-size:11px; }

.art-dd { width:100%; }
.art-dd-trigger {
  width:100% !important; height:28px !important;
  font-size:10px !important; font-weight:600 !important;
  padding:0 6px !important; justify-content:space-between !important;
  border:1px solid var(--border) !important; border-radius:7px !important;
  background:#fafafa !important;
}
.art-dd-trigger:hover { background:var(--pink-soft) !important; }
.art-dd-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:52px; }

.art-tb-color-wrap { position:relative; }
.art-tb-color-trigger { flex-direction:column; gap:2px; height:36px; }
.art-tb-swatch { width:16px; height:4px; border-radius:2px; background:#1a1a1a; display:block; }
.art-tb-color-hidden { position:absolute; width:0; height:0; opacity:0; pointer-events:none; }

/* Dropdown panel */
.art-dd-panel {
  position:fixed; z-index:9999;
  background:#fff; border:1px solid var(--border); border-radius:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.16),0 2px 8px rgba(231,154,155,.12);
  padding:8px; min-width:200px; max-width:240px; max-height:60vh;
  overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--pink) #f5f0ec;
  animation:ddIn .15s cubic-bezier(.34,1.3,.64,1);
}
.art-dd-panel::-webkit-scrollbar { width:4px; }
.art-dd-panel::-webkit-scrollbar-thumb { background:var(--pink); border-radius:99px; }

@keyframes ddIn {
  from { opacity:0; transform:scale(.95) translateX(-4px); }
  to   { opacity:1; transform:scale(1) translateX(0); }
}

.art-dd-group { font-size:10px; font-weight:700; color:var(--muted); letter-spacing:.6px; text-transform:uppercase; padding:6px 8px 3px; border-top:1px solid var(--border); margin-top:4px; }
.art-dd-group:first-child { border-top:none; margin-top:0; }

.art-dd-item { display:block; width:100%; padding:7px 10px; border:none; background:none; border-radius:8px; text-align:left; font-family:'Montserrat',sans-serif; font-size:13px; font-weight:500; color:var(--ink); cursor:pointer; transition:background .12s; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.art-dd-item:hover { background:var(--pink-soft); color:var(--pink-deep); }

.art-dd-panel-title { font-size:11px; font-weight:700; color:var(--muted); padding:2px 6px 8px; letter-spacing:.4px; }
.art-dd-field-label { display:flex; align-items:center; justify-content:space-between; font-size:11px; font-weight:600; color:var(--muted); padding:4px 6px; gap:8px; }
.art-dd-color-input { width:34px; height:26px; border:1px solid var(--border); border-radius:6px; cursor:pointer; padding:2px; background:none; }
.art-dd-thick-row { display:flex; gap:4px; padding:4px 6px 6px; }
.art-dd-thick-btn { flex:1; padding:5px 0; border:1.5px solid var(--border); border-radius:7px; background:#fff; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:600; color:var(--muted); cursor:pointer; transition:all .15s; }
.art-dd-thick-btn.active { border-color:var(--pink); background:var(--pink-soft); color:var(--pink-deep); }
.art-dd-thick-btn:hover  { border-color:var(--pink); background:var(--pink-soft); }
.art-dd-apply-btn { width:calc(100% - 12px); margin:4px 6px 2px; padding:8px; background:var(--pink); color:#fff; border:none; border-radius:9px; font-family:'Montserrat',sans-serif; font-size:12px; font-weight:700; cursor:pointer; transition:opacity .2s; }
.art-dd-apply-btn:hover { opacity:.85; }
.art-dd-link-input { width:calc(100% - 12px); margin:4px 6px; border:1px solid var(--border); border-radius:8px; padding:8px 10px; font-family:'Montserrat',sans-serif; font-size:12px; color:var(--ink); outline:none; transition:border-color .2s; display:block; }
.art-dd-link-input:focus { border-color:var(--pink); }
.art-dd-link-btns { display:flex; gap:6px; padding:2px 6px 6px; }
.art-dd-remove-btn { flex:1; padding:7px; background:#fff0f0; color:#e05a5a; border:none; border-radius:8px; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:700; cursor:pointer; transition:background .2s; }
.art-dd-remove-btn:hover { background:#ffd5d5; }
.art-dd-link-btns .art-dd-apply-btn { flex:1; width:auto; margin:0; }

/* Read overlay */
.art-read-overlay { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:400; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .22s ease; }
.art-read-overlay.active { opacity:1; pointer-events:all; }

.art-read-modal {
  background:#fff; border-radius:20px;
  width:560px; max-width:calc(100vw - 48px);
  max-height:88vh; margin:16px;
  overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,.22);
  transform:scale(.96) translateY(20px);
  transition:transform .28s cubic-bezier(.34,1.3,.64,1);
  position:relative; display:flex; flex-direction:column;
}
.art-read-overlay.active .art-read-modal { transform:scale(1) translateY(0); }

.art-read-close {
  position:absolute; top:14px; right:16px;
  background:none; border:none; font-size:26px; color:var(--muted);
  cursor:pointer; line-height:1; transition:color .15s; z-index:5;
}
.art-read-close:hover { color:var(--ink); }

.art-read-body {
  display:flex; flex-direction:column;
  padding:44px 32px 32px;
  overflow-y:auto;
  scrollbar-width:thin; scrollbar-color:var(--pink) #fff;
  flex:1;
}
.art-read-body::-webkit-scrollbar { width:6px; }
.art-read-body::-webkit-scrollbar-track { background:#fff; border-radius:99px; }
.art-read-body::-webkit-scrollbar-thumb { background:var(--pink); border-radius:99px; }

.art-read-media-top {
  display:flex; flex-direction:column; gap:10px;
  margin-bottom:24px; flex-shrink:0;
}
.art-read-media-top img {
  width:100%; border-radius:12px; cursor:pointer;
  display:block; transition:opacity .2s;
}
.art-read-media-top video { width:100%; border-radius:12px; display:block; }

.art-read-content {
  font-size:15px; line-height:1.85; color:#333;
  font-family:'Lora',Georgia,serif;
  word-break:break-word; overflow-wrap:break-word;
}
.art-read-content h2 { font-family:'Montserrat',sans-serif; font-size:20px; font-weight:800; color:var(--ink); margin:20px 0 8px; }
.art-read-content h3 { font-family:'Montserrat',sans-serif; font-size:17px; font-weight:700; color:var(--ink); margin:16px 0 6px; }
.art-read-content blockquote { border-left:4px solid var(--pink); margin:16px 0; padding:10px 20px; background:var(--pink-soft); border-radius:0 8px 8px 0; font-style:italic; color:#555; }
.art-read-content hr { border:none; border-top:2px solid var(--border); margin:20px 0; }
.art-read-content ul, .art-read-content ol { padding-left:22px; margin:10px 0; }
.art-read-content li { margin-bottom:4px; }
.art-read-content a { color:var(--pink-deep); text-decoration:underline; }
.art-read-content p { margin-bottom:10px; }
.art-read-content p:last-child { margin-bottom:0; }
.art-read-content .art-hashtag { color:var(--tag-color); font-weight:700; background:var(--tag-bg); border-radius:4px; padding:0 3px; }

/* Photo modal */
.art-photo-modal { position:fixed; inset:0; background:rgba(0,0,0,.88); z-index:600; display:flex; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition:opacity .2s; }
.art-photo-modal.active { opacity:1; pointer-events:all; }
.art-photo-modal-close { position:absolute; top:20px; right:24px; background:rgba(255,255,255,.15); border:none; color:#fff; font-size:28px; width:40px; height:40px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; z-index:10; }
.art-photo-modal-close:hover { background:rgba(255,255,255,.28); }
.art-photo-modal-inner { display:flex; flex-direction:column; align-items:center; gap:12px; max-width:90vw; max-height:90vh; }
.art-photo-modal-img { max-width:90vw; max-height:82vh; object-fit:contain; border-radius:8px; cursor:zoom-in; transform-origin:center center; transition:transform .15s ease; user-select:none; }
.art-photo-modal-hint { font-size:12px; color:rgba(255,255,255,.45); font-weight:500; }