.tkg-card,.tkg-compare,.tkg-image-alone { --tkg-sea:#125d85; --tkg-ink:#17364b; --tkg-line:#d3e4ef; color:var(--tkg-ink); font-family:inherit; }
.tkg-card,.tkg-card *,.tkg-compare,.tkg-compare *,.tkg-image-alone * { box-sizing:border-box; }
.tkg-card { display:grid; grid-template-columns:minmax(90px,25%) minmax(0,1fr); gap:clamp(14px,3vw,28px); padding:clamp(14px,3vw,25px); margin:1.6em 0; background:#fff; border:1px solid var(--tkg-line); border-radius:12px; align-items:center; }
.tkg-card-info { min-width:0; }
.tkg-card .tkg-name,.tkg-row-name { display:block; overflow-wrap:anywhere; font-size:clamp(16px,2vw,21px); line-height:1.4; }
.tkg-card .tkg-kind { display:block; margin-bottom:5px; color:#4b6475; font-size:13px; }
.tkg-card .tkg-point { margin:8px 0 14px; font-size:15px; line-height:1.7; white-space:normal; }
.tkg-card .tkg-photo,.tkg-compare .tkg-photo,.tkg-image-alone .tkg-photo { display:flex; position:relative; align-items:center; justify-content:center; aspect-ratio:1 / 1; max-width:220px; width:100%; background:#f2f9fd; color:var(--tkg-sea); border-radius:8px; text-align:center; text-decoration:none; font-size:13px; }
.tkg-photo.tkg-loaded { background:white; }
.tkg-photo.tkg-loaded .tkg-photo-fallback { display:none; }
.tkg-photo img { width:100%; height:100%; display:block; object-fit:contain; max-height:220px; border:0; }
.tkg-card .tkg-buttons,.tkg-compare .tkg-buttons { display:flex; flex-wrap:nowrap; gap:7px; margin-top:10px; }
.tkg-card .tkg-buy,.tkg-compare .tkg-buy { flex:1; display:flex; align-items:center; justify-content:center; gap:4px; min-height:42px; padding:6px 8px; border-radius:7px; font-weight:700; font-size:14px; text-align:center; line-height:1.25; text-decoration:none; box-shadow:none; }
.tkg-card a.tkg-buy-amazon,.tkg-compare a.tkg-buy-amazon { color:#fff; background:var(--tkg-sea); border:1px solid var(--tkg-sea); }
.tkg-card a.tkg-buy-rakuten,.tkg-compare a.tkg-buy-rakuten { color:var(--tkg-sea); background:#fff; border:1px solid #7399b0; }
.tkg-buy:hover,.tkg-photo:hover { filter:brightness(.94); }
.tkg-card a:focus-visible,.tkg-compare a:focus-visible,.tkg-image-alone a:focus-visible { outline:3px solid #155e95; outline-offset:3px; }
.tkg-card .tkg-ad,.tkg-compare .tkg-ad { margin:9px 0 0; color:#4b6475; font-size:11px; line-height:1.5; }
.tkg-image-alone { display:inline-flex; width:min(190px,100%); vertical-align:middle; }
.tkg-compare { margin:1.5em 0; }
.tkg-table-scroll { max-width:100%; overflow-x:auto; }
.tkg-compare table { border-collapse:collapse; table-layout:fixed; min-width:540px; width:100%; background:#fff; margin:0; font-size:14px; line-height:1.55; }
.tkg-compare caption { text-align:left; color:var(--tkg-ink); font-weight:700; font-size:18px; padding:5px 0 10px; }
.tkg-compare th,.tkg-compare td { padding:10px; vertical-align:middle; text-align:left; border:1px solid var(--tkg-line); overflow-wrap:anywhere; }
.tkg-compare thead th { background:#edf7fd; color:#214761; }
.tkg-compare thead th:first-child { width:29%; }
.tkg-compare thead th:last-child { width:34%; }
.tkg-compare tbody th { background:#fff; }
.tkg-compare .tkg-photo { width:85px; margin-bottom:6px; }
.tkg-compare .tkg-row-name { font-size:14px; }
.tkg-compare .tkg-buy { font-size:12px; padding:5px; }
@media(max-width:550px) {
  .tkg-card { grid-template-columns:84px minmax(0,1fr); align-items:start; }
  .tkg-card .tkg-buy { font-size:12px; gap:2px; padding:7px 3px; }
  .tkg-card .tkg-point { font-size:14px; }
}
@media(max-width:370px) { .tkg-card { grid-template-columns:64px minmax(0,1fr); gap:9px; } }

.tkg-photo-fallback { white-space:nowrap; }
.tkg-card .tkg-photo-fallback { font-size:clamp(11px,2.9vw,13px); }
.tkg-card .tkg-buy,.tkg-compare .tkg-buy { white-space:nowrap; }
.tkg-image-ad { display:inline-block; font:11px/1.4 sans-serif; color:#4b6475; margin-inline-start:4px; }
.tkg-associate { box-sizing:border-box; margin:0; padding:9px max(18px,calc((100% - 1152px)/2)); background:#e4f3fc; color:#445f71; font:11px/1.6 sans-serif; }
@media(max-width:620px) {
  .tkg-compare .tkg-table-scroll { overflow:visible; }
  .tkg-compare table,.tkg-compare tbody,.tkg-compare caption { display:block; width:100%; min-width:0; }
  .tkg-compare thead { position:absolute; clip-path:inset(50%); width:1px; height:1px; overflow:hidden; }
  .tkg-compare tbody tr { display:grid; grid-template-columns:minmax(0,32%) minmax(0,1fr); margin:0 0 9px; border:1px solid var(--tkg-line); border-radius:8px; overflow:hidden; }
  .tkg-compare tbody th,.tkg-compare tbody td { display:block; border:0; padding:10px; }
  .tkg-compare tbody th { grid-row:1/3; border-right:1px solid var(--tkg-line); }
  .tkg-compare tbody td:last-child { grid-column:2; padding-top:0; }
  .tkg-compare .tkg-photo { width:min(100%,75px); }
  .tkg-compare .tkg-photo-fallback { font-size:11px; }
  .tkg-compare .tkg-buttons { margin-top:0; }
  .tkg-compare .tkg-buy { min-height:38px; font-size:12px; }
  .tkg-compare .tkg-row-name { font-size:13px; }
}
