/*
 * Визуальное оформление планировщика.
 * Внешние шрифты, изображения и другие сетевые ресурсы не используются.
 */
    :root {
      color-scheme: dark;
      --ink: #f2ead9;
      --muted: #a9a398;
      --paper: #171818;
      --paper-2: #20211f;
      --paper-3: #292a26;
      --line: #5c5547;
      --gold: #d8ad62;
      --gold-2: #f0cc83;
      --current: #a97d46;
      --current-2: #d1ae75;
      --green: #72b68c;
      --red: #c97972;
      --blue: #7ca7c8;
      --shadow: 0 18px 55px rgba(0, 0, 0, .32);
      --text-2xs: clamp(.59375rem, .575rem + .035vw, .625rem);
      --text-xs: clamp(.65625rem, .63rem + .05vw, .6875rem);
      --text-sm: clamp(.71875rem, .69rem + .055vw, .75rem);
      --text-body: clamp(.75rem, .72rem + .07vw, .8125rem);
      --text-choice: .875rem;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    }

    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      overflow: hidden;
      color: var(--ink);
      background:
        radial-gradient(circle at 15% -10%, rgba(216, 173, 98, .14), transparent 35rem),
        linear-gradient(145deg, #151615, #101111 70%);
    }

    button, input, select { font: inherit; }
    button, select {
      color: var(--ink);
      background: #262721;
      border: 1px solid #4c493f;
    }
    button { cursor: pointer; }
    button:hover { border-color: var(--gold); }
    button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible, [role="button"]:focus-visible {
      outline: 2px solid var(--gold-2);
      outline-offset: 2px;
    }

    .app {
      height: 100%;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
    }

    .tools-menu-wrap { position: relative; width: 100%; }
    .compact-control-button {
      display: grid;
      place-items: center;
      flex: 0 0 29px;
      width: 29px;
      height: 29px;
      padding: 0;
      border-radius: 8px;
      font-size: 15px;
      line-height: 1;
    }
    .compact-control-button[aria-expanded="true"] { color: var(--gold-2); border-color: var(--gold); }
    .labeled-control-button {
      width: 100%;
      min-width: 29px;
      padding: 0 9px;
      display: inline-flex;
      gap: 6px;
      font-size: var(--text-xs);
      font-weight: 650;
      white-space: nowrap;
    }
    .control-icon { font-size: .875rem; line-height: 1; }
    .control-label { line-height: 1; }
    .tools-menu {
      position: absolute;
      top: 0;
      left: calc(100% + 9px);
      z-index: 30;
      display: none;
      width: min(340px, calc(100vw - 24px));
      gap: 8px;
      padding: 11px;
      max-height: calc(100vh - 24px);
      overflow-y: auto;
      background: rgba(28, 29, 27, .98);
      border: 1px solid #555044;
      border-radius: 14px;
      box-shadow: 0 18px 48px rgba(0, 0, 0, .52);
    }
    .tools-menu.open { display: grid; }
    .tools-group { display: grid; gap: 7px; }
    .tools-group + .tools-group {
      padding-top: 10px;
      border-top: 1px solid #393a34;
    }
    .tools-group-title {
      color: #8f8d85;
      font-size: var(--text-xs);
      font-weight: 750;
      letter-spacing: .09em;
      text-transform: uppercase;
    }
    .tools-danger-zone {
      display: grid;
      padding-top: 11px;
      border-top: 1px solid rgba(201, 121, 114, .24);
    }
    .tools-menu select, .tools-menu button, .tools-menu a, .technical-info-details > summary {
      min-height: 38px;
      padding: 8px 11px;
      border-radius: 10px;
      text-align: left;
    }
    .tools-menu .support-link {
      display: flex;
      align-items: center;
      color: var(--muted);
      background: #20211f;
      border: 1px solid #3f3e37;
      text-decoration: none;
    }
    .tools-menu .support-link:hover { color: var(--ink); border-color: #70654f; }
    .technical-info-details {
      color: var(--muted);
      background: #20211f;
      border: 1px solid #3f3e37;
      border-radius: 10px;
    }
    .technical-info-details > summary {
      position: relative;
      display: flex;
      align-items: center;
      padding-right: 32px;
      color: var(--muted);
      cursor: pointer;
      list-style: none;
    }
    .technical-info-details > summary::-webkit-details-marker { display: none; }
    .technical-info-details > summary::after {
      content: "▾";
      position: absolute;
      right: 11px;
      color: #8f8d85;
      transition: transform .15s ease;
    }
    .technical-info-details[open] { border-color: #665b49; }
    .technical-info-details[open] > summary { color: var(--ink); }
    .technical-info-details[open] > summary::after { transform: rotate(180deg); }
    .technical-info-content {
      display: grid;
      gap: 8px;
      padding: 10px 11px 11px;
      border-top: 1px solid #393a34;
      font-size: var(--text-body);
    }
    .tools-menu .danger {
      color: #e6aca6;
      background: rgba(92, 55, 52, .18);
      border-color: rgba(201, 121, 114, .32);
    }
    .tools-menu .danger:hover { background: rgba(92, 55, 52, .3); border-color: var(--red); }
    .search {
      width: 100%;
      padding: 9px 12px;
      color: var(--ink);
      background: #101110;
      border: 1px solid #45433b;
      border-radius: 10px;
    }
    .search-summary { min-height: 14px; color: var(--muted); font-size: var(--text-sm); }
    .attribute-sidebar {
      position: relative;
      min-width: 0;
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      gap: 4px;
      padding-right: 7px;
      border-right: 1px solid #34352f;
    }
    .attribute-controls {
      grid-row: 1;
      display: grid;
      grid-auto-rows: minmax(20px, 1fr);
      align-items: stretch;
      gap: 3px;
    }
    .attribute-controls > button,
    .attribute-controls .compact-control-button {
      width: 100%;
      height: 100%;
      min-height: 20px;
      justify-content: flex-start;
      padding-inline: 8px;
      border-radius: 7px;
    }
    .header-collapse-button,
    .header-current-button {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #aaa69d;
      background: #20211e;
      border-color: #414139;
      font-size: var(--text-xs);
      font-weight: 650;
      white-space: nowrap;
    }
    .header-collapse-button:hover { color: var(--ink); border-color: #70654f; }
    .header-current-button {
      display: none;
      color: #c9b083;
      background: #24221d;
      border-color: #554936;
    }
    .header-current-button.contextual-visible { display: inline-flex; }
    .header-current-button:hover { color: #e4cfaa; background: #2c281f; border-color: #766044; }
    .current-choice-button {
      position: absolute;
      z-index: 8;
      top: 8px;
      left: 56px;
      display: none;
      min-height: 34px;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 5px 13px;
      color: #ead9bd;
      background: linear-gradient(180deg, #574630, #3b3125);
      border-color: rgba(209, 174, 117, .72);
      border-radius: 10px;
      font-size: var(--text-sm);
      font-weight: 800;
      white-space: nowrap;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .36), inset 0 0 0 1px rgba(209, 174, 117, .05);
    }
    .app.header-collapsed .current-choice-button.contextual-visible { display: inline-flex; }
    .current-choice-button:hover {
      color: #f3e2c4;
      background: linear-gradient(180deg, #665137, #493a2a);
      border-color: #d9b97f;
      box-shadow: 0 6px 17px rgba(0, 0, 0, .4), 0 0 0 2px rgba(169, 125, 70, .1);
    }
    .current-choice-icon { font-size: .875rem; line-height: 1; }
    .route-summary strong { color: var(--gold-2); font-weight: 700; }
    .app-version { color: var(--gold-2); font-size: var(--text-body); font-variant-numeric: tabular-nums; }
    .route-info-title {
      color: #8f8d85;
      font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .legend { display: flex; flex-wrap: wrap; gap: 8px 12px; }
    .legend span::before {
      content: "";
      display: inline-block;
      width: 8px;
      height: 8px;
      margin-right: 5px;
      border-radius: 50%;
      background: var(--gold);
    }
    .legend .unavailable::before { background: #70716d; }
    .legend .chosen::before { background: var(--green); }
    .route-notice {
      grid-row: 2;
      color: var(--gold-2);
      font-size: var(--text-xs);
      line-height: 1.25;
    }
    .route-notice:empty { display: none; }

    .attribute-bar {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: 145px minmax(0, 1fr);
      align-items: stretch;
      gap: 7px;
      min-height: 72px;
      padding: 6px 20px 6px 8px;
      color: var(--muted);
      background: rgba(16, 17, 16, .94);
      border-bottom: 1px solid #2f302c;
      scrollbar-width: thin;
    }
    .header-expand-button {
      position: absolute;
      z-index: 35;
      top: 8px;
      left: 0;
      width: 48px;
      height: 38px;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0;
      color: var(--current-2);
      background: rgba(38, 39, 33, .96);
      border-color: rgba(169, 125, 70, .58);
      border-left: 0;
      border-radius: 0 8px 8px 0;
      box-shadow: 0 5px 16px rgba(0, 0, 0, .28);
      font-size: .75rem;
      transition: border-color .15s ease, background .15s ease;
    }
    .header-expand-button:hover { background: #2b2b25; border-color: var(--current); }
    .attribute-bar.collapsed {
      min-height: 0;
      height: 0;
      gap: 0;
      padding: 0;
      background: transparent;
      border-bottom: 0;
    }
    .attribute-bar.collapsed .attribute-sidebar,
    .attribute-bar.collapsed .attribute-groups { display: none; }
    .attribute-bar.collapsed .header-expand-button { display: flex; }
    .attribute-groups {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      min-width: 0;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: thin;
    }
    .attribute-group {
      --attribute-column-width: 176px;
      flex: 0 0 auto;
      width: max-content;
      min-width: calc(var(--attribute-column-width) + 14px);
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 4px;
      padding: 5px 7px 6px;
      background: #1d1e1b;
      border: 1px solid #393a34;
      border-radius: 9px;
    }
    .attribute-group[data-group-role="standard"] { --attribute-column-width: 215px; }
    .attribute-group[data-group-role="relations"] { --attribute-column-width: 180px; }
    .attribute-group[data-group-role="estates"] { --attribute-column-width: 250px; }
    .attribute-group.current { border-color: rgba(216, 173, 98, .65); }
    .attribute-group-title {
      color: #8f8d85;
      font-size: var(--text-xs);
      font-weight: 700;
      letter-spacing: .09em;
      line-height: 1;
      text-transform: uppercase;
    }
    .attribute-group.current .attribute-group-title { color: var(--gold-2); }
    .attribute-items {
      display: flex;
      align-items: flex-start;
      gap: 5px;
      min-width: 0;
      overflow: visible;
    }
    .attribute-column {
      flex: 0 0 var(--attribute-column-width);
      width: var(--attribute-column-width);
      display: grid;
      gap: 3px;
    }
    .attribute-subgroup {
      flex: 0 0 var(--attribute-column-width);
      width: var(--attribute-column-width);
      min-width: var(--attribute-column-width);
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 3px;
      padding-left: 5px;
      border-left: 1px solid #383933;
    }
    .attribute-subgroup:first-child { padding-left: 0; border-left: 0; }
    .attribute-subgroup-title { color: #85867f; font-size: var(--text-2xs); line-height: 1.1; }
    .attribute-subgroup-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .stat-chip {
      min-width: 0;
      min-height: 25px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 7px;
      padding: 3px 6px;
      background: #242520;
      border: 1px solid #424139;
      border-radius: 7px;
    }
    .stat-chip.current { background: #2b281f; border-color: #7b6640; }
    .stat-chip[data-attribute-tokens] { cursor: pointer; transition: background .12s, border-color .12s; }
    .stat-chip[data-attribute-tokens]:hover { background: #2d2e28; border-color: #75664d; }
    .stat-chip[data-attribute-tokens]:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }
    .stat-chip-name {
      display: block;
      max-width: none;
      overflow: hidden;
      color: #a9a398;
      font-size: var(--text-sm);
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .stat-chip-value { color: var(--gold-2); font-size: 12px; font-variant-numeric: tabular-nums; }
    .stat-pair { min-width: 0; grid-template-columns: minmax(0, 1fr); }
    .stat-pair-value {
      color: var(--ink);
      font-size: var(--text-xs);
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .stat-pair-value strong { color: var(--gold-2); font-size: 13px; }
    .stat-pair-divider { padding-inline: 4px; color: #777872; }
    .estate-summary { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 1px; }
    .estate-summary-line { color: var(--ink); font-size: var(--text-xs); white-space: nowrap; }
    .estate-summary-line strong { color: var(--gold-2); font-size: 12px; }
    .estate-chip { min-width: 0; }
    .estate-chip .stat-chip-value { font-size: var(--text-xs); white-space: nowrap; }
    .estate-allegiance { grid-column: 1 / -1; color: #aaa59a; font-size: var(--text-xs); }
    .estate-grid {
      display: grid;
      grid-template-columns: repeat(2, var(--attribute-column-width));
      gap: 3px 5px;
      min-width: 0;
    }
    .estate-grid .estate-summary { grid-column: 1 / -1; }
    .article-chip { max-width: none; }
    .article-chip .stat-chip-value {
      max-width: 105px;
      overflow: hidden;
      font-size: var(--text-xs);
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .attribute-empty { color: #777872; font-size: var(--text-sm); }

    .timeline-shell {
      position: relative;
      min-height: 0;
      overflow: hidden;
      background: linear-gradient(90deg, rgba(72, 112, 84, .07) 0 49.85%, rgba(216, 173, 98, .04) 49.85% 50.15%, rgba(89, 101, 117, .065) 50.15% 100%);
    }
    .timeline-top-controls {
      position: absolute;
      z-index: 8;
      top: 7px;
      left: 50%;
      max-width: calc(100% - 20px);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transform: translateX(-50%);
    }
    .search-mode-bar {
      width: min(620px, calc(100vw - 180px));
      min-height: 31px;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 4px 5px 4px 11px;
      color: var(--ink);
      background: rgba(32, 33, 30, .97);
      border: 1px solid rgba(216, 173, 98, .58);
      border-radius: 10px;
      box-shadow: 0 7px 22px rgba(0, 0, 0, .38);
      font-size: var(--text-body);
    }
    .search-mode-bar[hidden] { display: none; }
    .search-mode-text {
      min-width: 0;
      overflow: hidden;
      color: var(--gold-2);
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .search-mode-count { flex: 0 0 auto; color: var(--muted); font-size: var(--text-sm); white-space: nowrap; }
    .search-mode-bar button {
      flex: 0 0 auto;
      min-height: 23px;
      padding: 3px 8px;
      border-radius: 7px;
      font-size: var(--text-sm);
    }
    .timeline-viewport {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      overflow: auto;
      overscroll-behavior: contain;
      scrollbar-color: #aa854b #181915;
      scrollbar-width: auto;
      scrollbar-gutter: stable;
    }
    .timeline-viewport::-webkit-scrollbar { width: 12px; height: 0; }
    .timeline-viewport::-webkit-scrollbar-track {
      background: linear-gradient(180deg, #11120f, #1a1b17);
      border-top: 1px solid #343128;
    }
    .timeline-viewport::-webkit-scrollbar-thumb {
      min-width: 72px;
      background: linear-gradient(90deg, #75603d, #b88d4d 50%, #75603d);
      border: 3px solid #181915;
      border-radius: 999px;
      box-shadow: inset 0 0 0 1px rgba(240, 204, 131, .2);
    }
    .timeline-viewport::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(90deg, #8e7045, #d0a45e 50%, #8e7045);
    }
    .timeline-viewport::-webkit-scrollbar-thumb:active {
      background: var(--gold-2);
      border-width: 2px;
    }
    .timeline-viewport::-webkit-scrollbar-corner { background: #181915; }
    .timeline-scrollbar {
      --timeline-tooltip-position: 0%;
      position: absolute;
      z-index: 7;
      left: 0;
      right: 12px;
      bottom: 0;
      height: 40px;
      display: flex;
      align-items: center;
      padding: 8px 10px 0;
      background: linear-gradient(180deg, rgba(17, 18, 15, .96), #12130f);
      border-top: 1px solid #39342a;
      box-shadow: 0 -5px 18px rgba(0, 0, 0, .2);
    }
    .timeline-scrollbar[hidden] { display: none; }
    .timeline-slider-track-overlay {
      position: absolute;
      z-index: 4;
      inset: 0 31px;
      pointer-events: none;
    }
    .timeline-slider-markers,
    .timeline-current-marker {
      position: absolute;
      inset: 0;
    }
    .timeline-chapter-segment {
      position: absolute;
      top: 0;
      bottom: 0;
    }
    .timeline-chapter-segment.has-boundary { border-left: 2px solid rgba(240, 204, 131, .66); }
    .timeline-chapter-label {
      position: absolute;
      top: 3px;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(240, 204, 131, .9);
      font: 700 .6875rem/1 Georgia, "Times New Roman", serif;
      text-shadow: 0 1px 3px #000;
    }
    .timeline-current-marker {
      inset: 19px auto auto var(--timeline-current-position, 0%);
      width: 12px;
      height: 12px;
      min-height: 0;
      padding: 0;
      transform: translateX(-50%);
      background: var(--current);
      border: 2px solid var(--current-2);
      border-radius: 999px;
      box-shadow: 0 0 0 2px rgba(169, 125, 70, .13), 0 0 7px rgba(169, 125, 70, .46);
      cursor: pointer;
      pointer-events: auto;
    }
    .timeline-slider-tooltip {
      position: absolute;
      z-index: 5;
      left: clamp(88px, var(--timeline-tooltip-position), calc(100% - 88px));
      bottom: 45px;
      max-width: min(360px, calc(100vw - 24px));
      padding: 6px 9px;
      overflow: hidden;
      transform: translateX(-50%) translateY(3px);
      color: var(--ink);
      background: rgba(28, 29, 27, .98);
      border: 1px solid #665b49;
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .48);
      font-size: var(--text-sm);
      line-height: 1.25;
      opacity: 0;
      pointer-events: none;
      text-overflow: ellipsis;
      white-space: nowrap;
      transition: opacity .12s ease, transform .12s ease;
    }
    .timeline-scrollbar:hover .timeline-slider-tooltip,
    .timeline-scrollbar:focus-within .timeline-slider-tooltip,
    .timeline-scrollbar.interacting .timeline-slider-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    .timeline-scrollbar input {
      position: relative;
      z-index: 3;
      width: 100%;
      height: 28px;
      margin: 0;
      padding: 0;
      appearance: none;
      color: var(--gold-2);
      background: transparent;
      cursor: grab;
    }
    .timeline-scrollbar input:active { cursor: grabbing; }
    .timeline-scrollbar input::-webkit-slider-runnable-track {
      height: 8px;
      background:
        linear-gradient(90deg, rgba(216, 173, 98, .72) 0 var(--timeline-progress, 0%), transparent var(--timeline-progress, 0%) 100%),
        linear-gradient(180deg, #29271f, #1d1e19);
      border: 1px solid #4b4436;
      border-radius: 999px;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, .55);
    }
    .timeline-scrollbar input::-webkit-slider-thumb {
      width: 42px;
      height: 20px;
      margin-top: -7px;
      appearance: none;
      background: linear-gradient(180deg, #d6ad68, #95713f);
      border: 1px solid #f0cc83;
      border-radius: 999px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(35, 29, 20, .2);
      transition: background .12s ease, box-shadow .12s ease, transform .12s ease;
    }
    .timeline-scrollbar input:hover::-webkit-slider-thumb {
      background: linear-gradient(180deg, #edcb89, #ad8248);
      box-shadow: 0 2px 10px rgba(0, 0, 0, .58), 0 0 0 3px rgba(216, 173, 98, .12);
    }
    .timeline-scrollbar input:active::-webkit-slider-thumb { transform: scaleY(1.08); }
    .timeline-scrollbar input::-moz-range-track {
      height: 7px;
      background: #24231d;
      border: 1px solid #4b4436;
      border-radius: 999px;
    }
    .timeline-scrollbar input::-moz-range-progress {
      height: 7px;
      background: rgba(216, 173, 98, .72);
      border-radius: 999px;
    }
    .timeline-scrollbar input::-moz-range-thumb {
      width: 42px;
      height: 20px;
      background: #b88d4d;
      border: 1px solid #f0cc83;
      border-radius: 999px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    }
    .timeline {
      --timeline-edge: max(38px, calc(50vw - 165px));
      position: relative;
      display: flex;
      align-items: flex-start;
      gap: 48px;
      min-width: max-content;
      min-height: 100%;
      padding: 58px var(--timeline-edge) 88px;
    }

    .chapter {
      position: relative;
      display: flex;
      align-items: flex-start;
      gap: 24px;
    }
    .chapter[hidden] { display: none; }
    .chapter-heading {
      position: relative;
      flex: 0 0 330px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 13px;
      width: 330px;
      min-height: 116px;
      padding: 16px;
      background: linear-gradient(155deg, #26251f, #1b1c19);
      border: 1px solid rgba(216, 173, 98, .72);
      border-radius: 22px;
      box-shadow: var(--shadow);
    }
    .chapter-heading.first-chapter-heading {
      min-height: 178px;
    }
    .chapter-brand-inline {
      display: grid;
      gap: 4px;
      padding-bottom: 12px;
      border-bottom: 1px solid #4b473e;
    }
    .chapter-brand-inline strong {
      color: var(--ink);
      font-size: 18px;
      font-weight: 500;
      letter-spacing: .02em;
      line-height: 1;
    }
    .chapter-brand-inline small {
      color: var(--muted);
      font: var(--text-2xs)/1.15 Inter, sans-serif;
      white-space: normal;
    }
    .chapter-title-row {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--ink);
      font: 16px/1.2 Georgia, "Times New Roman", serif;
    }
    .chapter-title-row strong { font-weight: 500; }
    .chapter-number {
      display: grid;
      place-items: center;
      flex: 0 0 31px;
      width: 31px;
      height: 31px;
      color: #211b12;
      background: linear-gradient(180deg, var(--gold-2), var(--gold));
      border-radius: 50%;
      box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
      font: 700 12px/1 Georgia, "Times New Roman", serif;
    }
    .chapter-language-control {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 9px;
      color: var(--muted);
      font-size: var(--text-sm);
    }
    .chapter-language-control select {
      min-width: 0;
      min-height: 31px;
      padding: 4px 8px;
      border-radius: 8px;
    }
    .chapter-scenes { display: flex; align-items: flex-start; gap: 24px; }

    .scene-card {
      position: relative;
      width: 330px;
      flex: 0 0 330px;
      padding: 16px;
      background: linear-gradient(155deg, #242521, #1b1c1a);
      border: 1px solid #555044;
      border-radius: 22px;
      box-shadow: var(--shadow);
      transition: filter .15s, opacity .15s, border-color .15s;
    }
    .scene-card.unavailable {
      color: #bbb8b0;
      background: linear-gradient(155deg, #20211f, #191a19);
      border-color: #484944;
      box-shadow: 0 14px 42px rgba(0, 0, 0, .24);
      filter: grayscale(.72) brightness(.88);
      opacity: .72;
    }
    .scene-card.unavailable:hover,
    .scene-card.unavailable:focus-within { filter: grayscale(.55) brightness(.94); opacity: .82; }
    .scene-card.unavailable .scene-id { color: #d1ccc2; }
    .scene-card.has-selection { border-color: rgba(114, 182, 140, .8); }
    .scene-card.timeline-past:not(.unavailable) { background: linear-gradient(155deg, #222923, #1a1d1a); }
    .scene-card.timeline-future:not(.unavailable) { background: linear-gradient(155deg, #222426, #1a1b1d); }
    .scene-card.timeline-current {
      border-color: var(--current-2);
      box-shadow: 0 0 0 1px rgba(169, 125, 70, .18), var(--shadow);
    }
    .scene-card.timeline-current::after {
      content: "";
      position: absolute;
      z-index: 2;
      top: -12px;
      left: 50%;
      width: 17px;
      height: 17px;
      transform: translateX(-50%);
      background: var(--current);
      border: 3px solid var(--current-2);
      border-radius: 50%;
      box-shadow: 0 0 0 3px rgba(169, 125, 70, .12), 0 0 8px rgba(169, 125, 70, .42);
      animation: current-orb-arrive .22s ease-out;
    }
    @keyframes current-orb-arrive {
      from { transform: translate(-50%, -8px) scale(.72); opacity: .35; }
      to { transform: translateX(-50%) scale(1); opacity: 1; }
    }
    .scene-card.search-hidden { display: none; }

    .scene-topline {
      display: flex;
      align-items: center;
      gap: 7px;
      margin-bottom: 9px;
      color: var(--muted);
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: .075em;
    }
    .type-badge, .state-badge {
      padding: 3px 7px;
      border: 1px solid #4f4c43;
      border-radius: 999px;
    }
    .type-badge { color: var(--gold-2); }
    .state-badge { margin-left: auto; }
    .state-badge.ok { color: var(--green); border-color: rgba(114, 182, 140, .45); }
    .state-badge.no { color: #aaa; }

    .scene-id {
      margin: 0;
      overflow-wrap: anywhere;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 1.125rem;
      font-weight: 500;
      line-height: 1.23;
    }
    .scene-variant { margin-top: 5px; color: var(--blue); font-size: var(--text-body); }
    .reason {
      margin-top: 9px;
      padding: 7px 9px;
      color: #c1bdb5;
      background: rgba(0, 0, 0, .2);
      border-radius: 9px;
      font-size: var(--text-body);
      line-height: 1.4;
    }
    .reason:empty { display: none; }
    .route-gap-notice {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 8px;
      width: 100%;
      margin-top: 10px;
      padding: 8px 9px;
      color: #c6d0d8;
      text-align: left;
      background: linear-gradient(135deg, rgba(92, 116, 136, .2), rgba(62, 75, 87, .16));
      border-color: rgba(123, 153, 177, .48);
      border-radius: 10px;
    }
    .route-gap-notice[hidden] { display: none; }
    .route-gap-notice:hover { color: #e0e7ec; background: rgba(92, 116, 136, .27); border-color: rgba(142, 172, 196, .7); }
    .scene-card.unavailable .route-gap-notice {
      opacity: .78;
      background: rgba(53, 63, 71, .14);
      border-color: rgba(112, 128, 140, .34);
    }
    .scene-card.unavailable .route-gap-notice:hover,
    .scene-card.unavailable .route-gap-notice:focus-visible { opacity: 1; }
    .route-gap-status {
      padding: 2px 6px;
      color: #b9cbd8;
      border: 1px solid rgba(123, 153, 177, .42);
      border-radius: 999px;
      font-size: var(--text-2xs);
      font-weight: 750;
      letter-spacing: .055em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .route-gap-hint { font-size: var(--text-xs); line-height: 1.35; }

    .section-label {
      margin: 14px 0 7px;
      color: #aaa397;
      font-size: var(--text-sm);
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
    .scene-card > .section-label:first-of-type { margin-top: 12px; }

    .logic-group {
      display: grid;
      gap: 5px;
      min-width: 0;
      overflow: hidden;
      padding: 8px 9px;
      background: rgba(9, 10, 9, .28);
      border: 1px solid #3b3c38;
      border-radius: 10px;
      font-size: var(--text-body);
      line-height: 1.4;
    }
    .logic-group.pass { border-color: rgba(114, 182, 140, .34); }
    .logic-group.fail { border-color: rgba(201, 121, 114, .42); }
    .logic-group.payable { border-color: rgba(216, 173, 98, .45); }
    .logic-group.unknown { border-color: rgba(123, 153, 177, .42); background: rgba(53, 66, 76, .2); }
    .logic-group + .logic-group { margin-top: 6px; }
    .logic-head { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
    .logic-result {
      padding: 2px 6px;
      color: var(--red);
      background: rgba(201, 121, 114, .09);
      border: 1px solid rgba(201, 121, 114, .32);
      border-radius: 999px;
      font-size: var(--text-2xs);
      font-weight: 750;
      letter-spacing: .06em;
      white-space: nowrap;
      text-transform: uppercase;
    }
    .logic-group.pass .logic-result { color: var(--green); background: rgba(114, 182, 140, .08); border-color: rgba(114, 182, 140, .3); }
    .logic-group.payable .logic-result { color: var(--gold-2); background: rgba(216, 173, 98, .08); border-color: rgba(216, 173, 98, .32); }
    .logic-group.unknown .logic-result { color: #b9cbd8; background: rgba(123, 153, 177, .08); border-color: rgba(123, 153, 177, .34); }
    .logic-or { padding-left: 20px; color: #99968e; font-size: var(--text-sm); }
    .logic-block-separator { height: 5px; margin: 1px 0 2px; border-top: 1px solid rgba(169, 163, 152, .18); }
    .logic-alternative, .condition-block { display: grid; gap: 5px; }
    .condition-block { padding-left: 8px; border-left: 1px solid rgba(169, 163, 152, .22); }
    .condition-line, .effect-line {
      display: grid;
      grid-template-columns: 15px minmax(0, 1fr);
      gap: 6px;
      align-items: start;
    }
    .condition-line > span, .effect-line > span { min-width: 0; overflow-wrap: anywhere; }
    .effect-transition { color: var(--gold-2); font-weight: 700; white-space: normal; }
    .effect-line.payment-effect { color: #dbc28f; }
    .condition-line::before, .effect-line::before {
      content: "×";
      display: grid;
      place-items: center;
      width: 14px;
      height: 14px;
      color: #f2d8d4;
      background: rgba(201, 121, 114, .48);
      border-radius: 50%;
      font: 800 10px/1 Inter, sans-serif;
    }
    .condition-line.pass::before { content: "✓"; color: #e7f5eb; background: rgba(114, 182, 140, .55); }
    .condition-line.unknown::before { content: "?"; color: #e4edf3; background: rgba(123, 153, 177, .58); }
    .effect-line::before { content: ""; width: 7px; height: 7px; margin: 4px 0 0 3px; background: var(--gold); }
    .effect-line.positive::before { background: var(--green); }
    .effect-line.negative::before { background: var(--red); }
    .effect-line.achievement {
      grid-template-columns: 20px minmax(0, 1fr);
      gap: 8px;
      padding: 8px 9px;
      color: #f4e7c9;
      background: linear-gradient(135deg, rgba(216, 173, 98, .2), rgba(216, 173, 98, .07));
      border: 1px solid rgba(216, 173, 98, .46);
      border-radius: 9px;
    }
    .effect-line.achievement::before {
      content: "★";
      display: block;
      width: auto;
      height: auto;
      margin: 0;
      color: var(--gold-2);
      background: none;
      font-size: 16px;
      line-height: 1.2;
    }
    .achievement-copy { display: grid; gap: 2px; }
    .achievement-kind { color: var(--gold-2); font-size: var(--text-2xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
    .achievement-title { color: #fff2d2; font-size: 12px; font-weight: 750; }
    .achievement-description { color: #bdb5a7; font-size: var(--text-xs); line-height: 1.4; }

    .choices { display: grid; gap: 9px; }
    .choice-card {
      display: block;
      min-width: 0;
      overflow: hidden;
      padding: 11px;
      color: var(--ink);
      background: #2a2b27;
      border: 1px solid #4c4b44;
      border-radius: 14px;
      cursor: pointer;
      user-select: none;
      transition: transform .12s, background .12s, border-color .12s;
    }
    .choice-card[data-available="true"]:hover {
      transform: translateY(-1px);
      background: #30312c;
      border-color: #8b7653;
    }
    .choice-card.unavailable {
      color: #b9aaa6;
      background: linear-gradient(145deg, #2a2220, #211e1d);
      cursor: pointer;
      border-color: rgba(201, 121, 114, .52);
      box-shadow: inset 3px 0 0 rgba(201, 121, 114, .28);
    }
    .choice-card.unavailable .choice-text { color: #d7c9c5; }
    .choice-card.unavailable .section-label { color: #aa9690; }
    .choice-card.unlockable {
      filter: none;
      opacity: .94;
      cursor: default;
      border-color: rgba(216, 173, 98, .5);
      background: #27251f;
      box-shadow: inset 3px 0 0 rgba(216, 173, 98, .25);
    }
    .choice-card.uncalculated {
      color: #bcc7cf;
      background: linear-gradient(145deg, #252a2e, #1f2326);
      border-color: rgba(123, 153, 177, .55);
      box-shadow: inset 3px 0 0 rgba(123, 153, 177, .34);
    }
    .choice-card.uncalculated .choice-text { color: #d4dde3; }
    .choice-card.uncalculated .section-label { color: #9cabb5; }
    .choice-card.uncalculated[data-available="true"]:hover {
      background: linear-gradient(145deg, #2b3136, #23282c);
      border-color: rgba(142, 172, 196, .75);
    }
    .choice-card.selected {
      color: #f4eedf;
      background: rgba(63, 91, 72, .52);
      border-color: var(--green);
      box-shadow: inset 0 0 0 1px rgba(114, 182, 140, .25);
    }
    .choice-card.selected.invalid {
      background: rgba(92, 55, 52, .55);
      border-color: var(--red);
    }
    .choice-card.selected.uncalculated { box-shadow: inset 3px 0 0 rgba(123, 153, 177, .58); }
    .choice-card[hidden] { display: none; }
    .case-choice-empty { margin: 8px 0 0; color: #8f8e88; font-size: var(--text-sm); }
    .choice-heading { display: flex; gap: 8px; align-items: flex-start; }
    .choice-number {
      flex: 0 0 auto;
      display: grid;
      place-items: center;
      width: 22px;
      height: 22px;
      color: #cfc5b4;
      background: #1a1b19;
      border-radius: 50%;
      font-size: var(--text-xs);
    }
    .choice-text {
      flex: 1;
      min-width: 0;
      overflow-wrap: anywhere;
      font-size: var(--text-choice);
      font-weight: 650;
      line-height: 1.32;
    }
    .choice-mark { color: var(--green); font-size: 14px; }
    .choice-card .logic-group { margin-top: 8px; background: rgba(0, 0, 0, .12); }
    .choice-card .section-label { margin: 9px 0 5px; }
    .unlock-actions { display: grid; gap: 6px; margin-top: 8px; }
    .unlock-action {
      width: 100%;
      min-height: 34px;
      padding: 7px 9px;
      color: var(--gold-2);
      background: rgba(216, 173, 98, .08);
      border-color: rgba(216, 173, 98, .42);
      border-radius: 9px;
      font-size: var(--text-xs);
      font-weight: 700;
      text-align: center;
    }
    .unlock-action.armed { color: #dff1e5; background: rgba(114, 182, 140, .15); border-color: rgba(114, 182, 140, .55); }
    .unlock-action:disabled { color: #99958c; background: rgba(0, 0, 0, .12); border-color: #47463f; cursor: not-allowed; }
    .payment-note { color: #aaa397; font-size: var(--text-xs); text-align: center; }
    .empty-scene { color: #8f8e88; font-size: var(--text-body); }

    .side-panel {
      position: fixed;
      z-index: 20;
      top: 0;
      right: 0;
      width: min(430px, 92vw);
      height: 100%;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      background: #191a18;
      border-left: 1px solid #5a5244;
      box-shadow: -20px 0 60px rgba(0, 0, 0, .5);
      transform: translateX(102%);
      transition: transform .2s ease;
    }
    .side-panel.open { transform: translateX(0); }
    .panel-head {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 17px 18px;
      border-bottom: 1px solid #393a35;
    }
    .panel-head h2 {
      margin: 0;
      flex: 1;
      font-family: Georgia, "Times New Roman", serif;
      font-size: 21px;
      font-weight: 500;
    }
    .panel-head button { padding: 7px 10px; border-radius: 9px; }
    .panel-body { overflow: auto; padding: 16px 18px 40px; }
    .panel-note { color: var(--muted); font-size: 12px; line-height: 1.45; }
    .state-section { margin-top: 20px; }
    .state-section h3 {
      margin: 0 0 9px;
      color: var(--gold-2);
      font-size: 12px;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    .state-grid { display: grid; gap: 6px; }
    .state-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 7px 9px;
      background: #22231f;
      border-radius: 8px;
      font-size: 12px;
    }
    .state-row.changed { border-left: 2px solid var(--gold); }
    .state-row input {
      width: 74px;
      padding: 5px 7px;
      color: var(--ink);
      background: #111210;
      border: 1px solid #46453e;
      border-radius: 7px;
      text-align: right;
    }
    .state-value { color: var(--gold-2); font-variant-numeric: tabular-nums; }
    .panel-actions { display: flex; gap: 8px; margin-top: 14px; }
    .panel-actions button { padding: 8px 10px; border-radius: 9px; }
    .hidden-scene-list { display: grid; gap: 9px; margin-top: 13px; }
    .hidden-scene-item {
      padding: 11px;
      background: #22231f;
      border: 1px solid #42423c;
      border-radius: 12px;
    }
    .hidden-scene-item.available { border-color: rgba(114, 182, 140, .52); }
    .hidden-scene-head { display: flex; gap: 8px; align-items: flex-start; }
    .hidden-scene-name { flex: 1; overflow-wrap: anywhere; font-size: 12px; font-weight: 650; }
    .hidden-scene-status { color: var(--red); font-size: var(--text-xs); white-space: nowrap; }
    .hidden-scene-item.available .hidden-scene-status { color: var(--green); }
    .hidden-scene-item .logic-group { margin-top: 8px; }
    .goto-scene { margin-top: 8px; padding: 6px 9px; border-radius: 8px; font-size: var(--text-xs); }
    .route-file-backdrop {
      position: fixed;
      z-index: 39;
      inset: 0;
      display: none;
      background: rgba(0, 0, 0, .66);
      backdrop-filter: blur(3px);
    }
    .route-file-backdrop.open { display: block; }
    .route-file-dialog {
      position: fixed;
      z-index: 40;
      top: 50%;
      left: 50%;
      display: none;
      width: min(440px, calc(100vw - 24px));
      color: var(--ink);
      background: #191a18;
      border: 1px solid #665b49;
      border-radius: 16px;
      box-shadow: 0 28px 90px rgba(0, 0, 0, .72);
      transform: translate(-50%, -50%);
      overflow: hidden;
    }
    .route-file-dialog.open { display: grid; }
    .route-file-head {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 16px 12px;
      border-bottom: 1px solid #393a35;
    }
    .route-file-head > div { flex: 1; min-width: 0; }
    .route-file-head h2 { margin: 0; font: 500 21px/1.2 Georgia, "Times New Roman", serif; }
    .route-file-head p { margin: 5px 0 0; color: var(--muted); font-size: var(--text-xs); line-height: 1.45; }
    .route-file-head button { padding: 7px 10px; border-radius: 9px; }
    .route-file-body { display: grid; gap: 12px; padding: 16px; }
    .route-file-summary { margin: 0; color: var(--gold-2); font-size: var(--text-sm); }
    .route-file-actions { display: grid; gap: 8px; }
    .route-file-actions button { min-height: 40px; padding: 9px 12px; border-radius: 10px; text-align: left; }
    .route-file-actions .primary { color: #e8f6ec; background: rgba(114, 182, 140, .14); border-color: rgba(114, 182, 140, .58); }
    .route-file-actions button:disabled { cursor: not-allowed; opacity: .42; }
    .route-file-status { min-height: 16px; margin: 0; color: var(--gold-2); font-size: var(--text-xs); line-height: 1.4; }
    .choice-history-backdrop {
      position: fixed;
      z-index: 39;
      inset: 0;
      display: none;
      background: rgba(0, 0, 0, .66);
      backdrop-filter: blur(3px);
    }
    .choice-history-backdrop.open { display: block; }
    .choice-history-dialog {
      position: fixed;
      z-index: 40;
      inset: 5vh 3vw;
      display: none;
      grid-template-rows: auto auto minmax(0, 1fr);
      min-width: 0;
      color: var(--ink);
      background: #191a18;
      border: 1px solid #665b49;
      border-radius: 18px;
      box-shadow: 0 28px 90px rgba(0, 0, 0, .72);
      overflow: hidden;
    }
    .choice-history-dialog.open { display: grid; }
    .choice-history-head {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 16px 12px;
      border-bottom: 1px solid #393a35;
    }
    .choice-history-heading { flex: 1; min-width: 0; }
    .choice-history-heading h2 {
      margin: 0;
      font: 500 21px/1.2 Georgia, "Times New Roman", serif;
    }
    .choice-history-target { margin-top: 4px; color: var(--muted); font-size: var(--text-xs); overflow-wrap: anywhere; }
    .choice-history-head button { padding: 7px 10px; border-radius: 9px; }
    .choice-history-status {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
      align-items: center;
      padding: 10px 16px;
      background: #20211f;
      border-bottom: 1px solid #343530;
    }
    .choice-history-status-copy { display: grid; gap: 5px; min-width: 0; }
    .choice-history-condition { color: #bdb7ab; font-size: var(--text-xs); }
    .choice-history-condition .logic-group { display: inline-flex; flex-wrap: wrap; margin: 0 5px 0 0; padding: 5px 7px; vertical-align: top; }
    .choice-history-condition .logic-head { min-width: 145px; }
    .choice-history-condition .condition-line { min-width: 190px; }
    .choice-history-state { color: var(--red); font-size: var(--text-sm); font-weight: 700; }
    .choice-history-state.available { color: var(--green); }
    .choice-history-traits { color: var(--gold-2); font-size: var(--text-xs); }
    .choice-history-track {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      min-width: 0;
      padding: 16px 18px 28px;
      overflow-x: auto;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-color: #716650 #191a18;
    }
    .choice-history-empty { margin: auto; color: var(--muted); font-size: 13px; text-align: center; }
    .choice-history-scene {
      flex: 0 0 300px;
      width: 300px;
      padding: 12px;
      background: linear-gradient(155deg, #242521, #1d1e1b);
      border: 1px solid #4a4941;
      border-radius: 15px;
    }
    .choice-history-scene:last-of-type { border-color: rgba(216, 173, 98, .7); }
    .choice-history-scene-head {
      display: grid;
      gap: 3px;
      margin-bottom: 9px;
      padding: 5px 6px;
      border: 1px solid transparent;
      border-radius: 8px;
      cursor: pointer;
      transition: background .12s, border-color .12s;
    }
    .choice-history-scene-head:hover { background: #2c2d28; border-color: #655a48; }
    .choice-history-scene-head:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }
    .choice-history-order { color: #817c72; font-size: var(--text-2xs); letter-spacing: .08em; text-transform: uppercase; }
    .choice-history-scene-name { font: 500 14px/1.25 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
    .choice-history-options { display: grid; gap: 6px; }
    .choice-history-option {
      width: 100%;
      display: grid;
      grid-template-columns: 20px minmax(0, 1fr) auto;
      gap: 7px;
      align-items: start;
      padding: 8px;
      border-radius: 10px;
      text-align: left;
    }
    .choice-history-option.selected { color: #e8f6ec; background: rgba(114, 182, 140, .14); border-color: var(--green); }
    .choice-history-option:disabled { cursor: not-allowed; opacity: .45; }
    .choice-history-option-number { color: #8f8d85; font-size: var(--text-2xs); }
    .choice-history-option-copy { display: grid; gap: 3px; min-width: 0; }
    .choice-history-option-name { color: inherit; font-size: var(--text-sm); font-weight: 650; overflow-wrap: anywhere; }
    .choice-history-impact { color: var(--gold-2); font-size: var(--text-2xs); font-weight: 400; }
    .choice-history-impact.neutral { color: #85847f; }
    .choice-history-option-mark { color: var(--green); font-size: 12px; }
    .backdrop {
      position: fixed;
      z-index: 19;
      inset: 0;
      display: none;
      background: rgba(0, 0, 0, .38);
    }
    .backdrop.open { display: block; }

    .noscript {
      margin: 30px;
      padding: 20px;
      color: #211b12;
      background: #f0cc83;
      border-radius: 12px;
    }

    @media (max-width: 820px) {
      .attribute-bar { grid-template-columns: 132px minmax(0, 1fr); padding: 6px 8px; }
      .labeled-control-button { width: 100%; }
      .attribute-sidebar { padding-right: 5px; }
      .route-notice { display: none; }
      .current-choice-button { padding-inline: 9px; }
      .timeline { --timeline-edge: max(24px, calc(50vw - 150px)); }
      .chapter-heading { width: 300px; flex-basis: 300px; }
      .scene-card { width: 300px; flex-basis: 300px; }
      .timeline-top-controls { max-width: calc(100% - 16px); gap: 6px; }
      .search-mode-bar { width: calc(100vw - 78px); gap: 6px; padding-left: 8px; }
      .search-mode-count { display: none; }
      .tools-menu { position: fixed; top: 44px; left: 12px; right: 12px; width: auto; max-height: calc(100vh - 56px); }
      .choice-history-dialog { inset: 3vh 10px; }
      .choice-history-status { grid-template-columns: 1fr; }
      .choice-history-scene { flex-basis: 275px; width: 275px; }
    }

    @media (max-width: 480px) {
      .current-choice-label { display: none; }
      .current-choice-button { width: 38px; padding-inline: 0; }
      .app.header-collapsed .timeline-shell.search-active .timeline-top-controls {
        left: 102px;
        right: 8px;
        max-width: none;
        transform: none;
      }
      .app.header-collapsed .timeline-shell.search-active .search-mode-bar { width: 100%; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
    }
