/* BHT Yokohama X Feed v0.2.3 - compact, fixed-height post viewer */
.bht-yx{max-width:100%;box-sizing:border-box;background:#fff;color:#182d45;font-family:inherit}
.bht-yx *{box-sizing:border-box}
.bht-yx-head{display:flex;gap:8px;align-items:start;justify-content:space-between;flex-wrap:wrap;padding:12px 14px;background:#f2f7ff;border:1px solid #dce7f5;border-radius:8px}
.bht-yx-head-main{flex:1 1 210px;min-width:0}
.bht-yx-head strong{display:block;font-size:1.03rem;line-height:1.45;color:#154ab5}
.bht-yx-sub{font-size:.78rem;color:#60738c;line-height:1.5;margin-top:3px}
.bht-yx-source{display:inline-block;font-size:.77rem;color:#154ab5!important;border:1px solid #c8dcff;border-radius:5px;padding:5px 8px;white-space:nowrap;text-decoration:none!important;background:white}
.bht-yx-meta{font-size:.74rem;color:#576b83;margin:6px 0 0;line-height:1.5}
.bht-yx-stale{color:#98500b;font-weight:700}
.bht-yx-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px 4px;margin:6px 0;border-top:1px solid #e5edf6;border-bottom:1px solid #e5edf6}
.bht-yx-nav[hidden],.bht-yx-counter[hidden],.bht-yx-expand[hidden]{display:none!important}
.bht-yx-pages{display:flex;flex:1;justify-content:center;gap:4px;flex-wrap:wrap}
.bht-yx-nav button{cursor:pointer;border:1px solid #c8d8ec!important;background:#fff!important;border-radius:5px!important;min-width:32px;min-height:38px;height:auto;padding:4px 6px!important;font:inherit!important;font-size:.81rem!important;line-height:1!important;color:#18468a!important;box-shadow:none!important}
.bht-yx-page{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}
.bht-yx-page-number{font-weight:700}
.bht-yx-page-date{font-size:.67rem;line-height:1;opacity:.82;font-variant-numeric:tabular-nums}
.bht-yx-nav button.is-active{background:#1251c7!important;color:#fff!important;border-color:#1251c7!important}
.bht-yx-nav button:focus-visible,.bht-yx-expand:focus-visible,.bht-yx-viewport:focus-visible{outline:2px solid #1251c7;outline-offset:2px}
.bht-yx-nav .bht-yx-step{min-width:35px;font-size:1.35rem!important}
.bht-yx-viewport{height:520px;max-height:520px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 3px 12px;scrollbar-width:thin;scrollbar-color:#c9d7e6 transparent;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 18px),transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 18px),transparent 100%)}
.bht-yx-viewport:hover{scrollbar-color:#829ab8 transparent}
.bht-yx-viewport::-webkit-scrollbar{width:6px}
.bht-yx-viewport::-webkit-scrollbar-track{background:transparent}
.bht-yx-viewport::-webkit-scrollbar-thumb{background:#c9d7e6;border-radius:999px}
.bht-yx-viewport:hover::-webkit-scrollbar-thumb{background:#829ab8}
.bht-yx-item{min-width:0;max-width:100%;padding:12px;border:1px solid #e0e6ee;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 2px 7px rgba(19,54,91,.035);margin-bottom:12px}
.bht-yx--enhanced .bht-yx-item[hidden]{display:none!important}
.bht-yx-date{font-size:.76rem;color:#677a91;margin-bottom:8px}
.bht-yx-text{overflow-wrap:anywhere;font-size:.9rem;line-height:1.7;margin:0 0 9px;color:#24364a}
.bht-yx--enhanced .bht-yx-item:not(.bht-yx-item--expanded) .bht-yx-text--long{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}
.bht-yx--enhanced .bht-yx-item:not(.bht-yx-item--expanded) .bht-yx-text--long::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1.5em;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}
.bht-yx-expand{cursor:pointer;border:0!important;background:transparent!important;color:#1550b6!important;font-size:.82rem!important;font-weight:700!important;padding:0 0 9px!important;text-align:left;box-shadow:none!important}
.bht-yx-inline-link{color:#1550b6!important;text-decoration:underline;text-underline-offset:2px}
.bht-yx-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:6px 0 11px}
.bht-yx-images a{display:flex;align-items:center;justify-content:center;min-width:0;border-radius:6px;background:#f0f3f7;overflow:hidden}
.bht-yx-images img{display:block;width:100%;height:190px;max-width:100%;object-fit:contain;background:#f0f3f7}
.bht-yx-images a:only-child{grid-column:1 / -1}
.bht-yx-images a:only-child img{height:auto;max-height:320px;object-fit:contain}
.bht-yx-more{font-size:.82rem;color:#154ab5!important;font-weight:700;text-decoration:none!important}
.bht-yx-counter{text-align:center;color:#687b90;font-size:.74rem;margin:7px 0 0}
.bht-yx-note{font-size:.75rem;color:#687b90;line-height:1.6;margin:10px 2px 0}
.bht-yx-empty{font-size:.87rem;line-height:1.65;margin:10px 0}
@media(max-width:580px){.bht-yx-head{padding:10px}.bht-yx-item{padding:10px}.bht-yx-viewport{height:480px;max-height:480px}.bht-yx-page-date{display:none}.bht-yx-nav button{min-height:34px}.bht-yx-images img{height:150px}}
@media(prefers-reduced-motion:reduce){.bht-yx *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
