/* Tarek Chemaly, three books, 2009. 111101 tokens: Verdana 10–11px, #333, #880000 titles, #CC6633 navigation, dashed #CC6600 rules. */
.tc-nav .titre { font: 10px Arial, Helvetica, sans-serif; color: #333; padding: 3px; vertical-align: top }
.tc-nav td { font: 11px Verdana, Arial, Helvetica, sans-serif; color: #333 }
.tc-nav a { color: #333 } .tc-nav a.on { text-decoration: underline }
.tc-nav .extra { font: 10px Arial, sans-serif; color: #999; padding-left: 10px }
.lang-switch { font: 10px Verdana, Arial, sans-serif; color: #999; white-space: nowrap }
.restored-site .lang-switch a { color: #999; cursor: pointer } .restored-site .lang-switch a.on { color: #880000 }

.tc { font: 11px Verdana, Arial, Helvetica, sans-serif; color: #333 }
.tc a { color: #333 }
.tc .linea { font: 11px Verdana, Arial, sans-serif; color: #999; white-space: nowrap }
.tc .linea b { color: #333 } .tc .linea .right { margin-left: 16px; font-size: 10px } .tc .linea .right a { color: #880000 }
.tc .bracket a { color: #CC6633; cursor: pointer } .tc .bracket a.on { color: #880000; font-weight: bold }
.tc .extra { font-size: 10px; color: #999 }
.tc .date, .tc .date a { color: #880000 }
.tc .sep { border-right: 1px dashed #CC6600 }
.tc .nav, .tc .nav a { font-size: 10px; color: #CC6633 }
.tc .note { font: 9px Verdana, sans-serif; color: #ccc; background: #444; padding: 3px 6px; margin: 30px 0 0 }
.tc .note a, .tc .note i { color: #ccc }
.tc .lead { font: 10px/14px Verdana, sans-serif; max-width: 680px; margin: 10px 0 14px }
.tc .lead a { color: #CC6633 }
.tc h2.sec { font: 11px Verdana, sans-serif; color: #333; margin: 26px 0 4px; border-bottom: 1px dashed #CC6600; padding-bottom: 2px }
.tc table.rows { border-collapse: collapse } .tc table.rows td { padding: 4px 10px; vertical-align: top; font-size: 10px; line-height: 13px }
.tc table.rows td.date { text-align: right; white-space: nowrap; font-size: 11px }
.tc table.rows tr:target td { background: #f6f1e4 }

/* Books, page by page */
.tc .book { width: 92%; max-width: 1100px; margin: 0 auto; padding: 22px 0 40px }
.tc .pager { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 }
.tc .single { display: flex; justify-content: center; margin: 10px 0 }
.tc .poem-sheet { position: relative; background: #fbf8f1; box-shadow: 0 1px 8px rgba(0, 0, 0, .18); padding: 34px 32px 40px; font: 12.5px/1.55 'Times New Roman', Times, serif; color: #222; text-align: center; max-width: 440px; width: 100%; box-sizing: border-box }
.tc .poem-sheet h2 { font: bold 13.5px 'Times New Roman', Times, serif; margin: 0 0 16px } .tc .poem-sheet h2 a { color: #222 }
.tc .poem-sheet .sec { font: 9px Verdana, sans-serif; color: #CC6633; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px }
.tc .poem-sheet .folio { position: absolute; bottom: 12px; left: 0; right: 0; font-size: 10px; color: #999 }
.tc .cite { text-align: center }
.tc .plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 18px }
.tc .plates a { position: relative; display: block; background: #c7913b }
.tc .plates.tall a { background: #fff; box-shadow: 0 0 0 1px #ddd }
.tc .plates img { display: block; width: 100%; height: auto }
.tc .plates span { position: absolute; right: 3px; bottom: 2px; font: 9px Verdana, sans-serif; color: #fff; text-shadow: 0 0 3px #000 }
.tc .plate-view { margin: 10px auto; text-align: center }
.tc .plate-view img { max-width: min(100%, 640px); height: auto; box-shadow: 0 2px 12px rgba(0, 0, 0, .25) }
.tc .plate-view.tall img { max-width: min(100%, 600px) }
.tc .plate-view figcaption { font-size: 10px; color: #999; margin-top: 8px; line-height: 15px }

/* Front page: getting the news */
.tc .news { padding: 16px 22px 0; display: flex; flex-direction: column; min-height: 100%; box-sizing: border-box }
.tc .mast { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid #333; padding-bottom: 4px }
.tc .dateline { font: 10px Verdana, sans-serif; color: #880000; font-variant-numeric: tabular-nums }
.tc .epi { font: italic 10px Georgia, 'Times New Roman', serif; color: #999; margin: 6px 0 14px }
.tc .cols { display: grid; grid-template-columns: 1.05fr 1.25fr 1fr; flex: 1 }
@media (max-width: 1000px) { .tc .cols { grid-template-columns: 1fr } .tc .col { border-right: 0 !important; padding: 0 0 24px !important } }
.tc .col { padding: 0 18px; border-right: 1px dashed #CC6600; min-width: 0 }
.tc .col:first-child { padding-left: 0 } .tc .col:last-child { border-right: 0; padding-right: 0 }
.tc .col h2 { font: 12px Verdana, sans-serif; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px }
.tc .col h2 .read { font-size: 10px; color: #CC6633 }
.tc .secs { font-size: 9.5px; line-height: 15px; margin-bottom: 8px; white-space: normal }
.tc .sheet { position: relative; height: 440px; overflow: hidden }
.tc .sheet .poem-sheet { max-width: none; height: 100%; overflow: hidden; padding: 24px 22px }
.tc .sheet .poem-text .l { display: block; min-height: 1.5em; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s }
.tc .sheet .poem-text .l.in { opacity: 1; transform: none }
.tc .sheet .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #eee }
.tc .sheet .bar i { display: block; height: 100%; width: 0; background: #CC6633 }
.tc .ctrl { margin-top: 8px; text-align: center; font-size: 12px }
.tc .plate { position: relative; display: block; aspect-ratio: 1; background: #c7913b; overflow: hidden; box-shadow: 0 1px 6px rgba(0, 0, 0, .25) }
.tc .plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s }
.tc .plate img.on { opacity: 1; animation: tc-kb 7.5s linear both }
@keyframes tc-kb { from { transform: scale(1) } to { transform: scale(1.08) translate(-1.5%, -1%) } }
@media (prefers-reduced-motion: reduce) { .tc .plate img.on { animation: none } .tc .ticker-track { animation: none !important } }
.tc .platecap { font-size: 10px; color: #999; margin: 6px 0 } .tc .platecap b { color: #880000; font-weight: normal }
.tc .film { overflow: hidden; height: 58px; position: relative }
.tc .film-track { display: flex; gap: 3px; position: absolute; left: 0; top: 0; will-change: transform }
.tc .film-track img { height: 56px; width: 56px; object-fit: cover; opacity: .55; transition: opacity .3s; display: block }
.tc .film-track a:hover img, .tc .film-track a.on img { opacity: 1; outline: 1px solid #880000 }
.tc .onair { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; margin-bottom: 12px; min-height: 130px }
.tc .onair img { width: 92px; box-shadow: 0 1px 5px rgba(0, 0, 0, .3); display: block }
.tc .onair .d { font: 22px Verdana, sans-serif; color: #880000; letter-spacing: 1px; min-height: 26px }
.tc .onair .h { font: 12px Verdana, sans-serif; margin: 4px 0 }
.tc .desk { width: 100%; max-height: 420px; display: block; overflow: auto; border-collapse: collapse }
.tc .desk td { font: 10px/13px Verdana, sans-serif; padding: 3px 6px; vertical-align: top }
.tc .desk td.date { text-align: right; white-space: nowrap; width: 72px }
.tc .desk td.sep { padding: 0; width: 1px }
.tc .desk tr.on td { background: #f6f1e4 }
.tc .desk tr.on td:last-child::before { content: '● '; color: #d71920 }
.tc .ticker { margin: 16px -22px 0; background: #444; color: #ccc; overflow: hidden; white-space: nowrap; height: 20px; font: 10px/20px Verdana, sans-serif }
.tc .ticker a { color: #fff } .tc .ticker em { color: #CC6633; font-style: normal; margin: 0 6px 0 10px }
.tc .ticker-track { display: inline-block; padding-left: 100%; animation: tc-tick 300s linear infinite }
.tc .ticker:hover .ticker-track, .tc .ticker:focus-within .ticker-track { animation-play-state: paused }
@keyframes tc-tick { to { transform: translateX(-100%) } }
.tc .news > .note { margin: 0 -22px }

/* Strata: one Beirut wall */
.restored-site.tc-strata #content.original-main { overflow: hidden; background: #a8732a }
.tc-strata .tc { display: flex; flex-direction: column; height: 100% }
.tc .wall-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 14px; background: #fff; border-bottom: 1px dashed #CC6600; font-size: 10px; color: #666; z-index: 3 }
.tc .wall-bar .yr { color: #880000; font-weight: bold } .tc .wall-bar .count { color: #999 }
.tc .wall-bar input[type=range] { width: 180px; accent-color: #880000; border: 0 }
.tc .wall-bar button { font: 10px Verdana, sans-serif; color: #880000; border: 1px solid #ccc; background: #fff; padding: 2px 8px }
.tc .wall-view { flex: 1; overflow: auto; cursor: grab; position: relative; scrollbar-color: #6b4a1c #a8732a; background-color: #b07a2e;
  background-image: radial-gradient(ellipse at 20% 30%, rgba(255, 220, 150, .25), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(70, 40, 10, .25), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E") }
.tc .wall-view.drag { cursor: grabbing }
.tc .wall-size { position: relative } .tc .wall { position: absolute; left: 0; top: 0; transform-origin: 0 0 }
.tc .it { position: absolute; display: none; cursor: pointer; transition: filter .6s, transform .25s; box-shadow: 1px 3px 6px rgba(40, 20, 0, .45); color: inherit }
.tc .it.on { display: block }
.tc .it.pasted { animation: tc-paste .6s cubic-bezier(.2, .8, .3, 1) both }
@keyframes tc-paste { from { opacity: 0; transform: var(--rot) scale(1.18) } to { opacity: 1; transform: var(--rot) scale(1) } }
.tc .it:hover, .tc .it:focus-visible { z-index: 99999 !important; filter: none !important; transform: var(--rot) scale(1.08) !important; box-shadow: 3px 8px 18px rgba(30, 10, 0, .6) }
.tc .it img { display: block; width: 100%; height: 100%; pointer-events: none }
.tc .it.arche { width: 176px; height: 176px; background: #c7913b }
.tc .it.jnune { width: 124px; height: 175px; background: #fff }
.tc .it.jnune::after { content: '7'; position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: #d71920; color: #fff; font: bold 12px/20px Verdana, sans-serif; text-align: center }
.tc .it.poem { width: 150px; max-height: 210px; overflow: hidden; background: #f6f2e8; padding: 14px 12px 12px; box-sizing: border-box; font: 9.5px/1.35 'Times New Roman', Times, serif; color: #222; text-align: center }
.tc .it.poem::before { content: ''; position: absolute; left: 50%; top: -6px; width: 46px; height: 14px; margin-left: -23px; background: rgba(240, 235, 210, .7); transform: rotate(-3deg) }
.tc .it.poem b { display: block; font-size: 11px; margin-bottom: 6px }
.tc .it.poem i { display: block; font: 8px Verdana, sans-serif; color: #CC6633; font-style: normal; margin-bottom: 5px; letter-spacing: .5px; text-transform: uppercase }
.tc .wall-foot .note { margin: 0 }
.tc noscript p { padding: 20px; background: #fff }

/* Reader overlay */
.tc-reader { position: fixed; inset: 0; z-index: 100; background: rgba(20, 16, 10, .93); display: none; flex-direction: column; align-items: center; justify-content: center; font: 11px Verdana, sans-serif; color: #ccc }
.tc-reader.open { display: flex }
.tc-reader .top { position: absolute; top: 12px; left: 20px; right: 20px; display: flex; justify-content: space-between; color: #999; gap: 12px }
.tc-reader .top b { color: #fff; font-weight: normal } .tc-reader .top a, .tc-reader .top button { color: #CC6633; background: none; border: 0; font: inherit; cursor: pointer }
.tc-reader .stage { perspective: 2200px; display: flex; align-items: center }
.tc-reader .page { background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); overflow: hidden; position: relative; transform-origin: left center; transition: transform .55s cubic-bezier(.3, .7, .3, 1), opacity .55s }
.tc-reader .page.left { transform-origin: right center } .tc-reader .page.blank { background: transparent; box-shadow: none }
.tc-reader .page img { display: block; width: 100%; height: 100% }
.tc-reader .page.turn-next { transform: rotateY(-75deg); opacity: .2 } .tc-reader .page.turn-prev { transform: rotateY(75deg); opacity: .2 }
.tc-reader .page.poem { padding: 30px 28px; box-sizing: border-box; font: 11.5px/1.45 'Times New Roman', Times, serif; color: #222; text-align: center; overflow: auto; background: #fbf8f1 }
.tc-reader .page.poem h3 { font: bold 12.5px 'Times New Roman', Times, serif; margin: 0 0 14px }
.tc-reader .page.poem .sec { font: 9px Verdana, sans-serif; color: #CC6633; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px }
.tc-reader .page.poem .folio { font-size: 10px; color: #777; margin-top: 16px }
.tc-reader .navb { position: absolute; top: 50%; transform: translateY(-50%); font: 28px Verdana, sans-serif; color: #CC6633; cursor: pointer; padding: 20px; background: none; border: 0 }
.tc-reader .navb.prev { left: 10px } .tc-reader .navb.next { right: 10px }
.tc-reader .strip { position: absolute; bottom: 10px; left: 20px; right: 20px; display: flex; gap: 3px; overflow-x: auto; padding-bottom: 6px; scrollbar-color: #444 transparent }
.tc-reader .strip img { height: 44px; opacity: .45; cursor: pointer; flex: none }
.tc-reader .strip img.on { opacity: 1; outline: 1px solid #CC6633 }
.tc-reader .strip span { flex: none; font: 9px Verdana, sans-serif; color: #888; cursor: pointer; padding: 3px 5px; border: 1px solid #333; white-space: nowrap }
.tc-reader .strip span.on { color: #fff; border-color: #CC6633 }
.tc-reader .cap { margin-top: 12px; color: #aaa; font-size: 10px; min-height: 14px; text-align: center; max-width: 80vw }
.tc-reader .cap b { color: #fff; font-weight: normal } .tc-reader .cap a { color: #CC6633 }
.tc .col .poem-sheet h2 { font: bold 13.5px 'Times New Roman', Times, serif; display: block; margin: 0 0 16px; color: #222 }
