* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'IM Fell English', serif;
  color: #1a1a1a;
  min-height: 100vh;
  background-color: #faf9f7;
}
.frame {
  min-height: 100vh;
  width: 100%;
  position: relative;
}
.frame::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--frame-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px) grayscale(100%) brightness(0.6);
  opacity: 1;
  z-index: 0;
}
.frame::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--frame-bg2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(10px) grayscale(100%) brightness(0.6);
  opacity: 0.7;
  mix-blend-mode: multiply;
  z-index: 0;
}
#main1 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background-color: #faf9f7;
  min-height: 100vh;
}
.left {
  flex: 0 0 160px;
  position: sticky;
  top: 2rem;
}
.left h3 {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
h3 em {
  font-style: normal;
}
.home-link {
  text-decoration: underline;
  color: #888;
  display: block;
}
.home-link:hover {
  color: #1a1a1a;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
a {
  font-size: 20px;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
a:hover {
  color: #1a1a1a;
}
.nav-category {
  font-size: 11px;
  color: #555;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  display: block;
}
.diary-right {
  flex: 1;
  min-width: 0;
}
.entries {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.entry {
  display: flex;
  flex-direction: column;
  border: 3px solid #1a1a1a;
  width: 100%;
}
.entry-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-bottom: 1.5px solid #1a1a1a;
}
.entry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  opacity: 0.88;
}
.entry-blank {
  width: 100%;
  height: 100%;
  background-color: #faf9f7;
}
.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0.8rem 0.5rem;
  border-bottom: 1px dashed #ccc;
}
.entry-title {
  font-size: 26px;
  font-weight: normal;
  color: #1a1a1a;
  font-family: 'IM Fell English', serif;
  font-style: italic;
}
.entry-date {
  font-size: 16px;
  color: #1a1a1a;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-left: 1rem;
}
.entry-text {
  padding: 0.6rem 0.8rem;
  font-size: 18px;
  color: #888;
  line-height: 1.7;
  border-bottom: 1px dashed #ccc;
  font-family: 'IM Fell English', serif;
}
.entry-player {
  padding: 0.7rem 0.8rem;
}
.ep-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}
.ep-play {
  font-family: 'IM Fell English', serif;
  font-size: 12px;
  color: #888;
  background: none;
  border: 1px solid #ccc;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 0.2s;
  flex-shrink: 0;
}
.ep-play:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}
.ep-progress-wrap {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  cursor: pointer;
  position: relative;
  border-radius: 2px;
}
.ep-progress-bar {
  height: 3px;
  background: #1a1a1a;
  width: 0%;
  border-radius: 2px;
  transition: width 0.1s linear;
}
.ep-time {
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0.06em;
  min-width: 50px;
  text-align: right;
  flex-shrink: 0;
}
.ep-row2 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.ep-vol-label {
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.08em;
}
.ep-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 2px;
  background: #ddd;
  outline: none;
  cursor: pointer;
}
.ep-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  background: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
}
.ep-vol-val {
  font-size: 10px;
  color: #aaa;
  min-width: 28px;
}
.ep-expand {
  font-family: 'IM Fell English', serif;
  font-size: 10px;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.08em;
  padding: 0;
  margin-left: auto;
}
.ep-expand:hover {
  color: #1a1a1a;
}
.ep-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0;
}
.ep-drawer.open {
  max-height: 160px;
  opacity: 1;
  margin-top: 0.6rem;
}
.ep-drawer hr {
  border: none;
  border-top: 0.5px dashed #ddd;
}
.ep-drawer-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ep-drawer-label {
  font-size: 10px;
  color: #aaa;
  letter-spacing: 0.08em;
  min-width: 40px;
}
.ep-drawer-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  background: #ddd;
  outline: none;
  cursor: pointer;
}
.ep-drawer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  background: #1a1a1a;
  border-radius: 50%;
  cursor: pointer;
}
.ep-drawer-val {
  font-size: 10px;
  color: #aaa;
  min-width: 32px;
  text-align: right;
}
.ep-quick {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.ep-quick-btn {
  font-family: 'IM Fell English', serif;
  font-size: 11px;
  color: #888;
  background: none;
  border: 0.5px solid #ccc;
  padding: 0.15rem 0.5rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}
.ep-quick-btn:hover,
.ep-quick-btn.active {
  color: #1a1a1a;
  border-color: #1a1a1a;
}