/* Word Dome homepage shortcuts — Approved Option 2: faceted sapphire, without diamonds.
   Artwork is a scalable SVG frame + CSS ivory typography, not a bitmap of the
   whole screen. Only the three existing homepage controls are restyled.
   Keep the established button geometry, navigation, access checks, friends
   request notification, and collapsible Options menu unchanged. */
body.wd-options-home:not(.wd-gate)
 :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden]){
 display:grid!important;
 grid-template-rows:minmax(0,1fr)!important;
 grid-auto-rows:0!important;
 row-gap:0!important;
 grid-template-columns:calc(clamp(18px,1.6vw,26px) + 8px) minmax(0,1fr)!important;
 justify-items:center!important;
 border:2px solid #f2c450!important;
 border-radius:999px!important;
 padding:4px clamp(11px,1.2vw,18px)!important;
 background:
  url('/home-sapphire-tabs.svg?v=jewel-tabs-no-diamonds-20261110') center / 100% 100% no-repeat,
  linear-gradient(180deg,#1453b9 0%,#053b9a 14%,#073d9d 32%,#062e77 54%,#031d59 78%,#010a2e 100%)!important;
 box-shadow:
  inset 0 0 0 1px #945615,
  inset 0 4px 6px #73baff88,
  inset 0 -4px 8px #010822,
  0 3px 10px #000b,
  0 0 8px #e4b74d66!important;
 color:transparent!important;
 -webkit-text-fill-color:transparent!important;
 text-shadow:none!important;
 font-size:0!important;
 line-height:0!important;
 letter-spacing:0!important;
 white-space:nowrap!important;
 gap:clamp(4px,.55vw,9px)!important;
 justify-content:center!important;
 align-items:center!important;
 overflow:visible!important;
 isolation:isolate!important;
 cursor:pointer!important;
 transition:filter .16s ease,box-shadow .16s ease!important;
}
body.wd-options-home:not(.wd-gate) #wdHomeLeaderboards .wd-leaderboards-trophy{
 display:none!important;
}
body.wd-options-home:not(.wd-gate)
 :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::before{
 content:""!important;
 grid-area:1 / 1!important;
 display:block!important;
 flex:0 0 auto!important;
 width:clamp(18px,1.6vw,26px)!important;
 height:clamp(18px,1.6vw,26px)!important;
 box-sizing:content-box!important;
 padding-right:7px!important;
 border-right:1px solid #f2ca60!important;
 background-origin:content-box!important;
 background-clip:content-box!important;
 background-position:center!important;
 background-size:contain!important;
 background-repeat:no-repeat!important;
 filter:drop-shadow(0 1px 1px #000a)!important;
 position:relative!important;
 z-index:1!important;
}
body.wd-options-home:not(.wd-gate) #wdHomeLeaderboards::before{
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.7%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8c1%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23ffda60%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%23efa51e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23bb710a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22url(%23g)%22%20stroke%3D%22%23653600%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2010h26v19c0%2012-5%2020-13%2020s-13-8-13-20z%22%2F%3E%3Cpath%20d%3D%22M19%2015H9v6c0%2014%207%2019%2013%2018v-6C14%2033%2014%2024%2014%2021h5M45%2015h10v6c0%2014-7%2019-13%2018v-6c8%200%208-9%208-12h-5%22%2F%3E%3Cpath%20d%3D%22M29%2048h6v7h-6zM23%2055h18v4H23z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
}
body.wd-options-home:not(.wd-gate) #wdHomeFriends::before{
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.7%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8c1%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23ffda60%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%23efa51e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23bb710a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22url%28%23g%29%22%20stroke%3D%22%23653600%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2232%22%20cy%3D%2217%22%20r%3D%2210%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%2222%22%20r%3D%228%22%2F%3E%3Ccircle%20cx%3D%2251%22%20cy%3D%2222%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M1%2053v-5c0-10%205-17%2012-17s12%207%2012%2017v5zM39%2053v-5c0-10%205-17%2012-17s12%207%2012%2017v5z%22%2F%3E%3Cpath%20d%3D%22M16%2057V45c0-12%207-18%2016-18s16%206%2016%2018v12z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
}
body.wd-options-home:not(.wd-gate) #wdOptionsMobileToggle::before{
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220.7%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8c1%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23ffda60%22%2F%3E%3Cstop%20offset%3D%22.75%22%20stop-color%3D%22%23efa51e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23bb710a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20fill%3D%22url(%23g)%22%20stroke%3D%22%23653600%22%20stroke-width%3D%221.8%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%2210%22%20y%3D%2212%22%20width%3D%2244%22%20height%3D%228%22%20rx%3D%223%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2228%22%20width%3D%2244%22%20height%3D%228%22%20rx%3D%223%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2244%22%20width%3D%2244%22%20height%3D%228%22%20rx%3D%223%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;
}
body.wd-options-home:not(.wd-gate)
 :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::after{
 grid-area:1 / 2!important;
 display:block!important;
 flex:0 1 auto!important;
 position:relative!important;
 z-index:1!important;
 color:#fff3d2!important;
 -webkit-text-fill-color:#fff3d2!important;
 font:800 clamp(12px,1.08vw,17px)/1.1 Georgia,"Times New Roman",serif!important;
 letter-spacing:-.02em!important;
 text-shadow:0 2px 2px #000e!important;
 white-space:nowrap!important;
}
body.wd-options-home:not(.wd-gate) #wdHomeLeaderboards::after{content:"Leaderboards"!important}
body.wd-options-home:not(.wd-gate) #wdHomeFriends::after{content:"Friend Requests"!important}
body.wd-options-home:not(.wd-gate) #wdOptionsMobileToggle::after{content:"Options"!important}
body.wd-options-home:not(.wd-gate) #wdOptionsMobileToggle[aria-expanded="true"]::after{
 content:"Close Options"!important;
}
body.wd-options-home:not(.wd-gate)
 :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden]):is(:hover,:focus-visible){
 filter:brightness(1.15)!important;
 outline:2px solid #fff0ad!important;
 outline-offset:2px!important;
 box-shadow:
  inset 0 0 0 1px #b97c22,
  inset 0 4px 9px #8bd5ffb0,
  inset 0 -4px 8px #010822,
  0 4px 12px #000c,
  0 0 10px #ffce67aa!important;
}
body.wd-options-home:not(.wd-gate) #wdHomeLeaderboards:disabled{
 filter:saturate(.6)!important;
}
@media(max-width:1150px){
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden]){grid-template-columns:28px minmax(0,1fr)!important}
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::after{
  font-size:13px!important;
 }
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::before{
  width:20px!important;height:20px!important;
 }
}
@media(max-width:450px){
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden]){
  padding:3px 10px!important;gap:4px!important;grid-template-columns:23px minmax(0,1fr)!important;
 }
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::after{
  font-size:11px!important;letter-spacing:-.025em!important;
 }
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::before{
  width:17px!important;height:17px!important;padding-right:5px!important;
 }
}
@media(max-width:350px){
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden])::after{
  font-size:10px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 body.wd-options-home:not(.wd-gate)
  :is(#wdHomeLeaderboards,#wdHomeFriends,#wdOptionsMobileToggle):not([hidden]){transition:none!important}
}

