/* ---------------------------------------------------------------
   10-v184-background-share-cleanup.css
   원본 index.html의 10번째 <style> 블록 (id="v184-background-share-cleanup")
   ⚠ 이 파일들은 뒤 순서가 앞 순서를 덮어쓰는 레이어 구조입니다.
      index.html의 <link> 순서를 바꾸면 화면이 깨집니다.
   --------------------------------------------------------------- */

/* ========================================================================
   v1.8.4 · background + share frame cleanup
   Background is matched to the effective v1.6.6.1 base: pure white.
   Share result sits directly on the page, with no extra paper sheet/frame.
   ======================================================================== */
:root{
  --bg:#FFFFFF!important;
  --cc-bg:#FFFFFF!important;
  --cc-paper:#FFFFFF!important;
}
html,
body{
  background:#FFFFFF!important;
  background-image:none!important;
}
body::before,
body::after{display:none!important;content:none!important;}
.app{
  background:#FFFFFF!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
#viewInput,
#viewFreeResult,
#viewPaidPreview{
  background:transparent!important;
  background-image:none!important;
}

/* Layer1: preserve the current room banner and UI, only remove the tinted page shell. */
#viewInput::before,
#viewInput::after{display:none!important;content:none!important;}

/* Layer2: no beige/gray page sheet behind the white information cards. */
#viewFreeResult::before,
#viewFreeResult::after{display:none!important;content:none!important;}

/* Layer3: same white page base as Layer1/2. */
#viewPaidPreview::before,
#viewPaidPreview::after{display:none!important;content:none!important;}

/* Share card: remove every outer paper/frame layer. */
#viewFreeResult .l2v8-share{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  padding-left:0!important;
  padding-right:0!important;
}
#viewFreeResult .l2v8-share::before,
#viewFreeResult .l2v8-share::after,
#viewFreeResult .l2v8-share-frame::before,
#viewFreeResult .l2v8-share-frame::after{
  display:none!important;
  content:none!important;
}
#viewFreeResult .l2v8-share-frame{
  position:relative!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
}
#viewFreeResult .l2v8-share-frame canvas#shareCanvas{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  outline:0!important;
  border-radius:22px!important;
  box-shadow:none!important;
}

/* Chemistry stays visually separate without reviving the removed paper sheet. */
#viewFreeResult .l2v8-share-frame>.chemistry-section,
#viewFreeResult .chemistry-section{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
