/* Public artwork detail */
.post-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:30px; padding-top:28px; align-items:start; }
.post-main-column { min-width:0; grid-column:1; grid-row:1; }
.post-viewer { min-height:640px; max-height:calc(100vh - 125px); position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; border-radius:18px; background:#f1f3f6; border:1px solid #e2e6eb; padding:22px 58px; }
.post-viewer img { max-width:100%; max-height:calc(100vh - 172px); width:auto; height:auto; object-fit:contain; border-radius:8px; box-shadow:0 16px 50px rgba(32,24,30,.16); }
.post-nav { position:absolute; z-index:2; top:50%; display:grid; place-items:center; transform:translateY(-50%); width:42px; height:58px; border:1px solid #dce1e8; background:rgba(255,255,255,.92); color:#667489; border-radius:11px; font-size:31px; line-height:1; text-decoration:none; cursor:pointer; box-shadow:0 6px 18px rgba(31,41,55,.08); }
.post-nav:hover { color:var(--rose); border-color:#f0b8c5; }
.post-nav.prev { left:13px; }
.post-nav.next { right:13px; }
.post-expand { position:absolute; top:12px; right:12px; z-index:3; width:38px; height:38px; display:grid; place-items:center; border:1px solid #dce1e8; background:rgba(255,255,255,.94); color:#4b5563; border-radius:11px; font-size:19px; cursor:pointer; box-shadow:0 6px 18px rgba(31,41,55,.09); }
.post-expand:hover { color:var(--rose); border-color:#f0b8c5; }
.post-lightbox { position:fixed; inset:0; z-index:2147483000; display:grid; place-items:center; background:rgba(10,8,13,.96); padding:14px; cursor:zoom-out; }
.post-lightbox img { max-width:100%; max-height:100%; object-fit:contain; border-radius:6px; }
.post-lightbox-close { position:absolute; top:14px; right:14px; width:42px; height:42px; border:0; border-radius:50%; background:rgba(255,255,255,.14); color:#fff; font-size:26px; cursor:pointer; }
.post-counter { position:absolute; right:14px; bottom:13px; background:rgba(24,20,27,.78); color:#fff; border-radius:7px; padding:5px 9px; font-size:11px; font-weight:800; }
.post-tags { display:flex; flex-wrap:wrap; gap:7px; padding:14px 2px 26px; }
.post-tags button { border:1px solid #e3dce0; background:#fff; color:#665e68; border-radius:8px; padding:7px 10px; font-size:11px; font-weight:700; cursor:pointer; }
.post-tags button:hover { background:#fff0f3; border-color:#f1b8c5; color:var(--rose-dark); }
.post-details { position:sticky; top:94px; grid-column:2; grid-row:1; border:1px solid var(--line); border-radius:18px; background:#fff; padding:20px; box-shadow:0 10px 35px rgba(44,25,35,.05); }
.creator-row { display:flex; align-items:center; gap:10px; padding-bottom:17px; border-bottom:1px solid var(--line); }
.creator-avatar, .comment-avatar { flex:none; width:38px; height:38px; border-radius:50%; background:var(--plum); color:#fff; display:grid; place-items:center; font-weight:900; overflow:hidden; }
.creator-avatar img { width:100%;height:100%;border-radius:inherit;object-fit:cover; }
.creator-row div, .creator-name { min-width:0; }
.creator-name { display:block; }
.creator-row strong, .creator-row span { display:block; }
.creator-row span { color:var(--muted); font-size:10px; }
.creator-row button { margin-left:auto; border:1px solid #efb3c1; background:#fff2f5; color:var(--rose-dark); border-radius:8px; height:34px; padding:0 12px; font-weight:800; cursor:pointer; }
.post-details h1 { font-size:27px; line-height:1.08; letter-spacing:-1px; margin:19px 0 8px; }
.post-title-row { padding:18px 0 10px; border-bottom:1px solid var(--line); }
.post-title-row h1 { margin:0 0 11px; }
.post-title-actions { display:flex; gap:6px; }
.post-title-actions a, .post-title-actions button { border:1px solid #ded7dc; background:#fff; color:#6e6470; border-radius:8px; padding:6px 8px; font-size:9px; font-weight:800; cursor:pointer; white-space:nowrap; }
.post-title-actions a:hover { border-color:#efb4c2; color:var(--rose-dark); }
.post-title-actions button:hover { border-color:#e0a3a3; color:#a63d45; background:#fff7f7; }
.post-description { color:var(--muted); font-size:12px; margin:0 0 15px; }
.post-stats { display:flex; gap:18px; color:#716777; font-size:11px; margin-bottom:14px; }
.post-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding-bottom:19px; border-bottom:1px solid var(--line); }
.post-actions button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:42px; border:1px solid #e2dbe0; background:#fff; border-radius:11px; font-size:12px; font-weight:800; color:#4a4250; cursor:pointer; transition:border-color .15s, background .15s, color .15s; }
.post-actions button .ui-icon { width:16px; height:16px; stroke-width:1.9; flex:none; }
.post-actions button:hover { border-color:#e9a9ba; background:#fff6f8; color:var(--rose-dark); }
.post-actions .liked, .post-actions .saved { border-color:#f0adbd; background:#fff1f4; color:var(--rose-dark); }
.post-actions .liked .ui-icon, .post-actions .saved .ui-icon { fill:currentColor; }
.post-actions button:active { transform:scale(.97); }
.detail-group { padding:18px 0 5px; border-bottom:1px solid var(--line); }
.detail-title { display:flex; align-items:center; justify-content:space-between; }
.detail-title button { border:0; background:none; color:var(--rose-dark); font-size:10px; font-weight:800; cursor:pointer; }
.detail-group > strong, .detail-title strong { font-size:12px; text-transform:uppercase; letter-spacing:.7px; }
.detail-group dl { margin:12px 0; display:grid; gap:8px; }
.detail-group dl div { display:flex; justify-content:space-between; gap:14px; font-size:11px; }
.detail-group dt { color:#8d838c; }
.detail-group dd { margin:0; color:#433b45; text-align:right; font-weight:650; }
.public-prompt { padding:16px 0; }
.public-prompt p { margin:11px 0 9px; padding:12px; border:1px solid #eadde2; border-radius:10px; background:#fff8fa; color:#3f3740; font-size:11px; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.public-prompt > span { color:#8d838c; font-size:9px; font-weight:750; }
.public-prompt .detail-title button { border:1px solid #edbdc8; border-radius:7px; background:#fff4f6; color:var(--rose-dark); padding:6px 8px; }
.report-button { border:0; background:none; color:#9a9098; padding:15px 0 0; font-size:10px; cursor:pointer; }
.comments-section { border-top:1px solid var(--line); padding-top:35px; }
.comments-head { display:flex; align-items:end; justify-content:space-between; }
.comments-title { display:block; margin:0; color:var(--ink); font-size:27px; line-height:1.2; letter-spacing:-1px; }
.comments-title small { color:#9a8f97; font-size:13px; }
.comments-head select { height:36px; border:1px solid var(--line); border-radius:8px; background:#fff; padding:0 9px; font-size:11px; }
.comment-form { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:start; padding:22px 0; border-bottom:1px solid var(--line); }
.comment-form textarea { min-height:72px; resize:vertical; border:1px solid #ded6dc; border-radius:11px; padding:11px; outline:none; }
.comment-form textarea:focus { border-color:var(--rose); box-shadow:0 0 0 3px rgba(240,79,111,.09); }
.comment-input-wrap { display:grid;gap:6px; }
.comment-input-wrap small { color:#9a8f98;font-size:9px; }
.comment-input-wrap small strong { color:var(--rose-dark); }
.comment-compose-meta { display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:30px; }
.comment-emoji-tools { position:relative;flex:0 0 auto; }
.comment-emoji-toggle { display:inline-flex;align-items:center;gap:5px;border:1px solid #ded6dc;border-radius:999px;background:#fff;color:#655b64;padding:5px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer; }
.comment-emoji-toggle:hover,.comment-emoji-toggle[aria-expanded="true"] { border-color:#f2a8b8;color:var(--rose-dark);background:#fff5f7; }
.comment-emoji-picker { position:absolute;z-index:30;right:0;top:calc(100% + 6px);display:grid;grid-template-columns:repeat(6,34px);gap:4px;padding:8px;border:1px solid #eadde2;border-radius:13px;background:#fff;box-shadow:0 14px 34px rgba(32,20,28,.16); }
.comment-emoji-picker[hidden] { display:none; }
.comment-emoji-picker button { width:34px;height:34px;border:0;border-radius:8px;background:transparent;font-size:19px;line-height:1;cursor:pointer; }
.comment-emoji-picker button:hover,.comment-emoji-picker button:focus-visible { background:#fff0f4;outline:2px solid #f5b5c3;outline-offset:-2px; }
.comment-list { display:grid; }
.comment-thread { min-width:0;border-bottom:1px solid var(--line); }
.comment { display:grid; grid-template-columns:auto minmax(0,1fr); gap:11px; padding:19px 0;scroll-margin-top:100px; }
.comment:target { margin-inline:-10px;padding-inline:10px;border-radius:12px;background:#fff4f7;animation:comment-target 1.7s ease-out; }
@keyframes comment-target { from { box-shadow:0 0 0 4px rgba(240,79,111,.2); } to { box-shadow:none; } }
.comment-avatar { width:34px; height:34px; font-size:12px; background:#59495c; }
.avatar-1 { background:#4b7180; }.avatar-2 { background:#a05268; }.avatar-3 { background:#62704a; }
.comment-body { min-width:0; }
.comment-byline { display:flex; gap:8px; align-items:center;min-width:0; }
.comment-byline a { color:inherit;text-decoration:none; }
.comment-byline a:hover strong { color:var(--rose-dark); }
.comment-byline strong { font-size:12px; }
.comment-byline time,.comment-byline span { color:#a198a0; font-size:10px; }
.comment-byline .reply-context { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a7d88; }
.comment p { color:#4e4650; font-size:13px; margin:5px 0 9px; }
.comment-mention { color:#317cf3;font-weight:750;text-decoration:none; }
.comment-mention:hover { color:#145dcc;text-decoration:underline; }
.comment-actions { display:flex;align-items:center;gap:16px; }
.comment-actions button { border:0; background:none; color:#877d85; font-size:10px; padding:0; cursor:pointer; }
.comment-actions button:hover,.comment-actions button.liked { color:var(--rose-dark); }
.comment-replies { position:relative;margin:0 0 4px 43px;padding-left:17px;border-left:2px solid #efe7eb; }
.comment-reply { padding:13px 0; }
.comment-reply .comment-avatar { width:29px;height:29px;font-size:10px; }
.comment-reply p { margin-top:4px;font-size:12px; }
.hidden-thread-replies { display:none; }
.hidden-thread-replies.show { display:block; }
.show-thread-replies { margin:3px 0 4px;border:0;background:transparent;color:var(--rose-dark);padding:7px 0;font-size:10px;font-weight:800;cursor:pointer; }
.show-thread-replies:before { content:"";display:inline-block;width:22px;height:1px;margin:0 8px 3px 0;background:#d6c7cd; }
.inline-reply-form { margin:0 0 15px 43px;padding:13px;border:1px solid #eadde2;border-radius:12px;background:#fff9fa; }
.inline-reply-heading { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px;color:#7e727d;font-size:9px; }
.inline-reply-heading strong { color:var(--rose-dark); }
.inline-reply-heading button { width:24px;height:24px;border:0;border-radius:7px;background:#fff;color:#7e727d;font-size:17px;cursor:pointer; }
.inline-reply-form textarea { width:100%;min-height:74px;resize:vertical;border:1px solid #ded6dc;border-radius:9px;background:#fff;padding:10px;outline:0;font:inherit;font-size:12px; }
.inline-reply-form textarea:focus { border-color:var(--rose);box-shadow:0 0 0 3px rgba(240,79,111,.09); }
.inline-reply-form > div:last-child { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px; }
.inline-reply-form small { color:#968a94;font-size:8px; }
.inline-reply-meta { display:flex;align-items:center;gap:9px; }
.inline-reply-form .comment-emoji-picker { left:0;right:auto; }
.more-by { padding-top:45px; }
.more-by-creator { display:inline-block; color:inherit; border-radius:7px; padding:0 3px; margin-left:-3px; text-decoration:none; transition:color .18s ease,background .18s ease; }
.more-by-creator:hover,.more-by-creator:focus-visible { color:var(--rose-dark); background:#fff0f3; text-decoration:none; outline:none; }
.more-by-profile { min-height:42px; display:inline-flex; align-items:center; gap:11px; padding:0 14px; border:1px solid #e3c7ce; border-radius:10px; background:#fff; color:var(--rose-dark); font-size:12px; font-weight:850; white-space:nowrap; text-decoration:none; box-shadow:0 4px 12px rgba(61,31,44,.04); transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease; }
.more-by-profile b { font-size:18px; line-height:1; transition:transform .18s ease; }
.more-by-profile:hover,.more-by-profile:focus-visible { transform:translateY(-2px); border-color:var(--rose); background:#fff4f6; box-shadow:none; text-decoration:none; outline:none; }
.more-by-profile:hover b,.more-by-profile:focus-visible b { transform:translateX(3px); }
.more-by-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:9px; }
.more-by-grid a { color:inherit; text-decoration:none; cursor:pointer; min-width:0; }
.more-by-grid img { width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:11px; transition:.2s; }
.more-by-grid a:hover img { transform:translateY(-3px); box-shadow:none; }
.more-by-grid span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:10px; font-weight:700; margin-top:6px; }
.post-modal-backdrop { position:fixed; z-index:150; inset:0; padding:20px; background:rgba(26,18,23,.66); backdrop-filter:blur(8px); display:flex; align-items:center; justify-content:center; }
.post-modal-card { width:min(1500px,96vw); height:min(940px,95vh); overflow-y:auto; overscroll-behavior:contain; background:var(--paper); border-radius:20px; box-shadow:0 28px 90px rgba(19,12,17,.34); position:relative; }
.post-modal-card > .post-layout { padding:66px 24px 24px; }
.post-modal-card .post-details { top:20px; }
.post-modal-card .post-viewer { max-height:76vh; }
.post-modal-card .post-viewer img { max-height:calc(76vh - 45px); }
.post-modal-close { position:sticky; z-index:20; top:0; right:0; display:block; margin:0 0 -42px auto; width:48px; height:48px; border:0; border-left:1px solid #d9dfe6; border-bottom:1px solid #d9dfe6; border-radius:0 18px 0 12px; background:#fff; color:#4f5867; font-size:26px; line-height:1; cursor:pointer; box-shadow:-4px 4px 14px rgba(22,28,37,.08); }
.post-modal-close:hover { color:var(--rose); border-color:#efb5c2; }

/* Public creator profile */
.profile-header { margin-top:28px; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:#fff; }
.profile-cover { height:250px; position:relative; overflow:hidden; background:#ede5e8; }
.profile-cover img { width:100%; height:100%; object-fit:cover; filter:saturate(.82); transform:scale(1.02); }
.cover-fade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(24,16,22,.35),transparent 62%),linear-gradient(transparent 50%,rgba(24,16,22,.28)); }
.profile-identity { min-height:104px; display:flex; align-items:center; gap:18px; padding:0 26px; position:relative; }
.profile-avatar { width:102px; height:102px; margin-top:-51px; border:5px solid #fff; background:linear-gradient(135deg,var(--plum),var(--rose)); color:#fff; border-radius:50%; display:grid; place-items:center; font:italic 45px Georgia,serif; position:relative; z-index:2; box-shadow:0 7px 20px rgba(46,25,36,.2); flex:none; }
.profile-avatar img { width:100%;height:100%;border-radius:inherit;object-fit:cover; }
.profile-name { min-width:0; }
.profile-name > div { display:flex; align-items:center; gap:10px; }
.profile-name h1 { margin:0; font-size:29px; letter-spacing:-1px; }
.profile-name p { color:var(--muted); margin:3px 0 0; font-size:11px; }
.creator-badge { color:var(--rose-dark); background:#fff0f3; border:1px solid #f2c4ce; border-radius:7px; padding:4px 7px; font-size:9px; font-weight:850; text-transform:uppercase; letter-spacing:.5px; }
.profile-buttons { margin-left:auto; display:flex; gap:7px; }
.profile-more { width:39px; border:1px solid var(--line); background:#fff; border-radius:9px; font-weight:900; cursor:pointer; }
.profile-summary { border-top:1px solid var(--line); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:35px; align-items:center; padding:20px 26px; }
.profile-bio p { max-width:650px; margin:0 0 6px; color:#4e4650; font-size:13px; }
.profile-bio span { color:#928790; font-size:10px; }
.profile-stats { display:flex; gap:27px; }
.profile-stats div,.profile-stats a { text-align:center; padding:5px 7px; border-radius:8px; }
.profile-stats a:hover { background:#fff2f5; }
.profile-stats strong, .profile-stats span { display:block; }
.profile-stats strong { font-size:20px; letter-spacing:-.7px; }
.profile-stats span { color:var(--muted); font-size:9px; text-transform:uppercase; letter-spacing:.6px; }
.pinned-work { padding-top:38px; }
.pinned-work .section-head { margin-bottom:13px; }
.pinned-card { display:grid; grid-template-columns:220px 1fr; min-height:180px; border:1px solid var(--line); border-radius:17px; overflow:hidden; background:#fff; color:inherit; text-decoration:none; cursor:pointer; }
.pinned-card img { width:100%; height:100%; object-fit:cover; }
.pinned-card > div { padding:24px; align-self:center; }
.pinned-card h3 { margin:8px 0 5px; font:italic 28px/1.1 Georgia,serif; }
.pinned-card p { color:var(--muted); margin:0 0 15px; font-size:12px; }
.pinned-engagement { color:#7e737c; font-size:10px; }
.profile-portfolio { padding-top:42px; }
.profile-tabs { border-bottom:1px solid var(--line); display:flex; gap:24px; }
.profile-tabs button { border:0; border-bottom:3px solid transparent; background:none; padding:0 3px 12px; color:#817680; font-size:12px; font-weight:800; cursor:pointer; }
.profile-tabs button.active { color:var(--rose-dark); border-bottom-color:var(--rose); }
.profile-tabs span { color:#a297a0; margin-left:4px; }
.profile-saved-head { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 2px 14px; }
.profile-saved-head > div { display:grid;gap:3px; }
.profile-saved-head strong { color:var(--ink);font-size:15px; }
.profile-saved-head span,.profile-saved-head small { color:var(--muted);font-size:10px; }
.profile-saved-head small { padding:5px 8px;border-radius:99px;background:#fff0f4;color:var(--rose-dark);font-weight:850; }
.profile-saved-empty { margin-top:18px;border:1px dashed var(--line);border-radius:15px; }
.profile-toolbar { display:flex; align-items:center; gap:10px; padding:16px 0; }
.profile-search { margin-left:auto; width:min(320px,34vw); height:38px; border:1px solid var(--line); border-radius:9px; display:flex; align-items:center; padding:0 10px; }
.profile-search svg { width:17px; color:#948993; }
.profile-search input { border:0; outline:0; width:100%; padding-left:8px; font-size:11px; }
.grid-toggle { width:38px; height:38px; border:1px solid var(--line); border-radius:9px; background:#fff; }

/* Followers and following */
.connections-page { max-width:1200px; margin:0 auto; padding-top:28px; }
.connections-header { border:1px solid var(--line); border-radius:18px; background:linear-gradient(135deg,#fff 0%,#fff8f9 100%); overflow:hidden; }
.connections-back { display:inline-block; margin:18px 22px 2px; color:var(--muted); font-size:11px; font-weight:750; }
.connections-back:hover { color:var(--rose-dark); }
.connections-identity { display:flex; align-items:center; gap:15px; padding:17px 22px 21px; }
.connections-identity > span { width:68px; height:68px; border-radius:17px; display:grid; place-items:center; background:linear-gradient(135deg,var(--plum),var(--rose)); color:#fff; font:italic 31px Georgia,serif; box-shadow:0 8px 20px rgba(61,31,45,.16); }
.connections-identity small { color:var(--rose-dark); font-size:9px; font-weight:850; letter-spacing:.8px; text-transform:uppercase; }
.connections-identity h1 { margin:1px 0 0; font-size:29px; letter-spacing:-1.2px; }
.connections-identity p { margin:0; color:var(--muted); font-size:11px; }
.connections-tabs { display:flex; padding:0 22px; border-top:1px solid var(--line); }
.connections-tabs a { min-width:150px; padding:14px 18px 13px; border-bottom:3px solid transparent; color:var(--muted); font-size:12px; font-weight:800; }
.connections-tabs a span { color:var(--ink); margin-right:5px; }
.connections-tabs a.active { color:var(--rose-dark); border-bottom-color:var(--rose); background:linear-gradient(transparent,#fff0f3); }
.connections-intro { display:flex; align-items:end; justify-content:space-between; gap:20px; padding:31px 2px 17px; }
.connections-intro h2 { margin:0; font-size:26px; letter-spacing:-.9px; }
.connections-intro p { margin:2px 0 0; color:var(--muted); font-size:11px; }
.connections-toolbar { display:grid; grid-template-columns:minmax(240px,1fr) 170px auto; gap:9px; margin-bottom:16px; }
.connections-toolbar > label,.connections-toolbar select,.connections-view { height:43px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.connections-toolbar > label { display:flex; align-items:center; padding:0 12px; }
.connections-toolbar > label svg { width:18px; color:#948993; }
.connections-toolbar input { width:100%; height:100%; padding:0 9px; border:0; outline:0; }
.connections-toolbar select { padding:0 11px; }
.connections-view { display:flex; align-items:center; padding:3px; }
.connections-view button { width:35px; height:35px; border:0; border-radius:7px; background:none; color:#80757e; cursor:pointer; }
.connections-view button.active { background:#f3ebed; color:var(--rose-dark); }
.connections-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.connection-card { min-width:0; padding:17px; border:1px solid var(--line); border-radius:14px; background:#fff; transition:.18s ease; }
.connection-card:hover { border-color:#edc9d1; box-shadow:none; transform:translateY(-2px); }
.connection-person { display:flex; align-items:center; gap:11px; min-width:0; }
.connection-avatar { width:51px; height:51px; flex:none; padding:0; border:0; border-radius:12px; overflow:hidden; background:#eee5e8; cursor:pointer; }
.connection-avatar img { width:100%; height:100%; object-fit:cover; }
.connection-name { min-width:0; }
.connection-name a { display:flex; align-items:center; gap:6px; min-width:0; }
.connection-name strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.connection-name a span { color:var(--rose); font-size:10px; }
.connection-name small { display:block; color:var(--muted); font-size:10px; }
.connection-follow { margin-left:auto; min-width:82px; height:34px; border:1px solid var(--rose); border-radius:8px; background:var(--rose); color:#fff; font-size:11px; font-weight:850; cursor:pointer; }
.connection-follow.following { border-color:#e4d8dc; background:#fff; color:#5e555e; }
.connection-card > p { min-height:38px; margin:13px 0 10px; color:#615761; font-size:11px; line-height:1.55; }
.connection-meta { display:flex; gap:12px; color:#8b7f88; font-size:9px; }
.connection-meta strong { color:#4b424b; }
.connection-tags { display:flex; gap:5px; flex-wrap:wrap; margin:12px 0; }
.connection-tags span { padding:4px 7px; border:1px solid #ebdfe2; border-radius:6px; background:#fff8f9; color:#7e6670; font-size:8px; }
.connection-work { height:112px; display:grid; grid-template-columns:1.45fr 1fr 1fr; gap:4px; overflow:hidden; border-radius:9px; }
.connection-work a { min-width:0; padding:0; border:0; background:#eee; cursor:pointer; overflow:hidden; }
.connection-work img { width:100%; height:100%; object-fit:cover; transition:transform .25s; }
.connection-work a:hover img { transform:scale(1.05); }
.connections-grid.list { grid-template-columns:1fr; }
.connections-grid.list .connection-card { display:grid; grid-template-columns:minmax(230px,.85fr) minmax(200px,1fr) 300px; gap:18px; align-items:center; }
.connections-grid.list .connection-card > p { min-height:0; margin:0; }
.connections-grid.list .connection-meta,.connections-grid.list .connection-tags { grid-column:1/3; margin:0; }
.connections-grid.list .connection-work { grid-column:3; grid-row:1/4; height:132px; }
.connections-empty { padding:90px 20px; border:1px dashed #decfd4; border-radius:14px; text-align:center; background:#fffafa; }
.connections-empty > span { font-size:28px; color:var(--rose); }
.connections-empty h2 { margin:8px 0 2px; }
.connections-empty p { margin:0 0 17px; color:var(--muted); }
.connections-note { display:flex; align-items:center; gap:20px; margin-top:20px; padding:15px 18px; border:1px solid var(--line); border-radius:11px; background:#faf6f7; }
.connections-note strong { white-space:nowrap; }
.connections-note p { margin:0; color:var(--muted); font-size:10px; }

/* Authenticated library, profile and studio interactions */
.explore-tabs { display:flex; gap:30px; border-bottom:1px solid var(--line); padding-top:20px; }
.explore-tabs button { border:0; border-bottom:3px solid transparent; background:none; padding:13px 0; color:#718097; font-weight:800; text-transform:capitalize; cursor:pointer; }
.explore-tabs button.active { color:var(--ink); border-bottom-color:var(--rose); }
.explore-controls { display:grid; grid-template-columns:140px minmax(240px,1fr) auto; gap:10px; padding:14px 0 10px; }
.explore-controls select, .explore-search, .view-toggle { height:42px; border:1px solid #d9e1eb; border-radius:9px; background:#fff; }
.explore-controls select { padding:0 12px; }
.view-toggle { display:flex; align-items:center; padding:3px; }
.view-toggle button { height:34px; border:0; border-radius:7px; background:none; padding:0 10px; font-weight:750; color:#6d7b90; }
.view-toggle button.active { background:#f0f3f7; color:var(--ink); }
.explore-search { display:flex; align-items:center; padding:0 12px; }
.explore-search svg { width:18px; color:#8190a4; }
.explore-search input { width:100%; border:0; outline:0; padding-left:9px; }
.explore-tags { display:flex; gap:8px; overflow:auto; padding:2px 0 14px; }
.explore-tags button { border:1px solid #ece2e6; border-radius:8px; background:#fff7f4; color:#7d6670; padding:8px 13px; white-space:nowrap; cursor:pointer; }
.explore-tags button.active { background:#fff0f4; color:var(--rose-dark); border-color:#f2b8c5; }
.explore-archive-summary { display:grid;grid-template-columns:auto 1px auto minmax(220px,1fr);align-items:center;gap:17px;margin:2px 0 18px;padding:12px 15px;border:1px solid #e7dce1;border-radius:12px;background:linear-gradient(105deg,#fff 0%,#fff 64%,#fff8fa 100%); }
.explore-archive-count { display:flex;align-items:baseline;gap:7px; }
.explore-archive-count strong { color:#211b23;font-size:20px;line-height:1;letter-spacing:-.7px; }
.explore-archive-count span { color:#756b73;font-size:10px;font-weight:750;white-space:nowrap; }
.explore-archive-mobile-page { display:none; }
.explore-archive-divider { width:1px;height:27px;background:#e7dde1; }
.explore-archive-page { display:grid;gap:1px; }
.explore-archive-page > span { color:#9b8d94;font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase; }
.explore-archive-page strong { color:#443a41;font-size:11px;white-space:nowrap; }
.explore-archive-page small { color:#968991;font-size:9px;font-weight:700; }
.explore-live-status { justify-self:end;display:grid;grid-template-columns:9px auto;align-items:center;column-gap:8px;padding:7px 10px;border:1px solid #dbece3;border-radius:8px;background:#f6fbf8; }
.explore-live-status i { grid-row:1/3;width:8px;height:8px;border-radius:50%;background:#2eaa70;animation:explore-live-pulse 2.4s ease-in-out infinite; }
.explore-live-status strong { color:#287453;font-size:9px;line-height:1.1;letter-spacing:.04em;text-transform:uppercase; }
.explore-live-status span { color:#71837a;font-size:8px;line-height:1.1; }
@keyframes explore-live-pulse { 0%,100% { opacity:1; } 50% { opacity:.42; } }
@media (prefers-reduced-motion:reduce) { .explore-live-status i { animation:none; } }
.archive-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; margin:32px 0 10px; padding:18px 0; border-top:1px solid var(--line); }
.archive-pagination > div { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:7px; }
.archive-pagination a { min-width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border:1px solid #d9e1eb; border-radius:9px; background:#fff; color:var(--ink); font-weight:750; text-decoration:none; }
.archive-pagination a:hover { border-color:var(--rose); color:var(--rose-dark); background:#fff7f9; text-decoration:none; }
.archive-pagination a.active { background:var(--rose); border-color:var(--rose); color:#fff; }
.archive-pagination a.disabled { pointer-events:none; opacity:.38; }
.pagination-gap { color:var(--muted); padding:0 3px; }
.gallery.gallery-list { grid-template-columns:minmax(0,1fr);gap:12px; }
.gallery-list .art-card { min-height:220px;border:1px solid #e4e8ee;border-radius:14px;background:#fff; }
.gallery-list .art-card-link { min-height:220px;display:grid;grid-template-columns:240px minmax(0,1fr);align-items:stretch; }
.gallery-list .art-card img { width:240px;height:220px;aspect-ratio:auto;object-fit:cover; }
.gallery-list .art-card:hover img { transform:none; }
.gallery-list .art-overlay { position:static;inset:auto;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:24px 70px 24px 28px;color:var(--ink);background:none;opacity:1;transform:none; }
.gallery-list .art-title { max-width:780px;font-size:22px;line-height:1.25;letter-spacing:-.025em; }
.art-list-description { max-width:900px;display:-webkit-box;margin:10px 0 0;overflow:hidden;color:#6f7c90;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2; }
.art-list-tags { display:flex;flex-wrap:wrap;gap:6px;margin-top:13px; }
.art-list-tags span { border:1px solid #eadfe3;border-radius:999px;background:#fff7f9;padding:4px 9px;color:#8a5261;font-size:9px;font-weight:750; }
.gallery-list .art-meta { max-width:900px;align-items:center;margin-top:17px;padding-top:14px;border-top:1px solid #edf0f4;color:#68768a;font-size:11px;opacity:1; }
.gallery-list .art-more { top:16px;right:16px;border:1px solid #dce3eb;background:#fff;color:#536176;opacity:1;backdrop-filter:none; }
.gallery-list .art-more:hover,.gallery-list .art-more:focus-visible { border-color:#efa9ba;background:#fff3f6;color:var(--rose-dark); }
.gallery-list .art-series { top:13px;left:13px; }
.leaderboard { max-width:850px; margin:45px auto; }
.leaderboard > p { color:var(--muted); }
.leaderboard article { display:grid; grid-template-columns:34px 42px 1fr auto auto; align-items:center; gap:13px; padding:14px 4px; border-bottom:1px solid var(--line); }
.leaderboard article > b { color:#9c8d96; text-align:center; }
.leaderboard article .creator-avatar { width:44px; height:44px; border:1px solid #eadde2; text-decoration:none; }
.leaderboard article small { display:block; color:var(--muted); }
.leaderboard article > span { color:#6e6170; font-size:12px; }
.leaderboard article button { border:1px solid #efb7c3; border-radius:8px; background:#fff1f4; color:var(--rose-dark); padding:7px 11px; }
@media (max-width:620px) {
  .explore-archive-summary { display:block;width:calc(100vw - 30px);max-width:100%;box-sizing:border-box;padding:13px 14px;overflow:hidden; }
  .explore-archive-count { width:100%; }
  .explore-archive-mobile-page { display:block;margin-left:auto;color:#968991;font-size:9px;font-weight:750;white-space:nowrap; }
  .explore-archive-divider { display:none; }
  .explore-archive-page { display:none; }
  .explore-live-status { width:100%;box-sizing:border-box;grid-template-columns:9px minmax(0,1fr);margin-top:11px;padding:9px 2px 0;border:0;border-top:1px solid #eee4e8;border-radius:0;background:transparent; }
  .explore-live-status i { grid-row:auto; }
  .explore-live-status span { grid-column:2;justify-self:start;margin-top:2px;white-space:nowrap; }
  .gallery.gallery-list { gap:9px; }
  .gallery-list .art-card,.gallery-list .art-card-link { min-height:144px; }
  .gallery-list .art-card-link { grid-template-columns:116px minmax(0,1fr); }
  .gallery-list .art-card img { width:116px;height:144px; }
  .gallery-list .art-overlay { padding:14px 43px 14px 14px; }
  .gallery-list .art-title { display:-webkit-box;overflow:hidden;font-size:14px;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:3; }
  .gallery-list .art-list-description,.gallery-list .art-list-tags { display:none; }
  .gallery-list .art-meta { display:grid;gap:5px;margin-top:9px;padding-top:9px;font-size:9px; }
  .gallery-list .art-more { top:9px;right:9px;width:28px;height:28px; }
  .gallery-list .art-series { top:8px;left:8px; }
}

.tag-directory { padding:42px 12px 80px; max-width:1280px; margin:0 auto; }
.tag-directory-head { display:flex; justify-content:space-between; align-items:flex-end; gap:36px; margin-bottom:28px; }
.tag-directory h1 { font-size:clamp(42px,5vw,68px); letter-spacing:-.055em; margin:5px 0 8px; }
.tag-directory-head p { max-width:720px; margin:0; color:#737184; font-size:16px; line-height:1.65; }
.tag-index-stat { flex:0 0 210px; border:1px solid #efdce2; border-radius:14px; padding:18px 20px; background:#fffafb; }
.tag-index-stat strong { display:block; color:#17141d; font-size:28px; letter-spacing:-.04em; }
.tag-index-stat span { display:block; color:#7b7889; font-size:13px; line-height:1.4; margin-top:3px; }
.tag-controls { display:grid; grid-template-columns:minmax(260px,1fr) 210px; gap:12px; align-items:end; }
.tag-search { height:52px; display:flex; align-items:center; border:1px solid #d9e1eb; border-radius:11px; padding:0 15px; background:#fff; }
.tag-search:focus-within { border-color:#ef4b6d; box-shadow:0 0 0 3px rgba(239,75,109,.1); }
.tag-search svg { width:18px; color:#8190a4; flex:0 0 auto; }.tag-search input { width:100%; border:0; outline:0; padding-left:10px; font-size:15px; background:transparent; }
.tag-sort { display:flex; flex-direction:column; gap:5px; color:#718097; font-size:12px; font-weight:750; margin:0; }
.tag-sort select { height:52px; border:1px solid #d6dee8; border-radius:11px; background:#fff; padding:0 13px; color:#262231; font:inherit; font-size:14px; }
.tag-categories { display:flex; flex-wrap:wrap; gap:9px; margin:18px 0 24px; }
.tag-categories button { display:flex; align-items:center; gap:8px; border:1px solid #d6dee8; border-radius:9px; background:#fff; padding:10px 14px; color:#403b4a; font-weight:750; cursor:pointer; box-shadow:none; }
.tag-categories button:hover { border-color:#efa9b8; background:#fff8fa; box-shadow:none; transform:none; }
.tag-categories button.active { color:#d43659; border-color:#ef8da2; background:#fff0f4; }
.tag-categories button span { min-width:20px; padding:2px 6px; border-radius:6px; background:#f3f5f8; color:#7b8698; font-size:11px; text-align:center; }
.tag-categories button.active span { background:#fff; color:#d43659; }
.tag-table { border:1px solid #dbe3ec; border-radius:12px; overflow:hidden; background:#fff; }
.tag-table button { width:100%; min-height:67px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:0; border-bottom:1px solid #e3e8ef; background:#fff; padding:14px 20px; cursor:pointer; text-align:left; box-shadow:none; }
.tag-table button:hover { background:#fff8fa; box-shadow:none; transform:none; }
.tag-table button:last-child { border-bottom:0; }
.tag-name { display:flex; flex-direction:column; min-width:0; }
.tag-name strong { color:#337ee9; font-size:16px; overflow-wrap:anywhere; }
.tag-name small { margin-top:4px; color:#99a4b4; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.tag-usage { flex:0 0 auto; color:#74839a; font-size:14px; }
.tag-usage b { color:#44536a; font-size:15px; }
.tag-empty { display:flex; min-height:310px; flex-direction:column; align-items:center; justify-content:center; border:1px dashed #d9e1eb; border-radius:14px; padding:42px; text-align:center; background:#fcfcfd; }
.tag-empty h2 { margin:8px 0; font-size:24px; }
.tag-empty p { max-width:570px; color:#7b7889; line-height:1.6; margin:0 0 22px; }
.tag-empty-icon { display:grid; width:58px; height:58px; place-items:center; border-radius:13px; background:#fff0f4; color:#e63d61; font-size:28px; font-weight:850; }
.tag-loading { min-height:280px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#7d8ba0; }
.tag-loading span { display:block; width:min(580px,82%); height:20px; border-radius:6px; background:linear-gradient(90deg,#f1f3f7,#fff,#f1f3f7); background-size:220% 100%; animation:shimmer 1.4s linear infinite; }
.tag-loading span:nth-child(2){width:min(480px,68%)}.tag-loading span:nth-child(3){width:min(390px,55%)}
@media (max-width:700px){.tag-directory{padding:25px 8px 60px}.tag-directory-head{display:block}.tag-index-stat{margin-top:20px}.tag-controls{grid-template-columns:1fr}.tag-table button{padding:13px 14px}.tag-usage{font-size:12px}.tag-usage b{font-size:13px}}

.history-route { background:#fff; min-height:100vh; }
.history-mobile-bar { display:none; }
.guest-history-route { background:linear-gradient(180deg,#fff 0,#fffafb 56%,#fff 100%); }
.guest-history-main { width:min(1480px,calc(100% - 56px)); margin:0 auto; padding:46px 0 70px; }
.guest-history-hero { min-height:430px; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr); align-items:center; gap:70px; border:1px solid #eedee3; border-radius:28px; padding:58px clamp(36px,6vw,86px); overflow:hidden; background:radial-gradient(circle at 82% 32%,rgba(240,79,111,.14),transparent 34%),linear-gradient(135deg,#fff 0,#fff9fb 58%,#f8f3ff 100%); }
.guest-history-kicker,.guest-history-preview-head span,.guest-history-final span { color:var(--rose-dark); font-size:10px; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.guest-history-copy h1 { max-width:760px; margin:0 0 18px; font-size:clamp(44px,5.4vw,82px); line-height:.91; letter-spacing:-.065em; }
.guest-history-copy h1 em { color:var(--rose); font-family:Georgia,serif; font-weight:500; }
.guest-history-copy > p { max-width:680px; margin:0; color:#746d79; font-size:16px; line-height:1.68; }
.guest-history-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:30px; }
.guest-history-actions .btn { min-height:52px; padding-inline:20px; }
.guest-history-google { display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.guest-history-google .google-logo { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:#fff; }
.guest-history-google .google-logo svg { width:17px; height:17px; }
.guest-history-proof { display:flex; flex-wrap:wrap; gap:16px 22px; margin-top:23px; color:#746d79; font-size:10px; font-weight:750; }
.guest-history-proof span { display:flex; align-items:center; gap:7px; }
.guest-history-proof span:before { content:'\2713'; display:grid; width:17px; height:17px; place-items:center; border-radius:50%; background:#e7f7ef; color:#259061; font-size:10px; font-weight:950; }
.guest-history-stack { position:relative; min-height:330px; }
.guest-history-stack figure { position:absolute; inset:0 auto auto 50%; width:min(260px,55%); aspect-ratio:3/4; margin:0; overflow:hidden; border:6px solid #fff; border-radius:22px; background:#f2f3f6; box-shadow:0 24px 52px rgba(72,44,55,.18); transform:translateX(-50%); }
.guest-history-stack figure:first-child { z-index:3; transform:translateX(-50%); }
.guest-history-stack figure:nth-child(2) { z-index:2; top:32px; transform:translateX(-7%) rotate(8deg); }
.guest-history-stack figure:nth-child(3) { z-index:1; top:32px; transform:translateX(-93%) rotate(-8deg); }
.guest-history-stack img { width:100%; height:100%; display:block; object-fit:cover; }
.guest-history-stack figure:after { content:''; position:absolute; inset:55% 0 0; background:linear-gradient(transparent,rgba(17,18,25,.78)); }
.guest-history-stack figure span { position:absolute; z-index:2; left:18px; right:18px; bottom:17px; color:#fff; font-size:10px; font-weight:850; }
.guest-history-preview { padding:74px 0 30px; }
.guest-history-preview-head { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:24px; }
.guest-history-preview-head h2 { margin:7px 0 0; font-size:clamp(32px,4vw,54px); letter-spacing:-.045em; }
.guest-history-preview-head p { max-width:510px; margin:0; color:#7b7480; font-size:12px; line-height:1.6; }
.guest-history-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.guest-history-card { min-width:0; overflow:hidden; border:1px solid #eadfe3; border-radius:17px; background:#fff; }
.guest-history-image { position:relative; aspect-ratio:4/5; overflow:hidden; background:#f1f3f6; }
.guest-history-image img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease; }
.guest-history-card:hover .guest-history-image img { transform:scale(1.025); }
.guest-history-image > span { position:absolute; left:11px; top:11px; border:1px solid rgba(255,255,255,.7); border-radius:8px; padding:5px 8px; background:rgba(24,24,30,.72); color:#fff; font-size:9px; font-weight:850; backdrop-filter:blur(8px); }
.guest-history-image > i { position:absolute; right:11px; top:11px; width:30px; height:30px; display:grid; place-items:center; border-radius:8px; background:rgba(255,255,255,.9); color:#6c6170; }
.guest-history-image > i svg { width:15px; height:15px; }
.guest-history-card > div:last-child { padding:15px; }
.guest-history-card strong { display:block; font-size:14px; }
.guest-history-card p { min-height:38px; margin:7px 0 11px; color:#776f7c; font-size:10px; line-height:1.45; }
.guest-history-card small { display:block; padding-top:10px; border-top:1px solid #f0e9eb; color:#9a8f9b; font-size:9px; }
.guest-history-final { margin-top:50px; display:flex; align-items:center; justify-content:space-between; gap:40px; border-radius:22px; padding:36px 42px; background:#1d1921; color:#fff; }
.guest-history-final h2 { margin:8px 0 5px; font-size:30px; }
.guest-history-final p { margin:0; color:#c9c0ca; font-size:12px; }
.guest-history-final .btn { min-width:235px; min-height:52px; }
@media (max-width:1100px) {
  .guest-history-main { width:min(100% - 30px,900px); padding-top:28px; }
  .guest-history-hero { min-height:0; grid-template-columns:1fr; gap:42px; padding:42px; }
  .guest-history-copy { text-align:center; }
  .guest-history-copy > p { margin-inline:auto; }
  .guest-history-actions,.guest-history-proof { justify-content:center; }
  .guest-history-stack { width:min(620px,100%); min-height:340px; margin:0 auto; }
  .guest-history-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .guest-history-main { width:calc(100% - 20px); padding:14px 0 42px; }
  .guest-history-hero { gap:30px; border-radius:19px; padding:30px 20px; }
  .guest-history-copy h1 { font-size:42px; }
  .guest-history-copy > p { font-size:13px; }
  .guest-history-actions { display:grid; }
  .guest-history-actions .btn { width:100%; }
  .guest-history-proof { display:grid; justify-content:start; margin-inline:auto; width:max-content; }
  .guest-history-stack { min-height:260px; }
  .guest-history-stack figure { width:min(190px,55%); border-width:4px; border-radius:16px; }
  .guest-history-preview { padding-top:48px; }
  .guest-history-preview-head { display:block; }
  .guest-history-preview-head p { margin-top:12px; }
  .guest-history-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .guest-history-card > div:last-child { padding:11px; }
  .guest-history-card strong { font-size:11px; }
  .guest-history-card p { min-height:45px; font-size:9px; }
  .guest-history-final { display:grid; padding:28px 22px; text-align:center; }
  .guest-history-final h2 { font-size:25px; }
  .guest-history-final .btn { width:100%; min-width:0; }
}
.history-layout { min-height:100vh; display:grid; grid-template-columns:250px minmax(0,1fr) 260px; }
.history-filters { border-right:1px solid #dbe3ec; padding:0 18px; }
.history-side-tabs { height:62px; margin:0 -18px; display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid #dbe3ec; }
.history-side-tabs button { border:0; border-bottom:3px solid transparent; background:#fff; font-weight:800; color:#718097; }
.history-side-tabs button.active { color:var(--rose); border-bottom-color:var(--rose); }
.history-filters section { display:grid; gap:13px; margin:28px 0; color:#243043; }
.history-filters section > strong { color:#708098; font-size:12px; }
.history-filters label { font-size:14px; }.history-filters input { accent-color:var(--rose); width:17px; height:17px; vertical-align:-3px; }
.history-filters section button { width:max-content; max-width:100%; border:1px solid #d7e0ea; border-radius:8px; background:#fff; padding:8px 10px; overflow-wrap:anywhere; text-align:left; line-height:1.35; }
.history-filters section button.active { border-color:#ef9eb1; background:#fff1f4; color:var(--rose-dark); }
.history-filters .inline { display:grid; grid-template-columns:70px 1fr; align-items:center; color:#718097; }
.history-filters select { border:0; border-radius:7px; background:#f0f3f7; padding:7px; }
.history-main { min-width:0; padding:14px 20px; }
.history-comments-mode { grid-template-columns:250px minmax(0,1fr); }
.history-view-tabs { margin-bottom:14px;padding:5px;display:grid;grid-template-columns:repeat(3,minmax(0,220px));gap:5px;width:max-content;max-width:100%;border:1px solid #dce3eb;border-radius:13px;background:#f2f5f8; }
.history-view-tabs button,.history-view-tabs a { min-width:0;min-height:54px;padding:8px 13px;display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:9px;background:transparent;color:#718097;text-align:left;text-decoration:none;cursor:pointer;transition:.16s ease; }
.history-view-tabs button:hover,.history-view-tabs a:hover { color:#354256;background:rgba(255,255,255,.65); }
.history-view-tabs button.active { border-color:#e7dce1;background:#fff;color:var(--ink);box-shadow:0 3px 10px rgba(35,45,60,.07); }
.history-view-tabs svg { flex:none;width:20px;height:20px;stroke-width:1.8; }
.history-view-tabs span,.history-view-tabs strong,.history-view-tabs small { min-width:0;display:block; }
.history-view-tabs strong { font-size:11px;white-space:nowrap; }
.history-view-tabs small { margin-top:2px;color:#8a97a8;font-size:9px; }
.history-search { height:44px; border:1px solid #d6dfe9; border-radius:9px; display:flex; align-items:center; padding:0 12px; box-shadow:0 2px 7px rgba(26,35,46,.04); }
.history-search svg { width:18px; color:#718097; }.history-search input { flex:1; border:0; outline:0; padding:0 9px; font-size:14px; }.history-search kbd { border:1px solid #d7e0ea; border-radius:6px; padding:4px 7px; background:#fff; }
.history-toolbar { display:flex; gap:10px; align-items:center; padding:18px 0 4px; }
.history-toolbar > strong { color:#293547; font-size:14px; }
.history-toolbar > span { color:#8a97a8; font-size:12px; }
.history-toolbar > button { margin-left:auto; border:0; border-radius:7px; background:none; color:#74839a; padding:7px 9px; cursor:pointer; }
.history-toolbar > button:hover,.history-toolbar > button.active { background:#fff0f4; color:var(--rose); }
.history-toolbar > button[data-select-history] { min-height:36px; padding:8px 14px; border:1px solid var(--rose); background:var(--rose); color:#fff; font-weight:850; box-shadow:0 5px 14px rgba(240,79,111,.22); }
.history-toolbar > button[data-select-history]:hover,.history-toolbar > button[data-select-history].active { border-color:var(--rose-dark); background:var(--rose-dark); color:#fff; }
.history-day-group + .history-day-group { margin-top:10px; }
.history-day-head small { color:#8a97a8; font-size:11px; }
.history-day-head { display:flex; gap:12px; align-items:baseline; padding:16px 0 10px; }.history-day-head button { border:0; border-radius:7px; background:none; color:#74839a; padding:7px 9px; cursor:pointer; }.history-day-head button:hover,.history-day-head button.active { background:#fff0f4; color:var(--rose); }
.history-selection-bar { margin-top:12px; min-height:54px; display:flex; align-items:center; gap:9px; flex-wrap:wrap; padding:9px 11px; border:1px solid #f0bdc9; border-radius:10px; background:#fff7f9; box-shadow:0 6px 18px rgba(240,79,111,.08); }.history-selection-bar > strong { margin-right:auto; color:#293547; }.history-selection-bar button,.history-selection-bar select { min-height:35px; border:1px solid #d6dfe9; border-radius:8px; background:#fff; padding:7px 10px; color:#536176; cursor:pointer; }.history-selection-bar label { display:flex; align-items:center; gap:7px; color:#718097; font-size:11px; }.history-selection-bar .move-selected { border-color:var(--rose); background:var(--rose); color:#fff; font-weight:800; }.history-selection-bar .delete-selected { display:inline-flex; align-items:center; justify-content:center; gap:6px; border-color:#d63c53; background:#fff; color:#c52f47; font-weight:850; }.history-selection-bar .delete-selected:hover { background:#c9364e; color:#fff; }.history-selection-bar .delete-selected svg { width:15px; height:15px; }.history-selection-bar button:disabled { opacity:.45; cursor:not-allowed; }
.history-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; align-items:start; }
.history-grid.small { grid-template-columns:repeat(auto-fill,minmax(95px,1fr)); }.history-grid.large { grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); }
.history-card { position:relative; border:1px solid #e1e7ee; border-radius:10px; overflow:hidden; background:#fff; cursor:pointer; transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease; }.history-card.selectable:hover { border-color:#f08ca4; transform:translateY(-2px); }.history-card.selected { border:2px solid var(--rose); box-shadow:0 0 0 3px rgba(240,79,111,.14); }.history-select-check { position:absolute; z-index:2; top:8px; right:8px; width:29px; height:29px; display:grid!important; place-items:center; border:2px solid #fff; border-radius:8px; background:rgba(255,255,255,.94); color:#fff!important; font-size:15px!important; box-shadow:0 2px 8px rgba(26,35,46,.16); }.history-card.selected .history-select-check { background:var(--rose); }
.history-card > img { width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; display:block; }
.history-card > div { padding:8px; }.history-card strong,.history-card span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.history-card strong { font-size:11px; }.history-card span { color:#7b899c; font-size:9px; margin-top:3px; }
.history-bookmark { position:absolute; top:7px; right:7px; width:28px; height:28px; border:0; border-radius:7px; background:rgba(255,255,255,.88); font-size:17px; }.history-bookmark.active { color:#f0a400; }
.history-empty { text-align:center; padding:120px 20px; }.history-empty p { color:#7b899c; }
.comment-history-summary section span { color:#536176;font-size:13px; }
.comment-history-summary section p { margin:0;color:#718097;font-size:11px;line-height:1.55; }
.comment-direction-tabs { width:min(560px,100%); display:grid; grid-template-columns:1fr 1fr; gap:5px; margin-bottom:14px; padding:5px; border:1px solid #dce3eb; border-radius:12px; background:#f2f5f8; }
.comment-direction-tabs button { min-width:0; min-height:42px; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid transparent; border-radius:8px; background:transparent; color:#718097; font-size:11px; font-weight:850; cursor:pointer; }
.comment-direction-tabs button.active { border-color:#eadde2; background:#fff; color:var(--ink); box-shadow:0 2px 8px rgba(35,45,60,.07); }
.comment-direction-tabs button span { min-width:22px; padding:2px 7px; border-radius:999px; background:#e4e9ef; color:#718097; font-size:9px; }
.comment-direction-tabs button.active span { background:#fff0f4; color:var(--rose-dark); }
.comment-history-head { padding:22px 2px 16px;display:flex;align-items:end;justify-content:space-between;gap:30px;border-bottom:1px solid #e2e7ed; }
.comment-history-head strong,.comment-history-head span { display:block; }
.comment-history-head strong { font-size:16px; }
.comment-history-head span { margin-top:3px;color:#8390a2;font-size:10px; }
.comment-history-head p { max-width:430px;margin:0;color:#718097;font-size:11px;line-height:1.45;text-align:right; }
.comment-history-list { display:grid; }
.comment-history-card { min-width:0;padding:18px 2px;display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:15px;border-bottom:1px solid #e2e7ed; }
.comment-history-thumb { width:68px;height:68px;border-radius:11px;overflow:hidden;background:#f0f3f7; }
.comment-history-thumb img { width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease; }
.comment-history-thumb:hover img { transform:scale(1.04); }
.comment-history-copy { min-width:0; }
.comment-history-copy > div { display:flex;align-items:baseline;gap:7px; }
.comment-history-copy a { min-width:0;color:var(--ink);text-decoration:none; }
.comment-history-copy a:hover { color:var(--rose-dark); }
.comment-history-copy strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px; }
.comment-history-copy span,.comment-history-copy small { color:#8390a2;font-size:9px; }
.comment-history-copy blockquote { margin:7px 0 6px;color:#3d495a;font-size:12px;line-height:1.5;overflow-wrap:anywhere; }
.comment-history-actions { display:grid;justify-items:end;gap:8px; }
.comment-history-actions a,.comment-history-actions button { border:0;background:none;color:var(--rose-dark);font-size:10px;font-weight:850;text-decoration:none;cursor:pointer; }
.comment-history-actions button { color:#8b97a7; }
.comment-history-actions button:hover { color:#d33d59; }
.comment-history-empty { padding:100px 20px; }
.history-folders { border-left:1px solid #dbe3ec; }.folder-heading { height:62px; display:flex; align-items:center; justify-content:space-between; padding:0 17px; border-bottom:1px solid #dbe3ec; }.folder-heading > span { display:flex;align-items:center;gap:5px; }.folder-heading button { border:0;background:none;cursor:pointer; }.history-folder-close { display:none; font-size:22px; }
.history-folders > label { display:block; padding:12px; border-bottom:1px solid #dbe3ec; }.history-folders input { width:100%; border:1px solid #d7e0ea; border-radius:9px; padding:10px; }
.history-filter-modal { width:min(590px,calc(100vw - 32px));display:grid;gap:0; }
.history-filter-modal > .eyebrow { margin:0 0 8px;color:var(--rose-dark); }
.history-filter-modal > h2 { margin:0 48px 7px 0;font-size:30px;letter-spacing:-1px; }
.history-filter-modal > p { margin:0 0 24px;color:#718097;line-height:1.5; }
.history-date-fields { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.history-date-fields label { display:grid;gap:7px;color:#536176;font-size:11px;font-weight:850; }
.history-date-fields input { width:100%;height:48px;border:1px solid #d6dfe9;border-radius:10px;background:#fff;padding:0 12px;color:#202734;font:inherit; }
.history-date-fields input:focus { border-color:#ef9eb1;outline:3px solid rgba(240,75,106,.1); }
.history-model-options { max-height:min(420px,48vh);display:grid;gap:7px;overflow-y:auto;padding:2px; }
.history-model-options label { min-height:52px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #dce3eb;border-radius:10px;padding:10px 12px;cursor:pointer; }
.history-model-options label:has(input:checked) { border-color:#efb0bf;background:#fff5f7; }
.history-model-options input { width:18px;height:18px;accent-color:var(--rose); }
.history-model-options span { min-width:0;color:#263246;font-size:13px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.history-model-options small { color:#8592a5;font-size:10px;white-space:nowrap; }
.history-filter-empty { border:1px dashed #d6dfe9;border-radius:10px;padding:28px;color:#718097;text-align:center; }
.history-filter-modal .modal-actions { margin-top:25px; }
.history-move-backdrop { z-index:260; }
.history-move-modal { position:relative;width:min(680px,calc(100vw - 32px));padding:0;overflow:hidden; }
.history-move-head { position:relative;padding:26px 28px 19px;border-bottom:1px solid #e4e9ef; }
.history-move-head .eyebrow { display:block;margin-bottom:7px;color:var(--rose-dark); }
.history-move-head h2 { margin:0 48px 0 0;color:#202734;font-size:30px;letter-spacing:-1px; }
.history-move-path { min-height:48px;display:flex;align-items:center;gap:9px;padding:0 28px;border-bottom:1px solid #e7ebf0;background:#f8fafc;color:#7b899c;font-size:12px; }
.history-move-path b { color:#abb5c2;font-size:18px; }
.history-move-path strong { min-width:0;color:#354256;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.history-move-toolbar { min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px; }
.history-move-toolbar > span { color:#536176;font-size:12px;font-weight:850; }
.history-move-toolbar button { min-height:38px;border:1px solid #efb4c1;border-radius:9px;background:#fff;color:var(--rose-dark);padding:8px 13px;font:inherit;font-size:11px;font-weight:850;cursor:pointer; }
.history-move-new-folder { margin:0 28px 12px;padding:13px;border:1px solid #efc3cd;border-radius:11px;background:#fff7f9; }
.history-move-new-folder[hidden] { display:none; }
.history-move-new-folder > label { display:block;margin-bottom:7px;color:#536176;font-size:10px;font-weight:850; }
.history-move-new-folder > div { display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px; }
.history-move-new-folder input { min-width:0;height:42px;border:1px solid #d6dfe9;border-radius:8px;background:#fff;padding:0 11px;color:#202734;font:inherit; }
.history-move-new-folder input:focus { border-color:#ef9eb1;outline:3px solid rgba(240,75,106,.1); }
.history-move-new-folder button { min-height:42px;border:1px solid #d6dfe9;border-radius:8px;background:#fff;padding:0 13px;color:#536176;font:inherit;font-size:11px;font-weight:850;cursor:pointer; }
.history-move-new-folder button[type="submit"] { border-color:var(--rose);background:var(--rose);color:#fff; }
.history-move-folders { max-height:min(390px,44vh);display:grid;gap:7px;overflow-y:auto;padding:2px 28px 6px; }
.history-move-folder { width:100%;min-height:66px;display:grid;grid-template-columns:42px minmax(0,1fr) 22px;align-items:center;gap:12px;border:1px solid #dce3eb;border-radius:12px;background:#fff;padding:10px 14px;color:#202734;text-align:left;cursor:pointer; }
.history-move-folder:hover,.history-move-folder:focus-visible { border-color:#efa9b9;background:#fff8fa;outline:none; }
.history-move-folder.active { border-color:var(--rose);background:#fff2f5;box-shadow:inset 3px 0 0 var(--rose); }
.history-move-folder > span { min-width:0; }
.history-move-folder strong,.history-move-folder small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.history-move-folder strong { color:#263246;font-size:13px; }
.history-move-folder small { margin-top:4px;color:#8592a5;font-size:10px; }
.history-move-folder > b { color:#9ba8b8;font-size:17px;text-align:right; }
.history-move-folder.active > b { color:var(--rose-dark); }
.history-move-folder-icon { position:relative;width:37px;height:27px;display:block;border:2px solid #8796aa;border-radius:5px;background:#f3f6f9; }
.history-move-folder-icon:before { content:"";position:absolute;left:-2px;top:-8px;width:17px;height:8px;border:2px solid #8796aa;border-bottom:0;border-radius:5px 5px 0 0;background:#f3f6f9; }
.history-move-folder.active .history-move-folder-icon,.history-move-folder.active .history-move-folder-icon:before { border-color:var(--rose);background:#ffe8ee; }
.history-move-modal > .modal-actions { grid-template-columns:auto minmax(180px,auto);justify-content:end;margin:18px 0 0;padding:18px 28px;border-top:1px solid #e4e9ef;background:#fff; }
.history-move-modal .btn:disabled { opacity:.5;cursor:not-allowed; }
@media (min-width:901px) {
  .history-move-modal { width:min(920px,calc(100vw - 80px)); }
  .history-move-head { padding:34px 38px 25px; }
  .history-move-head h2 { font-size:36px; }
  .history-move-path { min-height:56px;padding-left:38px;padding-right:38px; }
  .history-move-toolbar { min-height:72px;padding-left:38px;padding-right:38px; }
  .history-move-new-folder { margin-left:38px;margin-right:38px;padding:16px; }
  .history-move-folders { max-height:min(480px,50vh);padding-left:38px;padding-right:38px; }
  .history-move-folder { min-height:78px;padding:13px 18px; }
  .history-move-modal > .modal-actions { padding:24px 38px; }
}
@media (max-width:600px) {
  .history-filter-backdrop { align-items:end;padding:12px; }
  .history-filter-modal { width:100%;max-height:calc(100vh - 24px);overflow-y:auto;border-radius:18px; }
  .history-date-fields { grid-template-columns:1fr; }
  .history-filter-modal .modal-actions { display:grid;grid-template-columns:1fr; }
  .history-filter-modal .modal-actions .btn { width:100%; }
  .history-move-backdrop { align-items:end;padding:10px; }
  .history-move-modal { width:100%;max-height:calc(100vh - 20px);border-radius:18px; }
  .history-move-head { padding:22px 20px 17px; }
  .history-move-head h2 { font-size:25px; }
  .history-move-path,.history-move-toolbar { padding-left:20px;padding-right:20px; }
  .history-move-new-folder { margin-left:20px;margin-right:20px; }
  .history-move-new-folder > div { grid-template-columns:minmax(0,1fr) auto; }
  .history-move-new-folder button[data-cancel-move-folder] { grid-column:1/-1; }
  .history-move-folders { max-height:42vh;padding-left:20px;padding-right:20px; }
  .history-move-modal > .modal-actions { grid-template-columns:1fr 1fr;padding:16px 20px; }
  .history-move-modal > .modal-actions .btn { width:100%; }
}
.folder-list { display:grid; gap:5px; padding:12px; }.folder-list button { width:100%; display:flex; align-items:center; gap:9px; border:0; border-radius:8px; background:#fff; padding:9px; text-align:left; color:#6f7d92; cursor:pointer; }.folder-list button:hover { background:#f6f8fb; color:#354256; }.folder-list button.active { background:#fff0f4; color:var(--rose); box-shadow:inset 3px 0 0 var(--rose); }.folder-list button strong { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }.folder-list button small { margin-left:auto; color:#9aa6b7; font-size:10px; }.folder-list img { width:29px;height:29px;border-radius:6px;object-fit:cover; }
.folder-list-row { min-width:0; display:flex; align-items:center; gap:3px; }
.folder-list-row .folder-open { min-width:0; flex:1; }
.folder-list .folder-delete { width:32px; height:32px; flex:none; display:grid; place-items:center; padding:0; color:#a08d95; opacity:.3; }
.folder-list .folder-delete svg { width:15px; height:15px; }
.folder-list-row:hover .folder-delete,.folder-list .folder-delete:focus-visible { opacity:1; color:#cf4054; background:#fff0f2; outline:none; }

.history-modal-backdrop { position:fixed; z-index:240; inset:0; display:grid; place-items:center; padding:34px; background:rgba(22,27,35,.62); backdrop-filter:blur(5px); }
.history-detail-modal { width:min(1320px,96vw); height:min(880px,94vh); display:grid; grid-template-columns:minmax(0,1.5fr) minmax(340px,.8fr); background:#fff; border-radius:18px; overflow:hidden; position:relative; box-shadow:0 25px 80px rgba(0,0,0,.28); }
.history-modal-close { position:absolute; z-index:12; top:0; right:0; width:54px; height:54px; display:grid; place-items:center; border:0; border-left:1px solid #d7e0ea; border-bottom:1px solid #d7e0ea; border-radius:0 18px 0 14px; background:#fff; color:#202734; font-size:27px; line-height:1; cursor:pointer; box-shadow:-5px 5px 16px rgba(34,43,56,.08); }.history-modal-close:hover,.history-modal-close:focus-visible { background:#fff2f5; color:var(--rose-dark); outline:none; }
.history-detail-image { background:#f3f4f6; display:flex; align-items:center; justify-content:center; padding:28px; overflow:hidden; }.history-detail-image img { max-width:100%; max-height:100%; object-fit:contain; }
.history-detail-modal > aside { padding:30px; overflow:auto; }.history-modal-actions { display:flex;justify-content:flex-end;gap:9px;align-items:center;margin-right:50px; }.history-modal-actions button { position:relative;flex:none;width:44px;height:44px;display:grid;place-items:center;border:1px solid #d9e1ea;border-radius:11px;background:#fff;color:#536176;cursor:pointer;box-shadow:0 3px 9px rgba(35,45,60,.05);transition:.16s ease; }.history-modal-actions button svg { width:21px;height:21px;stroke-width:1.8; }.history-modal-actions button:hover,.history-modal-actions button:focus-visible { border-color:#efa9ba;background:#fff4f7;color:var(--rose-dark);box-shadow:none;outline:none;transform:translateY(-1px); }.history-modal-actions button:after { content:attr(data-tooltip);position:absolute;z-index:8;top:calc(100% + 7px);left:50%;padding:5px 8px;border-radius:6px;background:#202532;color:#fff;font-size:9px;font-weight:800;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(-50%,-3px);transition:.14s ease; }.history-modal-actions button:hover:after,.history-modal-actions button:focus-visible:after { opacity:1;transform:translate(-50%,0); }.history-modal-actions .danger { border-color:#f0d0d4;color:#d54a56; }.history-modal-actions .danger:hover,.history-modal-actions .danger:focus-visible { border-color:#df8894;background:#fff0f2;color:#c52f43; }
.history-created-at { margin-top:18px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e1e7ee;border-radius:10px;background:#f8fafc; }
.history-created-at span { color:#8290a3;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase; }
.history-created-at time { color:#354154;font-size:11px;font-weight:750;white-space:nowrap; }
.history-modal-actions .history-publish-button { width:auto;min-width:76px;padding:0 14px;border-color:var(--rose);background:var(--rose);color:#fff;font-size:11px;font-weight:900; }.history-modal-actions .history-publish-button:hover,.history-modal-actions .history-publish-button:focus-visible { border-color:var(--rose-dark);background:var(--rose-dark);color:#fff; }.history-modal-actions .history-publish-button.published { border-color:#bfe1d0;background:#edf9f3;color:#258457; }.history-modal-actions .history-publish-button.published:hover,.history-modal-actions .history-publish-button.published:focus-visible { border-color:#8dc9aa;background:#e3f6ec;color:#1d7149; }
.history-detail-modal h2 { margin:30px 0 8px; }.history-detail-modal > aside > p { color:#6f7b8d; line-height:1.5; }.history-detail-modal h3 { margin-top:30px; font-size:13px; }
.history-copy-editor { display:grid;gap:13px;margin-top:26px;padding:16px;border:1px solid #e0e6ed;border-radius:12px;background:#fbfcfd; }.history-copy-editor label { display:grid;gap:6px; }.history-copy-editor label > span { color:#68778c;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em; }.history-copy-editor input,.history-copy-editor textarea { width:100%;border:1px solid #d5dee8;border-radius:9px;background:#fff;padding:11px 12px;color:#1f2733;font:inherit;outline:none; }.history-copy-editor input { font-size:16px;font-weight:850; }.history-copy-editor textarea { min-height:96px;resize:vertical;font-size:12px;line-height:1.5; }.history-copy-editor input:focus,.history-copy-editor textarea:focus { border-color:#ee8da4;box-shadow:0 0 0 3px rgba(240,79,111,.1); }.history-copy-editor > div { display:flex;align-items:center;justify-content:space-between;gap:12px; }.history-copy-editor small { color:#8592a5;font-size:9px; }.history-copy-editor button { border:1px solid #efafbe;border-radius:8px;background:#fff;color:var(--rose-dark);padding:8px 11px;font-size:10px;font-weight:850;cursor:pointer; }.history-copy-editor button:hover { background:#fff0f4; }
.history-copy-editor.description-required { border-color:#efb1c0;background:#fff8fa; }
.history-copy-editor .history-description-notice { display:grid;gap:3px;align-items:start;justify-content:stretch;padding:10px 11px;border-radius:9px;background:#fff0f4;color:#8e3049; }
.history-description-notice strong { font-size:11px; }
.history-description-notice span { font-size:10px;line-height:1.4; }
.canonical-identity { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 22px; padding:12px 14px; border:1px solid #efdde2; border-radius:10px; background:#fff8fa; }
.canonical-identity > div { min-width:0; display:grid; gap:4px; }
.canonical-identity span { color:#9a6875; font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.canonical-identity a { color:#cf3658; font-size:10px; font-weight:750; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.canonical-identity code { flex:0 0 auto; padding:5px 7px; border-radius:6px; background:#fff; color:#776f7c; font-size:9px; }
.canonical-identity.pending { display:block; background:#f8fafc; border-color:#e1e7ee; }
.canonical-identity.pending p { margin:5px 0 0; color:#7c899b; font-size:10px; line-height:1.45; }
/* Joined field + action, matching the share modal's .share-direct treatment. */
.canonical-copy-row { flex:1; grid-template-columns:minmax(0,1fr) auto; gap:0; }
.canonical-copy-row input { min-width:0; height:34px; border:1px solid #efdde2; border-right:0; border-radius:8px 0 0 8px; background:#fff; padding:0 10px; color:#776f7c; font-size:10px; font-weight:700; }
.canonical-copy-row input:focus { outline:none; border-color:#e2b9c5; }
.canonical-copy-row button { border:0; border-radius:0 8px 8px 0; background:var(--rose); padding:0 16px; color:#fff; font-size:10px; font-weight:900; letter-spacing:.02em; cursor:pointer; transition:background .15s ease; }
.canonical-copy-row button:hover { background:var(--rose-dark); }
.history-detail-modal dl { display:grid; grid-template-columns:1fr 1fr; gap:14px 25px; }.history-detail-modal dl div { display:grid; gap:4px; }.history-detail-modal dt { color:#718097; font-size:11px; }.history-detail-modal dd { margin:0;font-size:13px; }
.history-prompt-heading { margin-top:30px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.history-prompt-heading h3 { margin:0; }
.prompt-visibility-button { border:1px solid #efb6c4; border-radius:8px; background:#fff4f6; color:var(--rose-dark); padding:7px 9px; font-size:9px; font-weight:850; cursor:pointer; }
.prompt-visibility-button.hidden-state { border-color:#cfc2e8; background:#f7f3ff; color:#6e4aae; }
.prompt-visibility-button.locked { border-color:#dce3eb; background:#f5f7fa; color:#718097; }
.history-prompt { margin-bottom:8px; padding:12px; border:1px solid #e2e7ed; border-radius:10px; background:#f8fafc; color:#263246 !important; line-height:1.55; white-space:pre-wrap; overflow-wrap:anywhere; }
.copy-history-prompt { border:0; background:none; color:var(--rose-dark); padding:0; font-size:10px; font-weight:850; cursor:pointer; }
.hidden-public-prompt { margin-top:12px; padding:18px; display:grid; grid-template-columns:32px minmax(0,1fr); gap:3px 10px; border:1px solid #ddd3ee; border-radius:11px; background:#faf8ff; }
.hidden-public-prompt > span { grid-row:1/3; width:30px; height:30px; display:grid; place-items:center; border-radius:8px; background:#ede7fa; color:#7550b4; }
.hidden-public-prompt strong { font-size:12px; }.hidden-public-prompt p { margin:0; color:#7e7290; font-size:10px; line-height:1.45; }
.history-modal-tags { display:flex;flex-wrap:wrap;gap:6px; }.history-modal-tags span { background:#f2f5f8;border-radius:6px;padding:5px 7px;font-size:10px; }
.move-folder { display:grid;gap:7px;margin-top:24px;font-size:11px;color:#718097; }.move-folder strong { color:#344154;font-size:12px; }.move-folder select { border:1px solid #d7e0ea;border-radius:8px;padding:10px;background:#fff;cursor:pointer; }
.history-modal-footer { position:sticky; bottom:-30px; margin:30px -30px -30px; padding:14px 30px; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; border-top:1px solid #dbe3ec; background:#fff; }.history-modal-footer button { border:1px solid #d7e0ea;border-radius:8px;background:#f1f4f7;padding:10px;font-weight:800; }
.history-modal-footer.prompt-hidden-footer { display:block; color:#7e7290; font-size:10px; text-align:center; }

.profile-collections { display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding-top:18px; }.profile-collections article { border:1px solid var(--line);border-radius:14px;padding:10px; }.folder-covers { display:grid;grid-template-columns:2fr 1fr 1fr;gap:4px;height:130px; }.folder-covers img { width:100%;height:100%;object-fit:cover;border-radius:7px; }.profile-collections strong,.profile-collections span { display:block;margin-top:8px; }.profile-collections span { color:var(--muted);font-size:10px; }.profile-empty { grid-column:1/-1;text-align:center;padding:70px; }
.profile-about { display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:30px 0; }.profile-about p { color:var(--muted);line-height:1.65; }.profile-about dl { margin:0; }.profile-about dl div { display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px; }.profile-about dt { color:var(--muted); }.profile-about dd { margin:0; }.profile-published { padding:17px 0 25px; }.history-grid.compact { grid-template-columns:repeat(auto-fill,minmax(140px,1fr));margin-top:10px; }
.profile-edit-modal { position:relative; width:min(620px,100%); }.profile-edit-modal > label,.folder-modal > label { display:grid;gap:6px;margin-top:14px;font-size:12px;font-weight:800; }.profile-edit-modal input,.profile-edit-modal textarea,.folder-modal input { border:1px solid var(--line);border-radius:9px;padding:10px; }.profile-edit-modal textarea { min-height:90px;resize:vertical; }.form-row { display:grid;grid-template-columns:1fr 1fr;gap:10px; }.form-row label { display:grid;gap:6px;margin-top:14px;font-size:12px;font-weight:800; }.modal-x { position:absolute;right:17px;top:14px;border:0;background:none;font-size:24px; }
.floating-menu { position:absolute;z-index:30;right:0;top:calc(100% + 7px);min-width:190px;padding:7px;border:1px solid #d7e0ea;border-radius:10px;background:#fff;box-shadow:0 12px 30px rgba(20,28,38,.16); }.profile-buttons,.result-actionbar { position:relative; }.floating-menu button { width:100%;border:0;background:#fff;text-align:left;padding:10px;border-radius:7px; }.floating-menu button:hover { background:#f2f5f8; }

.model-family { position:relative; }
.model-menu { position:absolute;z-index:40;top:52px;left:0;right:0;min-width:0;border:1px solid #d7e0ea;border-radius:12px;background:#fff;padding:8px;box-shadow:0 16px 38px rgba(30,40,52,.2); }
.model-menu button { width:100%;height:auto!important;min-height:72px;display:grid!important;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:10px;text-align:left;padding:11px 12px!important;border:0!important;border-radius:9px!important;background:#fff; }
.model-menu button.active { background:#eef2f6; }
.model-menu button > span { min-width:0;margin:0!important; }
.model-menu strong,.model-menu small { display:block; }
.model-menu strong { color:#263143;font-size:14px;line-height:1.25; }
.model-menu small { margin-top:3px;color:#718097;font-size:11px;font-weight:650;line-height:1.35;white-space:normal; }
.model-menu i { justify-self:end;color:#718097;font-size:18px;font-style:normal; }
.prompt-field { position:relative; }.prompt-suggestions { display:none;position:absolute;z-index:18;left:8px;right:8px;top:76px;max-height:300px;overflow:auto;padding:7px;border:1px solid #d7e0ea;border-radius:11px;background:#fff;box-shadow:0 12px 35px rgba(30,40,52,.18); }.prompt-suggestions.show { display:block; }.prompt-suggestions button { width:100%;min-height:39px;display:grid;grid-template-columns:minmax(0,1fr) max-content 54px;column-gap:15px;align-items:center;border:0;border-radius:7px;background:#fff;padding:7px 10px;text-align:left;color:#357ee8; }.prompt-suggestions button:hover,.prompt-suggestions button:first-child { background:#eef2f6; }.prompt-suggestions button b { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650; }.prompt-suggestions small { min-width:48px;padding-right:2px;color:#718097;text-align:right; }.prompt-suggestions i,.prompt-tag-catalog i { --tag-tone:#2bbb72;width:calc(var(--heat) * 10px);height:12px;background:repeating-linear-gradient(90deg,var(--tag-tone) 0 7px,transparent 7px 10px);opacity:.92;justify-self:start; }.prompt-suggestions i[data-tone="suggestive"],.prompt-tag-catalog i[data-tone="suggestive"] { --tag-tone:#f2a526; }.prompt-suggestions i[data-tone="explicit"],.prompt-tag-catalog i[data-tone="explicit"] { --tag-tone:#e8445f; }.prompt-suggestions i[data-tone="identity"],.prompt-tag-catalog i[data-tone="identity"] { --tag-tone:#8b5cf6; }
.prompt-library-open { overflow:hidden; }
.prompt-library-backdrop { overflow:hidden; }
.prompt-library-modal { position:relative;width:min(980px,calc(100vw - 32px));min-width:0;max-height:min(90vh,860px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:30px;scrollbar-gutter:stable; }
.prompt-library-head { display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-right:2px; }
.prompt-library-head span { display:block;margin-bottom:4px;color:var(--rose-dark);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase; }
.prompt-library-head h2 { margin:0;font-size:clamp(28px,4vw,42px);line-height:1.05;letter-spacing:-1.7px; }
.prompt-library-close { flex:0 0 auto;width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:#5d5661;font-size:27px;line-height:1;cursor:pointer; }
.prompt-library-close:hover { border-color:#eaa4b6;background:#fff4f6;color:var(--rose-dark); }
.prompt-library-intro { max-width:780px;margin:14px 0 23px;color:var(--muted);line-height:1.6; }
.prompt-library-section-title { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 1px 10px; }
.prompt-library-section-title strong { font-size:14px; }
.prompt-library-section-title span { color:var(--muted);font-size:11px; }
.prompt-library-section-title.tag-title { margin-top:27px; }
.prompt-preset-grid { width:100%;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0; }
.prompt-preset-grid button { min-width:0;min-height:132px;display:flex;flex-direction:column;border:1px solid #ecd9df;border-radius:12px;background:linear-gradient(145deg,#fff7f9,#fff);padding:14px;text-align:left;cursor:pointer;overflow:hidden; }
.prompt-preset-grid button:hover { border-color:var(--rose);box-shadow:none;transform:translateY(-1px); }
.prompt-preset-grid strong,.prompt-preset-grid span { display:block; }.prompt-preset-grid strong { color:var(--ink);margin-bottom:7px; }.prompt-preset-grid span { min-width:0;color:var(--muted);font-size:10px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere; }.prompt-preset-grid em { margin-top:auto;padding-top:10px;color:var(--rose-dark);font-size:10px;font-style:normal;font-weight:850; }
.prompt-library-toolbar { width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:9px;position:sticky;top:-30px;z-index:2;padding:12px 0;background:#fff; }
.prompt-library-toolbar label { min-width:0; }
.prompt-library-toolbar input,.prompt-library-toolbar select { width:100%;min-width:0;min-height:46px;border:1px solid #d7e0ea;border-radius:9px;background:#fff;padding:0 12px;color:var(--ink); }
.prompt-tag-legend { display:flex;flex-wrap:wrap;gap:7px;margin:0 1px 10px; }.prompt-tag-legend span { display:inline-flex;align-items:center;gap:5px;color:#718097;font-size:10px; }.prompt-tag-legend span:before { content:"";width:8px;height:8px;border-radius:2px;background:#2bbb72; }.prompt-tag-legend span[data-tone="suggestive"]:before { background:#f2a526; }.prompt-tag-legend span[data-tone="explicit"]:before { background:#e8445f; }.prompt-tag-legend span[data-tone="identity"]:before { background:#8b5cf6; }
.prompt-tag-catalog { width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:7px; }
.prompt-tag-catalog button { width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) max-content 54px;column-gap:18px;align-items:center;min-height:52px;border:1px solid #e2e7ed;border-radius:9px;background:#fff;padding:10px 14px;text-align:left;cursor:pointer;color:#357ee8; }
.prompt-tag-catalog button:hover,.prompt-tag-catalog button.selected { background:#fff1f4;border-color:#f2bdc9; }.prompt-tag-catalog button span { min-width:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.3; }.prompt-tag-catalog button small { min-width:52px;color:#718097;text-align:right; }.prompt-tag-catalog button em { display:none; }.library-empty { grid-column:1/-1;text-align:center;padding:30px; }
.studio-folder-panel { position:absolute;z-index:20;top:50px;left:8px;right:8px;width:auto;max-width:calc(100% - 16px);max-height:min(320px,calc(100vh - 72px));display:grid;gap:5px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:9px;border:1px solid #dce3eb;border-radius:0 0 12px 12px;background:#fff;box-shadow:0 16px 32px rgba(35,45,60,.14); }.studio-folder-list { min-width:0;display:grid;gap:5px; }.studio-folder-list button { width:100%;min-width:0;display:flex;align-items:center;gap:8px;overflow:hidden;border:0;border-radius:7px;background:#fff;padding:8px;text-align:left;color:#718097;cursor:pointer; }.studio-folder-list button:hover { background:#f5f7fa;color:#344154; }.studio-folder-list button.active { background:#fff0f4;color:var(--rose); }.studio-folder-list button span { min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.studio-folder-list button b { margin-left:auto;color:var(--rose); }.studio-folder-list img { flex:none;width:27px;height:27px;border-radius:5px; }.edit-instruction { width:100%;min-height:150px;border:1px solid #d7e0ea;border-radius:9px;padding:11px;resize:vertical; }.edit-hints { display:flex;flex-wrap:wrap;gap:6px; }.edit-hints button { border:1px solid #d7e0ea;border-radius:7px;background:#fff;padding:7px;font-size:10px; }
.studio-folder-row { min-width:0; display:flex; align-items:center; gap:3px; }
.studio-folder-row .studio-folder-open { min-width:0; flex:1; }
.studio-folder-list .studio-folder-delete { width:30px; height:30px; flex:none; display:grid; place-items:center; padding:0; color:#a08d95; opacity:.3; }
.studio-folder-list .studio-folder-delete svg { width:14px; height:14px; }
.studio-folder-row:hover .studio-folder-delete,.studio-folder-list .studio-folder-delete:focus-visible { opacity:1; color:#cf4054; background:#fff0f2; outline:none; }
.result-actionbar { position:absolute;z-index:6;left:50%;bottom:18px;width:max-content;max-width:calc(100% - 20px);transform:translateX(-50%);display:flex;align-items:center;gap:5px;padding:7px;overflow:visible;border:1px solid rgba(217,225,234,.95);border-radius:16px;background:rgba(255,255,255,.96);box-shadow:0 14px 38px rgba(32,40,53,.16);backdrop-filter:blur(16px); }
.result-actionbar button { position:relative;flex:none;width:46px;height:44px;display:grid;place-items:center;border:1px solid transparent;border-radius:11px;background:transparent;color:#3e4a5c;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease; }
.result-actionbar button svg { width:21px;height:21px;stroke-width:1.8; }
.result-actionbar .result-post-action { width:auto;min-width:94px;padding:0 17px;display:flex;gap:7px;border-color:#f3c3cf;background:#fff5f7;color:var(--rose-dark);font-size:14px;font-weight:900; }
.result-actionbar .result-post-action.posted,.result-actionbar .result-post-action.posted:disabled { border-color:#bde4d2;background:#edf9f4;color:#24825a;opacity:1;cursor:default; }
.result-actionbar button:hover,.result-actionbar button:focus-visible { border-color:#efb0bf;background:#fff4f7;color:var(--rose-dark);box-shadow:none;outline:none;transform:translateY(-2px); }
.result-actionbar button.active { border-color:#ef9bae;background:#ffedf2;color:var(--rose-dark); }
.result-actionbar button:after { content:attr(data-tooltip);position:absolute;z-index:20;left:50%;bottom:calc(100% + 9px);padding:6px 9px;border-radius:7px;background:#202532;color:#fff;font-size:10px;font-weight:800;line-height:1;white-space:nowrap;opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:.14s ease; }
.result-actionbar button:hover:after,.result-actionbar button:focus-visible:after { opacity:1;transform:translate(-50%,0); }
.result-action-more { position:relative;flex:none; }
.result-action-menu[hidden] { display:none; }
.result-action-menu { position:absolute;z-index:40;right:0;bottom:calc(100% + 12px);width:250px;display:grid;gap:3px;padding:7px;border:1px solid #d8e0e9;border-radius:13px;background:#fff;box-shadow:0 16px 36px rgba(25,32,44,.18); }
.result-actionbar .result-action-menu button { width:100%;height:auto;min-height:50px;display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center;padding:8px 10px;border-radius:9px;text-align:left; }
.result-actionbar .result-action-menu button svg { width:19px;height:19px;justify-self:center; }
.result-actionbar .result-action-menu button span,.result-actionbar .result-action-menu button strong,.result-actionbar .result-action-menu button small { min-width:0;display:block; }
.result-actionbar .result-action-menu button strong { color:#30394a;font-size:12px;line-height:1.25; }
.result-actionbar .result-action-menu button small { margin-top:2px;color:#7a879b;font-size:9px;line-height:1.3; }
.result-actionbar .result-action-menu button:hover,.result-actionbar .result-action-menu button:focus-visible { transform:none; }
.result-actionbar .result-action-menu button.active strong { color:var(--rose-dark); }
.result-actionbar .result-action-menu button:after { display:none; }
.enhance-menu { bottom:58px;top:auto;left:0;right:auto; }

@media (max-width:720px) {
  .result-actionbar { bottom:max(10px,env(safe-area-inset-bottom));width:calc(100% - 20px);max-width:420px;justify-content:center;gap:3px;padding:6px; }
  .result-actionbar > button,.result-actionbar > .result-action-more > button { width:40px;height:42px; }
  .result-actionbar .result-post-action { min-width:82px;padding:0 11px;gap:5px;font-size:13px; }
  .result-actionbar button:hover { transform:none; }
  .result-action-menu { right:-2px;bottom:calc(100% + 9px);width:min(250px,calc(100vw - 30px));max-height:min(310px,calc(100vh - 120px));overflow-y:auto; }
}
@media (max-width:340px) {
  .result-actionbar .result-post-action { width:42px;min-width:42px;padding:0;justify-content:center; }
  .result-actionbar .result-post-action span { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
}

.tools-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }
.tool-card { border:1px solid var(--line); border-radius:18px; padding:22px; background:#fff; cursor:pointer; transition:.2s; }
.tool-card:hover { transform:translateY(-4px); box-shadow:none; border-color:#efcbd4; }
.tool-icon { width:44px; height:44px; border-radius:13px; display:grid; place-items:center; background:#fff0f3; color:var(--rose); font-size:20px; margin-bottom:25px; }
.tool-card h3 { margin:0 0 5px; font-size:18px; }
.tool-card p { color:var(--muted); font-size:13px; margin:0; }
.tool-card .arrow { margin-top:20px; color:var(--rose); font-weight:800; }
.tool-page { padding-top:28px; }
.tool-page-head { max-width:none; margin:0 0 24px; }
.tool-headline { display:flex; align-items:center; gap:16px; }
.tool-headline .tool-icon { width:58px; height:58px; margin:0; border-radius:14px; font-size:25px; flex:none; }
.tool-headline h1 { margin:0 0 3px; font-size:clamp(30px,4vw,48px); line-height:1; letter-spacing:-2px; }
.tool-headline p { max-width:720px; margin:0; color:var(--muted); }
.tool-workspace { max-width:none; min-height:650px; margin:0; display:grid; grid-template-columns:minmax(360px,460px) minmax(420px,1fr); border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 18px 45px rgba(63,35,47,.07); }
.tool-controls { padding:25px; border-right:1px solid var(--line); background:#fffdfc; }
.tool-controls-title { display:flex; justify-content:space-between; gap:15px; align-items:start; margin-bottom:22px; }
.tool-controls-title strong,.tool-controls-title span { display:block; }
.tool-controls-title strong { font-size:19px; }
.tool-controls-title > div span { color:var(--muted); font-size:11px; margin-top:2px; }
.tool-label { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:8px; }
.tool-label strong { font-size:13px; }
.tool-label span { color:var(--muted); font-size:10px; }
.tool-upload { width:100%; min-height:190px; border:1.5px dashed #d9cbd0; border-radius:12px; background:#fff; display:grid; place-items:center; align-content:center; gap:6px; color:var(--muted); cursor:pointer; overflow:hidden; padding:14px; transition:.18s; }
.tool-upload:hover,.tool-upload.dragging { border-color:var(--rose); background:#fff7f8; }
.tool-upload-icon { width:43px; height:43px; display:grid; place-items:center; border-radius:11px; background:#fff0f3; color:var(--rose); font-size:24px; }
.tool-upload > strong { color:var(--ink); }
.tool-upload > small { font-size:11px; }
.tool-upload.has-image { position:relative; display:block; padding:0; min-height:230px; border-style:solid; }
.tool-upload.has-image img { width:100%; height:230px; object-fit:contain; background:#f4f0f1; }
.tool-upload-change { position:absolute; left:10px; right:10px; bottom:10px; padding:9px 11px; border-radius:9px; background:rgba(25,22,32,.84); color:#fff; text-align:left; backdrop-filter:blur(8px); }
.tool-upload-change strong,.tool-upload-change small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tool-upload-change small { opacity:.75; font-size:10px; }
.tool-note { margin:8px 2px 0; color:var(--muted); font-size:10px; }
.tool-fields { margin-top:19px; display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.tool-field { display:grid; gap:6px; min-width:0; }
.tool-field-wide { grid-column:1/-1; }
.tool-field > span { font-size:11px; font-weight:800; color:#4e4550; }
.tool-field input,.tool-field textarea,.tool-field select { width:100%; border:1px solid #dfd5d9; border-radius:9px; background:#fff; outline:none; padding:10px 11px; color:var(--ink); }
.tool-field input,.tool-field select { height:43px; }
.tool-field textarea { min-height:93px; resize:vertical; }
.tool-field input:focus,.tool-field textarea:focus,.tool-field select:focus { border-color:var(--rose); box-shadow:0 0 0 3px rgba(240,79,111,.08); }
.tool-consent { display:grid; grid-template-columns:34px 1fr; gap:9px; align-items:start; margin:18px 0; padding:11px; border:1px solid #eadde1; border-radius:10px; background:#fbf7f8; }
.tool-consent > span { display:grid; place-items:center; height:27px; border-radius:7px; background:var(--ink); color:#fff; font-size:10px; font-weight:900; }
.tool-consent p { margin:0; color:var(--muted); font-size:10px; }
.tool-run { width:100%; }
.tool-run .google-logo { margin-right:1px; }
.tool-output { min-width:0; display:flex; align-items:stretch; background:#f5f1f2; }
.tool-result-empty { width:100%; min-height:620px; padding:40px; display:grid; place-content:center; justify-items:center; text-align:center; }
.tool-result-empty > span:first-child { width:62px; height:62px; display:grid; place-items:center; border:1px solid #e3d8dc; border-radius:14px; background:#fff; color:var(--rose); font-size:26px; }
.tool-result-empty h2 { margin:17px 0 5px; font-size:24px; letter-spacing:-.8px; }
.tool-result-empty p { max-width:420px; margin:0; color:var(--muted); }
.tool-output-checks { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:22px; }
.tool-output-checks span { border:1px solid #e5dadd; border-radius:8px; padding:6px 8px; background:#fff; color:#675e66; font-size:10px; font-weight:750; }
.tool-spinner { width:48px !important; height:48px !important; border:4px solid #f5cbd4 !important; border-top-color:var(--rose) !important; border-radius:50% !important; animation:tool-spin .8s linear infinite; background:none !important; }
@keyframes tool-spin { to { transform:rotate(360deg); } }
.tool-error > span:first-child { color:#fff; background:var(--rose); border-color:var(--rose); font-weight:900; }
.tool-error .btn { margin-top:20px; }
.tool-result-image { width:100%; padding:20px; align-self:start; }
.tool-result-image > img { width:100%; max-height:660px; object-fit:contain; border-radius:12px; background:#27232a; }
.tool-result-summary { display:flex; justify-content:space-between; gap:18px; align-items:start; padding:18px 2px 10px; }
.tool-result-summary small { color:var(--rose-dark); font-weight:800; }
.tool-result-summary h2 { margin:3px 0; font-size:22px; }
.tool-result-summary p { margin:0; color:var(--muted); font-size:12px; }
.tool-result-summary > span { padding:6px 8px; border:1px solid var(--line); border-radius:7px; background:#fff; color:var(--muted); font-size:10px; white-space:nowrap; }
.tool-result-tags { display:flex; gap:6px; flex-wrap:wrap; margin:8px 0 16px; }
.tool-result-tags span { border:1px solid #ead9de; border-radius:7px; background:#fff; padding:5px 8px; color:#6b6069; font-size:10px; }
.tool-result-actions { display:flex; flex-wrap:wrap; gap:8px; padding-top:12px; border-top:1px solid var(--line); }
.tool-result-actions .btn { min-height:41px; padding:0 14px; font-size:11px; }
.tool-analysis-result { width:100%; align-self:start; margin:22px; padding:25px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.tool-analysis-result > small { color:var(--rose-dark); font-weight:800; }
.tool-analysis-result h2 { margin:5px 0 22px; font-size:27px; letter-spacing:-1px; }
.analysis-block { padding:15px 0; border-top:1px solid var(--line); }
.analysis-block strong { font-size:11px; text-transform:uppercase; letter-spacing:.6px; }
.analysis-block p { margin:6px 0 0; color:#514951; white-space:pre-wrap; }
.tool-explainer { max-width:none; margin:19px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.tool-explainer > div { padding:16px; border:1px solid var(--line); border-radius:11px; background:#fff; }
.tool-explainer strong { font-size:12px; }
.tool-explainer p { margin:4px 0 0; color:var(--muted); font-size:10px; }

.focused-generator { max-width:none; margin:8px 0 38px; display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:24px; align-items:start; }
.focused-generator-copy { padding:28px 28px 8px 0; }
.focused-generator-copy h1 { margin:0 0 14px; font-size:clamp(42px,6vw,74px); line-height:.96; letter-spacing:-4px; }
.focused-generator-copy > p { max-width:none; margin:0; color:var(--muted); font-size:18px; line-height:1.55; }
.focused-generator-safety { display:flex; gap:10px; align-items:center; margin-top:22px; color:var(--muted); font-size:11px; }
.focused-generator-safety strong { padding:7px 9px; border-radius:8px; background:var(--ink); color:#fff; font-size:10px; text-transform:uppercase; letter-spacing:.5px; }
.focused-generator-visual { position:relative; overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#f8eff2; }
.focused-generator-visual img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; }
.focused-generator-visual span { position:absolute; left:12px; bottom:12px; padding:7px 10px; border-radius:8px; background:rgba(23,20,27,.78); color:#fff; font-size:10px; font-weight:800; backdrop-filter:blur(8px); }
.focused-generator-form { grid-column:1/-1; display:grid; gap:15px; padding:24px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 16px 42px rgba(63,35,47,.06); }
.focused-generator-form > label { display:flex; justify-content:space-between; gap:15px; align-items:end; }
.focused-generator-form > label span { font-size:16px; font-weight:850; }
.focused-generator-form > label small,.focused-generator-form > p { color:var(--muted); font-size:11px; }
.focused-generator-form textarea { width:100%; min-height:155px; resize:vertical; padding:17px; border:1px solid #ded2d6; border-radius:12px; outline:none; font:inherit; line-height:1.55; color:var(--ink); }
.focused-generator-form textarea:focus { border-color:var(--rose); box-shadow:0 0 0 3px rgba(240,79,111,.08); }
.focused-generator-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.focused-generator-options label { display:grid; gap:6px; color:#4e4550; font-size:11px; font-weight:800; }
.focused-generator-options select { width:100%; height:46px; padding:0 12px; border:1px solid #ded2d6; border-radius:10px; background:#fff; color:var(--ink); }
.focused-generator-form .btn { min-height:54px; font-size:15px; }
.focused-generator-form > p { margin:0; text-align:center; }
.focused-ideas { max-width:none; margin:0; }
.focused-ideas .section-head p { margin:4px 0 0; color:var(--muted); }
.focused-ideas > div:last-child { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.focused-ideas button { min-height:90px; padding:18px; display:flex; flex-direction:column; justify-content:space-between; gap:13px; text-align:left; border:1px solid var(--line); border-radius:13px; background:#fff; color:var(--ink); cursor:pointer; }
.focused-ideas button:hover,.focused-ideas button:focus-visible { border-color:#edaabb; background:#fff7f9; outline:none; }
.focused-ideas button span { color:var(--rose-dark); font-size:11px; font-weight:800; }

.content-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:60px; padding-top:45px; }
.article { max-width:820px; }
.article h1 { font:italic clamp(42px,5vw,67px)/1.02 Georgia,serif; letter-spacing:-2px; margin:14px 0; }
.article-deck { color:var(--muted); font-size:19px; border-bottom:1px solid var(--line); padding-bottom:24px; }
.byline { display:flex; align-items:center; gap:10px; font-size:12px; color:var(--muted); margin:18px 0 30px; }
.byline-avatar { width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font:italic 16px Georgia,serif; }
.article-cover { width:100%; max-height:500px; object-fit:cover; border-radius:20px; margin-bottom:30px; }
.article h2 { margin:38px 0 10px; font-size:28px; letter-spacing:-1px; }
.article h3 { margin-top:27px; font-size:20px; }
.article p, .article li { color:#4f4852; font-size:16px; line-height:1.75; }
.article blockquote { margin:30px 0; padding:4px 0 4px 22px; border-left:3px solid var(--rose); font:italic 23px/1.45 Georgia,serif; color:var(--plum); }
.article code { background:#f8eff2; padding:2px 5px; border-radius:5px; color:#b53353; }
.callout { background:#fff3f5; border:1px solid #f3d4dc; border-radius:15px; padding:18px 20px; margin:25px 0; }
.toc { position:sticky; top:95px; border-left:1px solid var(--line); padding-left:22px; }
.toc strong { display:block; text-transform:uppercase; letter-spacing:1px; font-size:10px; margin-bottom:13px; }
.toc a { display:block; color:var(--muted); margin:10px 0; font-size:13px; }
.toc a:hover { color:var(--rose); }

@media (max-width:760px) {
  /* Mobile post page, arranged like betterwaifu's mobile view:
     image (counter below) → tags → creator → stats → title → description →
     actions → prompt → generation details → more-by (3-col) → comments. The two
     desktop columns are dissolved with display:contents so blocks interleave. */
  .post-layout { display:flex; flex-direction:column; align-items:stretch; gap:0; padding-top:0; }
  .post-main-column, .post-details { display:contents; }
  .post-layout .post-viewer { order:1; flex-direction:column; gap:7px; margin:0; border-radius:14px; padding:10px 10px 12px; min-height:0; max-height:none; background:#f4f5f8; }
  .post-layout .post-viewer img { max-height:72vh; border-radius:10px; box-shadow:none; }
  .post-layout .post-counter { position:static; background:none; color:#756c7c; font-size:12px; font-weight:800; }
  .post-nav { width:34px; height:46px; font-size:24px; opacity:.9; top:42%; }
  .post-tags { order:2; padding:14px 2px 6px; }
  .creator-row { order:3; padding:10px 0 10px; border-bottom:0; }
  .post-details .post-stats { order:4; padding:0 0 10px; }
  .post-title-row { order:5; padding:0 0 4px; border-bottom:0; }
  .post-title-row h1 { font-size:23px; letter-spacing:-.5px; }
  .post-details .post-description { order:6; margin:0 0 10px; }
  .post-actions { order:7; grid-template-columns:repeat(4,1fr); gap:6px; padding-bottom:14px; }
  .post-actions button { min-height:42px; font-size:11px; }
  .post-details .detail-group { order:9; }
  .post-details .public-prompt, .post-details .hidden-public-prompt { order:8; }
  .more-by { order:10; }
  .post-layout .more-by-grid { grid-template-columns:repeat(3,1fr); gap:8px; }
  .comments-section { order:11; }
}

