.rifc-page{overflow-x:hidden;background:#fbf9ff}
.rifc-game,.rifc-game *{box-sizing:border-box}.rifc-game{--purple:#55379f;--violet:#7c52d7;--mint:#24947f;--ink:#40336d;color:var(--ink);font-family:Nunito,"Trebuchet MS",Arial,sans-serif;overflow-x:clip}.rifc-game button{font-family:inherit}
.rifc-shell{width:min(1180px,calc(100% - 32px));min-width:0;margin:0 auto;padding:26px 0 72px}.rifc-back{display:inline-flex;align-items:center;gap:9px;margin:2px 0 20px;color:#6546ad;font-size:15px;font-weight:900;text-decoration:none}.rifc-back:before{content:"";width:10px;height:10px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}

.rifc-hero{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(430px,1.18fr);align-items:stretch;gap:30px;min-height:490px;overflow:hidden;padding:40px;border:1px solid #e4daf7;border-radius:42px;background:radial-gradient(circle at 8% 8%,rgba(255,211,76,.28) 0 9%,transparent 9.5%),linear-gradient(135deg,#fff8dc,#fff 48%,#e9fff9);box-shadow:0 24px 62px rgba(68,45,124,.12)}
.rifc-hero-copy{position:relative;z-index:2;align-self:center;min-width:0;padding:10px}.rifc-kicker{display:block;margin-bottom:13px;color:#168f79;font-size:13px;font-weight:1000;letter-spacing:.1em;text-transform:uppercase}.rifc-hero h1{margin:0;color:#50339d;font-size:clamp(46px,5.2vw,70px);font-weight:1000;line-height:1;letter-spacing:-.045em}.rifc-hero p{max-width:540px;margin:22px 0 29px;color:#6c6180;font-size:19px;font-weight:750;line-height:1.55}.rifc-primary,.rifc-result button{min-height:55px;padding:0 28px;border:0;border-radius:18px;color:#fff;background:linear-gradient(135deg,#7650d7,#9564e8);box-shadow:0 12px 24px rgba(112,73,198,.26);font-size:17px;font-weight:900;cursor:pointer}.rifc-hero-picture{position:relative;z-index:1;min-width:0;overflow:hidden;border:5px solid rgba(255,255,255,.9);border-radius:32px;background:#f0e8ff;box-shadow:0 19px 40px rgba(52,62,71,.15)}.rifc-hero-picture img{display:block;width:100%;height:100%;min-height:390px;object-fit:cover;object-position:center}

.rifc-board-section{margin-top:28px;padding:18px 20px 20px;border:1px solid #e2daf3;border-radius:36px;background:#fff;box-shadow:0 22px 56px rgba(72,51,125,.1);scroll-margin-top:14px}.rifc-mobile-nav{display:none}.rifc-game-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.rifc-game-head>div>span{display:block;color:#168f79;font-size:10px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}.rifc-game-head h2{margin:3px 0 0;color:#493190;font-size:29px;font-weight:1000;line-height:1.1}.rifc-reset-score{min-height:38px;padding:0 14px;border:1px solid #ded3f4;border-radius:13px;color:#6546ad;background:#faf8ff;font-size:11px;font-weight:900;cursor:pointer}
.rifc-play-layout{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(285px,.58fr);gap:14px;min-width:0}.rifc-stage{position:relative;display:grid;height:clamp(520px,calc(100vh - 215px),620px);min-height:520px;place-items:center;overflow:hidden;border:1px solid #dce9df;border-radius:29px;background:#eff9ee;isolation:isolate}.rifc-stage-bg{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}.rifc-stage:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.13));pointer-events:none}
.rifc-turn{position:absolute;z-index:7;left:50%;top:12px;display:flex;min-width:245px;min-height:50px;align-items:center;justify-content:center;gap:9px;padding:6px 15px;border:2px solid rgba(255,255,255,.9);border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 9px 22px rgba(54,43,79,.14);transform:translateX(-50%);backdrop-filter:blur(7px)}.rifc-turn>img{width:38px;height:38px;object-fit:contain}.rifc-turn div{display:grid;line-height:1.1}.rifc-turn small{color:#168c77;font-size:8px;font-weight:1000;letter-spacing:.09em;text-transform:uppercase}.rifc-turn strong{margin-top:3px;color:#503497;font-size:14px;font-weight:1000}
.rifc-board{display:grid;width:min(500px,calc(100% - 54px));aspect-ratio:1;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(6,1fr);overflow:hidden;margin-top:48px;padding:11px;border:8px solid #b87537;border-radius:27px;background:#bd7b3c;box-shadow:0 22px 38px rgba(79,45,19,.28),inset 0 0 0 3px #e7ad66;transform:rotateX(2deg)}
.rifc-cell{position:relative;display:grid;min-width:0;min-height:0;place-items:center;padding:4px;border:0;border-radius:0;cursor:default;-webkit-tap-highlight-color:transparent}.rifc-cell.is-light{background:linear-gradient(145deg,#f8e0ad,#eec887)}.rifc-cell.is-dark{background:linear-gradient(145deg,#8b5b63,#715066);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}.rifc-cell.is-dark.is-movable{cursor:pointer}.rifc-cell.is-dark.is-movable:after{content:"";position:absolute;inset:8%;border:2px solid rgba(255,255,255,.38);border-radius:12px;pointer-events:none}.rifc-cell.is-selected{z-index:4;background:linear-gradient(145deg,#bea0f0,#9a79d4);box-shadow:inset 0 0 0 4px #ffe678}.rifc-cell.is-destination{cursor:pointer}.rifc-cell.is-destination:before{content:"";width:31%;height:31%;border:4px solid #fff;border-radius:50%;background:#4ac4a5;box-shadow:0 0 0 5px rgba(57,193,157,.35),0 5px 10px rgba(32,75,66,.25);animation:rifc-destination 1s ease-in-out infinite alternate}.rifc-piece{position:relative;z-index:2;display:grid;width:88%;height:88%;place-items:center;transition:transform .18s ease,filter .18s ease}.rifc-piece>img:first-child{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 5px rgba(32,17,43,.25))}.rifc-cell.is-movable:hover .rifc-piece,.rifc-cell.is-movable:focus-visible .rifc-piece{transform:translateY(-3px) scale(1.04)}.rifc-piece-crown{position:absolute;z-index:3;left:50%;top:50%;display:none;width:55%;height:55%;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 4px rgba(105,68,5,.3))}.rifc-piece.is-king .rifc-piece-crown{display:block}

.rifc-panel{display:flex;min-width:0;flex-direction:column;gap:10px}.rifc-task{display:grid;padding:14px;border:1px solid #d9eee8;border-radius:19px;background:linear-gradient(135deg,#effbf8,#f8f5ff)}.rifc-task small{color:#168c77;font-size:9px;font-weight:1000;letter-spacing:.1em;text-transform:uppercase}.rifc-task strong{margin-top:5px;color:#503497;font-size:14px;line-height:1.35}.rifc-players{display:grid;gap:7px}.rifc-player{display:grid;grid-template-columns:48px minmax(0,1fr) 35px;align-items:center;gap:8px;padding:8px 10px;border:1px solid #e1d8f2;border-radius:17px;background:#f7f2ff}.rifc-player.is-adult{border-color:#d4ebe4;background:#eefaf6}.rifc-player>img{width:46px;height:46px;object-fit:contain}.rifc-player>span{display:grid}.rifc-player small{color:#81758f;font-size:8px;font-weight:850}.rifc-player b{color:#563aa1;font-size:13px}.rifc-player.is-adult b{color:#177c69}.rifc-player>strong{display:grid;width:33px;height:33px;place-items:center;border-radius:11px;color:#fff;background:#7854d2;font-size:16px}.rifc-player.is-adult>strong{background:#2ca58d}
.rifc-rule{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:11px;border:1px solid #eadfbf;border-radius:18px;background:#fffaf0}.rifc-rule>span{position:relative;display:block;width:42px;height:42px}.rifc-rule i{position:absolute;width:23px;height:23px;border-radius:50%;background:#8058d4;box-shadow:0 4px 7px rgba(74,42,126,.2)}.rifc-rule i:first-child{left:2px;bottom:2px}.rifc-rule i:last-child{right:2px;top:2px;background:#3ab299}.rifc-rule p{margin:0;color:#655a76;font-size:10px;font-weight:750;line-height:1.42}
.rifc-starter{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid #dfd5f1;border-radius:17px;background:#faf8ff}.rifc-starter div{display:grid}.rifc-starter small{color:#7c718d;font-size:8px;font-weight:850}.rifc-starter strong{margin-top:2px;color:#503497;font-size:13px}.rifc-starter button{min-height:32px;padding:0 10px;border:1px solid #d9cdf0;border-radius:10px;color:#6546ad;background:#fff;font-size:9px;font-weight:900;cursor:pointer}.rifc-new-game{margin-top:auto;min-height:46px;border:2px solid #ddd2f4;border-radius:16px;color:#6545ad;background:#fff;font-size:12px;font-weight:900;cursor:pointer}

.rifc-result{position:fixed;z-index:2147483600;inset:0;display:grid;place-items:center;padding:20px;background:rgba(47,32,82,.48);backdrop-filter:blur(7px)}.rifc-result[hidden]{display:none!important}.rifc-result-card{position:relative;width:min(430px,100%);overflow:hidden;padding:28px 34px 34px;border:4px solid rgba(255,255,255,.72);border-radius:32px;background:linear-gradient(145deg,#fff7d9,#fff,#dcf8ef);box-shadow:0 25px 70px rgba(45,28,91,.3);text-align:center}.rifc-winner-piece{position:relative;width:110px;height:110px;margin:0 auto 8px}.rifc-winner-piece>img:first-child{width:100%;height:100%;object-fit:contain}.rifc-winner-piece .rifc-crown{position:absolute;left:50%;top:50%;width:57%;height:57%;object-fit:contain;transform:translate(-50%,-50%);filter:drop-shadow(0 4px 5px rgba(115,72,6,.27))}.rifc-result span{color:#168c77;font-size:10px;font-weight:1000;letter-spacing:.12em;text-transform:uppercase}.rifc-result h2{margin:6px 0 9px;color:#4e3397;font-size:31px;line-height:1.1}.rifc-result p{margin:0 0 21px;color:#6d6380;font-size:15px;font-weight:700;line-height:1.5}.rifc-result button{width:100%}

@keyframes rifc-destination{from{transform:scale(.92);opacity:.78}to{transform:scale(1.08);opacity:1}}

@media(max-width:930px){.rifc-shell{width:min(100% - 24px,780px);padding-top:18px}.rifc-hero{grid-template-columns:1fr;min-height:0;padding:28px;border-radius:32px}.rifc-hero-copy{text-align:center}.rifc-hero h1{font-size:48px}.rifc-hero p{margin:17px auto 20px;font-size:17px}.rifc-primary{width:100%}.rifc-hero-picture{height:330px}.rifc-hero-picture img{min-height:0}.rifc-play-layout{grid-template-columns:1fr}.rifc-stage{height:600px;min-height:0}.rifc-panel{display:grid;grid-template-columns:1fr 1fr}.rifc-players{grid-row:span 2}.rifc-new-game{margin:0}}
@media(max-width:620px){.rifc-shell{width:calc(100% - 20px)}.rifc-back{margin-bottom:13px}.rifc-hero{padding:18px;border-radius:28px}.rifc-hero h1{font-size:39px}.rifc-hero-picture{height:260px}.rifc-board-section{padding:12px;border-radius:25px}.rifc-game-head h2{font-size:22px}.rifc-stage{height:470px}.rifc-board{width:min(400px,calc(100% - 20px));padding:7px;border-width:6px;border-radius:21px}.rifc-turn{top:7px;min-height:43px}.rifc-panel{display:flex}}

html.rifc-playing-lock,body.rifc-playing-lock{height:100%;overflow:hidden!important;overscroll-behavior:none}html.rifc-playing-lock{margin-top:0!important}html.rifc-playing-lock #wpadminbar{display:none!important}
@media(max-width:820px) and (hover:none),(max-width:820px) and (pointer:coarse){
  .rifc-game.is-playing{position:fixed;z-index:2147483000;inset:0;width:100vw;height:100dvh;overflow:hidden;background:#fbf9ff}.rifc-game.is-playing .rifc-shell{width:100%;height:100%;padding:0}.rifc-game.is-playing .rifc-back,.rifc-game.is-playing .rifc-hero{display:none!important}
  .rifc-game.is-playing .rifc-board-section{position:fixed;inset:0;display:grid;width:100vw;height:100dvh;grid-template-rows:calc(56px + env(safe-area-inset-top)) 42px minmax(0,1fr);gap:4px;margin:0;padding:0 7px calc(7px + env(safe-area-inset-bottom));overflow:hidden;border:0;border-radius:0;background:#fbf9ff;box-shadow:none}.rifc-game.is-playing .rifc-mobile-nav{display:flex;align-items:flex-end;padding:calc(6px + env(safe-area-inset-top)) 3px 4px}.rifc-game.is-playing .rifc-mobile-nav button{display:flex;width:100%;min-height:42px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;color:#fff;background:linear-gradient(135deg,#7650d7,#9565e8);box-shadow:0 7px 16px rgba(91,57,170,.24);font-size:13px;font-weight:900}.rifc-game.is-playing .rifc-mobile-nav button span{font-size:20px}
  .rifc-game.is-playing .rifc-game-head{min-width:0;margin:0;padding:0 5px}.rifc-game.is-playing .rifc-game-head>div>span{font-size:7px}.rifc-game.is-playing .rifc-game-head h2{font-size:17px}.rifc-game.is-playing .rifc-reset-score{min-height:30px;padding:0 9px;border-radius:10px;font-size:8px}
  .rifc-game.is-playing .rifc-play-layout{display:grid;height:100%;min-height:0;grid-template-columns:1fr;grid-template-rows:minmax(290px,1fr) 111px;gap:4px;overflow:hidden}.rifc-game.is-playing .rifc-stage{width:100%;height:100%;min-height:0;border-radius:18px}.rifc-game.is-playing .rifc-turn{top:5px;min-width:210px;min-height:39px;padding:3px 10px;border-radius:12px}.rifc-game.is-playing .rifc-turn>img{width:30px;height:30px}.rifc-game.is-playing .rifc-turn small{font-size:6px}.rifc-game.is-playing .rifc-turn strong{font-size:11px}
  .rifc-game.is-playing .rifc-board{width:min(94vw,calc(100dvh - 225px));max-height:calc(100% - 51px);margin-top:42px;padding:6px;border-width:5px;border-radius:18px}.rifc-game.is-playing .rifc-cell{padding:2px}.rifc-game.is-playing .rifc-cell.is-dark.is-movable:after{inset:6%;border-width:1px;border-radius:8px}.rifc-game.is-playing .rifc-cell.is-destination:before{border-width:3px;box-shadow:0 0 0 3px rgba(57,193,157,.35)}
  .rifc-game.is-playing .rifc-panel{display:grid;height:111px;grid-template-columns:1.15fr .85fr;grid-template-rows:53px 54px;grid-template-areas:"task players" "starter new";gap:4px;overflow:hidden}.rifc-game.is-playing .rifc-task{grid-area:task;height:53px;padding:7px 9px;border-radius:12px}.rifc-game.is-playing .rifc-task small{font-size:6px}.rifc-game.is-playing .rifc-task strong{margin-top:2px;font-size:9px;line-height:1.2}.rifc-game.is-playing .rifc-players{grid-area:players;display:grid;height:53px;grid-template-columns:1fr 1fr;gap:3px}.rifc-game.is-playing .rifc-player{display:grid;height:53px;grid-template-columns:28px 1fr;padding:3px;border-radius:10px}.rifc-game.is-playing .rifc-player>img{width:27px;height:27px}.rifc-game.is-playing .rifc-player span{line-height:1}.rifc-game.is-playing .rifc-player small{font-size:5px}.rifc-game.is-playing .rifc-player b{font-size:7px}.rifc-game.is-playing .rifc-player>strong{grid-column:1/-1;width:auto;height:15px;border-radius:5px;font-size:8px}.rifc-game.is-playing .rifc-rule{display:none}.rifc-game.is-playing .rifc-starter{grid-area:starter;height:54px;padding:5px 7px;border-radius:11px}.rifc-game.is-playing .rifc-starter small{font-size:6px}.rifc-game.is-playing .rifc-starter strong{font-size:9px}.rifc-game.is-playing .rifc-starter button{min-height:25px;padding:0 7px;font-size:7px}.rifc-game.is-playing .rifc-new-game{grid-area:new;height:54px;min-height:0;margin:0;border-radius:11px;font-size:8px}
  .rifc-game.is-playing .rifc-result{z-index:2147483600}.rifc-game.is-playing .rifc-result-card{padding:20px;border-radius:25px}.rifc-game.is-playing .rifc-winner-piece{width:82px;height:82px}.rifc-game.is-playing .rifc-result h2{font-size:25px}.rifc-game.is-playing .rifc-result p{font-size:13px}
}
@media(max-width:390px) and (max-height:720px){.rifc-game.is-playing .rifc-board-section{grid-template-rows:calc(51px + env(safe-area-inset-top)) 36px minmax(0,1fr)}.rifc-game.is-playing .rifc-mobile-nav{padding-top:calc(4px + env(safe-area-inset-top))}.rifc-game.is-playing .rifc-mobile-nav button{min-height:37px;font-size:11px}.rifc-game.is-playing .rifc-game-head h2{font-size:14px}.rifc-game.is-playing .rifc-play-layout{grid-template-rows:minmax(250px,1fr) 94px}.rifc-game.is-playing .rifc-board{width:min(92vw,calc(100dvh - 200px));margin-top:37px}.rifc-game.is-playing .rifc-panel{height:94px;grid-template-rows:45px 45px}.rifc-game.is-playing .rifc-task,.rifc-game.is-playing .rifc-players{height:45px}.rifc-game.is-playing .rifc-player{height:45px}.rifc-game.is-playing .rifc-starter,.rifc-game.is-playing .rifc-new-game{height:45px}}
@media(prefers-reduced-motion:reduce){.rifc-game *{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
