/* A stable three-part round workspace, with one main action per phase. */
.round-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 0 18px; }
.round-summary-copy { min-width: 0; }
.round-summary h1 { font-size: clamp(27px, 3vw, 39px); line-height: 1.2; letter-spacing: -1.4px; margin: 11px 0; overflow-wrap: anywhere; }
.round-summary p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.round-summary-cover { width: 108px; height: 108px; object-fit: cover; border-radius: 18px; flex-shrink: 0; transform: rotate(3deg); }
.round-state { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--muted); }
.round-simple-toolbar { justify-content: flex-end; margin: 0 0 20px; }
.round-simple-toolbar .round-actions { flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.round-simple-toolbar .btn { padding: 11px 15px; }
.round-simple-toolbar .quiet-menu summary { min-height: 40px; padding: 10px 14px; }
.round-primary-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: sticky; top: 0; z-index: 15; background: var(--bg); padding-top: 8px; margin: 0 0 26px; }
.round-primary-tabs button { text-align: center; padding: 15px 12px; min-height: 52px; font-size: 14px; }
.round-subpage { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -8px 0 25px; color: var(--muted); font-size: 12px; }
.round-subpage .text-link { font-size: 12px; min-height: 36px; }
.round-overview { max-width: 900px; margin-inline: auto; }
.round-overview.has-aside { display: grid; max-width: none; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.round-overview > div, .round-overview-aside { min-width: 0; }
.round-overview .phase-focus { margin: 0; }
.round-overview-aside { display: grid; gap: 20px; }
.round-overview-aside .panel { margin: 0; padding: 26px; }
.round-overview .phase-focus h2 { font-size: clamp(26px, 3vw, 35px); margin: 9px 0 20px; }
.round-overview .phase-bottom { border-top: 0; padding-top: 23px; margin-top: 0; }
.round-facts { margin: 5px 0; }
.round-facts > div { padding-block: 18px; }
.round-facts > div:last-child { border-bottom: 0; }
.round-facts dd { min-width: 0; }
.round-people-link { display: flex; align-items: center; gap: 10px; padding: 0; text-align: left; max-width: 100%; font-size: 12px; font-weight: 500; line-height: 1.7; }
.round-people-link > span:first-of-type { overflow-wrap: anywhere; }
.round-people-link .people { flex-shrink: 0; }
.round-people-link .face { width: 29px; height: 29px; font-size: 10px; }
.round-description { padding: 12px 0; font-size: 13px; color: var(--muted); }
.round-description summary { cursor: pointer; min-height: 28px; color: var(--ink); }
.round-description p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.round-attention > .eyebrow, .round-games-shortcut > .eyebrow { display: block; margin-bottom: 8px; line-height: 1.8; }
.round-attention .overview-task:last-child, .round-games-shortcut .overview-task { border-bottom: 0; padding-bottom: 0; }
.round-games-shortcut { background: var(--soft); }
.round-games-shortcut .overview-task { padding-top: 12px; }
.round-memory-places { margin-top: 22px; }
.plan-hub { display: grid; gap: 24px; }
.plan-meeting { margin: 0; }
.plan-meeting .section-row { margin: 0 0 12px; align-items: flex-start; }
.plan-meeting h2 { margin: 8px 0; font-size: 25px; }
.plan-meeting .eyebrow { margin: 0; }
.plan-meeting .section-row > .text-link { flex-shrink: 0; font-size: 12px; }
.plan-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.plan-tools > .overview-task { display: flex; align-items: flex-start; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); min-height: 145px; }
.plan-tools .overview-task strong { font-size: 17px; line-height: 1.4; }
.plan-tools .overview-task small { margin-top: 10px; font-size: 12px; line-height: 1.8; }
.plan-tools .overview-task > span:last-child { font-size: 23px; }
.plan-tools > .overview-task:hover { border-color: var(--green); background: var(--soft); }
.places-grid { margin-top: 0; }
.places-grid .section-row { margin-top: 0; }
.places-grid .route-item { gap: 14px; }
.places-grid .stop-copy h3 { font-size: 15px; }
.places-grid .stop-copy small { font-size: 12px; }
.album-personal-link { display: inline-block; margin: 0 0 22px; font-size: 13px; }
.stop-title-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.stop-title-row h2 { margin: 0; }
.stop-title-row .icon-button { flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; width: 39px; height: 39px; font-size: 17px; }
.stop-place-note { color: var(--muted); font-size: 13px; line-height: 1.8; }
#stop-form { margin-top: 25px; }
#visit-reward.is-visited { min-height: 75px; padding: 16px 20px; box-shadow: none; }
#visit-reward.is-visited .visit-mark { width: 40px; height: 40px; font-size: 25px; }
#visit-reward.is-visited strong { font-size: 22px; }
#next-stop { margin: 12px 0 0; padding: 15px 18px; min-height: 56px; }
#next-stop.is-ready { min-height: 88px; padding: 20px; }
#next-stop.is-ready strong { font-size: 24px; }
#visit-undo { font-size: 11px; min-height: 32px; }
.stop-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 10px 0 15px; }
.stop-photo-grid .photo-open { overflow: hidden; border-radius: 10px; }
.stop-photo-grid .stop-detail-photo { display: block; margin: 0; height: 150px; width: 100%; object-fit: cover; border-radius: 0; }
.stop-personal { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 19px; }
.stop-personal summary { min-height: 35px; cursor: pointer; }
.stop-personal .helper:empty { display: none; }
.underway-panel .underway-top { margin-bottom: 22px; }
.underway-panel .underway-progress { margin-bottom: 12px; }
.underway-panel .underway-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.underway-panel .underway-visit { grid-column: 1 / -1; grid-row: 1; }
.underway-panel .underway-photo { margin: 0; }
.underway-panel .underway-actions > :only-child { grid-column: 1 / -1; }
.underway-panel .underway-footnote:empty { display: none; }
html[data-theme="dark"] .round-games-shortcut { color: var(--ink); }
@media (max-width: 1000px) {
  .plan-tools { grid-template-columns: 1fr; gap: 12px; }
  .plan-tools > .overview-task { padding: 22px; min-height: 100px; align-items: center; }
}
@media (max-width: 800px) {
  .round-summary { gap: 15px; }
  .round-summary-cover { width: 76px; height: 84px; border-radius: 12px; }
  .round-summary h1 { font-size: 29px; letter-spacing: -1px; }
  .round-summary p { font-size: 11px; gap: 6px; }
  .round-simple-toolbar { margin-bottom: 13px; }
  .round-overview.has-aside { grid-template-columns: 1fr; gap: 20px; }
  .round-overview-aside .panel { padding: 22px; }
  .round-primary-tabs { margin-bottom: 22px; padding-top: 3px; }
  .round-primary-tabs button { font-size: 14px; }
  .round-overview .phase-focus, .plan-meeting { padding: 25px; }
  .round-facts > div { grid-template-columns: 45px minmax(0, 1fr); gap: 15px; padding-block: 16px; }
  .round-people-link { flex-wrap: wrap; }
  .plan-meeting h2 { font-size: 23px; }
  .round-subpage > span { font-size: 11px; }
}
@media (max-width: 450px) {
  .round-summary h1 { font-size: 25px; }
  .round-summary-cover { width: 65px; height: 75px; }
  .round-simple-toolbar .btn, .round-simple-toolbar .quiet-menu summary { font-size: 11px; }
  .underway-panel .underway-actions { grid-template-columns: 1fr; }
  .underway-panel .underway-actions > * { grid-column: 1; }
  .round-overview .phase-focus, .plan-meeting { padding: 22px; }
  .round-subpage { gap: 7px; }
  .stop-photo-grid .stop-detail-photo { height: 120px; }
}
