/* This week in the dojo (the owner's pick, 11 Nov 2026), and the public challenge page's shared bits.
   The strip sits on paper between the greats (teal) and "Your big moment" (red): the challenge in brand
   yellow, today's prompt on white with the red pen's serif, the newest talk on obsidian. site/week.js
   fills it from the database; the words in the page stand in until then. */
.tw { padding: 110px 0 96px; }
.tw-grid { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.tw-card { position: relative; display: flex; flex-direction: column; gap: 14px; border-radius: 26px; padding: 26px 26px 24px; border: 2px solid #16140F; text-decoration: none; color: inherit; box-shadow: 0 6px 0 #16140F; transition: transform .2s var(--ease-out, ease), box-shadow .2s var(--ease-out, ease); }
a.tw-card:hover, a.tw-card:focus-visible { transform: translateY(-3px); box-shadow: 0 9px 0 #16140F; }
a.tw-card:active { transform: translateY(2px); box-shadow: 0 3px 0 #16140F; }
.tw-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tw-card .eyebrow { opacity: .78; }

/* The challenge: yellow, the title big, a dial for the seconds */
.tw-ch { background: #FFE001; color: #16140F; }
.tw-left { font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; background: #16140F; color: #FFE001; padding: 6px 10px; border-radius: 999px; }
.tw-title { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4.6vw, 60px); line-height: .9; letter-spacing: -.005em; }
.tw-say { font-size: 18px; line-height: 1.45; max-width: 34ch; }
.tw-meta { display: flex; align-items: center; gap: 18px; margin-top: auto; }
.tw-dial { position: relative; flex: none; width: 76px; height: 76px; display: grid; place-items: center; }
.tw-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tw-dial-bg { fill: none; stroke: rgba(22, 20, 15, .16); stroke-width: 7; }
.tw-dial-fg { fill: none; stroke: #16140F; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out, ease) .3s; }
.tw-ch.in .tw-dial-fg { stroke-dashoffset: calc(100 - var(--pct, 75)); }
.tw-dial b { font: 900 26px/1 var(--display); font-stretch: 62%; margin-top: -6px; }
.tw-dial small { position: absolute; bottom: 17px; font: 700 10px var(--display); letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tw-list { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.tw-list span:empty { display: none; }
.tw-list span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16140F; margin-right: 9px; vertical-align: 1px; }
.tw-list [data-tw-gems]::before { background: #D2352A; }
.tw-go { align-self: flex-start; }

/* Today's prompt: the line in the red pen's serif */
.tw-pr { background: #fff; color: #16140F; }
.tw-sw { display: inline-flex; border: 2px solid #16140F; border-radius: 999px; padding: 2px; gap: 2px; }
.tw-sw button { font: 700 13px var(--body); border: 0; background: none; color: inherit; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.tw-sw button[aria-pressed="true"] { background: #16140F; color: #FFE001; }
.tw-sw button[hidden] { display: none; }
.tw-line { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.28; letter-spacing: -.005em; }
.tw-tip { font-size: 15px; line-height: 1.45; color: #6E675C; padding-left: 14px; border-left: 3px solid #D2352A; }
.tw-try { align-self: flex-start; margin-top: auto; }

/* The newest talk: obsidian, its picture when there is one */
.tw-new { background: #16140F; color: #F7F4EC; border-color: #16140F; box-shadow: 0 6px 0 #000; }
a.tw-new:hover, a.tw-new:focus-visible { box-shadow: 0 9px 0 #000; }
.tw-new .eyebrow { color: #FFE001; opacity: 1; }
.tw-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; background: #24221D center / cover no-repeat; overflow: hidden; }
.tw-thumb:not(.has-img) { background-image: radial-gradient(circle at 30% 30%, #3A372F, #24221D 70%); }
.tw-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: #FFE001; box-shadow: 0 4px 0 #000; }
.tw-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #16140F; }
.tw-ntitle { font-size: 19px; line-height: 1.3; }
.tw-nby { color: #B9B2A0; font-size: 14px; margin-top: auto; }

@media (max-width: 1000px) {
  .tw-grid { grid-template-columns: 1fr 1fr; }
  .tw-ch { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tw { padding: 84px 0 72px; }
  .tw-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .tw-card { padding: 22px 20px 20px; border-radius: 22px; }
  .tw-say { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .tw-dial-fg { transition: none; }
  .tw-card { transition: none; }
}
