@charset "utf-8";
/*
 * TUTURIGACHI 2026 / 両生類渉外部
 * Copyright (C) 2026 Tuturigachi Language Solutions Corp. All Rights Reserved.
 * 蛙の遊び場の窓
 */
.kr-mado {
  --mado-blind: 9px;       
  --mado-lift: 8px;        
  position: relative; display: block; box-sizing: border-box; width: 100%; margin: 0 0 12px; padding: 8px 8px 0;
  color: var(--kr-ink); text-decoration: none; cursor: pointer;
  background: var(--kr-paper);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--kr-paper-edge), 0 1px 0 rgb(0 0 0 / 0.10), 0 4px 10px -4px rgb(40 30 10 / 0.34);
  transition: transform .26s var(--kr-spring), box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.tuturigachi .kr-mado, .tuturigachi .kr-mado:visited { color: var(--kr-ink); text-decoration: none; }
.kr-mado__pane {
  position: relative; display: block; overflow: hidden; aspect-ratio: 214 / 164;
  background: #3a3226; border-radius: 5px;
}
.kr-mado__still { display: block; width: 100%; height: 100%; object-fit: cover; }
.kr-mado__pane::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(28 22 12 / 0.38), inset 0 1px 3px rgb(28 22 12 / 0.30);
}
.kr-mado__blind {
  position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none;
  transform: translateY(calc(var(--mado-blind) - 60px));
  transition: transform .7s var(--kr-out);
}
.kr-mado__blind::before { 
  content: ""; position: absolute; inset: 0 0 4px;
  background:
    repeating-linear-gradient(180deg, rgb(255 255 255 / 0) 0 5px, rgb(150 120 70 / 0.07) 5px 6px),
    linear-gradient(180deg, rgb(238 228 204 / 0.94), rgb(247 240 222 / 0.86));
  -webkit-backdrop-filter: blur(2.5px) saturate(.85); backdrop-filter: blur(2.5px) saturate(.85);
}
.kr-mado__blind::after { 
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(180deg, #c99c63, #a8773f 60%, #8a5f30);
  box-shadow: inset 0 1px 0 rgb(255 240 210 / 0.55), 0 1px 0 rgb(40 26 10 / 0.25), 0 3px 6px rgb(20 14 6 / 0.34);
}
.kr-mado__pull { position: absolute; left: 50%; bottom: -13px; width: 5px; height: 13px; margin-left: -2.5px; }
.kr-mado__pull::before { content: ""; position: absolute; left: 2px; top: 0; width: 1px; height: 4px; background: rgb(70 50 26 / 0.7); }
.kr-mado__pull::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 5px; height: 9px; border-radius: 2.5px;
  background: linear-gradient(90deg, #dcb47a, #b07e45 55%, #8f6233); box-shadow: 0 1px 2px rgb(20 14 6 / 0.45);
}
.kr-mado__roll {
  position: absolute; left: 0; right: 0; top: 0; height: 5px; pointer-events: none;
  background: linear-gradient(180deg, #f6efdf, #e3d6b8 70%, #cdbd98);
  box-shadow: 0 1px 2px rgb(40 30 10 / 0.30);
}
.kr-mado__name {
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 3px 4px 3px 2px;
  font: 700 14px/1.2 var(--kr-ui); letter-spacing: .1em; color: var(--kr-teal-deep);
}
.kr-mado__name b { flex: 1; min-width: 0; font-weight: 700; white-space: nowrap; }
.kr-mado .kr-mark--door { width: 32px; height: 32px; background-image: url(/common/img/asobiba/mado/mark-frog.svg); rotate: 0 1 0 0deg; transition: rotate .23s ease-in; }
.kr-mado .kr-mark--door.is-turning { rotate: 0 1 0 90deg; }
.kr-mado__go {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  color: var(--kr-arrow); background: var(--kr-paper-2); box-shadow: inset 0 0 0 1px var(--kr-line);
  font: 700 13px/1 var(--kr-ui); letter-spacing: 0;
  transition: transform .3s var(--kr-spring);
}
.kr-mado:hover .kr-mado__blind, .kr-mado:focus-visible .kr-mado__blind, .kr-mado.is-lift .kr-mado__blind {
  transform: translateY(calc(var(--mado-blind) - var(--mado-lift) - 60px));
}
.kr-mado:hover .kr-mark, .kr-mado:focus-visible .kr-mark, .kr-mado.is-lift .kr-mark { transform: scale(1.16) rotate(-2deg); }
.kr-mado:hover .kr-mado__go, .kr-mado:focus-visible .kr-mado__go, .kr-mado.is-lift .kr-mado__go { transform: translateX(2px); }
.kr-mado:hover, .kr-mado.is-lift { box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--kr-paper-edge), 0 1px 0 rgb(0 0 0 / 0.10), 0 8px 16px -8px rgb(40 30 10 / 0.42); }
.kr-mado:focus-visible { outline: 2px solid var(--kr-teal); outline-offset: 2px; }
.kr-mado:active { transform: translateY(2px); box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px var(--kr-paper-edge), 0 0 0 rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(40 30 10 / 0.34); transition-duration: .06s; }
@media (prefers-reduced-motion: reduce) {
  .kr-mado, .kr-mado__blind, .kr-mado__go, .kr-mado .kr-mark, .kr-mado .kr-mark--door { transition: none; }
}
