미디어위키:AnecdoteViewer.css: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* =========================================
/* =========================================
COASTLINE: BLACK ICE - AnecdoteViewer
COASTLINE: BLACK ICE - AnecdoteViewer
Anecdote namespace reader mode
Original Crimson-Leather flow / CLBI platform skin
========================================= */
========================================= */


/*
/*
설계 목적
기준
-----------------------------------------
-----------------------------------------
AnecdoteViewer는 일반 위키 문서 화면에서 에넥도트 감상 화면으로 넘어가는
이 파일은 에넥도트 감상 모드의 화면 전환과 뷰어 내부 레이아웃을 담당한다.
세미스탠얼론 모드를 담당한다.
위키 셸 전환은 AnecdoteViewer 전용 모드가 맡고, 뷰어 내부 배치·진행 방식은
 
폐기 전 Crimson-Leather 원본 프로젝트의 container3 / narration / chat / timeline 구조를 따른다.
작동 조건:
- .anecdote-viewer-root가 있는 문서
- 또는 Anecdote: 전용 네임스페이스 문서
 
전환 원칙:
- 상단 네비는 위로 퇴장한다.
- 좌우 사이드바는 아래로 퇴장한다.
- 중앙 본문 컨테이너는 1000px 감상 프레임으로 줄어든다.
- 하단에는 Anecdote 전용 컨트롤 덱을 표시한다.
*/
*/


36번째 줄: 27번째 줄:
}
}


body.anecdote-reader-mode #clbi-top-nav-wrap {
body.anecdote-reader-mode #clbi-top-nav-wrap,
body.anecdote-reader-mode #clbi-bottom-nav-wrap {
height:0 !important;
height:0 !important;
min-height:0 !important;
min-height:0 !important;
45번째 줄: 37번째 줄:
}
}


body.anecdote-reader-mode #clbi-top-nav {
body.anecdote-reader-mode #clbi-top-nav,
body.anecdote-reader-mode #clbi-bottom-nav {
transform:translateY(calc(-100% - 18px));
transform:translateY(calc(-100% - 18px));
opacity:0;
opacity:0;
97번째 줄: 90번째 줄:
top .46s cubic-bezier(.18,.78,.22,1),
top .46s cubic-bezier(.18,.78,.22,1),
bottom .46s cubic-bezier(.18,.78,.22,1);
bottom .46s cubic-bezier(.18,.78,.22,1);
}
body.anecdote-index-mode .content-wrapper {
bottom:24px !important;
}
body.anecdote-index-mode #anecdote-control-deck {
display:none !important;
}
}


107번째 줄: 109번째 줄:
padding:0 !important;
padding:0 !important;
display:block !important;
display:block !important;
overflow:visible !important;
}
}


body.anecdote-reader-mode .liberty-content-main,
body.anecdote-reader-mode .liberty-content-main,
body.anecdote-reader-mode .Liberty .content-wrapper .liberty-content .liberty-content-main {
body.anecdote-reader-mode .Liberty .content-wrapper .liberty-content .liberty-content-main {
position:relative !important;
box-sizing:border-box !important;
width:100% !important;
width:100% !important;
height:100% !important;
height:100% !important;
min-height:0 !important;
min-height:0 !important;
margin:0 !important;
margin:0 !important;
padding:0 !important;
padding:8px !important;
background:#070707 !important;
background:#1d1d1d !important;
border:1px solid !important;
border:1px solid #050505 !important;
border-color:#555555 #2b2b2b #050505 #2b2b2b !important;
border-radius:0 !important;
border-radius:0 !important;
box-shadow:
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.040),
inset 0 1px 0 #555555,
inset 0 -1px 0 rgba(0,0,0,0.72),
inset -1px 0 0 #555555,
0 12px 34px rgba(0,0,0,0.52) !important;
inset 1px 0 0 #101010,
overflow:hidden !important;
inset 0 -1px 0 #101010,
0 6px 18px rgba(0,0,0,0.34) !important;
overflow:visible !important;
}
}


136번째 줄: 142번째 줄:


body.anecdote-reader-mode .liberty-content-main .mw-parser-output {
body.anecdote-reader-mode .liberty-content-main .mw-parser-output {
position:relative !important;
box-sizing:border-box !important;
height:100% !important;
height:100% !important;
min-height:0 !important;
min-height:0 !important;
margin:0 !important;
margin:0 !important;
padding:0 !important;
padding:0 !important;
background:transparent !important;
background:#080808 !important;
overflow:hidden !important;
border:0 !important;
box-shadow:
inset 0 1px 0 #101010,
inset -1px 0 0 #101010,
inset 1px 0 0 #555555,
inset 0 -1px 0 #555555 !important;
overflow:visible !important;
}
}


153번째 줄: 167번째 줄:


/* -----------------------------------------
/* -----------------------------------------
1. Mount root and loading/error state
1. Mount root / system panel
----------------------------------------- */
----------------------------------------- */


179번째 줄: 193번째 줄:
height:100%;
height:100%;
min-height:0;
min-height:0;
padding:8px;
margin:0;
background:#070707;
padding:0;
background:transparent;
color:#e2e2e2;
color:#e2e2e2;
overflow:hidden;
overflow:visible;
isolation:isolate;
isolation:isolate;
}
.anecdote-viewer::before {
content:"";
position:absolute;
inset:0;
z-index:0;
pointer-events:none;
background:
radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.025) 0%, transparent 42%),
linear-gradient(to bottom, rgba(255,255,255,0.018) 0%, transparent 22%, rgba(0,0,0,0.22) 100%);
}
.anecdote-viewer::after {
content:"";
position:absolute;
inset:-40px 0;
z-index:1;
pointer-events:none;
opacity:.08;
background:
repeating-linear-gradient(
to bottom,
rgba(255,255,255,.08) 0,
rgba(255,255,255,.08) 1px,
transparent 2px,
transparent 5px
);
mix-blend-mode:screen;
}
.anecdote-viewer > * {
position:relative;
z-index:2;
}
.anecdote-viewer.is-loading .anecdote-stage,
.anecdote-viewer.is-error .anecdote-stage,
.anecdote-viewer.is-config-error .anecdote-stage {
min-height:420px;
}
}


.anecdote-system-panel {
.anecdote-system-panel {
height:100%;
min-height:420px;
min-height:420px;
display:flex;
display:flex;
234번째 줄: 210번째 줄:
gap:10px;
gap:10px;
background:#080808;
background:#080808;
border:1px solid #202020;
border:1px solid;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
box-shadow:
box-shadow:
inset 0 1px 0 rgba(255,255,255,.018),
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.64);
inset 0 -1px 0 rgba(0,0,0,.72),
0 12px 34px rgba(0,0,0,.52);
text-align:center;
text-align:center;
}
}
269번째 줄: 247번째 줄:
text-align:left;
text-align:left;
}
}


/* -----------------------------------------
/* -----------------------------------------
2. Main frame
2. Anecdote work index - archive record layout
----------------------------------------- */
----------------------------------------- */


.anecdote-frame {
body.anecdote-index-mode .anecdote-viewer-root {
height:auto;
min-height:0;
}
 
body.anecdote-index-mode .anecdote-viewer {
height:auto;
min-height:0;
}
 
.anecdote-work-index {
position:relative;
position:relative;
display:grid;
width:100%;
grid-template-rows:auto minmax(0, 1fr);
height:100%;
min-height:0;
min-height:0;
background:#101010;
margin:0;
border:1px solid;
padding:0;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
box-sizing:border-box;
background:transparent;
border:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}
 
.anecdote-work-index::before {
content:none;
}
 
.anecdote-work-index > * {
position:relative;
z-index:1;
}
 
.anecdote-index-record,
.anecdote-index-module {
background:#1d1d1d;
border:1px solid #050505;
border-radius:0;
box-shadow:
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.040),
inset 0 1px 0 #555555,
inset 0 -1px 0 rgba(0,0,0,0.72);
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010,
0 6px 18px rgba(0,0,0,0.34);
overflow:hidden;
overflow:hidden;
}
}


.anecdote-titlebar {
.anecdote-index-record {
height:32px;
width:100%;
min-height:32px;
margin:0 0 8px;
display:grid;
}
grid-template-columns:minmax(0,1fr) auto;
 
.anecdote-index-record-titlebar,
.anecdote-index-module-titlebar,
.anecdote-index-tutorial-titlebar {
min-height:28px;
padding:0 10px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
gap:8px;
align-items:center;
background:#101010;
padding:0 10px;
background:#1d1d1d;
border-bottom:1px solid #050505;
border-bottom:1px solid #050505;
box-shadow:
color:#e2e2e2;
inset 0 1px 0 rgba(255,255,255,.050),
font-size:11px;
inset 0 -1px 0 rgba(0,0,0,.70);
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.035);
}
}


.anecdote-title-main {
.anecdote-index-record-titlebar span:first-child,
.anecdote-index-module-titlebar span:first-child,
.anecdote-index-tutorial-titlebar span:first-child {
min-width:0;
min-width:0;
display:flex;
overflow:hidden;
align-items:center;
text-overflow:ellipsis;
white-space:nowrap;
}
 
.anecdote-index-record-titlebar span:last-child,
.anecdote-index-module-titlebar span:last-child,
.anecdote-index-tutorial-titlebar span:last-child {
flex:0 0 auto;
color:#8a8a8a;
font-size:9px;
letter-spacing:.45px;
white-space:nowrap;
}
 
.anecdote-index-record-body {
display:grid;
grid-template-columns:280px minmax(0,1fr);
gap:8px;
gap:8px;
padding:8px;
background:#080808;
border-top:1px solid rgba(255,255,255,0.018);
}
.anecdote-index-cover-bay,
.anecdote-index-id-panel,
.anecdote-index-status-panel,
.anecdote-index-synopsis-body,
.anecdote-index-ledger-list,
.anecdote-index-note-list {
background:#101010;
border:1px solid #202020;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.024),
inset 0 -1px 0 rgba(0,0,0,0.60);
}
.anecdote-index-cover-bay {
min-width:0;
padding:3px;
}
.anecdote-index-cover-frame {
position:relative;
width:100%;
height:394px;
background:#080808;
border:1px solid #050505;
box-shadow:
inset 0 1px 0 #333333,
inset 0 -1px 0 rgba(0,0,0,0.78);
overflow:hidden;
overflow:hidden;
}
}


.anecdote-title-label {
.anecdote-index-cover-frame::after {
height:18px;
content:"";
display:inline-flex;
position:absolute;
inset:0;
pointer-events:none;
background:
linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.050) 18%, transparent 36%, transparent 100%),
linear-gradient(to bottom, rgba(255,255,255,0.030) 0%, transparent 38%, rgba(0,0,0,0.28) 100%);
box-shadow:inset 0 0 22px rgba(0,0,0,0.44);
}
 
.anecdote-index-cover-frame img,
.anecdote-index-cover-placeholder {
display:block;
width:100%;
height:100%;
object-fit:cover;
background:#070707;
filter:grayscale(.16) contrast(1.04) brightness(.94);
}
 
.anecdote-index-cover-placeholder {
display:flex;
align-items:center;
align-items:center;
justify-content:center;
justify-content:center;
padding:0 6px;
color:#626262;
font-size:10px;
font-weight:700;
letter-spacing:.6px;
}
 
.anecdote-index-cover-meta {
display:grid;
grid-template-columns:1fr;
gap:3px;
margin-top:3px;
}
 
.anecdote-index-cover-meta div,
.anecdote-index-status-row,
.anecdote-index-note-list div {
display:grid;
grid-template-columns:72px minmax(0,1fr);
align-items:center;
min-height:24px;
gap:6px;
padding:0 7px;
background:#080808;
background:#080808;
border:1px solid #202020;
border:1px solid #202020;
border-top-color:#333333;
border-top-color:#333333;
border-bottom-color:#050505;
border-bottom-color:#050505;
color:#c8c8c8;
box-sizing:border-box;
}
 
.anecdote-index-cover-meta span,
.anecdote-index-status-row span,
.anecdote-index-note-list span,
.anecdote-index-kicker {
color:#8a8a8a;
font-size:9px;
font-size:9px;
font-weight:700;
font-weight:700;
letter-spacing:.65px;
letter-spacing:.45px;
line-height:1;
white-space:nowrap;
white-space:nowrap;
}
}


.anecdote-title-text {
.anecdote-index-cover-meta strong,
.anecdote-index-status-row strong,
.anecdote-index-note-list strong {
min-width:0;
min-width:0;
overflow:hidden;
overflow:hidden;
text-overflow:ellipsis;
text-overflow:ellipsis;
white-space:nowrap;
white-space:nowrap;
color:#e2e2e2;
color:#c8c8c8;
font-size:12px;
font-size:10px;
font-weight:700;
line-height:1;
}
 
.anecdote-index-main {
min-width:0;
display:flex;
flex-direction:column;
gap:8px;
}
 
.anecdote-index-top-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 252px;
gap:8px;
}
 
.anecdote-index-id-panel,
.anecdote-index-status-panel,
.anecdote-index-synopsis-body,
.anecdote-index-ledger-list,
.anecdote-index-note-list {
padding:7px;
}
 
.anecdote-index-title {
margin:4px 0 5px;
color:#ffffff;
font-size:26px;
font-weight:700;
font-weight:700;
line-height:1.2;
text-shadow:1px 1px 0 #000;
}
.anecdote-index-author {
margin:0;
color:#8a8a8a;
font-size:11px;
line-height:1.4;
}
}


.anecdote-title-meta {
.anecdote-index-tags {
display:flex;
display:flex;
flex-wrap:wrap;
gap:4px;
margin-top:8px;
}
.anecdote-index-tags span {
display:inline-flex;
align-items:center;
align-items:center;
gap:6px;
min-height:20px;
color:#8a8a8a;
padding:0 7px;
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8;
font-size:10px;
font-size:10px;
font-weight:700;
font-weight:700;
letter-spacing:.35px;
line-height:1;
white-space:nowrap;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.018);
}
 
.anecdote-index-status-panel {
display:flex;
flex-direction:column;
gap:3px;
}
 
.anecdote-index-status-row {
grid-template-columns:58px minmax(0,1fr);
}
}


.anecdote-progress-meter {
.anecdote-index-action-deck {
width:92px;
display:grid;
height:8px;
grid-template-columns:repeat(3, minmax(0,1fr));
padding:1px;
gap:4px;
background:#050505;
padding:3px;
background:#080808;
border:1px solid #202020;
border:1px solid #202020;
box-shadow:inset 0 1px 0 rgba(255,255,255,.018);
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.020),
inset 0 -1px 0 rgba(0,0,0,0.58);
}
 
.anecdote-index-action-button {
position:relative;
display:grid;
grid-template-columns:minmax(0,1fr) 12px;
column-gap:7px;
align-items:center;
justify-content:stretch;
width:100%;
min-height:32px;
height:32px;
margin:0;
padding:0 8px;
box-sizing:border-box;
background:linear-gradient(to bottom, #141414 0%, #101010 54%, #0c0c0c 100%);
border:1px solid;
border-color:#333333 #202020 #181818 #202020;
color:#c8c8c8 !important;
font-size:11px;
font-weight:700;
line-height:1;
text-align:left;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.040);
cursor:pointer;
overflow:hidden;
}
 
.anecdote-index-action-button span {
justify-self:end;
color:#8a8a8a;
font-size:12px;
line-height:1;
}
 
.anecdote-index-action-button:hover {
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 54%, #101010 100%);
border-color:#444444 #333333 #202020 #333333;
color:#ffffff !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.060),
0 0 0 1px rgba(255,255,255,0.018);
}
 
.anecdote-index-action-button:hover span {
color:#ffffff;
}
}


.anecdote-progress-fill {
.anecdote-index-action-button:active,
display:block;
.anecdote-index-action-button.is-primary:active {
width:0%;
background:linear-gradient(to bottom, #0b0b0b 0%, #101010 55%, #171717 100%);
height:100%;
border-color:#050505 #202020 #333333 #202020;
background:#8a8a8a;
box-shadow:
box-shadow:0 0 7px rgba(226,226,226,.12);
inset 1px 1px 3px rgba(0,0,0,0.82),
transition:width .18s ease;
inset -1px -1px 0 rgba(255,255,255,0.035);
}
}


/* -----------------------------------------
.anecdote-index-action-button.is-primary {
3. Stage
color:#e2e2e2 !important;
----------------------------------------- */
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 56%, #101010 100%);
border-top-color:#555555;
}


.anecdote-stage {
.anecdote-index-action-button.is-disabled {
position:relative;
opacity:.45;
min-height:0;
pointer-events:none;
background:#060606;
cursor:default;
overflow:auto;
}
}


.anecdote-backdrop {
.anecdote-index-synopsis-panel {
position:absolute;
min-width:0;
inset:0;
background:#1d1d1d;
z-index:0;
border:1px solid #050505;
background:#050505;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010;
overflow:hidden;
overflow:hidden;
}
}


.anecdote-backdrop-image {
.anecdote-index-synopsis-body {
position:absolute;
margin:0;
inset:0;
border:0;
background-position:center center;
border-top:1px solid rgba(255,255,255,0.018);
background-size:cover;
}
background-repeat:no-repeat;
 
opacity:.42;
.anecdote-index-fade-wrapper {
filter:grayscale(1) contrast(1.08) brightness(.72);
position:relative;
transform:scale(1.02);
max-height:76px;
overflow:hidden;
transition:max-height .35s ease;
}
}


.anecdote-backdrop::before {
.anecdote-index-fade-wrapper::after {
content:"";
content:"";
position:absolute;
position:absolute;
inset:0;
left:0;
right:0;
bottom:0;
z-index:1;
z-index:1;
height:48px;
pointer-events:none;
pointer-events:none;
background:
background:linear-gradient(to bottom, rgba(16,16,16,0), #101010);
radial-gradient(ellipse at 50% 38%, transparent 0%, transparent 46%, rgba(0,0,0,.42) 100%),
transition:opacity .25s ease;
linear-gradient(to bottom, rgba(0,0,0,.20) 0%, rgba(0,0,0,.52) 100%);
}
 
.anecdote-index-fade-wrapper.expanded {
max-height:600px;
}
}


.anecdote-backdrop::after {
.anecdote-index-fade-wrapper.expanded::after {
content:"";
opacity:0;
position:absolute;
inset:-28px 0;
z-index:2;
pointer-events:none;
opacity:.14;
background:
repeating-linear-gradient(
to bottom,
rgba(255,255,255,.055) 0,
rgba(255,255,255,.055) 1px,
transparent 2px,
transparent 4px
);
mix-blend-mode:screen;
}
}


.anecdote-stage-grid {
.anecdote-index-fade-text {
position:relative;
position:relative;
z-index:2;
z-index:0;
min-height:100%;
color:#d8d8d8;
display:grid;
font-size:11px;
grid-template-columns:190px minmax(0,1fr);
line-height:1.65;
gap:8px;
}
padding:8px;
 
.anecdote-index-fade-text p {
margin:0 0 8px;
}
}


.anecdote-portrait-bay {
.anecdote-index-read-more {
position:relative;
display:inline-flex;
min-height:100%;
align-items:center;
min-height:21px;
margin:5px 0 0;
padding:0 7px;
background:#080808;
background:#080808;
border:1px solid #202020;
border:1px solid #202020;
box-shadow:
border-top-color:#333333;
inset 0 1px 0 rgba(255,255,255,.018),
border-bottom-color:#050505;
inset 0 -1px 0 rgba(0,0,0,.62);
color:#c8c8c8;
overflow:hidden;
font:inherit;
}
font-size:10px;
 
.anecdote-portrait-bay::before {
content:"PORTRAIT BAY";
position:absolute;
left:8px;
top:7px;
z-index:2;
color:#626262;
font-size:9px;
font-weight:700;
font-weight:700;
letter-spacing:.55px;
line-height:1;
text-shadow:1px 1px 0 #000;
text-shadow:1px 1px 0 #000;
cursor:pointer;
}
}


.anecdote-portrait-image {
.anecdote-index-read-more:hover {
position:absolute;
color:#ffffff;
left:50%;
background:#141414;
bottom:0;
width:170px;
max-height:92%;
object-fit:contain;
object-position:center bottom;
transform:translateX(-50%);
filter:grayscale(.22) contrast(1.04) drop-shadow(0 8px 18px rgba(0,0,0,.65));
opacity:1;
}
}


.anecdote-portrait-empty {
.anecdote-index-read-more.hidden {
position:absolute;
display:none;
left:50%;
top:50%;
width:92px;
height:92px;
transform:translate(-50%, -50%);
display:flex;
align-items:center;
justify-content:center;
background:#101010;
border:1px solid #202020;
color:#333333;
font-size:28px;
font-weight:700;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.018),
inset 0 -1px 0 rgba(0,0,0,.62);
}
}


.anecdote-display {
.anecdote-index-lower-grid {
position:relative;
min-width:0;
min-height:0;
display:grid;
display:grid;
grid-template-rows:1fr auto;
grid-template-columns:minmax(0,1fr) 300px;
gap:8px;
gap:8px;
}
}


.anecdote-entry-card {
.anecdote-index-ledger-stack {
position:relative;
display:grid;
display:grid;
grid-template-rows:auto minmax(0, 1fr) auto;
grid-template-columns:1fr;
min-height:0;
gap:8px;
background:rgba(8,8,8,.90);
min-width:0;
border:1px solid #202020;
}
box-shadow:
 
inset 0 1px 0 rgba(255,255,255,.018),
.anecdote-index-ledger-list {
inset 0 -1px 0 rgba(0,0,0,.62),
display:flex;
inset 0 0 22px rgba(0,0,0,.72);
flex-direction:column;
overflow:hidden;
gap:3px;
border:0;
border-top:1px solid rgba(255,255,255,0.018);
}
}


.anecdote-entry-card::before {
.anecdote-index-entry-row {
content:"";
display:grid;
position:absolute;
grid-template-columns:54px minmax(0,1fr) 72px 12px;
inset:0;
align-items:center;
z-index:0;
gap:6px;
pointer-events:none;
min-height:30px;
background:
padding:0 7px;
linear-gradient(105deg, transparent 0%, rgba(255,255,255,.032) 18%, transparent 38%, transparent 100%),
box-sizing:border-box;
radial-gradient(ellipse at 100% 100%, rgba(255,255,255,.028) 0%, transparent 54%);
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8 !important;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
}
}


.anecdote-entry-card > * {
.anecdote-index-entry-row.is-open:hover {
position:relative;
background:#141414;
z-index:1;
border-color:#444444 #333333 #101010 #333333;
color:#ffffff !important;
}
}


.anecdote-speaker-row {
.anecdote-index-entry-row.is-locked {
height:34px;
opacity:.55;
display:flex;
align-items:center;
gap:7px;
padding:0 9px;
background:#101010;
border-bottom:1px solid #050505;
box-shadow:inset 0 1px 0 rgba(255,255,255,.028);
}
}


.anecdote-speaker-kicker {
.anecdote-index-entry-no,
height:18px;
.anecdote-index-entry-status,
display:inline-flex;
.anecdote-index-entry-arrow {
align-items:center;
justify-content:center;
padding:0 6px;
background:#050505;
border:1px solid #202020;
color:#8a8a8a;
color:#8a8a8a;
font-size:9px;
font-size:9px;
font-weight:700;
font-weight:700;
letter-spacing:.45px;
letter-spacing:.45px;
white-space:nowrap;
}
}


.anecdote-speaker-name {
.anecdote-index-entry-title {
min-width:0;
min-width:0;
overflow:hidden;
overflow:hidden;
text-overflow:ellipsis;
text-overflow:ellipsis;
white-space:nowrap;
white-space:nowrap;
color:#e2e2e2;
font-size:12px;
font-size:12px;
font-weight:700;
font-weight:700;
text-shadow:1px 1px 0 #000;
color:currentColor;
}
 
.anecdote-index-entry-status {
justify-self:end;
}
}


.anecdote-entry-body {
.anecdote-index-entry-arrow {
min-height:0;
justify-self:end;
padding:18px 20px;
font-size:12px;
overflow:auto;
line-height:1;
color:#e2e2e2;
font-size:14px;
line-height:1.78;
word-break:keep-all;
overflow-wrap:break-word;
}
}


.anecdote-entry-body p {
.anecdote-index-note-list {
margin:0 0 10px;
display:flex;
flex-direction:column;
gap:3px;
border:0;
border-top:1px solid rgba(255,255,255,0.018);
}
}


.anecdote-entry-body p:last-child {
.anecdote-index-note-list div {
margin-bottom:0;
grid-template-columns:52px minmax(0,1fr);
}
}


.anecdote-entry-card.is-narration .anecdote-entry-body {
.anecdote-index-tutorial-overlay {
display:flex;
position:fixed;
inset:0;
z-index:99991;
background:rgba(0,0,0,.62);
backdrop-filter:blur(4px);
align-items:center;
align-items:center;
font-size:15px;
justify-content:center;
line-height:1.86;
color:#e6e6e6;
}
}


.anecdote-entry-card.is-system .anecdote-entry-body {
.anecdote-index-tutorial-popup {
font-family:Consolas, Monaco, monospace !important;
position:relative;
font-size:12px;
width:420px;
color:#c8c8c8;
max-width:calc(100vw - 32px);
background:#1d1d1d;
border:1px solid #050505;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010,
0 12px 34px rgba(0,0,0,0.62);
color:#e2e2e2;
text-align:left;
animation:anecdote-fade-in-up .28s ease-out;
overflow:hidden;
}
}


.anecdote-entry-card.is-chat .anecdote-entry-body {
.anecdote-index-tutorial-body {
font-size:13px;
padding:8px;
line-height:1.62;
background:#080808;
}
}


.anecdote-chat-card {
.anecdote-index-tutorial-popup p {
display:grid;
margin:0 0 8px;
grid-template-columns:42px minmax(0,1fr);
font-size:11px;
gap:9px;
line-height:1.6;
align-items:start;
color:#c8c8c8;
}
}


.anecdote-chat-avatar {
.anecdote-index-tutorial-popup strong {
width:42px;
font-weight:700;
height:42px;
color:#ffffff;
background:#101010;
border:1px solid #202020;
object-fit:cover;
object-position:center center;
}
}


.anecdote-chat-bubble {
.anecdote-index-tutorial-popup code {
min-width:0;
padding:1px 5px;
padding:9px 10px;
background:#101010;
background:#101010;
border:1px solid #202020;
border:1px solid #202020;
box-shadow:
color:#e2e2e2;
inset 0 1px 0 rgba(255,255,255,.018),
inset 0 -1px 0 rgba(0,0,0,.55);
}
}


.anecdote-entry-footer {
.anecdote-index-tutorial-popup label {
height:29px;
display:flex;
display:flex;
align-items:center;
align-items:center;
justify-content:space-between;
gap:6px;
gap:8px;
min-height:24px;
padding:0 9px;
background:#101010;
border-top:1px solid #050505;
color:#8a8a8a;
font-size:10px;
font-size:10px;
font-weight:700;
font-weight:700;
letter-spacing:.35px;
color:#8a8a8a;
}
}


.anecdote-entry-hint {
.anecdote-index-close-btn {
color:#626262;
position:absolute;
top:3px;
right:5px;
z-index:2;
width:22px;
height:22px;
padding:0;
background:#141414;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8;
font-size:18px;
line-height:18px;
font-weight:700;
cursor:pointer;
}
}


.anecdote-entry-count {
.anecdote-index-close-btn:hover {
color:#8a8a8a;
background:#202020;
font-family:Consolas, Monaco, monospace !important;
color:#ffffff;
}
}


/* -----------------------------------------
/* -----------------------------------------
4. Inline controls and log
2. Original Crimson-Leather reading frame
----------------------------------------- */
----------------------------------------- */


.anecdote-inline-controls {
.anecdote-original-frame {
display:grid;
position:relative;
grid-template-columns:1fr 1fr 1fr;
width:100%;
gap:5px;
height:100%;
min-height:0;
margin:0;
padding:0;
background:transparent;
border:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}
 
.anecdote-original-frame::before,
.anecdote-original-frame::after {
content:none;
}
 
.anecdote-original-scroll {
position:relative;
z-index:2;
width:100%;
height:100%;
min-height:0;
overflow-y:auto;
overflow-x:hidden;
padding:10px 30px 250px;
background:transparent;
scroll-behavior:smooth;
}
 
.anecdote-original-scroll::-webkit-scrollbar {
width:6px;
}
 
.anecdote-original-scroll::-webkit-scrollbar-track {
background:#080808;
}
 
.anecdote-original-scroll::-webkit-scrollbar-thumb {
background:#333333;
border-radius:0;
}
 
.anecdote-original-scroll::-webkit-scrollbar-thumb:hover {
background:#555555;
}
}


.anecdote-button,
.anecdote-back-button {
.anecdote-link-button {
position:relative;
position:relative;
display:flex;
z-index:20;
display:inline-flex;
align-items:center;
align-items:center;
justify-content:center;
justify-content:center;
min-height:28px;
min-height:26px;
padding:0 9px;
margin:0 0 20px;
background:linear-gradient(to bottom,#171717 0%,#141414 56%,#101010 100%);
padding:0 10px;
background:linear-gradient(to bottom, #141414 0%, #101010 54%, #0c0c0c 100%);
border:1px solid;
border:1px solid;
border-color:#333333 #202020 #050505 #202020;
border-color:#333333 #202020 #181818 #202020;
border-radius:0;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.040);
color:#c8c8c8 !important;
color:#c8c8c8 !important;
font-size:10px;
font-size:11px;
font-weight:700;
font-weight:700;
line-height:1;
line-height:1;
text-align:center;
text-decoration:none !important;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
text-shadow:1px 1px 0 #000;
cursor:pointer;
cursor:pointer;
box-shadow:inset 0 1px 0 rgba(255,255,255,.040);
user-select:none;
}
}


.anecdote-button:hover,
.anecdote-back-button:hover {
.anecdote-link-button:hover {
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 54%, #101010 100%);
background:linear-gradient(to bottom,#202020 0%,#1a1a1a 56%,#141414 100%);
border-color:#444444 #333333 #202020 #333333;
border-color:#444444 #333333 #101010 #333333;
color:#ffffff !important;
color:#ffffff !important;
}
}


.anecdote-button:active,
.anecdote-floating-title {
.anecdote-link-button:active {
position:absolute;
background:linear-gradient(to bottom,#0c0c0c 0%,#101010 55%,#171717 100%);
top:80px;
border-color:#050505 #202020 #333333 #202020;
left:0;
box-shadow:
width:100%;
inset 1px 1px 3px rgba(0,0,0,.82),
text-align:center;
inset -1px -1px 0 rgba(255,255,255,.035);
font-size:2em;
font-weight:700;
opacity:1;
transition:opacity .6s ease;
pointer-events:none;
z-index:10;
color:#ffffff;
text-shadow:1px 1px 0 #000, 0 0 12px rgba(255,255,255,.08);
}
 
.anecdote-floating-title.fade-out {
opacity:0;
}
 
.anecdote-narration-box {
position:relative;
padding-top:40px;
}
 
.anecdote-prologueinfo {
display:block;
font-size:1.05em;
line-height:1.8;
margin:60px auto 16px auto;
width:490px;
max-width:calc(100% - 40px);
text-align:left;
opacity:1;
transition:opacity .6s ease;
color:#d8d8d8;
}
 
.anecdote-prologueinfo.fade-out {
opacity:0;
}
 
.anecdote-flow {
position:relative;
}
 
.anecdote-narration,
.anecdote-flow .narration {
display:block;
font-size:1.05em;
line-height:1.8;
margin:0 0 16px;
opacity:1;
text-align:center;
transition:opacity .3s ease;
color:#e2e2e2;
}
 
.anecdote-narration.darken,
.anecdote-narration.tone-darken,
.anecdote-narration .darken,
.anecdote-flow .darken {
color:#6c6c6c;
}
 
.anecdote-narration.typing {
white-space:pre-wrap;
}
 
.anecdote-narration.is-image {
text-align:center;
}
 
.anecdote-narration .center-image,
.anecdote-narration img.center-image,
.anecdote-narration.is-image img {
display:block;
margin:30px auto;
max-width:70%;
height:auto;
border:1px solid #202020;
box-shadow:0 8px 22px rgba(0,0,0,.58);
filter:grayscale(.18) contrast(1.03);
}
}


.anecdote-button[disabled],
.anecdote-narration object {
.anecdote-button.is-disabled,
display:inline-block;
.anecdote-link-button.is-disabled {
vertical-align:-2px;
opacity:.42;
cursor:default;
pointer-events:none;
}
}


.anecdote-button.is-active {
.anecdote-highlighted,
.highlighted {
color:#ffffff !important;
color:#ffffff !important;
border-color:#555555 #333333 #101010 #333333;
text-shadow:0 0 4px #ffffff, 0 0 10px #ffffff;
background:linear-gradient(to bottom,#252525 0%,#1d1d1d 56%,#141414 100%);
transition:all .3s ease;
}
}


.anecdote-log-panel {
/* -----------------------------------------
position:absolute;
3. Hint / key box
right:8px;
----------------------------------------- */
bottom:45px;
 
z-index:8;
.anecdote-narration-hint {
width:calc(100% - 214px);
margin:40px auto 0 auto;
max-height:310px;
padding:10px 9px;
display:none;
border-radius:0;
background:#080808;
background:#101010;
color:#c8c8c8;
border:1px solid;
border:1px solid;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
font-size:.95em;
display:block;
font-family:inherit;
text-align:center;
width:fit-content;
opacity:1;
cursor:pointer;
transition:transform .1s ease, opacity .3s ease;
box-shadow:
box-shadow:
inset 0 1px 0 rgba(255,255,255,.035),
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.70),
inset 0 -1px 0 rgba(0,0,0,.72);
0 8px 24px rgba(0,0,0,.58);
text-shadow:1px 1px 0 #000;
overflow:hidden;
}
 
.anecdote-narration-hint:active {
transform:scale(.97);
opacity:.8;
}
 
.anecdote-narration-hint.hidden {
opacity:.2;
pointer-events:none;
}
 
.anecdote-narration-hint.dimmed {
opacity:.2;
}
 
.anecdote-narration-hint.reappear {
animation:anecdote-hint-pulse 2.2s ease-in-out infinite;
}
 
@keyframes anecdote-hint-pulse {
0% { opacity:.2; }
50% { opacity:1; }
100% { opacity:.2; }
}
 
.anecdote-key-box {
display:inline-block;
padding:4px 10px;
border:2px solid #555555;
border-radius:0;
background:#080808;
font-size:.9em;
margin-right:6px;
color:#eeeeee;
transition:all .1s ease;
box-shadow:0 2px 4px rgba(0,0,0,.5);
transform:translateY(0);
}
 
.anecdote-key-box.pressed {
transform:translateY(2px);
box-shadow:0 1px 2px rgba(0,0,0,.4);
background:#101010;
}
 
/* -----------------------------------------
4. Timeline sidebar - original placement
----------------------------------------- */
 
.timeline-sidebar,
.anecdote-timeline-sidebar {
position:absolute;
right:-250px;
top:112px;
z-index:5;
width:220px;
padding:12px 0;
font-size:.9em;
color:#aaa;
line-height:1.4;
}
 
.timeline-item {
display:flex;
align-items:flex-start;
gap:10px;
opacity:0;
cursor:pointer;
animation:anecdote-fade-slide-up .5s ease-out forwards;
}
 
.timeline-item.timeline-0 { margin-bottom:43px; }
.timeline-item.timeline-1 { margin-bottom:43px; }
.timeline-item.timeline-2 { margin-bottom:122px; }
.timeline-item.timeline-3 { margin-bottom:43px; }
.timeline-item.timeline-4 { margin-bottom:70px; }
 
.timeline-dot {
width:7px;
height:7px;
margin-top:6px;
border-radius:50%;
background:#ffffff;
border:2px solid #333333;
box-shadow:0 0 3px rgba(181,181,181,.6);
flex-shrink:0;
}
 
.timeline-content {
font-size:.95em;
line-height:1.6;
color:#dbdbdb;
text-shadow:1px 1px 0 #000;
}
 
.timeline-content strong {
color:#ffffff;
}
 
/* -----------------------------------------
5. Chat bubbles - original structure
----------------------------------------- */
 
.chat-wrapper {
display:flex;
flex-direction:row-reverse;
align-items:flex-start;
gap:10px;
margin-top:12px;
opacity:0;
}
 
.chat-wrapper.left {
flex-direction:row;
animation:anecdote-slide-in-left .1s ease-out forwards;
}
 
.chat-wrapper.right {
animation:anecdote-slide-in-right .1s ease-out forwards;
}
}


.anecdote-viewer.is-log-open .anecdote-log-panel {
.chat-avatar {
display:block;
width:66px;
height:66px;
object-fit:cover;
margin-bottom:-40px;
background:#080808;
border:1px solid #202020;
box-shadow:0 3px 9px rgba(0,0,0,.45);
}
}


.anecdote-log-titlebar {
.chat-block {
height:25px;
display:flex;
display:flex;
align-items:center;
flex-direction:column;
justify-content:space-between;
max-width:60%;
gap:8px;
}
padding:0 8px;
 
background:#1d1d1d;
.chat-block.left {
border-bottom:1px solid #050505;
align-items:flex-start;
color:#c8c8c8;
}
font-size:10px;
 
.chat-block.right {
align-items:flex-end;
}
 
.chat-name {
font-size:1em;
color:#5eb1ff;
margin-bottom:3px;
text-align:right;
font-weight:700;
font-weight:700;
animation:anecdote-slide-in-right .2s ease-out forwards;
opacity:0;
text-shadow:1px 1px 0 #000;
text-shadow:1px 1px 0 #000;
}
}


.anecdote-log-list {
.chat-name.left {
max-height:284px;
text-align:left;
overflow:auto;
animation:anecdote-slide-in-left .2s ease-out forwards;
padding:7px;
}
 
.chat-name small {
font-size:.78em;
color:#8a8a8a;
font-weight:700;
margin-left:4px;
}
}


.anecdote-log-item {
.chat-name.neutral { color:#E7BB39; }
margin:0 0 5px;
.chat-name.hostile { color:#e73939; }
padding:7px 8px;
.chat-name.friendly { color:#395ee7; }
 
.chat-bubble {
background:#101010;
background:#101010;
color:#ffffff;
padding:10px 14px;
font-size:1em;
line-height:1.6;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.72),
0 2px 8px rgba(0,0,0,.34);
white-space:pre-wrap;
max-width:100%;
text-align:left;
border:1px solid #202020;
border:1px solid #202020;
color:#c8c8c8;
border-top-color:#333333;
font-size:11px;
border-bottom-color:#050505;
line-height:1.5;
}
 
.chat-bubble.right {
border-radius:12px 0 12px 12px;
margin-right:0;
margin-left:40px;
}
 
.chat-bubble.left {
border-radius:0 12px 12px 12px;
margin-left:0;
margin-right:40px;
}
 
.fade-in-up {
animation:anecdote-fade-in-up .6s ease-out forwards;
opacity:0;
}
}


.anecdote-log-item:last-child {
.radio-icon {
margin-bottom:0;
vertical-align:text-bottom;
margin-right:4px;
fill:currentColor;
height:1.3em;
}
}


.anecdote-log-speaker {
/* -----------------------------------------
6. Original inline effects
----------------------------------------- */
 
.dot-fall-soft {
display:inline-block;
font-size:1.2em;
line-height:1.2;
font-weight:700;
color:#b4b4b4;
white-space:pre;
}
 
.dot-fall-soft span {
display:block;
display:block;
margin:0 0 3px;
opacity:.1;
color:#8a8a8a;
transform:translateY(-10px);
font-size:9px;
animation:anecdote-drop-fade .4s ease-out forwards;
font-weight:700;
}
letter-spacing:.35px;
 
.dot-fall-soft span:nth-child(1) { animation-delay:0s; }
.dot-fall-soft span:nth-child(2) { animation-delay:.4s; }
.dot-fall-soft span:nth-child(3) { animation-delay:.8s; }
.dot-fall-soft span:nth-child(4) { animation-delay:1.2s; }
.dot-fall-soft span:nth-child(5) { animation-delay:1.6s; }
 
.quick-swap {
display:inline-block;
position:relative;
transition:opacity .3s ease;
white-space:nowrap;
}
 
.quick-swap span {
display:inline-block;
opacity:1;
transition:opacity .15s ease;
}
 
.quick-swap.fade-out span {
opacity:0;
transform:translateY(-2px);
}
}


/* -----------------------------------------
/* -----------------------------------------
5. Bottom control deck
7. Control deck
----------------------------------------- */
----------------------------------------- */


818번째 줄: 1,368번째 줄:
.anecdote-control-frame {
.anecdote-control-frame {
display:grid;
display:grid;
grid-template-columns:120px 1fr 1fr 1fr 1fr 1fr 120px;
grid-template-columns:120px 1fr 1fr 1fr 1fr 120px;
gap:4px;
gap:4px;
min-height:38px;
min-height:38px;
847번째 줄: 1,397번째 줄:
}
}


#anecdote-control-deck .anecdote-button,
.anecdote-button,
#anecdote-control-deck .anecdote-link-button {
.anecdote-link-button {
display:flex;
align-items:center;
justify-content:center;
min-height:28px;
min-height:28px;
box-sizing:border-box;
padding:0 8px;
background:linear-gradient(to bottom,#171717 0%,#141414 56%,#101010 100%);
border:1px solid;
border-color:#333333 #202020 #050505 #202020;
border-radius:0;
color:#c8c8c8 !important;
font-size:10px;
font-weight:700;
line-height:1;
text-align:center;
text-decoration:none !important;
cursor:pointer;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,.040);
}
.anecdote-button:hover,
.anecdote-link-button:hover {
background:linear-gradient(to bottom,#202020 0%,#1a1a1a 56%,#141414 100%);
border-color:#444444 #333333 #101010 #333333;
color:#ffffff !important;
}
.anecdote-button:active,
.anecdote-link-button:active,
.anecdote-button.is-active {
background:linear-gradient(to bottom,#0c0c0c 0%,#101010 55%,#171717 100%);
border-color:#050505 #202020 #333333 #202020;
box-shadow:inset 1px 1px 3px rgba(0,0,0,.82);
}
.anecdote-button:disabled,
.anecdote-link-button.is-disabled {
opacity:.45;
cursor:default;
pointer-events:none;
}
}


/* -----------------------------------------
/* -----------------------------------------
6. Compact fallback
8. Animations
----------------------------------------- */
 
@keyframes anecdote-slide-in-right {
from { transform:translateX(10px); opacity:0; }
to { transform:translateX(0); opacity:1; }
}
 
@keyframes anecdote-slide-in-left {
from { transform:translateX(-10px); opacity:0; }
to { transform:translateX(0); opacity:1; }
}
 
@keyframes anecdote-fade-in-up {
0% { opacity:0; transform:translateY(10px); }
100% { opacity:1; transform:translateY(0); }
}
 
@keyframes anecdote-fade-slide-up {
0% { opacity:0; transform:translateY(8px); }
100% { opacity:1; transform:translateY(0); }
}
 
@keyframes anecdote-drop-fade {
0% { opacity:.1; transform:translateY(-10px); }
100% { opacity:1; transform:translateY(0); }
}
 
/* -----------------------------------------
9. Compact fallback
----------------------------------------- */
----------------------------------------- */


@media (max-width:1040px) {
@media (max-width:1040px) {
.anecdote-index-container {
flex-direction:column;
padding:18px;
}
.anecdote-index-cover,
.anecdote-index-cover img,
.anecdote-index-cover-placeholder {
width:100%;
max-width:250px;
}
.anecdote-index-section {
padding:10px 18px;
}
body.anecdote-reader-mode .content-wrapper {
body.anecdote-reader-mode .content-wrapper {
width:calc(100vw - 24px) !important;
width:calc(100vw - 24px) !important;
866번째 줄: 1,501번째 줄:
}
}


.anecdote-stage-grid {
.timeline-sidebar,
grid-template-columns:1fr;
.anecdote-timeline-sidebar {
}
 
.anecdote-portrait-bay {
display:none;
display:none;
}
.anecdote-log-panel {
left:8px;
right:8px;
width:auto;
}
}


886번째 줄: 1,512번째 줄:
.anecdote-control-brand {
.anecdote-control-brand {
display:none;
display:none;
}
.chat-block {
max-width:74%;
}
}
}
}

2026년 6월 2일 (화) 01:10 기준 최신판

/* =========================================
COASTLINE: BLACK ICE - AnecdoteViewer
Original Crimson-Leather flow / CLBI platform skin
========================================= */

/*
기준
-----------------------------------------
이 파일은 에넥도트 감상 모드의 화면 전환과 뷰어 내부 레이아웃을 담당한다.
위키 셸 전환은 AnecdoteViewer 전용 모드가 맡고, 뷰어 내부 배치·진행 방식은
폐기 전 Crimson-Leather 원본 프로젝트의 container3 / narration / chat / timeline 구조를 따른다.
*/

/* -----------------------------------------
0. Reader mode shell
----------------------------------------- */

html.anecdote-reader-mode-html {
height:100% !important;
overflow:hidden !important;
}

body.anecdote-reader-mode {
min-width:0 !important;
height:100vh !important;
overflow:hidden !important;
}

body.anecdote-reader-mode #clbi-top-nav-wrap,
body.anecdote-reader-mode #clbi-bottom-nav-wrap {
height:0 !important;
min-height:0 !important;
margin:0 auto !important;
padding:0 !important;
overflow:visible !important;
pointer-events:none;
}

body.anecdote-reader-mode #clbi-top-nav,
body.anecdote-reader-mode #clbi-bottom-nav {
transform:translateY(calc(-100% - 18px));
opacity:0;
pointer-events:none;
transition:
transform .46s cubic-bezier(.18,.78,.22,1),
opacity .28s ease;
}

body.anecdote-reader-mode #clbi-left-sidebar,
body.anecdote-reader-mode #clbi-right-sidebar {
position:fixed !important;
top:0 !important;
z-index:20 !important;
transform:translateY(115vh);
opacity:0;
pointer-events:none !important;
transition:
transform .54s cubic-bezier(.18,.78,.22,1),
opacity .28s ease;
}

body.anecdote-reader-mode #clbi-left-sidebar {
left:calc(50vw - 730px);
}

body.anecdote-reader-mode #clbi-right-sidebar {
right:calc(50vw - 730px);
}

body.anecdote-reader-mode .content-wrapper {
position:fixed !important;
left:50% !important;
top:24px !important;
bottom:62px !important;
z-index:30 !important;
width:1000px !important;
min-width:1000px !important;
max-width:1000px !important;
height:auto !important;
display:block !important;
grid-template-columns:none !important;
gap:0 !important;
margin:0 !important;
padding:0 !important;
box-sizing:border-box !important;
transform:translateX(-50%) !important;
overflow:visible !important;
transition:
width .46s cubic-bezier(.18,.78,.22,1),
top .46s cubic-bezier(.18,.78,.22,1),
bottom .46s cubic-bezier(.18,.78,.22,1);
}


body.anecdote-index-mode .content-wrapper {
bottom:24px !important;
}

body.anecdote-index-mode #anecdote-control-deck {
display:none !important;
}

body.anecdote-reader-mode .container-fluid.liberty-content {
width:100% !important;
height:100% !important;
max-width:none !important;
min-width:0 !important;
margin:0 !important;
padding:0 !important;
display:block !important;
overflow:visible !important;
}

body.anecdote-reader-mode .liberty-content-main,
body.anecdote-reader-mode .Liberty .content-wrapper .liberty-content .liberty-content-main {
position:relative !important;
box-sizing:border-box !important;
width:100% !important;
height:100% !important;
min-height:0 !important;
margin:0 !important;
padding:8px !important;
background:#1d1d1d !important;
border:1px solid #050505 !important;
border-radius:0 !important;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010,
0 6px 18px rgba(0,0,0,0.34) !important;
overflow:visible !important;
}

body.anecdote-reader-mode .liberty-content-header,
body.anecdote-reader-mode .catlinks,
body.anecdote-reader-mode .printfooter,
body.anecdote-reader-mode .liberty-footer,
body.anecdote-reader-mode footer {
display:none !important;
}

body.anecdote-reader-mode .liberty-content-main .mw-parser-output {
position:relative !important;
box-sizing:border-box !important;
height:100% !important;
min-height:0 !important;
margin:0 !important;
padding:0 !important;
background:#080808 !important;
border:0 !important;
box-shadow:
inset 0 1px 0 #101010,
inset -1px 0 0 #101010,
inset 1px 0 0 #555555,
inset 0 -1px 0 #555555 !important;
overflow:visible !important;
}

body.anecdote-reader-mode .mw-parser-output > p:empty {
display:none !important;
}

body.anecdote-reader-mode #dev-tools-panel {
z-index:99998 !important;
}

/* -----------------------------------------
1. Mount root / system panel
----------------------------------------- */

.anecdote-viewer-root,
.anecdote-viewer-root *,
.anecdote-viewer-root *::before,
.anecdote-viewer-root *::after {
box-sizing:border-box;
}

.anecdote-viewer-root {
width:100%;
height:100%;
min-height:0;
margin:0;
padding:0;
color:#e2e2e2;
font-size:12px;
line-height:1.55;
}

.anecdote-viewer {
position:relative;
width:100%;
height:100%;
min-height:0;
margin:0;
padding:0;
background:transparent;
color:#e2e2e2;
overflow:visible;
isolation:isolate;
}

.anecdote-system-panel {
height:100%;
min-height:420px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:10px;
background:#080808;
border:1px solid;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.72),
0 12px 34px rgba(0,0,0,.52);
text-align:center;
}

.anecdote-system-title {
font-size:12px;
font-weight:700;
letter-spacing:.45px;
color:#e2e2e2;
text-shadow:1px 1px 0 #000;
}

.anecdote-system-text {
max-width:620px;
color:#8a8a8a;
font-size:11px;
line-height:1.6;
}

.anecdote-system-code {
max-width:760px;
margin:4px 0 0;
padding:8px 10px;
background:#050505;
border:1px solid #202020;
color:#c8c8c8;
font-family:Consolas, Monaco, monospace !important;
font-size:11px;
line-height:1.45;
white-space:pre-wrap;
text-align:left;
}


/* -----------------------------------------
2. Anecdote work index - archive record layout
----------------------------------------- */

body.anecdote-index-mode .anecdote-viewer-root {
height:auto;
min-height:0;
}

body.anecdote-index-mode .anecdote-viewer {
height:auto;
min-height:0;
}

.anecdote-work-index {
position:relative;
width:100%;
min-height:0;
margin:0;
padding:0;
box-sizing:border-box;
background:transparent;
border:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}

.anecdote-work-index::before {
content:none;
}

.anecdote-work-index > * {
position:relative;
z-index:1;
}

.anecdote-index-record,
.anecdote-index-module {
background:#1d1d1d;
border:1px solid #050505;
border-radius:0;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010,
0 6px 18px rgba(0,0,0,0.34);
overflow:hidden;
}

.anecdote-index-record {
width:100%;
margin:0 0 8px;
}

.anecdote-index-record-titlebar,
.anecdote-index-module-titlebar,
.anecdote-index-tutorial-titlebar {
min-height:28px;
padding:0 10px;
display:flex;
align-items:center;
justify-content:space-between;
gap:8px;
background:#101010;
border-bottom:1px solid #050505;
color:#e2e2e2;
font-size:11px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.035);
}

.anecdote-index-record-titlebar span:first-child,
.anecdote-index-module-titlebar span:first-child,
.anecdote-index-tutorial-titlebar span:first-child {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
}

.anecdote-index-record-titlebar span:last-child,
.anecdote-index-module-titlebar span:last-child,
.anecdote-index-tutorial-titlebar span:last-child {
flex:0 0 auto;
color:#8a8a8a;
font-size:9px;
letter-spacing:.45px;
white-space:nowrap;
}

.anecdote-index-record-body {
display:grid;
grid-template-columns:280px minmax(0,1fr);
gap:8px;
padding:8px;
background:#080808;
border-top:1px solid rgba(255,255,255,0.018);
}

.anecdote-index-cover-bay,
.anecdote-index-id-panel,
.anecdote-index-status-panel,
.anecdote-index-synopsis-body,
.anecdote-index-ledger-list,
.anecdote-index-note-list {
background:#101010;
border:1px solid #202020;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.024),
inset 0 -1px 0 rgba(0,0,0,0.60);
}

.anecdote-index-cover-bay {
min-width:0;
padding:3px;
}

.anecdote-index-cover-frame {
position:relative;
width:100%;
height:394px;
background:#080808;
border:1px solid #050505;
box-shadow:
inset 0 1px 0 #333333,
inset 0 -1px 0 rgba(0,0,0,0.78);
overflow:hidden;
}

.anecdote-index-cover-frame::after {
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:
linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.050) 18%, transparent 36%, transparent 100%),
linear-gradient(to bottom, rgba(255,255,255,0.030) 0%, transparent 38%, rgba(0,0,0,0.28) 100%);
box-shadow:inset 0 0 22px rgba(0,0,0,0.44);
}

.anecdote-index-cover-frame img,
.anecdote-index-cover-placeholder {
display:block;
width:100%;
height:100%;
object-fit:cover;
background:#070707;
filter:grayscale(.16) contrast(1.04) brightness(.94);
}

.anecdote-index-cover-placeholder {
display:flex;
align-items:center;
justify-content:center;
color:#626262;
font-size:10px;
font-weight:700;
letter-spacing:.6px;
}

.anecdote-index-cover-meta {
display:grid;
grid-template-columns:1fr;
gap:3px;
margin-top:3px;
}

.anecdote-index-cover-meta div,
.anecdote-index-status-row,
.anecdote-index-note-list div {
display:grid;
grid-template-columns:72px minmax(0,1fr);
align-items:center;
min-height:24px;
gap:6px;
padding:0 7px;
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
box-sizing:border-box;
}

.anecdote-index-cover-meta span,
.anecdote-index-status-row span,
.anecdote-index-note-list span,
.anecdote-index-kicker {
color:#8a8a8a;
font-size:9px;
font-weight:700;
letter-spacing:.45px;
line-height:1;
white-space:nowrap;
}

.anecdote-index-cover-meta strong,
.anecdote-index-status-row strong,
.anecdote-index-note-list strong {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
color:#c8c8c8;
font-size:10px;
font-weight:700;
line-height:1;
}

.anecdote-index-main {
min-width:0;
display:flex;
flex-direction:column;
gap:8px;
}

.anecdote-index-top-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 252px;
gap:8px;
}

.anecdote-index-id-panel,
.anecdote-index-status-panel,
.anecdote-index-synopsis-body,
.anecdote-index-ledger-list,
.anecdote-index-note-list {
padding:7px;
}

.anecdote-index-title {
margin:4px 0 5px;
color:#ffffff;
font-size:26px;
font-weight:700;
line-height:1.2;
text-shadow:1px 1px 0 #000;
}

.anecdote-index-author {
margin:0;
color:#8a8a8a;
font-size:11px;
line-height:1.4;
}

.anecdote-index-tags {
display:flex;
flex-wrap:wrap;
gap:4px;
margin-top:8px;
}

.anecdote-index-tags span {
display:inline-flex;
align-items:center;
min-height:20px;
padding:0 7px;
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.018);
}

.anecdote-index-status-panel {
display:flex;
flex-direction:column;
gap:3px;
}

.anecdote-index-status-row {
grid-template-columns:58px minmax(0,1fr);
}

.anecdote-index-action-deck {
display:grid;
grid-template-columns:repeat(3, minmax(0,1fr));
gap:4px;
padding:3px;
background:#080808;
border:1px solid #202020;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.020),
inset 0 -1px 0 rgba(0,0,0,0.58);
}

.anecdote-index-action-button {
position:relative;
display:grid;
grid-template-columns:minmax(0,1fr) 12px;
column-gap:7px;
align-items:center;
justify-content:stretch;
width:100%;
min-height:32px;
height:32px;
margin:0;
padding:0 8px;
box-sizing:border-box;
background:linear-gradient(to bottom, #141414 0%, #101010 54%, #0c0c0c 100%);
border:1px solid;
border-color:#333333 #202020 #181818 #202020;
color:#c8c8c8 !important;
font-size:11px;
font-weight:700;
line-height:1;
text-align:left;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.040);
cursor:pointer;
overflow:hidden;
}

.anecdote-index-action-button span {
justify-self:end;
color:#8a8a8a;
font-size:12px;
line-height:1;
}

.anecdote-index-action-button:hover {
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 54%, #101010 100%);
border-color:#444444 #333333 #202020 #333333;
color:#ffffff !important;
box-shadow:
inset 0 1px 0 rgba(255,255,255,0.060),
0 0 0 1px rgba(255,255,255,0.018);
}

.anecdote-index-action-button:hover span {
color:#ffffff;
}

.anecdote-index-action-button:active,
.anecdote-index-action-button.is-primary:active {
background:linear-gradient(to bottom, #0b0b0b 0%, #101010 55%, #171717 100%);
border-color:#050505 #202020 #333333 #202020;
box-shadow:
inset 1px 1px 3px rgba(0,0,0,0.82),
inset -1px -1px 0 rgba(255,255,255,0.035);
}

.anecdote-index-action-button.is-primary {
color:#e2e2e2 !important;
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 56%, #101010 100%);
border-top-color:#555555;
}

.anecdote-index-action-button.is-disabled {
opacity:.45;
pointer-events:none;
cursor:default;
}

.anecdote-index-synopsis-panel {
min-width:0;
background:#1d1d1d;
border:1px solid #050505;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010;
overflow:hidden;
}

.anecdote-index-synopsis-body {
margin:0;
border:0;
border-top:1px solid rgba(255,255,255,0.018);
}

.anecdote-index-fade-wrapper {
position:relative;
max-height:76px;
overflow:hidden;
transition:max-height .35s ease;
}

.anecdote-index-fade-wrapper::after {
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
z-index:1;
height:48px;
pointer-events:none;
background:linear-gradient(to bottom, rgba(16,16,16,0), #101010);
transition:opacity .25s ease;
}

.anecdote-index-fade-wrapper.expanded {
max-height:600px;
}

.anecdote-index-fade-wrapper.expanded::after {
opacity:0;
}

.anecdote-index-fade-text {
position:relative;
z-index:0;
color:#d8d8d8;
font-size:11px;
line-height:1.65;
}

.anecdote-index-fade-text p {
margin:0 0 8px;
}

.anecdote-index-read-more {
display:inline-flex;
align-items:center;
min-height:21px;
margin:5px 0 0;
padding:0 7px;
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8;
font:inherit;
font-size:10px;
font-weight:700;
line-height:1;
text-shadow:1px 1px 0 #000;
cursor:pointer;
}

.anecdote-index-read-more:hover {
color:#ffffff;
background:#141414;
}

.anecdote-index-read-more.hidden {
display:none;
}

.anecdote-index-lower-grid {
display:grid;
grid-template-columns:minmax(0,1fr) 300px;
gap:8px;
}

.anecdote-index-ledger-stack {
display:grid;
grid-template-columns:1fr;
gap:8px;
min-width:0;
}

.anecdote-index-ledger-list {
display:flex;
flex-direction:column;
gap:3px;
border:0;
border-top:1px solid rgba(255,255,255,0.018);
}

.anecdote-index-entry-row {
display:grid;
grid-template-columns:54px minmax(0,1fr) 72px 12px;
align-items:center;
gap:6px;
min-height:30px;
padding:0 7px;
box-sizing:border-box;
background:#080808;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8 !important;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
}

.anecdote-index-entry-row.is-open:hover {
background:#141414;
border-color:#444444 #333333 #101010 #333333;
color:#ffffff !important;
}

.anecdote-index-entry-row.is-locked {
opacity:.55;
}

.anecdote-index-entry-no,
.anecdote-index-entry-status,
.anecdote-index-entry-arrow {
color:#8a8a8a;
font-size:9px;
font-weight:700;
letter-spacing:.45px;
white-space:nowrap;
}

.anecdote-index-entry-title {
min-width:0;
overflow:hidden;
text-overflow:ellipsis;
white-space:nowrap;
font-size:12px;
font-weight:700;
color:currentColor;
}

.anecdote-index-entry-status {
justify-self:end;
}

.anecdote-index-entry-arrow {
justify-self:end;
font-size:12px;
line-height:1;
}

.anecdote-index-note-list {
display:flex;
flex-direction:column;
gap:3px;
border:0;
border-top:1px solid rgba(255,255,255,0.018);
}

.anecdote-index-note-list div {
grid-template-columns:52px minmax(0,1fr);
}

.anecdote-index-tutorial-overlay {
position:fixed;
inset:0;
z-index:99991;
background:rgba(0,0,0,.62);
backdrop-filter:blur(4px);
align-items:center;
justify-content:center;
}

.anecdote-index-tutorial-popup {
position:relative;
width:420px;
max-width:calc(100vw - 32px);
background:#1d1d1d;
border:1px solid #050505;
box-shadow:
inset 0 1px 0 #555555,
inset -1px 0 0 #555555,
inset 1px 0 0 #101010,
inset 0 -1px 0 #101010,
0 12px 34px rgba(0,0,0,0.62);
color:#e2e2e2;
text-align:left;
animation:anecdote-fade-in-up .28s ease-out;
overflow:hidden;
}

.anecdote-index-tutorial-body {
padding:8px;
background:#080808;
}

.anecdote-index-tutorial-popup p {
margin:0 0 8px;
font-size:11px;
line-height:1.6;
color:#c8c8c8;
}

.anecdote-index-tutorial-popup strong {
font-weight:700;
color:#ffffff;
}

.anecdote-index-tutorial-popup code {
padding:1px 5px;
background:#101010;
border:1px solid #202020;
color:#e2e2e2;
}

.anecdote-index-tutorial-popup label {
display:flex;
align-items:center;
gap:6px;
min-height:24px;
font-size:10px;
font-weight:700;
color:#8a8a8a;
}

.anecdote-index-close-btn {
position:absolute;
top:3px;
right:5px;
z-index:2;
width:22px;
height:22px;
padding:0;
background:#141414;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#c8c8c8;
font-size:18px;
line-height:18px;
font-weight:700;
cursor:pointer;
}

.anecdote-index-close-btn:hover {
background:#202020;
color:#ffffff;
}

/* -----------------------------------------
2. Original Crimson-Leather reading frame
----------------------------------------- */

.anecdote-original-frame {
position:relative;
width:100%;
height:100%;
min-height:0;
margin:0;
padding:0;
background:transparent;
border:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}

.anecdote-original-frame::before,
.anecdote-original-frame::after {
content:none;
}

.anecdote-original-scroll {
position:relative;
z-index:2;
width:100%;
height:100%;
min-height:0;
overflow-y:auto;
overflow-x:hidden;
padding:10px 30px 250px;
background:transparent;
scroll-behavior:smooth;
}

.anecdote-original-scroll::-webkit-scrollbar {
width:6px;
}

.anecdote-original-scroll::-webkit-scrollbar-track {
background:#080808;
}

.anecdote-original-scroll::-webkit-scrollbar-thumb {
background:#333333;
border-radius:0;
}

.anecdote-original-scroll::-webkit-scrollbar-thumb:hover {
background:#555555;
}

.anecdote-back-button {
position:relative;
z-index:20;
display:inline-flex;
align-items:center;
justify-content:center;
min-height:26px;
margin:0 0 20px;
padding:0 10px;
background:linear-gradient(to bottom, #141414 0%, #101010 54%, #0c0c0c 100%);
border:1px solid;
border-color:#333333 #202020 #181818 #202020;
border-radius:0;
box-shadow:inset 0 1px 0 rgba(255,255,255,0.040);
color:#c8c8c8 !important;
font-size:11px;
font-weight:700;
line-height:1;
text-decoration:none !important;
text-shadow:1px 1px 0 #000;
cursor:pointer;
}

.anecdote-back-button:hover {
background:linear-gradient(to bottom, #1d1d1d 0%, #171717 54%, #101010 100%);
border-color:#444444 #333333 #202020 #333333;
color:#ffffff !important;
}

.anecdote-floating-title {
position:absolute;
top:80px;
left:0;
width:100%;
text-align:center;
font-size:2em;
font-weight:700;
opacity:1;
transition:opacity .6s ease;
pointer-events:none;
z-index:10;
color:#ffffff;
text-shadow:1px 1px 0 #000, 0 0 12px rgba(255,255,255,.08);
}

.anecdote-floating-title.fade-out {
opacity:0;
}

.anecdote-narration-box {
position:relative;
padding-top:40px;
}

.anecdote-prologueinfo {
display:block;
font-size:1.05em;
line-height:1.8;
margin:60px auto 16px auto;
width:490px;
max-width:calc(100% - 40px);
text-align:left;
opacity:1;
transition:opacity .6s ease;
color:#d8d8d8;
}

.anecdote-prologueinfo.fade-out {
opacity:0;
}

.anecdote-flow {
position:relative;
}

.anecdote-narration,
.anecdote-flow .narration {
display:block;
font-size:1.05em;
line-height:1.8;
margin:0 0 16px;
opacity:1;
text-align:center;
transition:opacity .3s ease;
color:#e2e2e2;
}

.anecdote-narration.darken,
.anecdote-narration.tone-darken,
.anecdote-narration .darken,
.anecdote-flow .darken {
color:#6c6c6c;
}

.anecdote-narration.typing {
white-space:pre-wrap;
}

.anecdote-narration.is-image {
text-align:center;
}

.anecdote-narration .center-image,
.anecdote-narration img.center-image,
.anecdote-narration.is-image img {
display:block;
margin:30px auto;
max-width:70%;
height:auto;
border:1px solid #202020;
box-shadow:0 8px 22px rgba(0,0,0,.58);
filter:grayscale(.18) contrast(1.03);
}

.anecdote-narration object {
display:inline-block;
vertical-align:-2px;
}

.anecdote-highlighted,
.highlighted {
color:#ffffff !important;
text-shadow:0 0 4px #ffffff, 0 0 10px #ffffff;
transition:all .3s ease;
}

/* -----------------------------------------
3. Hint / key box
----------------------------------------- */

.anecdote-narration-hint {
margin:40px auto 0 auto;
padding:10px 9px;
border-radius:0;
background:#101010;
color:#c8c8c8;
border:1px solid;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
font-size:.95em;
display:block;
font-family:inherit;
text-align:center;
width:fit-content;
opacity:1;
cursor:pointer;
transition:transform .1s ease, opacity .3s ease;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.72);
text-shadow:1px 1px 0 #000;
}

.anecdote-narration-hint:active {
transform:scale(.97);
opacity:.8;
}

.anecdote-narration-hint.hidden {
opacity:.2;
pointer-events:none;
}

.anecdote-narration-hint.dimmed {
opacity:.2;
}

.anecdote-narration-hint.reappear {
animation:anecdote-hint-pulse 2.2s ease-in-out infinite;
}

@keyframes anecdote-hint-pulse {
0% { opacity:.2; }
50% { opacity:1; }
100% { opacity:.2; }
}

.anecdote-key-box {
display:inline-block;
padding:4px 10px;
border:2px solid #555555;
border-radius:0;
background:#080808;
font-size:.9em;
margin-right:6px;
color:#eeeeee;
transition:all .1s ease;
box-shadow:0 2px 4px rgba(0,0,0,.5);
transform:translateY(0);
}

.anecdote-key-box.pressed {
transform:translateY(2px);
box-shadow:0 1px 2px rgba(0,0,0,.4);
background:#101010;
}

/* -----------------------------------------
4. Timeline sidebar - original placement
----------------------------------------- */

.timeline-sidebar,
.anecdote-timeline-sidebar {
position:absolute;
right:-250px;
top:112px;
z-index:5;
width:220px;
padding:12px 0;
font-size:.9em;
color:#aaa;
line-height:1.4;
}

.timeline-item {
display:flex;
align-items:flex-start;
gap:10px;
opacity:0;
cursor:pointer;
animation:anecdote-fade-slide-up .5s ease-out forwards;
}

.timeline-item.timeline-0 { margin-bottom:43px; }
.timeline-item.timeline-1 { margin-bottom:43px; }
.timeline-item.timeline-2 { margin-bottom:122px; }
.timeline-item.timeline-3 { margin-bottom:43px; }
.timeline-item.timeline-4 { margin-bottom:70px; }

.timeline-dot {
width:7px;
height:7px;
margin-top:6px;
border-radius:50%;
background:#ffffff;
border:2px solid #333333;
box-shadow:0 0 3px rgba(181,181,181,.6);
flex-shrink:0;
}

.timeline-content {
font-size:.95em;
line-height:1.6;
color:#dbdbdb;
text-shadow:1px 1px 0 #000;
}

.timeline-content strong {
color:#ffffff;
}

/* -----------------------------------------
5. Chat bubbles - original structure
----------------------------------------- */

.chat-wrapper {
display:flex;
flex-direction:row-reverse;
align-items:flex-start;
gap:10px;
margin-top:12px;
opacity:0;
}

.chat-wrapper.left {
flex-direction:row;
animation:anecdote-slide-in-left .1s ease-out forwards;
}

.chat-wrapper.right {
animation:anecdote-slide-in-right .1s ease-out forwards;
}

.chat-avatar {
width:66px;
height:66px;
object-fit:cover;
margin-bottom:-40px;
background:#080808;
border:1px solid #202020;
box-shadow:0 3px 9px rgba(0,0,0,.45);
}

.chat-block {
display:flex;
flex-direction:column;
max-width:60%;
}

.chat-block.left {
align-items:flex-start;
}

.chat-block.right {
align-items:flex-end;
}

.chat-name {
font-size:1em;
color:#5eb1ff;
margin-bottom:3px;
text-align:right;
font-weight:700;
animation:anecdote-slide-in-right .2s ease-out forwards;
opacity:0;
text-shadow:1px 1px 0 #000;
}

.chat-name.left {
text-align:left;
animation:anecdote-slide-in-left .2s ease-out forwards;
}

.chat-name small {
font-size:.78em;
color:#8a8a8a;
font-weight:700;
margin-left:4px;
}

.chat-name.neutral { color:#E7BB39; }
.chat-name.hostile { color:#e73939; }
.chat-name.friendly { color:#395ee7; }

.chat-bubble {
background:#101010;
color:#ffffff;
padding:10px 14px;
font-size:1em;
line-height:1.6;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.72),
0 2px 8px rgba(0,0,0,.34);
white-space:pre-wrap;
max-width:100%;
text-align:left;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
}

.chat-bubble.right {
border-radius:12px 0 12px 12px;
margin-right:0;
margin-left:40px;
}

.chat-bubble.left {
border-radius:0 12px 12px 12px;
margin-left:0;
margin-right:40px;
}

.fade-in-up {
animation:anecdote-fade-in-up .6s ease-out forwards;
opacity:0;
}

.radio-icon {
vertical-align:text-bottom;
margin-right:4px;
fill:currentColor;
height:1.3em;
}

/* -----------------------------------------
6. Original inline effects
----------------------------------------- */

.dot-fall-soft {
display:inline-block;
font-size:1.2em;
line-height:1.2;
font-weight:700;
color:#b4b4b4;
white-space:pre;
}

.dot-fall-soft span {
display:block;
opacity:.1;
transform:translateY(-10px);
animation:anecdote-drop-fade .4s ease-out forwards;
}

.dot-fall-soft span:nth-child(1) { animation-delay:0s; }
.dot-fall-soft span:nth-child(2) { animation-delay:.4s; }
.dot-fall-soft span:nth-child(3) { animation-delay:.8s; }
.dot-fall-soft span:nth-child(4) { animation-delay:1.2s; }
.dot-fall-soft span:nth-child(5) { animation-delay:1.6s; }

.quick-swap {
display:inline-block;
position:relative;
transition:opacity .3s ease;
white-space:nowrap;
}

.quick-swap span {
display:inline-block;
opacity:1;
transition:opacity .15s ease;
}

.quick-swap.fade-out span {
opacity:0;
transform:translateY(-2px);
}

/* -----------------------------------------
7. Control deck
----------------------------------------- */

#anecdote-control-deck {
position:fixed !important;
left:50% !important;
bottom:10px !important;
z-index:99990 !important;
width:1000px;
max-width:calc(100vw - 32px);
transform:translateX(-50%) translateY(120%);
opacity:0;
pointer-events:none;
transition:
transform .46s cubic-bezier(.18,.78,.22,1),
opacity .24s ease;
}

#anecdote-control-deck:empty {
display:none !important;
}

body.anecdote-reader-mode #anecdote-control-deck {
transform:translateX(-50%) translateY(0);
opacity:1;
pointer-events:auto;
}

.anecdote-control-frame {
display:grid;
grid-template-columns:120px 1fr 1fr 1fr 1fr 120px;
gap:4px;
min-height:38px;
padding:4px;
background:#101010;
border:1px solid;
border-color:#555555 #2b2b2b #050505 #2b2b2b;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.040),
inset 0 -1px 0 rgba(0,0,0,.72),
0 8px 24px rgba(0,0,0,.55);
}

.anecdote-control-brand {
display:flex;
align-items:center;
justify-content:center;
background:#1d1d1d;
border:1px solid #202020;
border-top-color:#333333;
border-bottom-color:#050505;
color:#e2e2e2;
font-size:10px;
font-weight:700;
letter-spacing:.65px;
text-shadow:1px 1px 0 #000;
white-space:nowrap;
}

.anecdote-button,
.anecdote-link-button {
display:flex;
align-items:center;
justify-content:center;
min-height:28px;
box-sizing:border-box;
padding:0 8px;
background:linear-gradient(to bottom,#171717 0%,#141414 56%,#101010 100%);
border:1px solid;
border-color:#333333 #202020 #050505 #202020;
border-radius:0;
color:#c8c8c8 !important;
font-size:10px;
font-weight:700;
line-height:1;
text-align:center;
text-decoration:none !important;
cursor:pointer;
text-shadow:1px 1px 0 #000;
box-shadow:inset 0 1px 0 rgba(255,255,255,.040);
}

.anecdote-button:hover,
.anecdote-link-button:hover {
background:linear-gradient(to bottom,#202020 0%,#1a1a1a 56%,#141414 100%);
border-color:#444444 #333333 #101010 #333333;
color:#ffffff !important;
}

.anecdote-button:active,
.anecdote-link-button:active,
.anecdote-button.is-active {
background:linear-gradient(to bottom,#0c0c0c 0%,#101010 55%,#171717 100%);
border-color:#050505 #202020 #333333 #202020;
box-shadow:inset 1px 1px 3px rgba(0,0,0,.82);
}

.anecdote-button:disabled,
.anecdote-link-button.is-disabled {
opacity:.45;
cursor:default;
pointer-events:none;
}

/* -----------------------------------------
8. Animations
----------------------------------------- */

@keyframes anecdote-slide-in-right {
from { transform:translateX(10px); opacity:0; }
to { transform:translateX(0); opacity:1; }
}

@keyframes anecdote-slide-in-left {
from { transform:translateX(-10px); opacity:0; }
to { transform:translateX(0); opacity:1; }
}

@keyframes anecdote-fade-in-up {
0% { opacity:0; transform:translateY(10px); }
100% { opacity:1; transform:translateY(0); }
}

@keyframes anecdote-fade-slide-up {
0% { opacity:0; transform:translateY(8px); }
100% { opacity:1; transform:translateY(0); }
}

@keyframes anecdote-drop-fade {
0% { opacity:.1; transform:translateY(-10px); }
100% { opacity:1; transform:translateY(0); }
}

/* -----------------------------------------
9. Compact fallback
----------------------------------------- */

@media (max-width:1040px) {
.anecdote-index-container {
flex-direction:column;
padding:18px;
}

.anecdote-index-cover,
.anecdote-index-cover img,
.anecdote-index-cover-placeholder {
width:100%;
max-width:250px;
}

.anecdote-index-section {
padding:10px 18px;
}

body.anecdote-reader-mode .content-wrapper {
width:calc(100vw - 24px) !important;
min-width:0 !important;
max-width:calc(100vw - 24px) !important;
left:50% !important;
top:12px !important;
bottom:74px !important;
}

.timeline-sidebar,
.anecdote-timeline-sidebar {
display:none;
}

.anecdote-control-frame {
grid-template-columns:1fr 1fr 1fr;
}

.anecdote-control-brand {
display:none;
}

.chat-block {
max-width:74%;
}
}