body.kinokore-timeline-page{margin:0;background:#f7f6ef;color:#244b34;font-family:"Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif}
.kt-shell{max-width:1040px;margin:auto;padding:0 24px 42px;box-sizing:border-box}.kt-shell *{box-sizing:border-box}.kt-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid #dce3d8}.kt-header a{color:#244b34;font-size:13px;text-decoration:none}.kt-header img{display:block;width:138px;height:69px;object-fit:contain}.kt-intro{margin:24px 0;padding:26px;border:2px solid #e3e8cf;border-radius:26px;background:linear-gradient(130deg,#f0f5de,#fff0dd);box-shadow:0 5px 0 #dce4ca}.kt-intro h1{margin:0 0 10px;font-size:clamp(25px,5vw,39px);font-weight:900;line-height:1.5}.kt-intro p{margin:0;font-size:14px;line-height:1.8}.kt-nav{display:flex;flex-wrap:wrap;gap:12px;margin:27px 0}.kt-nav a,.kt-pagination a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border:1px solid #cbd9bb;border-radius:999px;background:#eaf4cc;color:#244b34;font-weight:700;text-decoration:none;font-size:14px}.kt-nav a:nth-child(2){background:#e0efe5}.kt-order{font-size:13px;color:#65775c}.kt-panel{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px}.kt-panel .km-record{min-width:0;overflow:hidden;border:2px solid #dfe6d5;border-radius:23px;background:#fffefa;box-shadow:0 5px 0 #dde5ce}.kt-panel .km-gallery{position:relative;background:#edf1e5}.kt-panel .km-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;cursor:zoom-in}.kt-panel .kk-photo-author{position:absolute;bottom:12px;left:12px;max-width:calc(100% - 84px);padding:5px 10px;border-radius:12px;background:#163d2bd9;color:white;font-size:12px;overflow-wrap:anywhere}.kt-panel .km-slide-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid #ffffff99;border-radius:50%;background:#15372899;color:white;font:30px/1 sans-serif;cursor:pointer}.kt-panel .prev{left:10px}.kt-panel .next{right:10px}.kt-panel .km-slide-count{position:absolute;right:12px;bottom:12px;padding:4px 8px;border-radius:12px;background:#163d2bd9;color:white;font-size:12px}.kt-panel .kk-reactions{margin:16px 18px 0}.kt-panel .kk-reaction{font-family:inherit}.kt-body{padding:12px 18px 22px}.kt-meta{margin:0 0 6px;color:#65755e;font-size:13px}.kt-body h2{margin:0;font-size:21px;line-height:1.6;font-weight:900;overflow-wrap:anywhere}.kt-guess{margin:4px 0 0;color:#758269;font-size:12px}.kt-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:15px;margin-top:36px}.kt-empty{padding:28px;border:1px dashed #bdcfac;border-radius:20px;line-height:1.9}.kt-shell a:focus-visible,.kt-shell button:focus-visible{outline:3px solid #c9693c;outline-offset:3px}
@media(max-width:660px){.kt-shell{padding:0 16px 30px}.kt-header img{width:120px;height:60px}.kt-intro{padding:22px 18px}.kt-panel{grid-template-columns:1fr;gap:22px}.kt-panel .km-photo{aspect-ratio:auto;max-height:none}.kt-nav a{font-size:12px;padding:10px 13px}.kt-body h2{font-size:20px}}

.kt-panel .kt-mosaic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);aspect-ratio:4/3;gap:4px;overflow:hidden}.kt-panel .kt-mosaic .km-photo{width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover}.kt-panel .kt-mosaic--1{display:block;aspect-ratio:auto}.kt-panel .kt-mosaic--1 .km-photo{height:auto;aspect-ratio:4/3;object-fit:contain}.kt-panel .kt-mosaic--3{grid-template-rows:repeat(2,minmax(0,1fr))}.kt-panel .kt-mosaic--3 .km-photo:first-child{grid-column:1/-1}.kt-panel .kt-mosaic .km-photo.kt-selected:not(:only-of-type){outline:3px solid #e18554;outline-offset:-3px}.kt-photo-selection{margin:12px 18px 0;font-size:12px;color:#65755e}
@media(max-width:660px){.kt-panel .kt-mosaic--1 .km-photo{aspect-ratio:auto}}

/* 読み込み前も写真枠を確保し、遅延画像のレイアウト変動を抑える。 */
.kt-panel .kt-mosaic--1{aspect-ratio:4/3}
.kt-panel .kt-mosaic--1 .km-photo{width:100%;height:100%;aspect-ratio:auto;object-fit:contain}
.kt-panel .kk-reaction{height:auto;min-height:54px;line-height:1.4;padding:5px 14px 5px 7px}
.kt-panel .kk-reaction img.kk-reaction-icon{position:static!important;display:block!important;flex:0 0 48px;width:48px!important;height:42px!important;min-width:48px;max-width:48px!important;min-height:42px;max-height:42px!important;margin:0!important;padding:0!important;object-fit:contain;object-position:center;aspect-ratio:auto;clip-path:none;transform:none}
