/* Quiet paper details for the fixed old-manor lobby. No layout outside these scenes. */
.game-stage .study-section,
.game-stage .interests-section {
  padding: 0;
  isolation: isolate;
  background: #11191f;
}
.game-stage .study-section::before,
.game-stage .interests-section::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: -2;
  background: url('assets/original/room.jpg') center / cover;
  filter: blur(4px);
  opacity: .24;
}
.game-stage .study-section::after,
.game-stage .interests-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 53% 42%, #30404730, #070e15a6 80%);
  pointer-events: none;
}
.game-stage .detail-container { height: 720px; position: relative; }
.detail-heading { position: absolute; left: 0; right: 0; top: 120px; display: flex; align-items: center; gap: 28px; }
.detail-heading h2 { margin: 0; font-size: 27px; font-weight: 400; letter-spacing: .14em; color: #e0dacb; }
.detail-heading-rule { width: 130px; height: 1px; background: linear-gradient(90deg, #b0a38b66, transparent); }
.detail-bottom { position: absolute; top: 574px; left: 30px; right: 30px; display: flex; justify-content: space-between; align-items: center; color: #b5b8af; }
.detail-bottom a { display: inline-flex; align-items: center; gap: 13px; min-height: 40px; padding: 0 8px; font-size: 12px; letter-spacing: .08em; }
.detail-bottom a > span { font: 20px Georgia, serif; color: #a69b83; }
.detail-bottom a > svg { width: 23px; height: 23px; color: #a69b83; }
.detail-bottom a:hover { color: #e7ddc9; }

.study-sheet {
  position: absolute;
  top: 190px;
  left: 36px;
  right: 36px;
  height: 344px;
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  gap: 72px;
  padding: 32px 57px 28px;
  color: #34382f;
  background: radial-gradient(ellipse at 8% 6%, #9f8e6233, transparent 35%),
    linear-gradient(95deg, #c3b697, #d5c9ac 55%, #c5b89a);
  box-shadow: 1px 18px 40px #0006, inset 0 0 35px #6f60322b;
  transform: rotate(-.35deg);
}
.study-sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.56' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23s)' d='M0 0h150v150H0z'/%3E%3C/svg%3E");
}
.study-sheet-edge { position: absolute; inset: 5px -7px -7px 4px; z-index: -1; border-right: 3px solid #80755b; border-bottom: 3px solid #9f9274; transform: rotate(.75deg); }
.study-major { position: relative; }
.study-university { margin: 0 0 13px; font: 33px/1 var(--display); letter-spacing: .03em; color: #6a6955; }
.study-major h3 { margin: 0; font: 36px/1.2 var(--display); letter-spacing: -.01em; font-weight: 500; color: #363c32; }
.study-drawing { display: block; width: 352px; height: 105px; margin-top: 22px; color: #66705a; opacity: .47; }
.study-courses { border-left: 1px solid #8b806044; padding-left: 45px; }
.study-courses h3 { margin: 1px 0 20px; font: 14px/1.8 var(--serif); letter-spacing: .14em; font-weight: 400; color: #636450; }
.study-course-list { list-style: none; margin: 0; padding: 0; }
.study-course-list li { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 13px 0 12px; border-bottom: 1px solid #8a80624d; }
.study-course-list li:first-child { padding-top: 8px; }
.study-course-list li span { font: 29px/1.15 var(--display); letter-spacing: .025em; color: #414638; }
.study-course-list li i { display: block; width: 5px; height: 5px; border: 1px solid #8b826a; border-radius: 50%; margin: 3px 4px 0 18px; }
.study-fastener { position: absolute; left: 64px; top: -10px; width: 15px; height: 41px; border: 2px solid #7a7b6b; border-radius: 8px; transform: rotate(-10deg); box-shadow: 2px 2px 2px #0003; }
.study-fastener::after { content: ''; position: absolute; inset: 3px 3px 6px 2px; border: 1px solid #686c60; border-radius: 5px; }

.interest-writing-desk { position: absolute; top: 174px; left: 50%; width: 820px; height: 380px; transform: translateX(-50%); }
.interest-note {
  position: absolute;
  top: 1px;
  left: 84px;
  right: 84px;
  height: 273px;
  z-index: 2;
  padding: 52px 56px 25px;
  color: #424138;
  background: radial-gradient(ellipse at 90% 6%, #a08e5929, transparent 39%),
    linear-gradient(92deg, #d1c6a8, #ded4b9 50%, #c9bea0);
  box-shadow: 0 -2px 2px #0002, 0 13px 20px #0003, inset 0 0 22px #86785522;
  transform: rotate(.5deg);
  clip-path: polygon(0 .8%, 35% 0, 66% .45%, 100% 0, 99.7% 42%, 100% 100%, 0 100%, .3% 61%);
}
.interest-note::after { content: ''; position: absolute; left: 43px; right: 43px; bottom: 25px; height: 1px; background: #9d91733b; }
.interest-paper-fold { position: absolute; top: 0; bottom: 0; left: 49%; width: 2px; background: linear-gradient(90deg, #8b795516, #f3e9cc30); opacity: .5; }
.interest-typewritten { position: relative; display: inline-flex; align-items: baseline; margin: 0; font: 39px/1.35 'Courier New', Courier, monospace; letter-spacing: -.045em; color: #3a3d33; text-shadow: .7px .3px #4c4b3844; }
.interest-type-caret { width: 16px; height: 2px; margin-left: 4px; background: #645942; opacity: .7; }
.interest-description { margin: 23px 0 0; font-size: 15px; letter-spacing: .05em; line-height: 1.9; color: #696550; }
.interest-signature { position: absolute; right: 56px; bottom: 32px; margin: 0; font: italic 28px/1 var(--display); color: #756b53; }
.interest-signature span { font: 16px var(--serif); margin-left: 7px; }
.interest-carriage { position: absolute; z-index: 3; top: 254px; left: 31px; right: 31px; height: 17px; border: 1px solid #555953; border-radius: 5px; background: linear-gradient(#62665c, #292e2c 35%, #111a1a 65%, #3d4540); box-shadow: 0 4px 5px #0005; }
.interest-carriage::before { content: ''; position: absolute; left: 42px; right: 42px; top: 4px; height: 1px; background: #b5b39b47; }
.interest-carriage i { position: absolute; top: -5px; width: 26px; height: 25px; border-radius: 5px; border: 2px solid #64675d; background: linear-gradient(90deg, #171f20, #4a5149, #182022); box-shadow: 0 3px 4px #0008; }
.interest-carriage i:first-child { left: -22px; }.interest-carriage i:last-child { right: -22px; }
.interest-typewriter { position: absolute; top: 267px; left: 75px; right: 75px; height: 102px; padding-top: 24px; background: linear-gradient(#232f30, #162323 60%, #0c171a); border: 1px solid #7e817345; border-bottom: 6px solid #091113; border-radius: 7px 7px 16px 16px; box-shadow: 0 16px 24px #0008, inset 0 1px #aab09b24; transform: perspective(850px) rotateX(17deg); transform-origin: center top; }
.interest-ribbon { position: absolute; top: 3px; left: 82px; right: 82px; height: 18px; display: flex; align-items: center; justify-content: space-between; }
.interest-ribbon i { width: 39px; height: 12px; border-radius: 50%; background: #0c1415; border: 1px solid #7a7b6747; box-shadow: inset 0 0 0 3px #2a3430, inset 0 0 0 4px #6a6b5533; }
.interest-ribbon span { position: absolute; height: 4px; background: #4c3431; left: 35px; right: 35px; top: 5px; opacity: .7; }
.interest-keys { display: flex; justify-content: center; gap: 13px; margin-bottom: 5px; }
.interest-keys span { width: 25px; height: 16px; border-radius: 50%; background: linear-gradient(#8a8b72, #525c50); border: 2px solid #283932; box-shadow: 0 2px 0 #050e0d, inset 0 0 0 1px #bbbaa347; }
.interest-keys-second { margin-bottom: 6px; }
.interest-spacebar { width: 175px; height: 8px; margin: 0 auto; background: linear-gradient(#8a8a70, #4f5a4d); border: 1px solid #26382f; border-radius: 5px; box-shadow: 0 2px #050e0d; }
